FlyForms Changelog

Version 1.0.0

Not yet released

Release notes

This is the first logically completed and stable working version of FlyForms. We held a global refactoring and code optimization and add many new features. Unfortunately, this version is fully incompatible with previous releases. So if you have used the library before, you will have to rewrite the some your code. You can see list of all incompatible changes below. And we hope to get feedback about the new release on BitBucket.

New features

  • new class FormMetaOptions that provides customization of Form instances behaviour
  • new field EmbeddedFormField that provide to encapsulate one Form instance into the other
  • new fields inheritance model changed (for more information see Fields)
  • new core exception class: UnboundForm
  • new customization model for unbound form fields (see UnboundField and FormMetaOptions)
  • Field validators is generator now, not a chain
  • documentation improvement and refactoring

Incompatible changes

  • new module flyforms.core
  • classes Field, Form, FormMeta and descriptor FormField were moved to flyforms.core
  • property SimpleValidator.positive_case was removed; use SimpleValidator.validation_case instead
  • property Form.data was removed; use Form.to_python() method instead
  • validator TypedValidator was renamed to TypeValidator
  • validators ItemTypedValidator and JsonItemTypedValidator were removed; use TypeValidator
  • methods Validator.validate() and Validator.is_valid() were removed
  • attribute Form.raw_data was changed to private Form._raw_data
  • method Field.is_valid() was removed
  • behavior of method Form.to_python() has been changed

Version 0.3.0

Released 20.10.2015

  • new basic Fields: DatetimeField and DictField
  • property SimpleValidator.positive_case was renamed to validation_case in SimpleValidator
  • property SimpleValidator.positive_case was deprecated and will be removed in v1.0.0
  • new method to_python() in Form
  • property Form.data was deprecated and will be removed in v1.0.0 use to_python() method
  • other minor improvements

Version 0.2.0

Released 19.10.2015

  • issue tracker is available on BitBucket
  • new method for Field.bind() which returns an immutable bound value
  • new basic Fields: ListField and ArrayField
  • new Validators: ItemTypedValidator and JsonItemTypedValidator
  • methods Field.validate() and Field.is_valid() were deprecated and will be removed in v1.0.0
  • core descriptor FormField now uses Field.bind() instead Field.validate()
  • new module flyforms.common
  • other minor improvements

Version 0.1.1

Released 14.10.2015.

FlyForms:

  • bug with default argument for Field instances fixed
  • source tarball added to distribution in addition to wheel

Documentation:

  • new section FlyForms reference instead just API
  • section Advanced usage removed
  • other minor improvements

Version 0.1.0

Released 12.10.2015.

  • Initial release.