Skip to content

v1.0.0-alpha.12

Pre-release
Pre-release
Compare
Choose a tag to compare
@GREsau GREsau released this 27 Aug 18:16
· 23 commits to master since this release

Fixed

  • Allow regex(path = ...) value to be a non-string expression (#302 / #328)
  • Respect #[serde(rename_all_fields = ...)] attribute (#273 / #304)

Changed (⚠️ possibly-breaking changes ⚠️)

  • Invalid attributes that were previously silently ignored (e.g. setting schema_with on structs) will now cause compile errors
  • Validation attribute parsing has been altered to match the latest version of the validator crate:
    • Remove the phone attribute
    • Remove the required_nested attribute
    • regex and contains attributes must now be specified in list form #[validate(regex(path = ...))] rather than name/value form #[validate(regex = ...)]