From 08a9ecebec7f49020a778d062d3f43bf876f301a Mon Sep 17 00:00:00 2001 From: Paul Mason Date: Thu, 4 Aug 2022 19:40:04 -0700 Subject: [PATCH] Version 1.26.0 (#534) --- CHANGELOG.md | 12 ++++++++++++ Cargo.toml | 2 +- README.md | 10 ++++++---- macros/Cargo.toml | 4 ++-- 4 files changed, 21 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 485c99fb..f46fe210 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Version History +## 1.26.0 + +### Added + +* `serde-with-*` features now support `Option` variants ([#524](https://github.com/paupino/rust-decimal/pull/524)). +* Implementation support for `core::iter::Product` ([#525](https://github.com/paupino/rust-decimal/pull/525)). +* Diesel `2.0.0-rc.1` support via `db-diesel2-mysql` and `db-diesel2-postgres` features. ([#533](https://github.com/paupino/rust-decimal/pull/533) and ([#532](https://github.com/paupino/rust-decimal/pull/532))). + +### Fixed + +* Fixes a silent overflow in `from_str` when parsing `Decimal::MAX` with a fractional portion. ([#530](https://github.com/paupino/rust-decimal/pull/530)). + ## 1.25.0 ### Added diff --git a/Cargo.toml b/Cargo.toml index 712a7ebb..921f884d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ license = "MIT" name = "rust_decimal" readme = "./README.md" repository = "https://github.com/paupino/rust-decimal" -version = "1.25.0" +version = "1.26.0" build = "build.rs" [package.metadata.docs.rs] diff --git a/README.md b/README.md index d603dc8e..67ffc9fd 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,8 @@ To get started, add `rust_decimal` and optionally `rust_decimal_macros` to your ```toml [dependencies] -rust_decimal = "1.25" -rust_decimal_macros = "1.25" +rust_decimal = "1.26" +rust_decimal_macros = "1.26" ``` ## Usage @@ -120,12 +120,14 @@ Enables the tokio postgres module allowing for async communication with PostgreS ### `db-diesel-postgres` Enable `diesel` PostgreSQL support. By default, this enables version `1.4` of `diesel`. If you wish to use the `diesel` -release candidates then you can do so by using `db-diesel2-postgres`. +release candidates then you can do so by using `db-diesel2-postgres`. Please note, the `db-diesel2-*` features are considered +unstable and will be upgraded as and when new `diesel 2.x` features are released. ### `db-diesel-mysql` Enable `diesel` MySQL support. By default, this enables version `1.4` of `diesel`. If you wish to use the `diesel` -release candidates then you can do so by using `db-diesel2-mysql`. +release candidates then you can do so by using `db-diesel2-mysql`. Please note, the `db-diesel2-*` features are considered +unstable and will be upgraded as and when new `diesel 2.x` features are released. ### `legacy-ops` diff --git a/macros/Cargo.toml b/macros/Cargo.toml index a0a74a12..0ab4ed1a 100644 --- a/macros/Cargo.toml +++ b/macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rust_decimal_macros" -version = "1.25.0" +version = "1.26.0" authors = ["Paul Mason "] edition = "2021" description = "Shorthand macros to assist creating Decimal types." @@ -12,7 +12,7 @@ categories = ["science","data-structures"] license = "MIT" [dependencies] -rust_decimal = { path = "..", version = "1.25", default-features = false } +rust_decimal = { path = "..", version = "1.26", default-features = false } quote = "1.0" [dev-dependencies]