Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.10.1 #81

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
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 = "quantity"
version = "0.10.0"
version = "0.10.1"
authors = [
"Philipp Rehner <[email protected]>",
"Gernot Bauer <[email protected]>",
Expand Down
1 change: 1 addition & 0 deletions src/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>) -> (f64, &'static str) {
if let Some(p) = has_prefix {
Expand Down
Loading