Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 15, 2025

Updates the requirements on typed-builder to permit the latest version.

Release notes

Sourced from typed-builder's releases.

0.22.0 - 2025-09-08

Added

  • New optional alternate transform syntax using a full fn, to allow support for custom lifetimes, generics and a where clause to custom builder method.

Example:

#[derive(TypedBuilder)]
struct Foo {
    #[builder(
        setter(
            fn transform<'a, M>(value: impl IntoValue<'a, String, M>) -> String
            where
              M: std::fmt::Display
            {
                value.into_value()
            },
        )
    )]
    s: String,
}
Changelog

Sourced from typed-builder's changelog.

0.22.0 - 2025-09-08

Added

  • New optional alternate transform syntax using a full fn, to allow support for custom lifetimes, generics and a where clause to custom builder method.

Example:

#[derive(TypedBuilder)]
struct Foo {
    #[builder(
        setter(
            fn transform<'a, M>(value: impl IntoValue<'a, String, M>) -> String
            where
              M: std::fmt::Display
            {
                value.into_value()
            },
        )
    )]
    s: String,
}

0.21.2 - 2025-08-21

Fixed

  • Recognize TypeGroup when checking for Option.

0.21.1 - 2025-08-12

Fixed

  • Strip raw ident prefix from base method name before assembling prefixed/suffixed fallback method names

0.21.0 - 2025-03-20

Added

  • Added ignore_invalid option to strip_option to skip stripping for non-Option fields
  • Added fallback_prefix and fallback_suffix options to strip_option for customizing fallback method names
  • Added support for field defaults with strip_option and its fallback options

Changed

  • Improved handling of strip_option to work better with field defaults
  • Made strip_option more flexible with non-Option fields when ignore_invalid is set

0.20.1 - 2025-03-14

Fixed

  • Fix mutator with type parameter using associated type (see issue #157)

0.20.0 - 2024-08-22

Added

  • Add #[builder(setter(strip_option(fallback = field_opt)))] to add a fallback unstripped method to the builder struct.
  • Add #[builder(setter(strip_bool(fallback = field_bool)))] to add a fallback setter that takes the bool value to the builder struct.

... (truncated)

Commits
  • 1a36637 Fix Clippy warnings
  • 81bc3f5 Upgrade Rust version in CI
  • 1b1b5bc Bump minor version
  • 0267b1a Merge pull request #169 from zakstucke/zak/transform_generics
  • 13adb32 Review changes
  • 6a30439 Version bump
  • 9218f5a Switch to fn() syntax
  • 5a387eb #[generics(<'__a, __Marker>)]
  • 037cbdd Merge pull request #170 from idanarye/dependabot/github_actions/actions/check...
  • b50b903 Merge pull request #171 from idanarye/dependabot/github_actions/actions/uploa...
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [typed-builder](https://github.com/idanarye/rust-typed-builder) to permit the latest version.
- [Release notes](https://github.com/idanarye/rust-typed-builder/releases)
- [Changelog](https://github.com/idanarye/rust-typed-builder/blob/master/CHANGELOG.md)
- [Commits](idanarye/rust-typed-builder@v0.21.0...v0.22.0)

---
updated-dependencies:
- dependency-name: typed-builder
  dependency-version: 0.22.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Sep 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants