BACKWARDS INCOMPATIBLE CHANGES
Releases `0.7.0`, `0.8.0` and `0.9.0` were released in quick succession to
make significant changes to the API and functionality easier to adopt.
For most users, the general change will be this:
`FormInvalid` and `FormFieldInvalid` now require a `formStash`
`FormStash.__init__` now requires a schema
`FormStash.fatal_form` message is now `error_main`
`FormStash.fatal_field` message is now `error_field`
There are a few other changes, but the above are the most significant.
These changes were done to make the package more maintainable and usable - as Field exceptions can cascade onto Forms.
The 0.8.0 branch offers some additional control allowing complex error messages to
append, prepend, or overwrite existing errors. This control was stripped out
of the 0.9.0 branch, in favor of introducing special "meta-errors" about the form.
This release continues the work of 0.8.0 in trying to minimize and simplify
the API while still giving control of the meta/special errors.
FormStash-
the processed form data is now within a dict, ``ParsedForm
Changes:
self.defaults -> self.parsed_form["defaults"]
self.errors -> self.parsed_form["errors"]
self.results -> self.parsed_form["results"]
properties are used to make this (mostly) backwards compatible
`set_error_nothing_submitted` is now `set_error_nothing_submitted(_set_error__nothing_submitted)`
`set_error` now accepts `integrate_special_errors:bool`
`fatal_form` no longer accepts:
message_overwrite
message_append
message_prepend
`fatal_field` no longer accepts:
message_overwrite
message_append
message_prepend
`_raise_unique_FormInvalid` no longer accepts:
error_message_overwrite
error_message_append
error_message_prepend
* `exceptions.FormInvalid`
removed `error_main_overwrite`
removed `error_main_append`
removed `error_main_prepend`
added `integrate_special_errors`
added `error_no_submission_text`
* `exceptions.FormFieldInvalid`
removed `message_append`
removed `message_prepend`
removed `error_main_append`
removed `error_main_prepend`
added `raised_by`
added `integrate_special_errors`
added `error_no_submission_text`