Skip to content

Commit

Permalink
Release v0.22.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
iliekturtles committed Apr 28, 2019
1 parent 5cad47d commit 8c5eb43
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 10 deletions.
27 changes: 22 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,22 @@
### Security
-->

## [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/)
and [nicodemus26](https://github.com/nicodemus26/) respectively.

### Added
* [#89](https://github.com/iliekturtles/uom/issues/89) `Angle` quantity added.
* [#128](https://github.com/iliekturtles/uom/issues/128) `Jerk` quantity added. `Acceleration` and
`Velocity` units added and precision for some existing units improved.

### Changed
* Continuous integration setup updated and improved.
* Rust 1.34.0 is now used for `rustfmt`, `clippy`, and `tarpaulin` jobs.
* `rustfmt` configuration updated.
* `clippy` configuration corrected to run for all packages.

## [0.22.1] — 2019-04-02
This release adds additional `liter`-based `VolumeRate` units.

Expand All @@ -31,10 +47,10 @@ This release adds the `Momentum` quantity and additional `liter`-based `volume`
types in SI quantity tests.

### Fixed
* [#119](https://github.com/iliekturtles/uom/issues/119) Macros corrected to generate valid code for
both 2015 and 2018 editions. Previously the doc test on the `$quantities!` macro would fail in a
Rust 2018 crate. A new test crate, `edition_check`, was added to ensure `uom` remains usable in
Rust 2018 code.
* [#119](https://github.com/iliekturtles/uom/issues/119) Macros corrected to generate valid code
for both 2015 and 2018 editions. Previously the doc test on the `$quantities!` macro would fail
in a Rust 2018 crate. A new test crate, `edition_check`, was added to ensure `uom` remains usable
in Rust 2018 code.

## [0.21.1] — 2019-03-03
This release adds a few new units for `ElectricCharge` and `Energy`.
Expand Down Expand Up @@ -332,7 +348,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.1...master
[Unreleased]: https://github.com/iliekturtles/uom/compare/v0.22.2...master
[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
[v0.21.1]: https://github.com/iliekturtles/uom/compare/v0.21.0...v0.21.1
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.1"
version = "0.22.2"
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.1"
uom = "0.22.2"
```

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.1",
version = "0.22.2",
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.1"
//! uom = "0.22.2"
//! ```
//!
//! and this to your crate root:
Expand Down Expand Up @@ -66,7 +66,7 @@
//! ```toml
//! [dependencies]
//! uom = {
//! version = "0.22.1",
//! version = "0.22.2",
//! default-features = false,
//! features = [
//! "autoconvert", # automatic base unit conversion.
Expand Down

0 comments on commit 8c5eb43

Please sign in to comment.