Skip to content

Commit

Permalink
Bump version to 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kezhuw committed May 7, 2024
1 parent 9baa927 commit a8cdd4b
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.8.0] - 2024-05-07
### Added
- feat: support SASL authentication ([#46](https://github.com/kezhuw/zookeeper-client-rust/pull/46))

### Fixed
- fix: AuthFailed not reported eagerly in Connector::connect ([#45](https://github.com/kezhuw/zookeeper-client-rust/pull/45))

### Changed
- refactor: toggle TLS support with feature gate ([#47](https://github.com/kezhuw/zookeeper-client-rust/pull/47))
- refactor!: refactor OtherError to CustomError ([b71aa2c](https://github.com/kezhuw/zookeeper-client-rust/commit/b71aa2c4738d436ada38549fdd6b1083b9eb6d5a))
- docs: state that no session disconnected event before closed ([#48](https://github.com/kezhuw/zookeeper-client-rust/pull/48))

## [0.7.1] - 2024-04-01
### Changed
- fix: can not connect to ZooKeeper 3.3 ([c031d8e](https://github.com/kezhuw/zookeeper-client-rust/commit/c031d8ee7663a4eecdbba059ae59e9d5f72d1243))
Expand Down
7 changes: 5 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zookeeper-client"
version = "0.7.1"
version = "0.8.0"
edition = "2021"
authors = ["Kezhu Wang <[email protected]>"]
description = "ZooKeeper async client"
Expand All @@ -10,7 +10,7 @@ documentation = "https://docs.rs/zookeeper-client/"
license = "MIT"
keywords = ["ZooKeeper"]
categories = ["api-bindings"]
rust-version = "1.65"
rust-version = "1.76"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down Expand Up @@ -62,3 +62,6 @@ serial_test = "3.0.0"

[package.metadata.cargo-all-features]
skip_optional_dependencies = true

[package.metadata.docs.rs]
all-features = true
21 changes: 21 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
//! `zookeeper-client` is an async Rust client library for Apache ZooKeeper.
//!
//! ## Opinionated API
//! This library is written from scratch. Its API is pretty different from Java counterpart or even
//! other Rust clients. Some of them are listed here for a glance.
//!
//! * No callbacks.
//! * No catch-all watcher.
//! * [StateWatcher] tracks session state updates.
//! * [OneshotWatcher] tracks oneshot ZooKeeper node event.
//! * [PersistentWatcher] tracks persistent and recursive persistent ZooKeeper node events.
//! * No event type `XyzWatchRemoved` as Rust has [Drop].
//! * Most data operations are ordered at future creation time but not polling time.
//! * [Client::chroot] and [Client::clone] enable session sharing cross multiple different rooted clients.
//!
//! ## Feature flags
//! * `tls`: Toggle TLS support.
//! * `sasl`: Toggle SASL support.
//! * `sasl-gssapi`: Toggle only GSSAPI SASL support. This relies on binding package `libgssapi-sys`.
//! * `sasl-digest-md5`: Toggle only DIGEST-MD5 SASL support.
mod acl;
mod chroot;
mod client;
Expand Down

0 comments on commit a8cdd4b

Please sign in to comment.