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

chore(deps): update rust crate typed-builder to 0.16.0 #53

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 15, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
typed-builder dependencies minor 0.11.0 -> 0.16.0

Release Notes

idanarye/rust-typed-builder (typed-builder)

v0.16.0

Added
  • #[builder(crate_module_path = ...)] for overcoming cases where the derive
    macro is used in another crate's macro (see issue #​109)

v0.15.2

Fixed
  • Fix const generics generating "empty" entries in some lists, resulting in
    consecutive commas (see issue #​106)

v0.15.1

Fixed
  • no-std build.

v0.15.0

Changed
  • [BREAKING] Split the derive macro out to a separate procmacro
    crate
    . This is considered a
    breaking change because reexporting and/or renmaing the crate can now prevent
    the generated code from finding the types it needs (see issue #​101)
Fixed
  • Marking a field as #[deprecated] now behaves properly - TypedBuilder
    generated code itself does trigger the deprecation warning, and instead the
    setter for that field now does.
  • The "fake" build method when required fields are not provided now returns
    the never type ("!"). Refer to PR #​97 for more thorough explanation.
Added
  • Support for setter method prefixes and suffixes #[builder(field_defaults(setter(prefix = "...", suffix = "...")))].
    This either prepends or appends the provided string to the setter method. This allows method names like: set_x(),
    with_y(), or set_z_value().

v0.14.0

Added
  • build_method(into) and build_method(into = ...).

v0.13.0

Changed

y

  • [BREAKING] Builder state parameter moved to the end of the generated builder type's parameters list.
  • Generated builder type's builder state parameter now defaults to tuple of
    empty tuples. This means the empty builder, where no parameter is yet set.
Fixed
  • #[builder(build_method(...))] now affects the fake build method that's
    generated to add information to the compiler error.

v0.12.0

Removed
  • [BREAKING] builder_method_doc = "...", builder_type_doc = "..." and
    build_method_doc = "..." are replaced with builder_method(doc = "..."),
    builder_type(doc = "...") and build_method(doc = "...").
Added
  • build_method(...) now has a doc field.
  • builder_method(...) and builder_type(...), which are structured similarly to build_method(...).

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@MikuroXina MikuroXina merged commit 8c3f973 into main Sep 15, 2023
1 of 4 checks passed
@MikuroXina MikuroXina deleted the renovate/typed-builder-0.x branch September 15, 2023 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant