Skip to content

Releases: posit-dev/great-tables

v0.12.0: opt_stylize produces striped rows and borders

27 Sep 18:44
3bafd96
Compare
Choose a tag to compare

Breaking changes

  • opt_stylize() now produces stripes by default. Set add_row_striping=False to remove. (#461)
  • opt_stylize() now adds borders to certain styles (which was the original intention; #463)

Features

Fixes

  • use full html page in show() for correct utf-8 display by @machow in #458

Docs

  • update superbowl example to align with the new version of Polars by @jrycw (#460, #462)

Full Changelog: v0.11.1...v0.12.0

v0.11.1

20 Sep 17:51
079dc83
Compare
Choose a tag to compare

Fixes

  • Do not error when URL string supplied to path= argument in fmt_image() by @jrycw in #444
  • Include an encoding= arg in GT.save() (with default "utf-8") for more dependable saving in Windows by @jrycw in #454
  • Unify the method signatures of cols_label() and cols_width() by having them both accept cases= 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 with hasattr() 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 of list(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 its label= 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

30 Aug 18:11
11660a6
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v0.10.0...v0.11.0

v0.10.0

08 Jul 21:56
3a14f2b
Compare
Choose a tag to compare

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

Docs

New Contributors

Full Changelog: v0.9.0...v0.10.0

v0.9.0: breaking change, add rows parameter to data_color()

06 Jun 17:58
b6aa4f8
Compare
Choose a tag to compare

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.

Full Changelog: v0.8.0...v0.9.0

v0.8.0

06 Jun 17:36
82f66ad
Compare
Choose a tag to compare

Features

  • add method equivalents of constructor options by @machow in #371
    • GT.tab_stub(rowname_col=, groupname_col=)
    • GT.with_local()
    • GT.with_id()

Full Changelog: v0.7.0...v0.8.0

v0.7.0

04 Jun 19:17
5a67bee
Compare
Choose a tag to compare

What's Changed

Features

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 accept Iterable by @jrycw in #365
  • Move pairwise(), seq_groups(), and is_equal() functions to _utils.py by @jrycw in #369

Full Changelog: v0.6.1...v0.7.0

v0.6.1

23 May 18:24
e3649d2
Compare
Choose a tag to compare

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

Full Changelog: v0.6.0...v0.6.1

v0.6.0

16 May 20:28
b575b6e
Compare
Choose a tag to compare

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

Fixes

  • ensure export() always captures full table by @machow in #344

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

Full Changelog: 0.5.2...v0.6.0

0.5.2

13 May 17:50
7eae1f2
Compare
Choose a tag to compare

Fixes

  • Fix CellStyleBorders not being properly constructed when sides 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

  • Add examples to reference pages by @jrycw in #328

Chores

New Contributors

Full Changelog: v0.5.1...0.5.2