Skip to content

Commit

Permalink
release v0.5.0 (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
remkop22 authored Jul 11, 2023
1 parent fefa6dc commit 4420c56
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

All notable changes to this project will be documented in this file.

## 0.5.0 2023-07-10

Changed the output dimension report generics to use `Dimension` trait instead of `std::ops::Mul`.

Fixed a bug were restriction's like `min_duration` and `max_duration` did not work in conjunction with `PARKING_TIME` dimensions.

Fixed a bug were a tariff with a `step_size` of zero would cause a panic.

Changed all non-dividing arithmetic to saturating operations.

Fixed a bug were a missing `tariffs` key in a `Cdr` would cause de-serialization errors.

Changed the testing infrastructure to embed the test json's into the binary.

## 0.4.0 2023-06-07

Changed serialization of all structures to use OCPI rounding.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace.package]
version = "0.4.0"
version = "0.5.0"
edition = "2021"
readme = "README.md"
repository = "https://github.com/tandemdrive/ocpi-tariffs"
Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ chrono-tz.workspace = true
chrono = { version = "0.4.24", default-features = false, features = ["alloc", "serde"] }
clap = { version = "4.3.0", features = ["derive"] }
console = { version = "0.15.7" }
ocpi-tariffs = { version = "0.4.0", path = "../ocpi-tariffs", features = ["ocpi-v211"] }
ocpi-tariffs = { version = "0.5.0", path = "../ocpi-tariffs", features = ["ocpi-v211"] }
serde_json.workspace = true
serde.workspace = true
tabled = { version = "0.12.0", features = ["color"] }

0 comments on commit 4420c56

Please sign in to comment.