django-jsonform 2.11.0 release notes¶
Aug 16, 2022¶
This release brings plenty of bugfixes, some exciting new features and some deprecations.
Like the previous version, it also supports Django >= 2.0 and Python >= 3.4.
What’s new¶
Deprecation notice¶
JSONFORM_UPLOAD_HANDLERThe
JSONFORM_UPLOAD_HANDLERsetting has been deprecated and will be removed in future. Please read about the new way to upload files in the Uploading files document.
New features¶
Brand new JavaScript API for controlling the widget in the browser.
New file upload modal dialog which provides the ability to browse files form the server while uploading.
Support for
enumkeyword (alias forchoices).Support for
placeholderkeyword.Support for
date-timekeyword (alias fordatetime).Support for
handlerkeyword for string input. This can be used for specifying the url for the file upload handler on a per input field basis.JSONFieldnow accepts a new parameter calledfile_handlerwhich can be used for specifying the url of the file handler on a per widget basis.Now django-jsonform settings will be namespaced under
DJANGO_JSONFORMsetting.
Bug fixes¶
#45: Default value for number and boolean types was ignored if the default value was 0 or False.
#46: Fixed a bug due to which the multiselect widget didn’t work on top-level arrays.
#47: Fixed a bug in CSS when two widget fields were displayed in a single fieldset row.
#48: Array’s
minItemskeyword was ignored if default value for array was provided or if the form field had initial data.Fixed a bug to make select input respect falsy options. Earlier, the select input would not update the selected value if a falsy option was selected.
Minor improvements and fixes in widget’s CSS.
react-json-form (JavaScript)¶
react-json-form has been updated to version 2.0.0.
Finally, huge thanks to…¶
All my sponsors for their support. I really appreciate it.
All the people for contributing bug reports and improvement suggestions.