Cerberus v1.1 Release Notes

Release Date: 2017-03-07 // about 7 years ago
  • ๐Ÿš€ Released on January 25, 2017.

    • ๐Ÿ†• New: Python 3.6 support. (Frank Sachsenheim)
    • New: Users can implement their own semantics in Validator._lookup_field. (Frank Sachsenheim)
    • ๐Ÿ†• New: Allow applying of empty rule to sequences and mappings. Closes :issue:270. (Frank Sachsenheim)

    • ๐Ÿ›  Fix: Better handling of unicode in allowed rule. Closes :issue:280. (Michael Klich).

    • ๐Ÿ›  Fix: Rules sets with normalization rules fail. Closes :issue:283. (Frank Sachsenheim)

    • Fix: Spelling error in RULE_SCHEMA_SEPARATOR constant (Antoine Lubineau)

    • ๐Ÿ›  Fix: Expand schemas and rules sets when added to a registry. Closes :issue:284 (Frank Sachsenheim)

    • ๐Ÿ›  Fix: readonly conflicts with default rule. Closes :issue:268 (Dominik Kellner).

    • Fix: Creating custom Validator instance with _validator_* method raises SchemaError. Closes :issue:265 (Frank Sachsenheim).

    • ๐Ÿ›  Fix: Consistently use new style classes (Dominik Kellner).

    • ๐Ÿ›  Fix: NotImplemented does not derive from BaseException. (Bryan W. Weber).

    • โœ… Completely switch to py.test. Closes :issue:213 (Frank Sachsenheim).

    • ๐Ÿ‘ Convert self.assert method calls to plain assert calls supported by pytest. Addresses :issue:213 (Bruno Oliveira).

    • ๐Ÿ“„ Docs: Clarifications concerning dependencies and unique rules. (Frank Sachsenheim)

    • ๐Ÿ“„ Docs: Fix custom coerces documentation. Closes :issue:285. (gilbsgilbs)

    • ๐Ÿ“„ Docs: Add note concerning regex flags. Closes :issue:173. (Frank Sachsenheim)

    • ๐Ÿ“„ Docs: Explain that normalization and coercion are performed on a copy of the original document (Sergey Leshchenko)