Changelog

Version 2.1.0

  • Split Element up into BaseElement, NativeMixin, ValidatedByMixin and DefaultMixin.
  • Add Maybe.
  • Add relief.validation.MatchesRegex.
  • Add relief.validation.IsURL.

Version 2.0.0

  • Pass Unspecified to Element.serialize() and Element.serialize(), when setting values.
  • Don’t ignore defaults of members in Form.

Version 1.0.0

  • Turn Element.unserialize() into an instance method.
  • Rename Element.set() to Element.set_from_raw.
  • Add Element.serialize() and Element.set_from_native().
  • Make Unspecified and NotUnserializable false-ish.
  • Make unicode(Unspecified) and unicode(NotUnserializable) return an empty string.
  • Make bytes(Unspecified) and bytes(NotUnserializable) return an empty string.

Version 0.2.0

  • Values in Form structures can now be validated by subclassing Form and adding validate_{key} methods.

Version 0.1.1

Version 0.1.0

Initial release.

Project Versions

Table Of Contents

Previous topic

License

This Page