Skip to content

Releases: Aetf/unicode-truncate

v2.0.0

10 Nov 05:38
Compare
Choose a tag to compare

Fixed

  • (deps) update rust crate unicode-width to 0.2

Other

  • make release-plz use github app token
  • [breaking] bump MSRV to 1.66

v1.1.0

09 Jul 06:18
43b5e3c
Compare
Choose a tag to compare

Added

  • segment by graphemes (#11)

Fixed

  • (deps) update rust crate itertools to 0.13 (#20)
  • fixed typos in the renovate.json (#17)
  • Treat control characters as width 1, fixes #16 (#19)

Other

  • Removed unnessary debug-assertions setting
  • tweak renovate configs (#13)

v1.0.0

27 Apr 04:56
68f1d1a
Compare
Choose a tag to compare

It's about time for a 1.0 release. This crate has been stable over the years.

Breaking changes

Formally define MSRV (minimum supported rust version) to 1.63.

Added

  • new method unicode_truncate_centered. Thanks @EdJoPaTo (#2, #3)

Fixed

  • prevent arithmetic side effects (#7)
  • do not include zero-width characters at boundaries when truncate_start

Other

  • use release-plz
  • use renovate (#4)
  • move from Travis to Github Action
  • update Rust crate criterion to 0.5 (#5)
  • fix broken links
  • Check in Cargo.lock per the latest guide

Release v0.2.0

17 Dec 22:34
v0.2.0
Compare
Choose a tag to compare
  • Added unicode_truncate_start
  • Bump dependency version
  • Add benchmarking
  • Rewrite the logic using iterators for better performance