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 ofForm
instances behaviour - new field
EmbeddedFormField
that provide to encapsulate oneForm
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
andFormMetaOptions
) - Field
validators
is generator now, not achain
- documentation improvement and refactoring
Incompatible changes¶
- new module
flyforms.core
- classes
Field
,Form
,FormMeta
and descriptorFormField
were moved toflyforms.core
- property
SimpleValidator.positive_case
was removed; useSimpleValidator.validation_case
instead - property
Form.data
was removed; useForm.to_python()
method instead - validator
TypedValidator
was renamed toTypeValidator
- validators
ItemTypedValidator
andJsonItemTypedValidator
were removed; useTypeValidator
- methods
Validator.validate()
andValidator.is_valid()
were removed - attribute
Form.raw_data
was 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
:DatetimeField
andDictField
- property
SimpleValidator.positive_case
was renamed tovalidation_case
inSimpleValidator
- property
SimpleValidator.positive_case
was deprecated and will be removed in v1.0.0 - new method
to_python()
inForm
- property
Form.data
was 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
:ListField
andArrayField
- new
Validators
:ItemTypedValidator
andJsonItemTypedValidator
- methods
Field.validate()
andField.is_valid()
were deprecated and will be removed in v1.0.0 - core descriptor
FormField
now usesField.bind()
insteadField.validate()
- new module
flyforms.common
- other minor improvements
Version 0.1.1¶
Released 14.10.2015.
FlyForms:
- bug with
default
argument forField
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