Skip to content

build(deps): bump derive_more from 0.99.18 to 2.0.1 #5903

New issue

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

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

Already on GitHub? # to your account

Merged
merged 2 commits into from
Apr 21, 2025

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps derive_more from 0.99.18 to 2.0.1.

Release notes

Sourced from derive_more's releases.

2.0.1

API docs Changelog

2.0.0 - The first release is never perfect

Breaking changes

  • use derive_more::SomeTrait now imports macro only. Importing macro with its trait along is possible now via use derive_more::with_trait::SomeTrait. (#406)
  • Top-level #[display("...")] attribute on an enum now has defaulting behavior instead of replacing when no wrapping is possible (no _variant placeholder). (#395)

Fixed

  • Associated types of type parameters not being treated as generics in Debug and Display expansions. (#399)
  • unreachable_code warnings on generated code when ! (never type) is used. (#404)
  • Ambiguous associated item error when deriving TryFrom, TryInto or FromStr with an associated item called Error or Err respectively. (#410)
  • Top-level #[display("...")] attribute on an enum being incorrectly treated as transparent or wrapping. (#395)
  • Omitted raw identifiers in Debug and Display expansions. (#431)
  • Incorrect rendering of raw identifiers as field names in Debug expansions. (#431)
  • Top-level #[display("...")] attribute on an enum not working transparently for directly specified fields. (#438)
  • Incorrect dereferencing of unsized fields in Debug and Display expansions. (#440)

New Contributors

Full Changelog: JelteF/derive_more@v1.0.0...v2.0.0

v1.0.0 - Finally a stable release

derive_more is a library that adds derives for many of the standard library traits. By using this library the following code just works:

use derive_more::{Add, Display, From, Into};
#[derive(PartialEq, From, Add)]
struct MyInt(i32);
#[derive(PartialEq, From, Into)]
struct Point2D {
x: i32,
y: i32,
}
#[derive(PartialEq, From, Add, Display)]
enum MyEnum {
#[display("int: {_0}")]
Int(i32),
Uint(u32),
#[display("nothing")]
Nothing,
</tr></table>

... (truncated)

Changelog

Sourced from derive_more's changelog.

2.0.1 - 2025-02-03

Added

  • Add crate metadata for the Rust Playground. This makes sure that the Rust Playground will have all derive_more features available once selectors crate updates its derive_more version. (#445)

2.0.0 - 2025-02-03

Breaking changes

  • use derive_more::SomeTrait now imports macro only. Importing macro with its trait along is possible now via use derive_more::with_trait::SomeTrait. (#406)
  • Top-level #[display("...")] attribute on an enum now has defaulting behavior instead of replacing when no wrapping is possible (no _variant placeholder). (#395)

Fixed

  • Associated types of type parameters not being treated as generics in Debug and Display expansions. (#399)
  • unreachable_code warnings on generated code when ! (never type) is used. (#404)
  • Ambiguous associated item error when deriving TryFrom, TryInto or FromStr with an associated item called Error or Err respectively. (#410)
  • Top-level #[display("...")] attribute on an enum being incorrectly treated as transparent or wrapping. (#395)
  • Omitted raw identifiers in Debug and Display expansions. (#431)
  • Incorrect rendering of raw identifiers as field names in Debug expansions. (#431)
  • Top-level #[display("...")] attribute on an enum not working transparently for directly specified fields. (#438)
  • Incorrect dereferencing of unsized fields in Debug and Display expansions. (#440)

0.99.19 - 2025-02-03

  • Add crate metadata for the Rust Playground.

1.0.0 - 2024-08-07

... (truncated)

Commits

Dependabot compatibility score

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)

Bumps [derive_more](https://github.com/JelteF/derive_more) from 0.99.18 to 2.0.1.
- [Release notes](https://github.com/JelteF/derive_more/releases)
- [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md)
- [Commits](JelteF/derive_more@v0.99.18...v2.0.1)

---
updated-dependencies:
- dependency-name: derive_more
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Mar 24, 2025
@mangas mangas merged commit c19de01 into master Apr 21, 2025
6 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/derive_more-2.0.1 branch April 21, 2025 09:10
# for free to join this conversation on GitHub. Already have an account? # 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