Releases: PgBiel/typst-oxifmt
Releases · PgBiel/typst-oxifmt
v0.2.1
- 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
- The package's name is now
oxifmt
(previouslytypst-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
Initial release (adds the strfmt
function).