Skip to content

2.0.0 - The first release is never perfect

Compare
Choose a tag to compare
@JelteF JelteF released this 03 Feb 19:00
· 4 commits to master since this release
d6c3315

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: v1.0.0...v2.0.0