From 3bf514a389d0b63fc0a94886015dcb01cd0b7775 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 10 Sep 2024 02:17:20 +0300 Subject: [PATCH] chore: release v2.2.1 (#121) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Veetaha --- Cargo.lock | 4 ++-- bon-macros/Cargo.toml | 2 +- bon/Cargo.toml | 4 ++-- website/changelog.md | 6 ++++++ website/guide/overview.md | 2 +- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 611fdd75..b0cd0b91 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -86,7 +86,7 @@ dependencies = [ [[package]] name = "bon" -version = "2.2.0" +version = "2.2.1" dependencies = [ "bon-macros", "expect-test", @@ -107,7 +107,7 @@ dependencies = [ [[package]] name = "bon-macros" -version = "2.2.0" +version = "2.2.1" dependencies = [ "darling", "ident_case", diff --git a/bon-macros/Cargo.toml b/bon-macros/Cargo.toml index 87caf30a..f07b451a 100644 --- a/bon-macros/Cargo.toml +++ b/bon-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bon-macros" -version = "2.2.0" +version = "2.2.1" description = """ This is a proc-macro crate that is supposed to be a private implementation diff --git a/bon/Cargo.toml b/bon/Cargo.toml index 8bba93aa..1a2b2b60 100644 --- a/bon/Cargo.toml +++ b/bon/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bon" -version = "2.2.0" +version = "2.2.1" description = "Generate builders for everything!" @@ -45,7 +45,7 @@ workspace = true # The version of the macro crate is pinned to a specific one because the code # generated by the macros uses private APIs from the runtime crate that are not # guarded by semver. -bon-macros = { path = "../bon-macros", version = "=2.2.0" } +bon-macros = { path = "../bon-macros", version = "=2.2.1" } rustversion = "1" [dev-dependencies] diff --git a/website/changelog.md b/website/changelog.md index bbb09d6d..8a5f9680 100644 --- a/website/changelog.md +++ b/website/changelog.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.2.1](https://github.com/elastio/bon/compare/v2.2.0...v2.2.1) - 2024-09-09 + +### Changed + +- Lower MSRV from 1.70.0 to 1.59.0 ([#120](https://github.com/elastio/bon/pull/120)) + ## [2.2.0](https://github.com/elastio/bon/compare/v2.1.1...v2.2.0) - 2024-09-08 See the [blog post for this release](https://elastio.github.io/bon/blog/bon-builder-v2-2-release) that describes some of the most notable changes in detail. diff --git a/website/guide/overview.md b/website/guide/overview.md index 7e90c9e7..bc9c949e 100644 --- a/website/guide/overview.md +++ b/website/guide/overview.md @@ -6,7 +6,7 @@ const [_, versionWildcard] = version.match(/(\d+.\d+).\d+/); # Overview -`bon` is a Rust crate for generating compile-time-checked builders for functions and structs. +`bon` is a Rust crate for generating compile-time-checked builders for functions and structs. It also provides idiomatic partial application with optional and named parameters for functions and methods. If you are new to the concept of builders or named function arguments, and you don't know what problems they may solve for you, then check out the motivational [blog post](../blog/how-to-do-named-function-arguments-in-rust).