Releases: posit-dev/great-tables
Releases · posit-dev/great-tables
v0.6.0
This release brings support for multi-level spanners (a huge thanks to @timkpaine), and makes saving tables with GT.save()
a bit more robust.
Features
- Support multi-level spanners by @timkpaine in #345
Fixes
Docs
- add example coffee table with nanoplots by @machow in #349
- clean up minor formatting issues in the docs by @jrycw in #338
New Contributors
- @timkpaine made their first contribution in #345
Full Changelog: 0.5.2...v0.6.0
0.5.2
Fixes
- Fix
CellStyleBorders
not being properly constructed whensides
is set to "all" by @jrycw in #326 - Fix
GT.fmt_image()
erroring on missing values by @machow in #329 - Nanoplots listcols now work, polars list columns no longer raise error by @machow in #330
- Nanoplots no longer fail for lists of large integers by @machow in #335
GT.fmt_number()
no longer puts improper comma for 3-digit compact, negative numbers by @machow in #335
Docs
Chores
- Remove unused library webcolors as required dependency by @marcozzxx810 in #336
New Contributors
- @marcozzxx810 made their first contribution in #336
Full Changelog: v0.5.1...0.5.2
v0.5.1
Thanks so much to @jrycw for an incredible amount of fixes and improvements! This release doesn't have any new features, instead we focused on fixes and documentation.
Fixes
- Resolve issue with
table_font_color=
not accepting named colors by @jrycw in #285 - Ensure that group label rows have valid HTML by @rich-iannone in #308
- Fix Polars selectors error in
GT.cols_hide()
by @jrycw in #316 - Fix missing values not working with
GT.fmt_number()
by @jrycw in #317 - Fix display for integerlike values in nanoplots by @jrycw in #319
Docs
Chores
- Clean up implementation of
GT.fmt_nanoplot()
andGT.data_color()
by @jrycw #294, #295 - Refactor
GT.fmt_time()
,GT.fmt_date()
andGT.fmt_datetime()
by @jrycw in #290 - Refactor
letters
andLetters
functions in_helpers
by @jrycw in #289 - Update type hints and organize import modules by @jrycw in #315
- Codebase cleanup and minor improvements by @jrycw in #305, #292
- Improve test coverage by @jrycw #311, #325
- Add tests for
GT.cols_align()
and extend support forPolars
expressions by @jrycw in #320
Full Changelog: v0.5.0...v0.5.1
v0.5.0
What's Changed
Features
- Remove mizani and pandas as dependencies by @machow (#271, #261)
- Include choice of webdrivers in the
.save()
method by @rich-iannone in #262 - Add sub_missing and sub_zero methods by @machow in #244
Fixes
- Fix error from incorrectly passing nanoplot options to args in
_generate_nanoplot()
by @rich-iannone in #258 - Remove uses of DataFrame.apply and dtype methods by @machow in #277
- Close some opened files by @machow in #281
Docs
- Add warning callout for experimental status by @rich-iannone in #243
- Add examples for
fmt_nanoplot()
by @rich-iannone in #245 - Add docs site and codecov badges by @rich-iannone in #254
- Rename variables on example code for Oceania by @sergiolaverde0 in #264
- Improve two examples in Examples section by @rich-iannone in #267
Chores
- Refactor nanoplots by @machow in #246
- Add more tests for formatting methods by @rich-iannone in #260
- ci: workflow pushes to CodeCov by @machow in #250
- Update list of supported Python versions to match those tested by @discdiver in #269
New Contributors
- @sergiolaverde0 made their first contribution in #264
- @discdiver made their first contribution in #269
Full Changelog: v0.4.0...v0.5.0
v0.4.0
What's Changed
Features
- Add initial implementation for nanoplots by @rich-iannone in #219
- Allow polars selectors in
fmt_*()
methods by @machow in #217
Fixes
- Improve HTML representation of tables by @rich-iannone in #233
- Ensure that header component HTML tags pass HTML validation by @rich-iannone in #235
- Allow the 'transparent' color (and others) to be used in
tab_options(table_background_color == <color>)
by @rich-iannone in #242 - Fix render reorder causing incorrect groupings by @machow in #218
Docs
- Fix
opt_horizontal_padding()
example by @rich-iannone in #215
Full Changelog: v0.3.1...v0.4.0
v0.3.1
What's Changed
Features
- Add the
.save()
and.as_raw_html()
methods by @rich-iannone in #208 - Add the
opt_stylize()
method by @rich-iannone in #198 - Add the
opt_table_outline()
method by @rich-iannone in #209
Fixes
- fix: iterate over sorted rows for rendering by @machow in #202
- Remove type annotations from docstrings by @rich-iannone in #207
- Ensure that np.nan values are replaced with
na_color=
vals by @rich-iannone in #205 - Handle
.data_color()
edge cases with single val columns / all missing values by @rich-iannone in #213
Docs
- Add the
v0.3.0
release post by @rich-iannone in #200 - Docs table themes by @machow in #197
- Add docs to the
fmt_image()
method by @rich-iannone in #216
Full Changelog: v0.3.0...v0.3.1
v0.3.0
What's Changed
Features
- Add the
cols_width()
method by @rich-iannone in #143 - Add the
tab_options()
method by @rich-iannone in #146 - Add
opt*
methods for vertical and horizontal padding by @rich-iannone in #154 - Add the
opt_align_table_header()
method by @rich-iannone in #147 - Add the
opt_all_caps()
method by @rich-iannone in #150 - Add the
fmt_image()
method by @machow in #163 - Add the
system_fonts()
helper function by @rich-iannone in #158 - Enable use of ColorBrewer palettes in
data_color()
by @rich-iannone in #186
Fixes
- Replace
with_row_count
bywith_row_index
forPolars
by @jrycw in #189 - Add
py.typed
to support PEP-561 (type-hinting) by @sugatoray in #139 - Ensure table font names (from
tab_options()
) is accepted as str or list by @rich-iannone in #155 - Fix
FutureWarning
forDataFrameGroupBy.grouper
by @jrycw in #193
Docs
- docs: update one of the column names for
Column Labels
by @jrycw in #187 - docs: blog superbowl, add source by @machow in #185
- docs: superbowl blog draft by @machow in #184
- Docs examples sports by @machow in #195
- Add example for sza and
data_color()
by @rich-iannone in #136 - Clean up examples in API docs by @rich-iannone in #191
Chores
- Remove unimplemented options from
tab_options()
by @rich-iannone in #162
New Contributors
- @sugatoray made their first contribution in #139
- @jrycw made their first contribution in #189
Full Changelog: v0.2.0...v0.3.0
v0.2.0
What's Changed
- ci: restore deploy url by @machow in #108
- Fix tab spanner column name by @atseewal in #111
- Fix validate frame by @machow in #118
- docs: polars styling blog post by @machow in #113
- Add basic implementation of the
data_color()
method by @rich-iannone in #109 - fix: validate_frame now coerces non string column names by @machow in #127
- Use
to_list()
method as cross-df solution by @rich-iannone in #128 - Add guide to
data_color()
and introductory blog post to next version of package by @rich-iannone in #131
New Contributors
Full Changelog: v0.1.5...v0.2.0
v0.1.5
What's Changed
- feat: add the
fmt_datetime()
method by @rich-iannone in #101 - feat: generalize row selectors by @machow in #107
- All
rows=
arguments now can receive a function, that operates on a DataFrame. This makes it easier to select rows in pandas. See the row selection docs.
- All
- docs: intro blog post by @rich-iannone in #105
Full Changelog: v0.1.4...v0.1.5
v0.1.4
What's Changed
- docs: single column examples on narrow screens by @machow in #81
- feat: add style.from_column, implement for loc.body by @machow in #83
- fix: cols_hide by @machow in #86
- fix: allow lists of styles and lists of locations by @machow in #87
- docs: get started with styling page by @machow in #88
- Ensure that ID value in compiled CSS is applied to all rules by @rich-iannone in #92
- Add interlinks throughout documentation site by @rich-iannone in #97