v1.0.0-alpha.12
Pre-release
Pre-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
andcontains
attributes must now be specified in list form#[validate(regex(path = ...))]
rather than name/value form#[validate(regex = ...)]
- Remove the