All notable changes to this project will be documented in this file.
- Fixed bug where multiple flat fees are generated during the session. Instead we now only use the first time a flat fee becomes active.
- Upgrade dependencies.
- Improved pricer interface.
- Added time zone detection feature.
- Upgrade dependencies
- Added error variant for overflows
- Added the Cargo.lock file to the git repo See: https://blog.rust-lang.org/2023/08/29/committing-lockfiles.html
- Upgrade dependencies
- Added conversion from ocpi types to decimal
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.
Changed serialization of all structures to use OCPI rounding.
Added library support for OCPI 2.1.1 that can be enabled with feature flag ocpi-v211
.
Added cli support for OCPI 2.1.1 that can be used by specifying --ocpi-version v211
or --ocpi-version detect
.
Fixed a bug in step-size calculation for energy dimension.
Fixed a bug where step-sizes where not affecting the period billed_volume
.
Renamed stop_date_time
to end_date_time
as specified by OCPI 2.2.1.