From 8adfd92d28f763f23e4b8a7a9f8a9f7b71639629 Mon Sep 17 00:00:00 2001 From: Paul Mason Date: Wed, 31 Jan 2024 08:54:24 -0800 Subject: [PATCH 1/2] Version 1.34 --- .buildnumber | 4 ++-- CHANGELOG.md | 18 +++++++++++++++--- Cargo.toml | 2 +- examples/serde-json-scenarios/Cargo.toml | 2 +- fuzz/Cargo.toml | 2 +- macros/Cargo.toml | 2 +- 6 files changed, 21 insertions(+), 9 deletions(-) diff --git a/.buildnumber b/.buildnumber index b122d9b..dc6fe6e 100644 --- a/.buildnumber +++ b/.buildnumber @@ -1,3 +1,3 @@ 1 -33 -1 +34 +0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 6599743..6032c3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,26 @@ # Version History -## 1.x +## 1.34.0 ### Added -* `rust_decimal_macros` can now be utilized using the `macros` feature flag. +* `rust_decimal_macros` can now be utilized using the `macros` feature flag. ([#628](https://github.com/paupino/rust-decimal/pull/628)) + +### Fixed + +* Reimplement `pow` function to more effectively handle larger exponents ([#638](https://github.com/paupino/rust-decimal/pull/638)) +* Fixes error handling when parsing a `Decimal` from a string when a decimal point or placeholder is at the rounding position ([#636](https://github.com/paupino/rust-decimal/pull/636)) ### Changed -* Added documentation for serde features as well as a few examples. +* Added documentation for serde features as well as a few examples. ([#630](https://github.com/paupino/rust-decimal/pull/630)) +* Documentation and rustdoc generation improvements ([#633](https://github.com/paupino/rust-decimal/pull/633), [#634](https://github.com/paupino/rust-decimal/pull/634)) + +### Credit + +Thank you to [@robjtede](https://github.com/robjtede) and [@schungx](https://github.com/schungx) for your contributions this release. + +Last but not least, a special thank you to [@Tony-Samuels](https://github.com/Tony-Samuels) for your help with managing `rust_decimal`! ## 1.33.1 diff --git a/Cargo.toml b/Cargo.toml index 5bf7199..ca327d6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ name = "rust_decimal" readme = "./README.md" repository = "https://github.com/paupino/rust-decimal" rust-version = "1.60" -version = "1.33.1" +version = "1.34.0" [package.metadata.docs.rs] all-features = true diff --git a/examples/serde-json-scenarios/Cargo.toml b/examples/serde-json-scenarios/Cargo.toml index 5d39048..1174190 100644 --- a/examples/serde-json-scenarios/Cargo.toml +++ b/examples/serde-json-scenarios/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "serde-json-scenarios" -version = "0.0.0" +version = "1.34.0" edition = "2021" publish = false diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index dab106f..e725f7f 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -21,7 +21,7 @@ authors = ["Automatically generated"] edition = "2021" name = "rust-decimal-fuzz" publish = false -version = "1.33.1" +version = "1.34.0" [package.metadata] cargo-fuzz = true diff --git a/macros/Cargo.toml b/macros/Cargo.toml index e2796e6..e02fea6 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rust_decimal_macros" -version = "1.33.1" +version = "1.34.0" authors = ["Paul Mason "] edition = "2021" description = "Shorthand macros to assist creating Decimal types." From d342610dbdb1ed7a75d4d79dd19efda5a38c5851 Mon Sep 17 00:00:00 2001 From: Paul Mason Date: Wed, 31 Jan 2024 08:59:19 -0800 Subject: [PATCH 2/2] Corrected version in readme file --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 626e5fd..7b4dea8 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Alternatively, you can edit your `Cargo.toml` directly and run `cargo update`: ```toml [dependencies] -rust_decimal = { version = "1.33", features = ["macros"] } +rust_decimal = { version = "1.34", features = ["macros"] } ``` ## Usage