Skip to content

Latest commit

 

History

History
115 lines (65 loc) · 2.91 KB

CHANGELOG.md

File metadata and controls

115 lines (65 loc) · 2.91 KB

Changelog

Added

  • Add FromStrRegex trait.
  • Support #[from_str(regex_infer)].

Changed

Deprecated

Removed

Fixed

Performance

Security

0.10.0 - 2024-08-04

Changed

  • Set rust-version to 1.80.0.
  • In debug mode, it will panic if the result of FromStrFormat::regex varies for the same field depending on the type parameters.
  • Change the behavior when both #[display("...")] and #[from_str("...")] are specified for a field. (dc14a2b)

Fixed

  • Fix #[from_str] to not affect Display.

0.9.1 - 2024-05-31

Changed

  • Set rust-version to 1.70.0. #42

Fixed

  • Ensure Pointer format is formatted correctly.

Performance

  • Optimizing runtime performance for the literal string case. #39

0.9.0 - 2024-02-04

Added

  • Support #[display(with = ...)]. #36
  • Support for use of format traits other than Display for self. #35
  • Allow DST fields with #[derive(Display)].

Changed

0.8.2 - 2023-07-16

Added

  • Enabled (?<name>.*) usage in regex alongside (?P<name>.*).

Changed

  • Update to regex-syntax 0.7.

Fixed

  • Fix handling of regex that resemble, but aren't, captures (e.g. (\(?<a>.*))

0.8.1 - 2023-06-10

Added

  • Support #[display(crate = ...)].

Changed

  • Update to syn 2.0.

0.8.0 - 2022-12-21

Fixed

  • Fixed a problem where strings containing newlines could not be parsed #27

0.7.0 - 2022-12-05

Fixed

  • Use result with full path in the generated code #26

0.6.0 - 2022-09-01

Added

  • Support #[from_str(ignore)] for variant.