From cb73ba256fe538678a5b2742306143041025b636 Mon Sep 17 00:00:00 2001 From: Paul Mason Date: Mon, 19 Aug 2024 07:24:15 -0700 Subject: [PATCH] Version 1.36.0 --- .buildnumber | 2 +- CHANGELOG.md | 21 +++++++++++++++++++++ Cargo.toml | 2 +- README.md | 4 ++-- macros/Cargo.toml | 6 +++--- 5 files changed, 28 insertions(+), 7 deletions(-) diff --git a/.buildnumber b/.buildnumber index dc07714..105fd88 100644 --- a/.buildnumber +++ b/.buildnumber @@ -1,3 +1,3 @@ 1 -35 +36 0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f5eb64..b399114 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,26 @@ # Version History +# 1.36.0 + +### Fixed + +* Fixes a bug where `from_sql` was converting `Numeric::NaN` to `0` rather than returning an + error. ([#656](https://github.com/paupino/rust-decimal/pull/656)). +* Fixes an issue where `i128::MIN` would cause overflow when calling + `from_i128` ([#657](https://github.com/paupino/rust-decimal/pull/657)). +* Fixes issue with `abs_sub` whereby it was not returning the + difference ([#666](https://github.com/paupino/rust-decimal/pull/666)). +* Fixes issue with `serde_str` after downstream dependency + update ([#670](https://github.com/paupino/rust-decimal/pull/670)). + +### Changed + +* Github workflow improvements ([#658](https://github.com/paupino/rust-decimal/pull/658)). +* Diesel 1 feature has been deprecated and Diesel 2 was upgraded to + v2.2 ([#663](https://github.com/paupino/rust-decimal/pull/663)). +* Replace `proptest` strategy to improve generation of random + values ([#659](https://github.com/paupino/rust-decimal/pull/659)). + # 1.35.0 ### Fixed diff --git a/Cargo.toml b/Cargo.toml index 76fec6c..a2c00f3 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.35.0" +version = "1.36.0" [package.metadata.docs.rs] all-features = true diff --git a/README.md b/README.md index dcac735..2587fcf 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,8 @@ Alternatively, you can edit your `Cargo.toml` directly and run `cargo update`: ```toml [dependencies] -rust_decimal = "1.35" -rust_decimal_macros = "1.35" +rust_decimal = "1.36" +rust_decimal_macros = "1.36" ``` ## Usage diff --git a/macros/Cargo.toml b/macros/Cargo.toml index 25b037f..27ac3eb 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -1,14 +1,14 @@ [package] name = "rust_decimal_macros" -version = "1.35.0" +version = "1.36.0" authors = ["Paul Mason "] edition = "2021" description = "Shorthand macros to assist creating Decimal types." documentation = "https://docs.rs/rust_decimal/" repository = "https://github.com/paupino/rust-decimal" readme = "../README.md" -keywords = ["decimal","financial","fixed","precision"] -categories = ["science","data-structures"] +keywords = ["decimal", "financial", "fixed", "precision"] +categories = ["science", "data-structures"] license = "MIT" [dependencies]