django-jsonform

A better, user-friendly JSON editing form field for Django admin. Also supports Postgres ArrayField.

BSD-3-CLAUSE License

Downloads
129.8K
Stars
334
Committers
16

Bot releases are visible (Hide)

django-jsonform - Version 2.23.0

Published by bhch about 1 month ago

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 the ArrayField.
  • #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.

django-jsonform - Version 2.22.0 Latest Release

Published by bhch 8 months ago

django-jsonform 2.21.5 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 and uri-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 inside ArrayField.

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.

django-jsonform - Version 2.21.5

Published by bhch 9 months ago

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.
django-jsonform - Version 2.21.4

Published by bhch 9 months ago

django-jsonform 2.21.4 release notes

Jan 15, 2023

This release fixes a bug introduced in the previous release.

Bugfixes

  • Fixed a bug which caused the form to crash when using the autocomplete and multiselect-autocomplete widgets.

react-json-form (JavaScript)

react-json-form has been updated to version 2.13.5.

django-jsonform - Version 2.21.3

Published by bhch 9 months ago

django-jsonform 2.21.3 release notes

Jan 12, 2023

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.

django-jsonform - Version 2.21.2

Published by bhch 11 months ago

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.

django-jsonform - Version 2.21.1

Published by bhch 11 months ago

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

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

django-jsonform - Version 2.21.0

Published by bhch 11 months ago

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 if type is not provided.

react-json-form (JavaScript)

react-json-form has been updated to version 2.13.0.

django-jsonform - Version 2.20.2

Published by bhch 11 months ago

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.
django-jsonform - Version 2.20.1

Published by bhch 11 months ago

django-jsonform 2.20.1 release notes

Nov 12, 2023

This is a patch release.

Bugfixes

  • Fixed Django version check logic. The previous release's check logic throw and error for Django's alpha/beta versions. This release fixes that.
  • Improved schema type checking when multiple types are provided.
django-jsonform - v2.20.0

Published by bhch 11 months ago

django-jsonform 2.20.0 release notes

Nov 10, 2023

This release brings some new features and improvements.

New features

  • Constant values
    Support for the const keyword. (See docs).

  • Multiselect + Autocomplete
    Support multiselect autocomplete input using "widget": "multiselect-autocomplete".

  • Collapsible sections
    You will now see [-] and [+] icons in section titles which can be used for collapsing and expanding array or object sections.

Improvements

  • #121: The form is more tolerant now when it receives null data for array or object types. Now, the form will implicitly replace null with the appropriate blank data instead of throwing an error.

react-json-form (JavaScript)

react-json-form has been updated to version 2.12.0.

django-jsonform - Version 2.19.1

Published by bhch about 1 year ago

django-jsonform 2.19.1 release notes

Sep 06, 2023

This release fixes some minor bugs.

Bugfixes

  • Corrected the error message for the maximum keyword (on browser-side validation).
  • Fixed a bug which didn't display array description when the array items were objects or arrays.

react-json-form (JavaScript)

react-json-form has been updated to version 2.11.1.

django-jsonform - Version 2.19.0

Published by bhch about 1 year ago

django-jsonform 2.19.0 release notes

Aug 13, 2023

This release brings a some new features and some bugfixes.

New features

  • #116: Multiselect input will now display the selected items for a better user experience.
  • #119: Support for making the whole form readonly. See docs: Making the whole JSON form readonly.
  • Support for readonly keyword on lists and dicts (arrays and objects).

Bugfixes

  • Fixed #117: Error messages for top-level arrays were not displayed.
  • Fixed #118: Radio inputs’ placement and styling.
  • Fixed: The readonly keyword had no effect on datetime and range inputs.

react-json-form (JavaScript)

react-json-form has been updated to version 2.11.0.

django-jsonform - Version 2.18.0

Published by bhch about 1 year ago

django-jsonform 2.18.0 release notes

Jul 27, 2023

This is a minor release.

New features

  • Support for the description keyword. This will allow for adding helpful text for objects and arrays.

Minor changes

  • #115: Manually added keys (when using additionalProperties) will display their key name as it is. Earlier, the name was prettified (i.e. capitalized, underscores removed) for display purposes, but that will no longer happen.

react-json-form (JavaScript)

react-json-form has been updated to version 2.9.0.

django-jsonform - Version 2.17.4

Published by bhch about 1 year ago

django-jsonform 2.17.4 release notes

Jul 24, 2023

This is a minor release.

Bugfixes

  • #112: Fix a crash caused when the type was an array of multiple types (i.e. {'type': ['string', 'number']}). This only fixes the bug and doesn't add support for multiple types.

react-json-form (JavaScript)

react-json-form has been updated to version 2.8.4.

django-jsonform - Version 2.17.3

Published by bhch about 1 year ago

django-jsonform 2.17.3 release notes

Jul 24, 2023

This is a minor release.

Bugfixes

  • Reset select input's value to blank if the value is not present in choices.
  • #111: Add choice validation for string and number types.

react-json-form (JavaScript)

react-json-form has been updated to version 2.8.3.

django-jsonform - Version 2.17.2

Published by bhch over 1 year ago

django-jsonform 2.17.2 release notes

Jun 19, 2023

This is a minor release.

Bugfixes

  • #108: Fixed a bug which crashed the form for schemas having oneOf/anyOf.

react-json-form (JavaScript)

react-json-form has been updated to version 2.8.2.

django-jsonform - Version 2.17.1

Published by bhch over 1 year ago

django-jsonform 2.17.1 release notes

Jun 01, 2023

This is a minor release.

Bugfixes

  • #102: Fixed a bug due to which the type of subschema was determined incorrectly if it had a $ref.

react-json-form (JavaScript)

react-json-form has been updated to version 2.8.1.

django-jsonform - Version 2.17.0

Published by bhch over 1 year ago

django-jsonform 2.17.0 release notes

Apr 24, 2023

This release brings one new feature.

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

New features

  • Hidden input
    Support for hidden inputs using "widget": "hidden".

react-json-form (JavaScript)

react-json-form has been updated to version 2.8.0.

Thank you

I want to thank all the people who contributed code, bug reports, feature requests and improvement suggestions.

django-jsonform - Version 2.16.1

Published by bhch over 1 year ago

django-jsonform 2.16.1 release notes

Mar 28, 2023

This is a small patch release.

Bugfixes

  • #96: Fixed a bug in required properties in nested objects.

react-json-form (JavaScript)

react-json-form has been updated to version 2.7.2.

Package Rankings
Top 4.48% on Pypi.org
Related Projects