|
9 | 9 | ### Fixed
|
10 | 10 | ### Security
|
11 | 11 | -->
|
| 12 | +## [v0.32.0] — 2022-01-14 |
| 13 | +This release adds one new quantity, `MolarHeatCapacity`, a new trait, `ConstZero`, and many internal |
| 14 | +improvements. The `quickcheck` 1.0 update uncovered a number of issues with floating point precision |
| 15 | +that were able to be resolved while still maintaining zero-cost guarantees. |
| 16 | + |
| 17 | +Many thanks to [adamreichold](https://github.com/adamreichold), [B-Reif](https://github.com/B-Reif), |
| 18 | +[remilauzier](https://github.com/remilauzier), and [T-Bakker](https://github.com/T-Bakker) for pull |
| 19 | +requests included and issues resolved in this release. |
| 20 | + |
| 21 | +### Added |
| 22 | + * [#250](https://github.com/iliekturtles/uom/pull/250) Add `ConstZero` trait which is implemented |
| 23 | + by `Quantity`. |
| 24 | + * [#263](https://github.com/iliekturtles/uom/pull/263) `MolarHeatCapacity` quantity added. |
| 25 | + |
| 26 | +### Changed |
| 27 | + * [#258](https://github.com/iliekturtles/uom/pull/258) Use `RUSTFLAGS="-D warnings"` in CI to |
| 28 | + ensure that `rustc` warnings and caught and fail their respective workflows. |
| 29 | + * [Breaking] Rename `Conversion::into_conversion` to `Conversion::conversion`. Name change resolves |
| 30 | + `Clippy` `wrong_self_convention` warnings. |
| 31 | + * [#260](https://github.com/iliekturtles/uom/pull/260) Increase minimum supported `rustc` version |
| 32 | + to 1.43.0. Required to support `quickcheck` 1.0. |
| 33 | + * [#260](https://github.com/iliekturtles/uom/pull/260) Update to `quickcheck` 1.0. Change required |
| 34 | + the MSRV update as well as refactoring `from_base`, `to_base`, and multiple tests. The |
| 35 | + `from_base` and `to_base` changes provide better floating point precision while still maintaining |
| 36 | + zero-cost guarantees. The test changes better handle floating point precision issues as well as |
| 37 | + the wider range of values generated by `quickcheck` 1.0's `Arbitrary` implementation. |
| 38 | + * [#268](https://github.com/iliekturtles/uom/pull/268) Clarify `powi` documentation. |
| 39 | + |
| 40 | +### Deprecated |
| 41 | + * [#260](https://github.com/iliekturtles/uom/pull/260) Deprecate `try-from` feature. The feature |
| 42 | + will be removed in a future release of `uom`. Functionality previously exposed by the feature is |
| 43 | + now enabled by default. |
| 44 | + |
| 45 | +### Fixed |
| 46 | + * [#252](https://github.com/iliekturtles/uom/pull/252) Fix links within the documentation to use |
| 47 | + https. Many previously used http and were broken. |
| 48 | + * [#260](https://github.com/iliekturtles/uom/pull/260) Fix `TryFrom<Duration> for Time<U, V>`. |
| 49 | + Previously the conversion used the `Duration`'s subsecond microseconds as nanoseconds. The |
| 50 | + conversion now correct uses the subsecond nanoseconds. |
| 51 | + |
12 | 52 | ## [v0.31.1] — 2021-03-01
|
13 | 53 | This release corrects documentation issues and documents fewer underlying
|
14 | 54 | storage types on docs.rs so that container time and memory limits are not
|
|
0 commit comments