Skip to content

Releases: uutils/uutils-term-grid

v0.8.0

09 Mar 22:00

Choose a tag to compare

What's Changed

  • chore(config): migrate renovate config by @renovate[bot] in #43
  • chore(deps): update actions/checkout action to v5 by @renovate[bot] in #53
  • clippy: fix warnings from uninlined_format_args by @cakebaker in #52
  • fix tests on 32-bit architecture by @alexanderkjall in #54
  • chore(deps): update actions/checkout action to v6 by @renovate[bot] in #56
  • fix the code coverage task by @sylvestre in #58
  • add divan benchmarks and CodSpeed workflow by @sylvestre in #59
  • chore(deps): update moonrepo/setup-rust action to v1 by @renovate[bot] in #60
  • fix off-by-one in column-search loop and add regression test by @jakobnissen in #57

New Contributors

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

v0.7.0

10 Apr 13:52
93af5ee

Choose a tag to compare

We're happy to announce version 0.7.0 with tabs and a new layout!

Breaking changes

We have a new layout algorithm, which should be a bit faster and create more balanced layouts. We think this is also a bit more compatible with, for instance, GNU ls. Please let us know if this algorithm is not right for your purpose. This change was contributed by @emar-kar in #48.

New features

This release introduces a new Filling::Tabs variant for printing whitespace with tabs instead of spaces, while maintaining proper alignment (depending on the set tab size). This feature was contributed by @emar-kar in #46.

v0.6

21 Feb 07:51

Choose a tag to compare

New features

  • Expose the Grid::column_widths method to access the number of columns and their widths.

v0.5

19 Feb 08:13

Choose a tag to compare

New features:

  • ANSI hyperlinks are now ignored automatically in the width calculation in #36

Fixes:

  • allow the screen to be filled exactly and fix off by one errors by @tertsdiepraam in #34

Dependencies:

  • Removed textwrap in favor of our own ansi-width

Full Changelog: v0.4...v0.5

v0.4

09 Feb 12:21

Choose a tag to compare

We're happy to announce uutils-term-grid version 0.4!

In this release, we move further away from the rust-term-grid origins of this crate and tailor the API more to our needs. This release therefore breaks the entire API. If you're using this library, we hope this doesn't inconvenience you too much and that the improvement is clear. Anecdotally, we have seen that using this version of the library is much simpler than 0.3.

The important changes are:

  • The fit_into_columns functionality has been removed.
  • ANSI codes are now handled correctly in the width calculation.
  • Cells no longer have to be added to a grid one by one, but a grid is constructed with a Vec of &str directly.
  • The width of the grid can be specified in GridOptions.
  • A Grid now implements Display.