Skip to content

Releases: PgBiel/typst-oxifmt

v0.2.1

08 May 12:22
2100cff
Compare
Choose a tag to compare
  • Fixed formatting of UTF-8 strings. Before, strings with multi-byte UTF-8 codepoints would cause formatting inconsistencies or even crashes. (Issue #6)
  • Fixed an inconsistency in negative number formatting. Now, it will always print a regular hyphen (e.g. '-2'), which is consistent with Rust's behavior; before, it would occasionally print a minus sign instead (as observed in a comment to Issue #4).
  • Added compatibility with Typst 0.8.0's new type system.

Full Changelog: v0.2.0...v0.2.1

v0.2.0

03 Aug 00:15
9c0e0e4
Compare
Choose a tag to compare
  • The package's name is now oxifmt (previously typst-strfmt)!
  • oxifmt:0.2.0 is now available through Typst's Package Manager! You can now write #import "@preview/oxifmt:0.2.0": strfmt to use the library.
  • Greatly improved the README, adding a section for common examples.
  • Fixed negative numbers being formatted with two minus signs.
  • Fixed custom precision of floats not working when they are exact integers.

Full Changelog: v0.1.0...v0.2.0

v0.1.0 - Initial Release

04 Jun 23:02
Compare
Choose a tag to compare

Initial release (adds the strfmt function).