What's Changed
Features
- The new
tab_spanner_delim()
method allows for quick creation of spanners through delimited column names, by @machow in #647 - Added the
cols_label_rotate()
method for rotating column label text 90 degrees, by @juleswg23 in #696 - We can now easily format boolean values with the new
fmt_tf()
formatting method, by @rich-iannone (#665, #704) - The
fmt_datetime()
method now lets you perform custom datetime formatting with the newformat_str=
parameter, by @rich-iannone in #645 - GT tables can now be pickled, by @jrycw in #641
- The
fmt_currency()
method gained acompact=
parameter for display of compact currency values (e.g.,$13.4M
), by @rich-iannone in #664 - Added the
truncate=
option todata_color()
by @mahdibaghbanzadeh in #673 - The Pandas dependency in
vals.fmt_integer()
was removed by @machow in #719
Fixes
- Remove unused
sep_mark=
parameter from thefmt_scientific()
method by @rich-iannone in #642 - Fixed an off-by-one bug in the
rescale_factor()
utility function (which had an adverse effect ondata_color()
), by @juleswg23 in #718 - When using Google Fonts in an HTML table there will no longer be any duplicated font import statements, by @rich-iannone in #708
- An issue with row striping (due to incorrect indexing) was resolved by @juleswg23 in #701
- Spanners can now be correctly styled with
tab_style()
, by @ChristopherRussell in #695
Docs
- Added note about using
.show("browser")
when in VS Code by @rich-iannone in #643 - A warning message from
cols_width()
that appeared in the docs is now suppressed, by @jrycw in #659 - Updated docstrings for date/time formatting methods, by @rich-iannone in #658
- We now use improved the interlinking functionality available in quartodoc, by @rich-iannone in #697
- In the documentation site, added an underline to active link in top navigation bar by @rich-iannone in #706
- Improved the documentation for the
as_raw_html()
method by @rich-iannone in #707 - We now better introduce the use of
show()
method in the docs through a callout, by @rich-iannone in #712
Chores
New Contributors
- @dpprdan made their first contribution in #670
- @juleswg23 made their first contribution in #696
- @ChristopherRussell made their first contribution in #695
- @mahdibaghbanzadeh made their first contribution in #673
Full Changelog: v0.17.0...v0.18.0