Releases: bhch/django-jsonform
Version 2.23.1
django-jsonform 2.23.1 release notes
Oct 08, 2024
Bugfixes
- Fixed a bug related to in-browser validation for arrays with choices.
react-json-form (JavaScript)
react-json-form has been updated to version 2.14.3.
Version 2.23.0
django-jsonform 2.23.0 release notes
Sep 18, 2024
This release fixes some bugs and brings a couple of new features.
New features
- #72:
ArrayField
now accepts a custom schema. More in docs. See usage docs. - #162:
ArrayField
's widget can be overridden now (by Willard Nilges). See usage docs.
Bugfixes
- #172: Fixed a bug that prevented using
JSONField
as an item of theArrayField
. - #175: Fixed a bug which caused issues when choices had whitespace in them (by Kyle Perik).
- #165: Excluded the tests from PyPI wheel package (by Bruno Alla in PR #176).
Browser side improvements
- Fixed (suppressed for the time being) buggy validation of
oneOf
/anyOf
within an object. - Fixed crashes when using
oneOf
. - Fixed number input validation. Some browsers need
step=any
for decimal values.
react-json-form (JavaScript)
react-json-form has been updated to version 2.14.2.
Version 2.22.0
django-jsonform 2.22.0 release notes
Feb 29, 2024
This release brings some new features and a few bug fixes.
New features
- #142: Improved support for UUID, datetime, Decimal, etc. types on ArrayField (by Gyuri).
- Support for
uri
anduri-reference
formats. The input for this format will also display a clickable link to open the input’s link value in new tab. - #156: Support for clickable links for
URLField
insideArrayField
.
Bugfixes
- Fixed dark mode CSS for Django 4 and 5.
- #154: Fixed typo in validation error message (by Garret Heaton).
react-json-form (JavaScript)
react-json-form has been updated to version 2.14.0.
Version 2.21.5
django-jsonform 2.21.5 release notes
Jan 24, 2024
This release fixes a bug introduced in the last couple of releases.
Bugfixes
- #140: Added missing UUID import lack of which caused a
NameError
exception.
Version 2.21.4
django-jsonform 2.21.4 release notes
Jan 15, 2024
This release fixes a bug introduced in the previous release.
Bugfixes
- Fixed a bug which caused the form to crash when using the
autocomplete
andmultiselect-autocomplete
widgets.
react-json-form (JavaScript)
react-json-form has been updated to version 2.13.5.
Version 2.21.3
django-jsonform 2.21.3 release notes
Jan 12, 2024
This release brings some important bugfixes.
Bugfixes
- #132: Added missing imports and also fixed errors in validators (by Nicolas Forstner).
- #135: Fixed layout issues in DJango 4.x which caused the form to render very narrowly.
- #136: Fixed display title of selected choices of multiselect input. Earlier, selected choices displayed their value
instead of the custom title. - #137: Fixed JSON encoder errors when encoding UUID values in
ArrayField
(by Andrés Reverón Molina).
react-json-form (JavaScript)
react-json-form has been updated to version 2.13.4.
Thank you
Huge thanks to people who contributed code and reported these issues.
Version 2.21.2
django-jsonform 2.21.2 release notes
Dec 02, 2023
This is a patch release which fixes a mistake left in previous release.
Bugfixes
- Fixed a mistake introduced in the previous release related to subschema matching logic.
react-json-form (JavaScript)
react-json-form has been updated to version 2.13.2.
Version 2.21.1
django-jsonform 2.21.1 release notes
Dec 02, 2023
This is a patch release which fixes an important bug in oneOf
/anyOf
subschema matching logic.
Bugfixes
- #131: Previously, the form ignored
oneOf
/anyOf
while syncing stale data with new schema. This caused the form to crash. This release fixes that.
react-json-form (JavaScript)
react-json-form has been updated to version 2.13.1.
Version 2.21.0
django-jsonform 2.21.0 release notes
Nov 23, 2023
This is a minor release.
New features
- Overriding references
While using$ref
, you can now override the properties set by the reference, like setting custom titles for the reference.
Bugfixes
- Earlier, when the schema didn't have a
type
at the top level but did have a$ref
, the form raised an error without considering the$ref
. Now, it will infer the type from$ref
iftype
is not provided.
react-json-form (JavaScript)
react-json-form has been updated to version 2.13.0.
Version 2.20.2
django-jsonform 2.20.2 release notes
Nov 14, 2023
This is a patch release which fixes a critical bug.
Bugfixes
- #130: When initial form data was empty, the widget was not creating the default data for it.