Skip to content

Commit

Permalink
Version 1.26.0 (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
paupino committed Aug 5, 2022
1 parent 8ea8b07 commit 08a9ece
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Version History

## 1.26.0

### Added

* `serde-with-*` features now support `Option<T>` 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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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`

Expand Down
4 changes: 2 additions & 2 deletions macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rust_decimal_macros"
version = "1.25.0"
version = "1.26.0"
authors = ["Paul Mason <paul@form1.co.nz>"]
edition = "2021"
description = "Shorthand macros to assist creating Decimal types."
Expand All @@ -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]
Expand Down

0 comments on commit 08a9ece

Please sign in to comment.