|
9 | 9 | ### Fixed
|
10 | 10 | ### Security
|
11 | 11 | -->
|
| 12 | +## [v0.31.0] — 2021-01-05 |
| 13 | +This release adds a new macro, `unit!`, to allow for units to be defined outside of the |
| 14 | +`quantity!` macro as well as a `Units` enum for each quantity. A number of standard library |
| 15 | +traits are implemented. Build regressions caused by issues with the CI system and changes in |
| 16 | +Rust are now fixed. |
| 17 | + |
| 18 | +Many thanks to [bheisler](https://github.com/bheisler), |
| 19 | +[CreepySkeleton](https://github.com/CreepySkeleton), |
| 20 | +[DusterTheFirst](https://github.com/DusterTheFirst), [Lucretiel](https://github.com/Lucretiel), and |
| 21 | +[neoeinstein](https://github.com/neoeinstein) for pull requests included and issues resolved in |
| 22 | +this release. |
| 23 | + |
| 24 | +### Added |
| 25 | + * [#173](https://github.com/iliekturtles/uom/issues/173) Allow new units to be defined using |
| 26 | + `unit!` outside of `quantity!`. When using the pre-built SI system included with `uom` this |
| 27 | + macro allows for new units to quickly be defined without requiring a release. |
| 28 | + [Pull requests](https://github.com/iliekturtles/uom/pulls) to add new units upstream area |
| 29 | + always greatly appreciated. |
| 30 | + * [#215](https://github.com/iliekturtles/uom/pull/215) Add `Units` enum and |
| 31 | + `fn units() -> impl Iterator<Item = Units>` function for each quantity. |
| 32 | + * [#227](https://github.com/iliekturtles/uom/issues/227) Ensure `UnwindSafe` and `RefUnwindSafe` |
| 33 | + are implemented. |
| 34 | + * [#217](https://github.com/iliekturtles/uom/pull/217) Add trait implementations for `Display` and |
| 35 | + `Error` to `ParseQuantityError`. |
| 36 | + |
| 37 | +### Changed |
| 38 | + * [#214](https://github.com/iliekturtles/uom/pull/214) The `FromStr` implementation for quantities |
| 39 | + now supports the unit singular and plural descriptions in addition to the unit abbreviation. |
| 40 | + * [#225](https://github.com/iliekturtles/uom/pull/225) Convert CI to use Github Actions. This |
| 41 | + change fixes a number of problems with the old system and greatly improves build times. |
| 42 | + * [#223](https://github.com/iliekturtles/uom/issues/223) Correct build regressions introduced |
| 43 | + while no test job was run with the old CI system. |
| 44 | + |
12 | 45 | ## [v0.30.0] — 2020-10-17
|
13 | 46 | This release adds a new quantity, `RadiantExposure`, implements `Unpin` for `Quantity` and
|
14 | 47 | upgrades `uom` to the 2018 edition. These changes also include an increase of the minimum
|
@@ -510,7 +543,8 @@ for the creation of custom systems or the use of the pre-built SI. Basic mathema
|
510 | 543 | are implemented and a minimal set of quantities (length, mass, time...) and units (meter, kilometer,
|
511 | 544 | foot, mile, ...) are included.
|
512 | 545 |
|
513 |
| -[Unreleased]: https://github.com/iliekturtles/uom/compare/v0.30.0...master |
| 546 | +[Unreleased]: https://github.com/iliekturtles/uom/compare/v0.31.0...master |
| 547 | +[v0.31.0]: https://github.com/iliekturtles/uom/compare/v0.30.0...v0.31.0 |
514 | 548 | [v0.30.0]: https://github.com/iliekturtles/uom/compare/v0.29.0...v0.30.0
|
515 | 549 | [v0.29.0]: https://github.com/iliekturtles/uom/compare/v0.28.0...v0.29.0
|
516 | 550 | [v0.28.0]: https://github.com/iliekturtles/uom/compare/v0.27.0...v0.28.0
|
|
0 commit comments