Skip to content

Releases: Sibyx/django_api_forms

1.0.0-rc.1

28 Apr 11:22
e9a4352
Compare
Choose a tag to compare
1.0.0-rc.1 Pre-release
Pre-release

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).

0.21.0

03 Feb 14:03
Compare
Choose a tag to compare
0.21.0 Pre-release
Pre-release
  • Feature: Introduced mapping
  • Feature: Override strategies using field_type_strategy and field_strategy

0.20.1

13 Jan 15:26
Compare
Choose a tag to compare
0.20.1 Pre-release
Pre-release
  • Fix: DictionaryField was unable to raise validation errors for keys

0.20.0

13 Oct 19:26
d3d3de1
Compare
Choose a tag to compare
0.20.0 Pre-release
Pre-release

Anniversary release (believe it or not, we are celebrating 2 years already) 🥳

  • Feature: Population strategies introduced
  • Feature: fill method is deprecated and replaced by populate
  • Feature: Settings object introduced (form.settings)
  • Feature: Pluggable content-type parsers using DJANGO_API_FORMS_PARSERS setting

0.19.1

17 Sep 19:49
6fdfa13
Compare
Choose a tag to compare
0.19.1 Pre-release
Pre-release
  • Typing: mime argument in FileField is suppose to be a tuple

0.19.0

12 Jul 08:25
d73b3dd
Compare
Choose a tag to compare
0.19.0 Pre-release
Pre-release
  • Feature: FieldList and FormFieldList now supports optional min/max constrains using min_length/max_length

0.18.0

16 Apr 11:49
f79293f
Compare
Choose a tag to compare
0.18.0 Pre-release
Pre-release
  • Feature: ModelForm class introduced (experimental, initial support - not recommended for production)

0.17.0

23 Feb 23:55
e1a51e2
Compare
Choose a tag to compare
0.17.0 Pre-release
Pre-release
  • Feature: fill_method introduced

0.16.4

20 Dec 11:18
63367b4
Compare
Choose a tag to compare
0.16.4 Pre-release
Pre-release
  • Fix: Pillow image object have to be reopened after Image.verify() call in ImageField::to_python

0.16.3

13 Nov 11:59
0256320
Compare
Choose a tag to compare
0.16.3 Pre-release
Pre-release
  • Fix: ApiFormException('No clean data provided! Try to call is_valid() first.') was incorrectly raised if request payload was empty during Form::fill method call
  • Change: clean_data property is by default None instead of empty dictionary