Deprecations
- The
opt_all_caps()method now usesloc.column_labels,loc.stub, andloc.row_groupsas arguments tolocations=; using strings to represent the locations still works but triggers a deprecation warning (#436)
Features
- Added the
cols_merge()method for combining cell contents across two or more columns by @rich-iannone in #780 - Added the
cols_label_with()method for function-based column relabeling by @machow in #816 - Added the
fmt_engineering()method by @rich-iannone in #786 - The new
opt_css()method lets you define arbitrary CSS rules for an HTML table by @rich-iannone in #775 - Added the ability to define container padding in
tab_options()by @thriller08 in #802
Fixes
- Refactored internal auto-align code for compatibility with Pandas 3.0.0 by @machow in #810
- Added
intto theRowSelectExprdefinition by @tylerriccio33 in #800 - Updated the Polars selector type annotation to use
Selectorby @schmidma in #770 - Annotated the
pipemethod's first argument type asGTby @FBruzzesi in #757 - We now correctly handle the
interactive_data_values=properly in Nanoplots by @lorenzo-w in #792 - Group labels are now modified when
render_formats()is called by @juleswg23 in #769 - The
opt_all_caps()method has been refactored by @jrycw in #436
Docs
- Docs for the
val_fmt_engineering()were added to the project website docs by @jrycw in #808 - Corrected the
fns=parameter docs in thefmt()method by @rich-iannone in #818 - Improved the docs for the
from_column()function by @jrycw in #766 - Added a gt-extras example to the project website's Examples page by @juleswg23 in #759
- Added an example demonstrating usage of the
define_units()function by @jrycw in #446
Chores
- Updated the copyright end year to 2026 by @rich-iannone in #804
- Several typos were fixed by @kianmeng in #798
- Added Plausible analytics to the project website by @rich-iannone in #806
- Added several tests for the
opt_all_caps()method by @rich-iannone in #812 - Fixed the checkout version tag by @juleswg23 in #768
New Contributors
- @kianmeng made their first contribution in #798
- @thriller08 made their first contribution in #802
- @schmidma made their first contribution in #770
- @lorenzo-w made their first contribution in #792
Full Changelog: v0.20.0...v0.21.0