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
FormMetaOptionsthat provides customization ofForminstances behaviour - new field
EmbeddedFormFieldthat provide to encapsulate oneForminstance 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
UnboundFieldandFormMetaOptions) - Field
validatorsis generator now, not achain - documentation improvement and refactoring
Incompatible changes¶
- new module
flyforms.core - classes
Field,Form,FormMetaand descriptorFormFieldwere moved toflyforms.core - property
SimpleValidator.positive_casewas removed; useSimpleValidator.validation_caseinstead - property
Form.datawas removed; useForm.to_python()method instead - validator
TypedValidatorwas renamed toTypeValidator - validators
ItemTypedValidatorandJsonItemTypedValidatorwere removed; useTypeValidator - methods
Validator.validate()andValidator.is_valid()were removed - attribute
Form.raw_datawas changed to privateForm._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:DatetimeFieldandDictField - property
SimpleValidator.positive_casewas renamed tovalidation_caseinSimpleValidator - property
SimpleValidator.positive_casewas deprecated and will be removed in v1.0.0 - new method
to_python()inForm - property
Form.datawas deprecated and will be removed in v1.0.0 useto_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:ListFieldandArrayField - new
Validators:ItemTypedValidatorandJsonItemTypedValidator - methods
Field.validate()andField.is_valid()were deprecated and will be removed in v1.0.0 - core descriptor
FormFieldnow usesField.bind()insteadField.validate() - new module
flyforms.common - other minor improvements
Version 0.1.1¶
Released 14.10.2015.
FlyForms:
- bug with
defaultargument forFieldinstances 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