Skip to content

Commit

Permalink
Merge pull request #14 from krojew/version-bump
Browse files Browse the repository at this point in the history
Version bump
  • Loading branch information
krojew authored Mar 7, 2024
2 parents eb78fc1 + eb8058b commit 5ff1c19
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
18 changes: 14 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [5.0.0]

- Support for creating nodes with TTL (by MaximFischuk)

## [4.2.0]

### Fixed
Expand Down Expand Up @@ -61,21 +65,27 @@

### 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]

### Changed

- Node watchers are now `FnOnce`
- Added missing traits for enums: `Ord`, `PartialOrd`, `Eq`, `Hash`
- `WatchedEventType` and `KeeperState` enums now implement `TryFrom<i32>` instead of `From<i32>`
- `WatchedEventType` and `KeeperState` enums now implement `TryFrom<i32>`
instead of `From<i32>`
- 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]

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 = "zookeeper-async"
version = "4.2.0"
version = "5.0.0"
authors = ["Kamil Rojewski <[email protected]>", "Nandor Kracser <[email protected]>"]
license = "MIT"
homepage = "https://github.com/krojew/rust-zookeeper"
Expand Down
1 change: 0 additions & 1 deletion tests/test_ttl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5ff1c19

Please sign in to comment.