Django-jsonform

Latest version: v2.23.1

Safety actively analyzes 688792 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 8

2.9.0

Not secure
Apr 22, 2022

This version introduces some backwards-incompatible changes with the previous versions related to CSS styling and internal HTML structure.

Like the previous version, it also supports `Django >= 2.0` and `Python >= 3.4`.

What's new

New features

- **Help text**
Support for displaying help text under inputs (using the `help_text` or `helpText` keyword).
- **New template filters**
New [template filters](https://django-jsonform.readthedocs.io/en/stable/templatetags.html) to help convert datetime strings into datetime objects in templates.
- **Compatibility with Django-Grappelli admin**
Improvements to CSS to ensure compatibility with the Django-Grappelli admin.

Bugfixes
- 34: Fixed a CSS styling for Djang-Grappelli admin.
- 35: Fixed a bug to reset file input when the file is cleared.

react-json-form (JavaScript)

[react-json-form](https://github.com/bhch/react-json-form) has been updated to version 1.11.0.

Breaking changes

The internal HTML structure of the widget, i.e. how the the fields are rendered, has been changed. Due to this, some of the CSS code has also been changed.

You don’t need to worry about this unless you’ve written custom CSS styles for the widget. If so, this is something to beware of.

2.8.1

Not secure
Mar 13, 2022

This is a minor release and is fully backwards compatible.

What's new

New features
- Ask for confirmation before clearing file input

Bugfixes
- 28: Fixed a bug to make the "Clear" file button visible when filename was too long.

react-json-form (JavaScript)

[react-json-form](https://github.com/bhch/react-json-form) has been updated to version 1.10.0.

2.8.0

Not secure
Feb 14, 2022

This version introduces no breaking changes and is fully compatible with the previous releases (2.7.x).

Like the previous version, it also supports `Django >= 2.0` and `Python >= 3.4`.

What's new

New features
- **Datetime input**
Support for datetime input has been added for ``string`` type fields using ``format: 'datetime'`` key.
Read about its usage here: [Datetime field](https://django-jsonform.readthedocs.io/en/stable/guide/inputs.html#datetime-field).

- **Multiple choice selection**
Support for multiple choice selection. Learn more in usage docs: [Multiple selections](https://django-jsonform.readthedocs.io/en/stable/guide/choices.html#multiple-selections).

- **Default value for array**
Support for ``default`` initial value for an array. Earlier, only array itemscould have a default value.
The problem with that is when a new item was added, the same default value was also added again.
With this feature, it is now possible to set multiple default values on an array.

- **Clearable file inputs**
Now file upload inputs can be cleared, i.e. their value can be unset.
Earlier, it wasn't possible to empty a file input once a value was attached.

- **Callable schema may receive the model instance**
Now the callable schema function may optionally receive the current model instance as an argument.

Bugfixes
- 25: Fixed a bug where editing a key in an extendable dict (object) made the key disappear.
- 27: Fixed a bug to make the editor work in admin inlines.

Minor improvements

- **Autogrowing textarea**
Textarea's height will now grow automatically as the user types in. This saves the user from having to manually resize the textarea.

- **Animated list items**
List items will have a nice animation when moved up/down or removed. This will help provide some feedback to the user.
Earlier it wasn't obvious when list items were moved.

react-json-form (JavaScript)

[react-json-form](https://github.com/bhch/react-json-form) has been updated to version 1.9.0 which brings most of the above listed features.

2.7.0

Not secure
Jan 31, 2022

This version introduces no breaking changes and is fully compatible with the previous releases (2.6.x).

Like the previous version, it also supports `Django >= 2.0` and `Python >= 3.4`.

What's new

New features

- 17: Support for lazy translations within the schema.

Bugfixes

- 23: Package didn’t work as intended in Django 4.0 due to bad version checking.

2.6.0

Not secure
Dec 22, 2021

This version introduces no breaking changes and is fully compatible with the previous releases (2.5.x).

Like the previous version, it also supports `Django >= 2.0` and `Python >= 3.4`.

What's new

New features

- 15: A new keyword called `default` can be used to specify default values for input fields.
- 13: A new keyword called `readonly` (alias `readOnly`) can be used to make input fields readonly.


react-json-form (JavaScript)

[react-json-form](https://github.com/bhch/react-json-form) has been updated to version 1.7.1.

2.5.0

Not secure
Nov 19, 2021

This version introduces a breaking change from the previous releases.

Like the previous version, it also supports `Django >= 2.0` and `Python >= 3.4`.

What's new

react-json-form (JavaScript)

[react-json-form](https://github.com/bhch/react-json-form) has been updated to version 1.6.0.

Breaking changes

Earlier version used to set empty string (`''`) for blank number inputs. This version will use null instead.

It will also change empty strings to null in the initial data as well.

Bugfixes

- 12: Use null instead of empty string for blank number inputs.

Minor changes
- Small improvements to the widget's css, such as the group panel’s titles are now bolder.

Page 6 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.