(2025.043.31)
This release was made to make the API easier to manage, as such, major
breaking changes were required.
Most of the work, and uglyness, comes from trying to control how the
"Nothing Submitted." message persists.
To maintain control of how this message renders, some kwargs were renamed
and others were added. A 0.9.0 branch removes many of these for an
alternate strategy.
BACKWARDS INCOMPATIBLE CHANGES
* `exceptions.FormInvalid`
kwargs:
`formStash` (formerly `form`) is now the first required arg
`message` is now `error_main`
`error_main_overwrite` is new
`message_append` is now `error_main_append`
`message_prepend` is now `error_main_prepend`
`raised_by` is new
`errors` arg and attribute are removed; use the formStash instead
* `exceptions.FormFieldInvalid`
kwargs:
`formStash` (formerly `form`) is now the first required arg
`message` is now `error_field`
`error_main` is new
`error_main_append` is new
`error_main_prepend` is new
`allow_unknown_fields` is new
`raised_by` is new
`errors` arg and attribute are removed; use the formStash instead
* `objects.FormStash.fatal_form`
kwargs:
`message` is now `error_main`
`error_main_overwrite` is new
* `objects.FormStash.fatal_field`
kwargs:
`field` arg[0] is now required
`message` is now `error_field`
`error_main` is new
`message_overwrite` is new
`allow_unknown_fields` is new
* removed `form_validate_simple`
* formatter_hidden
now stores error in "value" instead of "name"
Other changes:
`objects.FormStash::fatal_field`
* function typed to raise exception with `typing.NoReturn`
`objects.FormStash::fatal_form`
* `message` renamed to `error_main`
* function typed to raise exception with `typing.NoReturn`