From 19927721fa840f02c5d5467af64d15e1698c4858 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 17 Nov 2023 05:46:06 +0000 Subject: [PATCH 1/3] [tagpr] prepare for the next release --- Cargo.toml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 From 5c18c07116eac327bc1a00f11a0ba8161e4f7eba Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 17 Nov 2023 05:46:06 +0000 Subject: [PATCH 2/3] [tagpr] update CHANGELOG.md --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 47e5fb5..43fbd00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # 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 + ## [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 From 3b4c9060c0988ae703559d6557726ee34df48665 Mon Sep 17 00:00:00 2001 From: johnmanjiro13 <28798279+johnmanjiro13@users.noreply.github.com> Date: Fri, 17 Nov 2023 14:52:29 +0900 Subject: [PATCH 3/3] docs: Add changelog about interface changes --- CHANGELOG.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 43fbd00..5123544 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,24 @@ ## [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