Skip to content

v0.4

Compare
Choose a tag to compare
@tertsdiepraam tertsdiepraam released this 09 Feb 12:21
· 13 commits to main since this release

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.