Skip to content

Commit 51a7cbf

Browse files
committed
Release v0.33.0.
1 parent 6de9f7b commit 51a7cbf

File tree

4 files changed

+37
-7
lines changed

4 files changed

+37
-7
lines changed

CHANGELOG.md

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,41 @@
22
<!-- Template:
33
## [version] — YYYY-MM-DD
44
5+
### Security
56
### Added
67
### Changed
78
### Deprecated
89
### Removed
910
### Fixed
10-
### Security
1111
-->
12+
## [v0.33.0] — 2022-06-28
13+
This release adds one new quantity, `Absement`. Two new underlying storage types, `Complex32` and
14+
`Complex64`. Eight new exponential and logarithmic functions on `Ratio` and changes to use
15+
`#[must_use]` and `#[non_exhaustive]`.
16+
17+
Many thanks to [adamreichold](https://github.com/adamreichold),
18+
[gonzaponte](https://github.com/gonzaponte), [jacg](https://github.com/jacg),
19+
[nick-pascucci-spire](https://github.com/nick-pascucci-spire), and
20+
[TobTobXX](https://github.com/TobTobXX) for pull requests included and issues resolved in this
21+
release.
22+
23+
### Added
24+
* [#284](https://github.com/iliekturtles/uom/pull/284),
25+
[#285](https://github.com/iliekturtles/uom/pull/285) `Absement` quantity added.
26+
* [#287](https://github.com/iliekturtles/uom/pull/287) Add support for `Complex32` and `Complex64`
27+
as underlying storage types.
28+
* [#290](https://github.com/iliekturtles/uom/pull/290) Implement `exp2`, `exp_m1`, `exp`, `ln_1p`,
29+
`ln`, `log10`, `log2`, and `log` for `Ratio`.
30+
* [#306](https://github.com/iliekturtles/uom/pull/306) Add missing `#[must_use]` on all methods
31+
returning a value. `must_use_candidate` and `return_self_not_must_use` clippy lints are now
32+
enabled to ensure future methods include the attribute.
33+
34+
### Changed
35+
* [#272](https://github.com/iliekturtles/uom/pull/272) Improve documentation on how to enable
36+
`serde` for `big*` and `rational*` underlying storage types.
37+
* Enable `#[non_exhaustive]` on `Units` `enum`s. The `#[doc(hidden)] __nonexhaustive` trick is not
38+
longer used.
39+
1240
## [v0.32.0] — 2022-01-14
1341
This release adds one new quantity, `MolarHeatCapacity`, a new trait, `ConstZero`, and many internal
1442
improvements. The `quickcheck` 1.0 update uncovered a number of issues with floating point precision
@@ -598,7 +626,9 @@ for the creation of custom systems or the use of the pre-built SI. Basic mathema
598626
are implemented and a minimal set of quantities (length, mass, time...) and units (meter, kilometer,
599627
foot, mile, ...) are included.
600628

601-
[Unreleased]: https://github.com/iliekturtles/uom/compare/v0.31.1...master
629+
[Unreleased]: https://github.com/iliekturtles/uom/compare/v0.33.0...master
630+
[v0.33.0]: https://github.com/iliekturtles/uom/compare/v0.32.0...v0.33.0
631+
[v0.32.0]: https://github.com/iliekturtles/uom/compare/v0.31.1...v0.32.0
602632
[v0.31.1]: https://github.com/iliekturtles/uom/compare/v0.31.0...v0.31.1
603633
[v0.31.0]: https://github.com/iliekturtles/uom/compare/v0.30.0...v0.31.0
604634
[v0.30.0]: https://github.com/iliekturtles/uom/compare/v0.29.0...v0.30.0

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "uom"
3-
version = "0.32.0"
3+
version = "0.33.0"
44
edition = "2018"
55
authors = ["Mike Boutin <mike.boutin@gmail.com>"]
66
description = "Units of measurement"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Units of measurement is a crate that does automatic type-safe zero-cost
2727

2828
```toml
2929
[dependencies]
30-
uom = "0.32.0"
30+
uom = "0.33.0"
3131
```
3232

3333
and this to your crate root:
@@ -79,7 +79,7 @@ enabled by default. Features can be cherry-picked by using the `--no-default-fea
7979
```toml
8080
[dependencies]
8181
uom = {
82-
version = "0.32.0",
82+
version = "0.33.0",
8383
default-features = false,
8484
features = [
8585
"autoconvert", # automatic base unit conversion.

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
//!
1919
//! ```toml
2020
//! [dependencies]
21-
//! uom = "0.32.0"
21+
//! uom = "0.33.0"
2222
//! ```
2323
//!
2424
//! and this to your crate root:
@@ -66,7 +66,7 @@
6666
//! ```toml
6767
//! [dependencies]
6868
//! uom = {
69-
//! version = "0.32.0",
69+
//! version = "0.33.0",
7070
//! default-features = false,
7171
//! features = [
7272
//! "autoconvert", # automatic base unit conversion.

0 commit comments

Comments
 (0)