From 606b3f8010e05a8f964d5156ca9dab7fb2fd5884 Mon Sep 17 00:00:00 2001 From: Kamil Rojewski Date: Thu, 7 Mar 2024 15:41:27 +0100 Subject: [PATCH 1/2] formatting fix --- tests/test_ttl.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_ttl.rs b/tests/test_ttl.rs index 2d5d92562..4feeb57e3 100644 --- a/tests/test_ttl.rs +++ b/tests/test_ttl.rs @@ -58,7 +58,6 @@ async fn zk_ttl_test() { assert!(exists.is_ok(), "exists failed: {:?}", exists); assert!(exists.unwrap().is_none(), "value should not be exist"); - cluster.kill_an_instance(); // After closing the client all operations return Err From eb8058b1366c07b2b99064e7a5e82382c2a9c0b5 Mon Sep 17 00:00:00 2001 From: Kamil Rojewski Date: Thu, 7 Mar 2024 15:45:17 +0100 Subject: [PATCH 2/2] version bump --- CHANGELOG.md | 18 ++++++++++++++---- Cargo.toml | 2 +- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cfcc7a555..99591f8ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [5.0.0] + +- Support for creating nodes with TTL (by MaximFischuk) + ## [4.2.0] ### Fixed @@ -61,7 +65,10 @@ ### New -- New [leader latch](https://curator.apache.org/curator-recipes/leader-latch.html) recipe +- + +New [leader latch](https://curator.apache.org/curator-recipes/leader-latch.html) +recipe ## [2.0.0] @@ -69,13 +76,16 @@ - Node watchers are now `FnOnce` - Added missing traits for enums: `Ord`, `PartialOrd`, `Eq`, `Hash` -- `WatchedEventType` and `KeeperState` enums now implement `TryFrom` instead of `From` +- `WatchedEventType` and `KeeperState` enums now implement `TryFrom` + instead of `From` - Using `tracing` for logs instead of `log` ### New -- New `ensure_path_with_leaf_mode` function (useful e.g. for creating containers for locks) -- New [shared lock](https://curator.apache.org/curator-recipes/shared-lock.html) recipe +- New `ensure_path_with_leaf_mode` function (useful e.g. for creating containers + for locks) +- New [shared lock](https://curator.apache.org/curator-recipes/shared-lock.html) + recipe ## [1.0.3] diff --git a/Cargo.toml b/Cargo.toml index e12e594c6..4a7d199b5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "zookeeper-async" -version = "4.2.0" +version = "5.0.0" authors = ["Kamil Rojewski ", "Nandor Kracser "] license = "MIT" homepage = "https://github.com/krojew/rust-zookeeper"