{"ecosystem":"cargo","package":"rust_decimal","from_version":null,"to_version":null,"changes":[{"from_version":"1.16.0","to_version":"1.17.0","change_type":"breaking","description":"Fixes panic when display precision was specified greater than","migration_hint":null},{"from_version":"1.16.0","to_version":"1.17.0","change_type":"breaking","description":"Fixes an issue in `round_sf` whereby integral values that started with a 0 or 1 would output incorrect rounded","migration_hint":null},{"from_version":"1.16.0","to_version":"1.17.0","change_type":"breaking","description":"Adds `from_f32_retain` and `from_f64_retain` functions which allow parsing a floating point number and retaining any","migration_hint":null},{"from_version":"1.16.0","to_version":"1.17.0","change_type":"breaking","description":"Binds `deserialize` so that invalid scale values cannot be set. This may be a breaking change for some users","migration_hint":null},{"from_version":"1.12.4","to_version":"1.13.0","change_type":"breaking","description":"Small improvements to `from_scientific`. It now supports a wider range of values as well has slightly faster","migration_hint":null},{"from_version":"1.12.4","to_version":"1.13.0","change_type":"breaking","description":"`powi`, `checked_powi` - When the exponent is a signed integer.","migration_hint":null},{"from_version":"1.12.4","to_version":"1.13.0","change_type":"breaking","description":"`powu`, `checked_powu` - When the exponent is an unsigned integer.","migration_hint":null},{"from_version":"1.12.4","to_version":"1.13.0","change_type":"breaking","description":"`powf`, `checked_powf` - When the exponent is a floating point number. Please note, numbers with a fractional","migration_hint":null},{"from_version":"1.12.4","to_version":"1.13.0","change_type":"breaking","description":"`powd`, `checked_powd` - When the exponent is a `Decimal`. Please note, numbers with a fractional component will","migration_hint":null},{"from_version":"1.12.4","to_version":"1.13.0","change_type":"breaking","description":"`#[must_use]` added to functions to provide additional compiler hints.","migration_hint":null},{"from_version":"1.12.4","to_version":"1.13.0","change_type":"breaking","description":"`try_from_i128_with_scale` function added to safely handle `i128` overflow errors.","migration_hint":null},{"from_version":"1.12.4","to_version":"1.13.0","change_type":"breaking","description":"New `c-repr` feature added which will ensure that `#[repr(C)]` is used on the `Decimal` type.","migration_hint":null},{"from_version":"1.12.4","to_version":"1.13.0","change_type":"renamed","description":"Support for negative and decimal `pow` functions. This is *breaking* since `powi(u64)` has been renamed","migration_hint":null},{"from_version":"1.11.1","to_version":"1.12.0","change_type":"breaking","description":"`add` - up to 2.2x faster","migration_hint":null},{"from_version":"1.11.1","to_version":"1.12.0","change_type":"breaking","description":"`div` - up to 428x faster","migration_hint":null},{"from_version":"1.11.1","to_version":"1.12.0","change_type":"breaking","description":"`mul` - up to 1.8x faster","migration_hint":null},{"from_version":"1.11.1","to_version":"1.12.0","change_type":"breaking","description":"`rem` - up to 1.08x faster","migration_hint":null},{"from_version":"1.11.1","to_version":"1.12.0","change_type":"breaking","description":"`sub` - up to 2.5x faster","migration_hint":null},{"from_version":"1.11.1","to_version":"1.12.0","change_type":"breaking","description":"Fixes overflow bug with `sqrt` when using the smallest possible representable","migration_hint":null},{"from_version":"1.11.1","to_version":"1.12.0","change_type":"breaking","description":"Some minor optimizations in the `maths` feature. Future work will involve speeding up this feature by keeping","migration_hint":null},{"from_version":"1.11.1","to_version":"1.12.0","change_type":"breaking","description":"Some internal housekeeping was made to help make way for version 2.0 improvements.","migration_hint":null},{"from_version":"1.11.1","to_version":"1.12.0","change_type":"breaking","description":"`-0` now gets corrected to `0`. During operation rewrite I needed to consider operations such as `-0 * 2` - in cases","migration_hint":null},{"from_version":"1.11.1","to_version":"1.12.0","change_type":"breaking","description":"Small breaking change by renaming `is_negative` to `negative` in `UnpackedDecimal`.","migration_hint":null},{"from_version":"1.11.1","to_version":"1.12.0","change_type":"deprecated","description":"Added associated constants for `MIN`, `MAX` and `ZERO`. Deprecated `min_value()` and `max_value()` in favor of these","migration_hint":null},{"from_version":"1.11.1","to_version":"1.12.0","change_type":"removed","description":"Remove unnecessary `String` allocation when parsing a scientific number format.","migration_hint":null}],"total":25,"note":"Curated major-version breaking changes. Always verify against the package's official changelog before migrating.","_cache":"miss"}