Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 1.36.0 #672

Merged
merged 1 commit into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .buildnumber
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
1
35
36
0
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "rust_decimal_macros"
version = "1.35.0"
version = "1.36.0"
authors = ["Paul Mason <paul@form1.co.nz>"]
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]
Expand Down