Skip to content

Releases: bhch/django-jsonform

Version 2.9.0

22 Apr 17:38
Compare
Choose a tag to compare

django-jsonform 2.9.0 release notes

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

Version 2.8.1

13 Mar 14:25
Compare
Choose a tag to compare

django-jsonform 2.8.1 release notes

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 has been updated to version 1.10.0.

Version 2.8.0

14 Feb 05:46
Compare
Choose a tag to compare

django-jsonform 2.8.0 release notes

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.

  • Multiple choice selection
    Support for multiple choice selection. Learn more in usage docs: 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 has been updated to version 1.9.0 which brings most of the above listed features.

Version 2.7.0

31 Jan 15:40
Compare
Choose a tag to compare

django-jsonform 2.7.0 release notes

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.

Version 2.6.0

22 Dec 05:07
Compare
Choose a tag to compare

django-jsonform 2.6.0 release notes

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 has been updated to version 1.7.1.

Version 2.5.0

19 Nov 12:02
Compare
Choose a tag to compare

django-jsonform 2.5.0 release notes

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

Version 2.4.0

08 Nov 07:36
Compare
Choose a tag to compare

django-jsonform 2.4.0 release notes

Nov 08, 2021

This version is fully backwards compatible with the previous version (v2.2.x).

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

What's new

react-json-form (JavaScript)

react-json-form has been updated to version 1.5.2. This version fixes the bug related to choice inputs.

Bugfixes

  • #7: Earlier version required psycopg2 to be installed because of ArrayField. Now, psycopg2 isn't required unless ArrayField is used.
  • #9: Choices for the choice input field were not being set from the data.

Minor changes

  • Small improvements to the widget's css and icons

Version 2.3.0

22 Sep 07:33
Compare
Choose a tag to compare

django-jsonform 2.3.0 release notes

Sep 22, 2021

This version is fully backwards compatible with the previous version (v2.2.x).

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

What's new

react-json-form (JavaScript)

react-json-form has been updated to version 1.5.1. This version implements following new features and many bugfixes.

Textarea input

Now a textarea input can be specified for a string field using the widget keyword.

Movable array items

Array items can now be re-ordered using arrow buttons.

Bugfixes

  • Choices for boolean type will now return a boolean value.
  • Integer field’s value was set as string before. Now it will be set as a number.
  • Initial blank data was not set for certain fields (booleans, integers).
  • Checkbox couldn’t be unchecked once checked.

Minor changes

  • Small improvements to the widget’s css
  • Javascript performance improvements

Version 2.2.1

21 Sep 15:12
Compare
Choose a tag to compare

django-jsonform 2.2.1 release notes

Sep 21, 2021

This is a minor release and adds no new features.

Bugfixes

  • #3: NoReverseMatch exception was raised if django_jsonform's urls weren't registered.

Version 2.2.0

14 Sep 12:46
Compare
Choose a tag to compare

django-jsonform 2.2.0 release notes

Sep 14, 2021

This version adds no new featurs and is fully backwards compatible.

Fix bad package

Templates and static files weren’t included in the previous builds. This version includes all the required files.

Previous versions are not usable due to this embarrassing mistake.