Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update typed-builder requirement from 0.20.0 to 0.21.0 #420

Merged
merged 1 commit into from
Mar 20, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 20, 2025

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

Changelog

Sourced from typed-builder's changelog.

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.

0.19.1 - 2024-07-14

Fixed

  • Fix mutators for generic fields (see issue #149)

0.19.0 - 2024-06-15

Added

  • Use fields' doc comments for the setters.

0.18.2 - 2024-04-16

Fixed

  • Also add the licenses to the macro crate.

0.18.1 - 2024-01-17

Fixed

  • Add #[allow(clippy::no_effect_underscore_binding)] to generated methods that need to destructure intermediate builder state.
  • Use a proper OR syntax for the dual license.

0.18.0 - 2023-10-19

Fixed

  • ?Sized generic parameters are now supported.

0.17.0 - 2023-10-15

Changed

  • Internal refactor of attribute parsing - results in better error messages and easier proces for adding new settings.

Added

  • #[builder(mutators(...))] to generate functions on builder to mutate fields
  • #[builder(via_mutator)] on fields to allow defining fields initialized during ::builder() for use with mutators

... (truncated)

Commits

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](https://github.com/idanarye/rust-typed-builder/commits)

---
updated-dependencies:
- dependency-name: typed-builder
  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 Mar 20, 2025
@ChristopherRabotin ChristopherRabotin merged commit 2fc250d into master Mar 20, 2025
5 of 6 checks passed
@ChristopherRabotin ChristopherRabotin deleted the dependabot/cargo/typed-builder-0.21.0 branch March 20, 2025 12:58
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.

1 participant