From fe3fd372e78f52a4560a70f39ceb2ca7b818a8b5 Mon Sep 17 00:00:00 2001 From: Serge Barral Date: Tue, 15 Aug 2023 17:16:16 +0200 Subject: [PATCH] Prepare release v0.2.0 --- CHANGELOG.md | 18 ++++++++++++++++++ README.md | 2 +- asynchronix/Cargo.toml | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fcdc39f..ad74f4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +# 0.2.0 (2023-08-15) + +### Added (API-breaking changes) + +- Enable cancellation of events up to the very last moment, even if the event is + scheduled for the current time ([#5]). +- Makes it possible to schedule periodic events from a `Simulation` or a model's + `Scheduler` ([#6]). +- Mitigate the increase in API surface by merging each pair of + `schedule_*event_in`/`schedule_*event_at` methods into one overloaded + `schedule_*event` method that accept either a `Duration` or a `MonotonicTime` + ([#7]). + +[#5]: https://github.com/asynchronics/asynchronix/pull/5 +[#6]: https://github.com/asynchronics/asynchronix/pull/6 +[#7]: https://github.com/asynchronics/asynchronix/pull/7 + + # 0.1.0 (2023-01-16) Initial release diff --git a/README.md b/README.md index 2c04d19..e75e061 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Add this to your `Cargo.toml`: ```toml [dependencies] -asynchronix = "0.1.0" +asynchronix = "0.2.0" ``` diff --git a/asynchronix/Cargo.toml b/asynchronix/Cargo.toml index 51209fb..e6c9f45 100644 --- a/asynchronix/Cargo.toml +++ b/asynchronix/Cargo.toml @@ -6,7 +6,7 @@ name = "asynchronix" # - Update if necessary copyright notice in LICENSE-MIT # - Create a "vX.Y.Z" git tag authors = ["Serge Barral "] -version = "0.1.0" +version = "0.2.0" edition = "2021" rust-version = "1.64" license = "MIT OR Apache-2.0"