-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Changelog | ||
|
||
## Unreleased | ||
|
||
* More standard string and character types (PR [#7][PR7], thanks to [Flávio J. Saraiva (flaviojs)][flaviojs]) | ||
* Support `CString` and `&CStr` for `%s`, assuming the're UTF-8 encoded | ||
* Support `u8` and `i8` (ASCII), `u16` (UCS-2) and `u32` (UCS-4) for `%c` | ||
|
||
[PR7]: https://github.com/tjol/sprintf-rs/pull/7 | ||
[flaviojs]: https://github.com/flaviojs | ||
|
||
## v0.2.1 (2024-02-12) | ||
|
||
* Fix accidental backwards-incompatible API change in v0.2.0 | ||
|
||
## v0.2.0 (2024-02-12) | ||
|
||
* Expose the some of the `sprintf::parser` module in the API to allow other to use the `parse_format_string` function (PR [#5][PR5], thanks to [David Alexander Bjerremose (DaBs)][DaBs]) | ||
* `PrintfError` now implements `std::error::Error` | ||
|
||
[PR5]: https://github.com/tjol/sprintf-rs/pull/5 | ||
[DaBs]: https://github.com/DaBs | ||
|
||
## v0.1.4 (2023-09-10) | ||
|
||
* Fix parsing of `ll` length specifier (PR [#4][PR4], thanks to [Ido Yariv (codido)][codido]) | ||
|
||
[PR4]: https://github.com/tjol/sprintf-rs/pull/4 | ||
[codido]: https://github.com/codido | ||
|
||
## v0.1.3 (2022-09-23) | ||
|
||
* Fix float rounding: 9.99 should round to 10.0, not 9.0. (Issue [#2][bug2], thanks to [Nicholas Ritchie][NicholasWMRitchie]) | ||
|
||
[bug2]: https://github.com/tjol/sprintf-rs/issues/2 | ||
[NicholasWMRitchie]: https://github.com/NicholasWMRitchie | ||
|
||
## v0.1.2 (2021-11-06) | ||
|
||
* Fix formatting of large floats (PR [#1][PR1], thanks to [Kuba (pierd)][pierd] | ||
|
||
[PR1]: https://github.com/tjol/sprintf-rs/pull/1 | ||
[pierd]: https://github.com/pierd | ||
|
||
## v0.1.1 (2021-08-30) | ||
|
||
* Fix bug in padding of fixed-width fields | ||
|
||
## v0.1.0 (2021-08-24) | ||
|
||
* Initial release |