From 370a89e3b111e093f2ce0236c4a180c22b11104e Mon Sep 17 00:00:00 2001 From: Philipp Rehner <69816385+prehner@users.noreply.github.com> Date: Thu, 24 Oct 2024 13:20:23 +0200 Subject: [PATCH] Release v0.9.0 (#73) --- CHANGELOG.md | 13 +++++++++++++ Cargo.toml | 2 +- README.md | 2 +- si-units/Cargo.toml | 2 +- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 395e822..5659f38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.9.0] - 2024-10-24 +### Changed +- Reimplemented `si-units` Python package independent of `quantity` crate in and more "pythonic" fashion. [#63](https://github.com/itt-ustutt/quantity/pull/63) +- Reimplemented `quantity` to compile-time checked units using the `typenum` crate. [#64](https://github.com/itt-ustutt/quantity/pull/64) +- Hide non-essential dependencies behind features `ndarray`, `approx`, `num-dual`, `python`, `python_numpy`. [#70](https://github.com/itt-ustutt/quantity/pull/70) +- Implemented angles based on the `Quantity` struct rather than the `ang` crate. [#72](https://github.com/itt-ustutt/quantity/pull/72) + +### Added +- Added basic support for the combination of structs in the `num-dual` crate with units. [#66](https://github.com/itt-ustutt/quantity/pull/66) + +### Packaging +- Update `pyo3` and `numpy` dependencies to 0.22. [#65](https://github.com/itt-ustutt/quantity/pull/65) + ## [0.8.0] - 2024-04-11 ### Packaging - Updated `pyo3` and `numpy` dependencies to 0.21 and adjusted to the new `Bound` API. diff --git a/Cargo.toml b/Cargo.toml index 53ae840..b541483 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "quantity" -version = "0.8.0" +version = "0.9.0" authors = [ "Philipp Rehner ", "Gernot Bauer ", diff --git a/README.md b/README.md index df9f2e3..2b1933e 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Add this to your `Cargo.toml`: ``` [dependencies] -quantity = "0.8" +quantity = "0.9" ``` ## Examples diff --git a/si-units/Cargo.toml b/si-units/Cargo.toml index 103c7c4..8d8c73d 100644 --- a/si-units/Cargo.toml +++ b/si-units/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "si-units" -version = "0.8.0" +version = "0.9.0" authors = [ "Philipp Rehner ", "Gernot Bauer ",