Releases: posit-dev/great-tables
Releases · posit-dev/great-tables
v0.13.0: add more location specifiers to `loc`
Features
- Include
google_font()
helper fn in API reference by @rich-iannone and @jrycw in (#464, #471) - Allow for granular section restyling via convenience api by @timkpaine in #341
- Add
val_fmt_image()
to enable image rendering in various components by @jrycw in #451 - Allow passing a webdriver instance to save by @machow in #478
Fixes
Docs
- Do not document GT members inline on its reference page by @machow in #475
- Fix deprecated warning for
pl.DataFrame.pivot()
by @jrycw in #472 - Update docs and code to support
GoogleFont
inopt_table_font()
and add tests by @jrycw in #470 - Fix in headers causing their css classes get printed out by @machow in #477
- Add docstrings for new location methods by @rich-iannone in #474
Full Changelog: v0.12.0...v0.13.0
v0.12.0: opt_stylize produces striped rows and borders
Breaking changes
opt_stylize()
now produces stripes by default. Setadd_row_striping=False
to remove. (#461)opt_stylize()
now adds borders to certain styles (which was the original intention; #463)
Features
- add
google_font()
helper, implement inopt_table_font()
andstyle.text()
by @rich-iannone in #423 - implement row striping options by @rich-iannone (#461, #463)
Fixes
Docs
Full Changelog: v0.11.1...v0.12.0
v0.11.1
Fixes
- Do not error when URL string supplied to
path=
argument infmt_image()
by @jrycw in #444 - Include an
encoding=
arg inGT.save()
(with default"utf-8"
) for more dependable saving in Windows by @jrycw in #454 - Unify the method signatures of
cols_label()
andcols_width()
by having them both acceptcases=
and**kwargs
by @jrycw in #452
Chores
- Standardize on the
GTSelf
object in method signatures by @jrycw in #431 - Consistently use
isinstance()
checks throughout the codebase instead of checking withhasattr()
by @rich-iannone in #434 - Improve test coverage for various
opt_*
methods by @jrycw in #437 - Consolidate ordered list code using the new
_create_ordered_list()
function by @jrycw in #407 - Internally use
OrderedSet().as_list()
instead oflist(OrderedSet())
for sake of clarity by @jrycw in #447 - Refactor import statements throughout the
_formats.py
file by @jrycw in #450
Docs
- Update import statement in the
GT.data_color()
example by @jrycw in #432 - Indicate that
tab_spanner()
allows for use of units notation in itslabel=
argument by @rich-iannone in #426 - Visually document options for theming table with
opt_stylize()
by @rich-iannone in #438 - Provide updates to PyCon- and SciPy-related blog posts by @rich-iannone in #445
Full Changelog: v0.11.0...v0.11.1
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