diff --git a/CHANGELOG.md b/CHANGELOG.md index 47e5fb5..5123544 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## [v0.5.0](https://github.com/johnmanjiro13/tokio-fluent/compare/v0.4.4...v0.5.0) - 2023-11-17 +- !feat(client): uds support by @danielsig727 in https://github.com/johnmanjiro13/tokio-fluent/pull/47 +### Breaking Changes +- Removed `new` method from `Client` and added `new_tcp` and `new_unix` methods. + - Removed `addr` option from `Config`. + + +```rust +// Before +let client = Client::new(&Config { + addr: "127.0.0.1:24224".parse().unwrap(), + ..Default::default() +}) + +// After +let client = Client::new_tcp( + "127.0.0.1:24224".parse().unwrap(), + &Config {..Default::default()} +) +``` + ## [v0.4.4](https://github.com/johnmanjiro13/tokio-fluent/compare/v0.4.3...v0.4.4) - 2023-10-29 - chore(deps): update actions/checkout action to v4 by @renovate in https://github.com/johnmanjiro13/tokio-fluent/pull/43 - fix(deps): update rust crate uuid to 1.5.0 by @renovate in https://github.com/johnmanjiro13/tokio-fluent/pull/44 diff --git a/Cargo.toml b/Cargo.toml index 8513ab7..e143c64 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tokio-fluent" -version = "0.4.4" +version = "0.5.0" authors = ["johnmanjiro13"] edition = "2021" description = "A fluentd client using tokio" diff --git a/README.md b/README.md index 9afe120..2c152e6 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Add this to your `Cargo.toml` ```toml [dependencies] -tokio-fluent = "0.4.4" +tokio-fluent = "0.5.0" ``` ## Example