Skip to content

Commit

Permalink
Release v0.33.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
iliekturtles committed Jun 28, 2022
1 parent 6de9f7b commit 51a7cbf
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 7 deletions.
34 changes: 32 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,41 @@
<!-- Template:
## [version] — YYYY-MM-DD
### Security
### Added
### Changed
### Deprecated
### Removed
### Fixed
### Security
-->
## [v0.33.0] — 2022-06-28
This release adds one new quantity, `Absement`. Two new underlying storage types, `Complex32` and
`Complex64`. Eight new exponential and logarithmic functions on `Ratio` and changes to use
`#[must_use]` and `#[non_exhaustive]`.

Many thanks to [adamreichold](https://github.com/adamreichold),
[gonzaponte](https://github.com/gonzaponte), [jacg](https://github.com/jacg),
[nick-pascucci-spire](https://github.com/nick-pascucci-spire), and
[TobTobXX](https://github.com/TobTobXX) for pull requests included and issues resolved in this
release.

### Added
* [#284](https://github.com/iliekturtles/uom/pull/284),
[#285](https://github.com/iliekturtles/uom/pull/285) `Absement` quantity added.
* [#287](https://github.com/iliekturtles/uom/pull/287) Add support for `Complex32` and `Complex64`
as underlying storage types.
* [#290](https://github.com/iliekturtles/uom/pull/290) Implement `exp2`, `exp_m1`, `exp`, `ln_1p`,
`ln`, `log10`, `log2`, and `log` for `Ratio`.
* [#306](https://github.com/iliekturtles/uom/pull/306) Add missing `#[must_use]` on all methods
returning a value. `must_use_candidate` and `return_self_not_must_use` clippy lints are now
enabled to ensure future methods include the attribute.

### Changed
* [#272](https://github.com/iliekturtles/uom/pull/272) Improve documentation on how to enable
`serde` for `big*` and `rational*` underlying storage types.
* Enable `#[non_exhaustive]` on `Units` `enum`s. The `#[doc(hidden)] __nonexhaustive` trick is not
longer used.

## [v0.32.0] — 2022-01-14
This release adds one new quantity, `MolarHeatCapacity`, a new trait, `ConstZero`, and many internal
improvements. The `quickcheck` 1.0 update uncovered a number of issues with floating point precision
Expand Down Expand Up @@ -598,7 +626,9 @@ for the creation of custom systems or the use of the pre-built SI. Basic mathema
are implemented and a minimal set of quantities (length, mass, time...) and units (meter, kilometer,
foot, mile, ...) are included.

[Unreleased]: https://github.com/iliekturtles/uom/compare/v0.31.1...master
[Unreleased]: https://github.com/iliekturtles/uom/compare/v0.33.0...master
[v0.33.0]: https://github.com/iliekturtles/uom/compare/v0.32.0...v0.33.0
[v0.32.0]: https://github.com/iliekturtles/uom/compare/v0.31.1...v0.32.0
[v0.31.1]: https://github.com/iliekturtles/uom/compare/v0.31.0...v0.31.1
[v0.31.0]: https://github.com/iliekturtles/uom/compare/v0.30.0...v0.31.0
[v0.30.0]: https://github.com/iliekturtles/uom/compare/v0.29.0...v0.30.0
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "uom"
version = "0.32.0"
version = "0.33.0"
edition = "2018"
authors = ["Mike Boutin <[email protected]>"]
description = "Units of measurement"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Units of measurement is a crate that does automatic type-safe zero-cost

```toml
[dependencies]
uom = "0.32.0"
uom = "0.33.0"
```

and this to your crate root:
Expand Down Expand Up @@ -79,7 +79,7 @@ enabled by default. Features can be cherry-picked by using the `--no-default-fea
```toml
[dependencies]
uom = {
version = "0.32.0",
version = "0.33.0",
default-features = false,
features = [
"autoconvert", # automatic base unit conversion.
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//!
//! ```toml
//! [dependencies]
//! uom = "0.32.0"
//! uom = "0.33.0"
//! ```
//!
//! and this to your crate root:
Expand Down Expand Up @@ -66,7 +66,7 @@
//! ```toml
//! [dependencies]
//! uom = {
//! version = "0.32.0",
//! version = "0.33.0",
//! default-features = false,
//! features = [
//! "autoconvert", # automatic base unit conversion.
Expand Down

0 comments on commit 51a7cbf

Please sign in to comment.