1.41.0
- Replace ryu with zmij for float formatting by @hugobast in https://github.com/paupino/rust-decimal/pull/772
- Benchmarking and div optimizations by @paupino in https://github.com/paupino/rust-decimal/pull/775
- Widen mathematical operations to retain precision as long as possible during calculations by @paupino in https://github.com/paupino/rust-decimal/pull/776
- Remove std requirement from rand tests by @paupino in https://github.com/paupino/rust-decimal/pull/778
- Remove unnecessary Github workflow steps by @paupino in https://github.com/paupino/rust-decimal/pull/779
- Add lightweight wasm support to
rust-decimalby @ChristianIvicevic in https://github.com/paupino/rust-decimal/pull/650 - As F64/AS i128 by @rollo-b2c2 in https://github.com/paupino/rust-decimal/pull/726
- Add optional bytemuck support by @kevinheavey in https://github.com/paupino/rust-decimal/pull/674
- Fixes scientific fallback with serde-with-arbitrary-precision by @paupino in https://github.com/paupino/rust-decimal/pull/782
- Fixes incorrect zero value in postgresql by @paupino in https://github.com/paupino/rust-decimal/pull/783
- fix: scientific formatting of 0 by @Tony-Samuels in https://github.com/paupino/rust-decimal/pull/785
- v1.41.0 by @paupino in https://github.com/paupino/rust-decimal/pull/788
- @ChristianIvicevic made their first contribution in https://github.com/paupino/rust-decimal/pull/650
- @kevinheavey made their first contribution in https://github.com/paupino/rust-decimal/pull/674
Full Changelog: https://github.com/paupino/rust-decimal/compare/1.40.0...1.41.0
1.40.0
- Fixed Issue #760 serde_json roundtrip on specific values (0.0, 1.0, 2.0,...) by @hugobast in https://github.com/paupino/rust-decimal/pull/761
- Allow the usage of stack-based strings by @c410-f3r in https://github.com/paupino/rust-decimal/pull/762
- Fix: RUSTSEC-2026-0001 by @sebadob in https://github.com/paupino/rust-decimal/pull/770
- Version 1.40.0 by @paupino in https://github.com/paupino/rust-decimal/pull/771
- @hugobast made their first contribution in https://github.com/paupino/rust-decimal/pull/761
- @sebadob made their first contribution in https://github.com/paupino/rust-decimal/pull/770
Full Changelog: https://github.com/paupino/rust-decimal/compare/1.39.0...1.40.0
1.39.0
- v1
postgres->postgres_backendby @Logarithmus in https://github.com/paupino/rust-decimal/pull/751 - Remove doc_auto_cfg and address lifetime warnings by @paupino in https://github.com/paupino/rust-decimal/pull/755
- Version 1.39.0 by @paupino in https://github.com/paupino/rust-decimal/pull/756
- @Logarithmus made their first contribution in https://github.com/paupino/rust-decimal/pull/751
Full Changelog: https://github.com/paupino/rust-decimal/compare/1.38.0...1.39.0
1.38.0
- Add new align16 feature to force 16 byte alignment for Decimal by @Tony-Samuels in https://github.com/paupino/rust-decimal/pull/735
- Improved exp by @Danvil in https://github.com/paupino/rust-decimal/pull/739
- Add
#[inline]toDecimal::from_parts(v1 backport) by @finnbear in https://github.com/paupino/rust-decimal/pull/744 - Add from_scientific_round, that parses like from_scientific but behaves like from_str for numbers with greater precision that Decimal supports by @tenuous-guidance in https://github.com/paupino/rust-decimal/pull/746
- Version 1.38.0 by @paupino in https://github.com/paupino/rust-decimal/pull/748
Full Changelog: https://github.com/paupino/rust-decimal/compare/1.37.2...1.38.0
1.37.2
- More efficient is_zero check | v1 by @ivanrg99 in https://github.com/paupino/rust-decimal/pull/719
- Fix panic on 0.x parsing by @Tony-Samuels in https://github.com/paupino/rust-decimal/pull/731
Full Changelog: https://github.com/paupino/rust-decimal/compare/1.37.1...1.37.2
1.37.1
- [Docs] Includes macro information in published documentation by @paupino in https://github.com/paupino/rust-decimal/pull/716
Full Changelog: https://github.com/paupino/rust-decimal/compare/1.37.0...1.37.1
1.37.0
- Bumps diesel version by @Dylan-DPC in https://github.com/paupino/rust-decimal/pull/677
- Fix
f64dec limit edge case by @finnbear in https://github.com/paupino/rust-decimal/pull/678 - Rkyv 0.8 example by @Tony-Samuels in https://github.com/paupino/rust-decimal/pull/683
- Add explanation of how to enable
mathsfeature by @olgabot in https://github.com/paupino/rust-decimal/pull/681 - Create pub constant Decimal::MAX_SCALE by @Tony-Samuels in https://github.com/paupino/rust-decimal/pull/685
- Fix panic when parsing improper scientific notation. by @schungx in https://github.com/paupino/rust-decimal/pull/700
- Clean up tests to use Ok/Err format by @paupino in https://github.com/paupino/rust-decimal/pull/703
- Add
dec!()macro by example by @daniel-pfeiffer in https://github.com/paupino/rust-decimal/pull/692 - feat: add rand-0_9 crate feature by @robjtede in https://github.com/paupino/rust-decimal/pull/702
- Cargo.toml: Only enable mysql_backend on diesel, not the whole mysql feature by @mcronce in https://github.com/paupino/rust-decimal/pull/707
- Backwards compatibility for
dec!()macro by @paupino in https://github.com/paupino/rust-decimal/pull/711 - Specify fixed version for macros dependency by @paupino in https://github.com/paupino/rust-decimal/pull/712
- @Dylan-DPC made their first contribution in https://github.com/paupino/rust-decimal/pull/677
- @finnbear made their first contribution in https://github.com/paupino/rust-decimal/pull/678
- @Tony-Samuels made their first contribution in https://github.com/paupino/rust-decimal/pull/683
- @olgabot made their first contribution in https://github.com/paupino/rust-decimal/pull/681
- @daniel-pfeiffer made their first contribution in https://github.com/paupino/rust-decimal/pull/692
- @mcronce made their first contribution in https://github.com/paupino/rust-decimal/pull/707
Full Changelog: https://github.com/paupino/rust-decimal/compare/1.36.0...1.37.0
1.36.0
- Fix FromSql for Postgres Numeric NaNs by @lukoktonos in https://github.com/paupino/rust-decimal/pull/656
- Fix negation with overflow by @benschulz in https://github.com/paupino/rust-decimal/pull/657
- Updating github workflow in preperation for target testing by @paupino in https://github.com/paupino/rust-decimal/pull/658
- Bump macro version to 1.35 by @paupino in https://github.com/paupino/rust-decimal/pull/661
- Deprecate diesel1 feature and upgrade diesel to v2.2 by @paupino in https://github.com/paupino/rust-decimal/pull/663
- Replace filtery with a strategy for implementation of proptest::Arbitrary by @uzytkownik in https://github.com/paupino/rust-decimal/pull/659
- Fixes issue with abs_sub whereby it was not computing the difference correctly by @paupino in https://github.com/paupino/rust-decimal/pull/666
- serde.rs: Fix type infer error by @shank03 in https://github.com/paupino/rust-decimal/pull/670
- Version 1.36.0 by @paupino in https://github.com/paupino/rust-decimal/pull/672
- @lukoktonos made their first contribution in https://github.com/paupino/rust-decimal/pull/656
- @benschulz made their first contribution in https://github.com/paupino/rust-decimal/pull/657
- @uzytkownik made their first contribution in https://github.com/paupino/rust-decimal/pull/659
- @shank03 made their first contribution in https://github.com/paupino/rust-decimal/pull/670
Full Changelog: https://github.com/paupino/rust-decimal/compare/1.35.0...1.36.0
1.35.0
- Replace feature-guarded dependencies on 'postgres' and 'tokio_postgres' with 'postgres_types' by @the-kenny in https://github.com/paupino/rust-decimal/pull/651
- Fixes issue with overflow for Postgres by @paupino in https://github.com/paupino/rust-decimal/pull/653
- @the-kenny made their first contribution in https://github.com/paupino/rust-decimal/pull/651
Full Changelog: https://github.com/paupino/rust-decimal/compare/1.34.3...1.35.0
1.34.3
- Prevent scale of 29 when hydrating from unbound numeric data types in Postgresql by @paupino in https://github.com/paupino/rust-decimal/pull/647
- Version 1.34.3 by @paupino in https://github.com/paupino/rust-decimal/pull/648
Full Changelog: https://github.com/paupino/rust-decimal/compare/1.34.2...1.34.3