Releases: posit-dev/great-tables
v0.11.0: include column labels in`<thead>` element
This release contains a breaking change in how HTML output tables are structured (through tag changes). There is also an important fix for saving tables via the .save()
method using the Google Chrome webdriver.
Breaking Changes
- We now ensure that the
<thead>
element encloses both title/subtitle and column labels by @rich-iannone in #421
Fixes
- We now ensure that the
<thead>
element encloses both title/subtitle and column labels by @rich-iannone in #421 - The
.save
method works with latest version of Google Chrome by @machow in #425
Docs
- Mention support for
Polars
in theget-started
section by @jrycw in #408 - Made tiny typo fixes and improved a code example in the "Design Philosophy" doc by @alfredocarella in #401
- Fix typo in blog post by @rich-iannone in #396
- Update documentation for datasets by @jrycw in #397
- Update polars examples for deprecated arg by @atseewal in #400
- Remove mentions of
accounting
inforce_sign=
argument by @rich-iannone in #422
New Contributors
- @alfredocarella made their first contribution in #401
Full Changelog: v0.10.0...v0.11.0
v0.10.0
Features
- Add ability to express units in
.cols_label()
by @rich-iannone in #380 - Allow spanners to use units notation in
.tab_spanner()
by @rich-iannone in #393 - The
.opt_table_font()
method has been added to make it easy to set a default table font; by @rich-iannone in #272 - Add the
.show()
method by @machow in #379 - Several new datasets were added (bringing total number up to 16) by @rich-iannone in #382
Fixes
- fix
.fmt_percent()
issue with polars-u64-idx by @lostmygithubaccount in #388 - Add render target for HTML pages by @isabelizimm in #377
.show()
no longer raises or prints to stderr by @machow in #384
Docs
- Add absolute URLs to README to improve PyPI summary by @rich-iannone in #373
New Contributors
- @isabelizimm made their first contribution in #377
- @lostmygithubaccount made their first contribution in #388
Full Changelog: v0.9.0...v0.10.0
v0.9.0: breaking change, add rows parameter to data_color()
Features
- feat!: support specifying a subset of rows in
GT.data_color()
by @jrycw in #364- Note that
rows=
is now the third argument, which may break earlier code.
- Note that
Full Changelog: v0.8.0...v0.9.0
v0.8.0
v0.7.0
What's Changed
Features
- Add the
.fmt_units()
method by @rich-iannone in #240 - Support Polars' non-strict
expand_selector()
by @machow in #368
Fixes
- General enhancements to several
.cols_*()
methods by @jrycw in #366 - Generate better error message for list data used in
.fmt_nanoplot()
by @marcozzxx810 in #356
Docs
Chores
- Refactor
seq_groups()
to acceptIterable
by @jrycw in #365 - Move
pairwise()
,seq_groups()
, andis_equal()
functions to_utils.py
by @jrycw in #369
Full Changelog: v0.6.1...v0.7.0
v0.6.1
Fixes
- Fix column selections breaking with
Polars
v0.20.28
by @jrycw in #360 - Fix
_save_screenshot()
breaking for non-png files by @jrycw in #352
Chores
- Enhance the test coverage by @jrycw in #339
- Remove unneeded files by @rich-iannone in #351
Full Changelog: v0.6.0...v0.6.1
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