diff --git a/CHANGELOG.md b/CHANGELOG.md index e07f249d..8f3690d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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/) @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 762a0d50..8f6d8977 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "uom" -version = "0.22.2" +version = "0.23.0" authors = ["Mike Boutin "] description = "Units of measurement" documentation = "https://docs.rs/uom" diff --git a/README.md b/README.md index b7237595..a2e828d6 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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. diff --git a/src/lib.rs b/src/lib.rs index 115cbe0b..92b768e7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -18,7 +18,7 @@ //! //! ```toml //! [dependencies] -//! uom = "0.22.2" +//! uom = "0.23.0" //! ``` //! //! and this to your crate root: @@ -66,7 +66,7 @@ //! ```toml //! [dependencies] //! uom = { -//! version = "0.22.2", +//! version = "0.23.0", //! default-features = false, //! features = [ //! "autoconvert", # automatic base unit conversion. diff --git a/src/si/mass_density.rs b/src/si/mass_density.rs index 943a59b4..80eea73a 100644 --- a/src/si/mass_density.rs +++ b/src/si/mass_density.rs @@ -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 = MassDensity; quantity! {