Releases: Sibyx/django_api_forms
Releases · Sibyx/django_api_forms
1.0.0-rc.1
This release has been inspired by Problem Details for HTTP APIs - RFC7807 and
blog post Structuring validation errors in REST APIs
written by @k3nn7.
The main idea has been to simplify validation process on the client side by flattening errors output. To achieve such
a goal, the whole validation process has been rewritten (and luckily for us, much simplified).
- Changed: Positional validation errors for lists
- Changed:
ImageField
andFileField
requires Data URI
(issue Raise ValidationError in invalid Data URI by default) - Removed:
Form.fill()
method replaced byForm.populate()
- Removed:
fill_
methods replaced by population strategies
0.21.0
0.20.1
0.20.0
Anniversary release (believe it or not, we are celebrating 2 years already) 🥳
- Feature: Population strategies introduced
- Feature:
fill
method is deprecated and replaced bypopulate
- Feature:
Settings
object introduced (form.settings
) - Feature: Pluggable content-type parsers using
DJANGO_API_FORMS_PARSERS
setting
0.19.1
0.19.0
0.18.0
0.17.0
0.16.4
0.16.3
- Fix:
ApiFormException('No clean data provided! Try to call is_valid() first.')
was incorrectly raised if request payload was empty duringForm::fill
method call - Change:
clean_data
property is by defaultNone
instead of empty dictionary