Skip to content

Commit

Permalink
Prepare for version 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tjol committed Dec 5, 2024
1 parent 54665d9 commit eb36b58
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## v0.4.0 (2024-12-05)

* `FormatElement` now borrows a `&str` instead of owning a `String`, leading to fewer allocations and a significant performance improvement (PR [#10][PR10], thanks to [Samuel Collins (Humandoodlebug)][Humandoodlebug]).
- this is a __breaking API change__ to the lower-level v0.2 API
- the original and primary (v0.1) API is unchanged

[PR10]: https://github.com/tjol/sprintf-rs/pull/10
[Humandoodlebug]: https://github.com/Humandoodlebug

## v0.3.1 (2024-07-14)

* pointer types can be formatted with `%p` in the same way as `usize` (PR [#9][PR9], thanks to [Flávio J. Saraiva (flaviojs)][flaviojs])
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sprintf"
version = "0.3.1"
version = "0.4.0"
edition = "2018"
authors = ["Thomas Jollans <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit eb36b58

Please sign in to comment.