Skip to content

Releases: greyblake/nutype

Nutype 0.2.0

13 Apr 19:30
98aa30b

Choose a tag to compare

Changes

  • [BREAKING] Rename string validator present -> not_empty. Rename error variant Missing -> Empty.
  • [BREAKING] Rename feature serde1 to serde.
  • Support string validation with regex (requires regex feature).
  • Introduce new_unchecked feature flag, that allows to bypass sanitization and validation.
  • Support derive of JsonSchema of schemars crate (requires schemars08 feature).

Blog post

Please consider reading Nutype 0.2.0 is out! blog post, which covers in detail the regex and new_unchecked features.