Releases: uutils/uutils-term-grid
v0.8.0
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_argsby @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
- @alexanderkjall made their first contribution in #54
- @jakobnissen made their first contribution in #57
Full Changelog: v0.7.0...v0.8.0
v0.7.0
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
New features
- Expose the
Grid::column_widthsmethod to access the number of columns and their widths.
v0.5
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
textwrapin favor of our ownansi-width
Full Changelog: v0.4...v0.5
v0.4
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_columnsfunctionality 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
Vecof&strdirectly. - The
widthof the grid can be specified inGridOptions. - A
Gridnow implementsDisplay.