diff --git a/CHANGELOG.md b/CHANGELOG.md index d4c4481..b90acd6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.10.1] - 2025-01-09 +### Added +- Added formatting (and thus Python support) for heat capacity rates. [#81](https://github.com/itt-ustutt/quantity/pull/81) + ## [0.10.0] - 2024-12-05 ### Packaging - Update `pyo3` and `numpy` dependencies to 0.23. [#76](https://github.com/itt-ustutt/quantity/pull/76) diff --git a/Cargo.toml b/Cargo.toml index 2d14098..9c487e8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "quantity" -version = "0.10.0" +version = "0.10.1" authors = [ "Philipp Rehner ", "Gernot Bauer ", diff --git a/src/fmt.rs b/src/fmt.rs index e202629..53e9c24 100644 --- a/src/fmt.rs +++ b/src/fmt.rs @@ -141,6 +141,7 @@ impl_fmt!(Z0, Z0, P1, Z0, Z0, N1, GRAM / MOL, "g/mol", Some(MEGA)); impl_fmt!(Z0, P2, Z0, Z0, Z0, Z0, M2, "m²", None); impl_fmt!(Z0, P3, Z0, Z0, Z0, Z0, M3, "m³", None); impl_fmt!(N1, P3, N1, Z0, Z0, Z0, M3 / KG / SECOND, "m³/kg/s²", None); +impl_fmt!(N3, P2, P1, Z0, N1, Z0, WATT / KELVIN, "W/K", None); fn get_prefix(value: f64, has_prefix: Option) -> (f64, &'static str) { if let Some(p) = has_prefix {