Skip to content

Commit

Permalink
Release v0.23.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
iliekturtles committed May 13, 2019
1 parent bc1e094 commit 4577132
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 7 deletions.
30 changes: 29 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,33 @@
### Security
-->

## [0.23.0] — 2019-05-13
This release adds three new quantities, `AngularAcceleration`, `AngularVelocity`, and `Torque`.
Changes to make `Kind`s more ergonomic to use are also included along with documentation changes.
Many thanks to [dunmatt](https://github.com/dunmatt/) and [Aehmlo](https://github.com/Aehmlo) for
pull requests included in this release.

### Added
* [#136](https://github.com/iliekturtles/uom/pull/136) `AngularAcceleration` quantity added.
* [#135](https://github.com/iliekturtles/uom/pull/135) `AngularVelocity` quantity added.
* [#117](https://github.com/iliekturtles/uom/issues/117) `Torque` quantity added.
* Introduce `AngleKind` and `si::marker` to hold SI specific marker traits. `From` implementations
for `AngleKind` added to more easily convert between `uom::Kind` and `si::marker::AngleKind`.
* Allow documentation to be specified for base quantities in the `system!` macro. Documentation for
the seven base SI quantities added.

### Changed
* [#138](https://github.com/iliekturtles/uom/issues/138) Maintain kind when multiplying a number by
a quantity. Multiplying a quantity by a number already maintains kind.
* [#130](https://github.com/iliekturtles/uom/pull/130) Rename `Density` to `MassDensity`. A type
alias for `Density` is available for backwards compatibility.
* [#127](https://github.com/iliekturtles/uom/issues/127) Make all SI quantity documentation follow
a single, consistent format.

### Deprecated
* [#130](https://github.com/iliekturtles/uom/pull/130) `Density` has been renamed to `MassDensity`
and is deprecated. `Density` will be removed in some future release.

## [0.22.2] — 2019-04-28
This release adds `Angle` and `Jerk` quantities along with unit additions and conversion precision
improvements to `Acceleration` and `Velocity`. Many thanks to [dunmatt](https://github.com/dunmatt/)
Expand Down Expand Up @@ -348,7 +375,8 @@ 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.22.2...master
[Unreleased]: https://github.com/iliekturtles/uom/compare/v0.23.0...master
[v0.23.0]: https://github.com/iliekturtles/uom/compare/v0.22.2...v0.23.0
[v0.22.2]: https://github.com/iliekturtles/uom/compare/v0.22.1...v0.22.2
[v0.22.1]: https://github.com/iliekturtles/uom/compare/v0.22.0...v0.22.1
[v0.22.0]: https://github.com/iliekturtles/uom/compare/v0.21.1...v0.22.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.22.2"
version = "0.23.0"
authors = ["Mike Boutin <[email protected]>"]
description = "Units of measurement"
documentation = "https://docs.rs/uom"
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.22.2"
uom = "0.23.0"
```

and this to your crate root:
Expand Down Expand Up @@ -77,7 +77,7 @@ enabled by default. Features can be cherry-picked by using the `--no-default-fea
```toml
[dependencies]
uom = {
version = "0.22.2",
version = "0.23.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.22.2"
//! uom = "0.23.0"
//! ```
//!
//! and this to your crate root:
Expand Down Expand Up @@ -66,7 +66,7 @@
//! ```toml
//! [dependencies]
//! uom = {
//! version = "0.22.2",
//! version = "0.23.0",
//! default-features = false,
//! features = [
//! "autoconvert", # automatic base unit conversion.
Expand Down
2 changes: 1 addition & 1 deletion src/si/mass_density.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! Mass density (base unit kilogram per cubic meter, kg · m⁻³).
/// Mass density (base unit kilogram per cubic meter, kg · m⁻³).
#[deprecated(since = "0.22.3", note = "Please use the more descriptive MassDensity instead.")]
#[deprecated(since = "0.23.0", note = "Please use the more descriptive MassDensity instead.")]
pub type Density<U, V> = MassDensity<U, V>;

quantity! {
Expand Down

0 comments on commit 4577132

Please sign in to comment.