-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ uuid = "08abe8d2-0d0c-5749-adfa-8a2ac140af0d" | |
license = "MIT" | ||
desc = "Print data in formatted tables" | ||
authors = ["Ronan Arraes Jardim Chagas <[email protected]>"] | ||
version = "0.8.4" | ||
version = "0.9.0" | ||
|
||
[compat] | ||
julia = "1" | ||
|
e1cd6e4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register()
Release notes:
vlines
which defines the vertical lines that should be drawn by default. In this case, the variablesleft_border
andright_border
were removed because they were not necessary anymore.hlines
was modified in text back-end. Now, it can be used to draw any horizontal line, including the bottom, header, and top lines. A variable also namedhlines
was added to the structureTextFormat
to defined which horizontal lines should be drawn by default. Thus, the variablestop_line
,header_line
, andbottom_line
of the same structure were removed since they were not necessary anymore. Furthermore, the old behavior ofhlines
andhlines_format
can be replicated in this version usingbody_hlines
andbody_hlines_format
, respectively.row_number_vline
was removed, since it was not necessary anymore.highlighters
, the formatters are composed of a function or a tuple of functions with the signaturef(value,i,j)
, wherevalue
is the cell value that must be formatted,i
is the row number, andj
is the column number. These function must return the formatted value for the cell(i,j)
. Since it is now possible to define multiple formatters, the keyword name was changed fromformatter
toformatters
. The old API still works, but it marked as deprecated.vlines
. (Issue Add an option to hide vertical column bars in text backend #46)row_names
can be used to append a column to the left of the table with the names of the columns.highlighters
format of text back-end was improved. The user can now create highlighters that will dynamically applycrayons
depending on the data value and the cell coordinate, as it was possible with the LaTeX and HTML back-ends.cell_alignment
was changed to improve the consistency of the package. Now, as we have inhighlighters
, thecell_alignment
must be a function or a tuple of functions with the signaturef(data,i,j)
, wheredata
is the matrix that is being printed,i
is the row number, andj
is the column number. These function must return the alignment symbol for the cell(i,j)
. For convenience, the old API using dictionaries is still available for the simple cases.e1cd6e4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/12904
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: