Skip to content

Releases: jdorn/json-editor

JSON Editor 0.7.8

29 Aug 01:39
Compare
Choose a tag to compare

Changelog

  • Fix bug with object enum editor
  • Fix typo with enum_source filters
  • Add hide_display option to object enum editors that only shows the select box and not the HTML representation of the currently selected object.
  • Can now set SCEditor options on a per instance basis with sceditor_options

JSON Editor 0.7.7

21 Aug 20:41
Compare
Choose a tag to compare

Changelog

  • New file upload editor (checkout examples/upload.html)
  • Fix bug with no_additional_properties and nested arrays
  • Changed grid sizing for table and object editors to have more padding
  • Fix broken rawgit url in demo.html

JSON Editor 0.7.6

15 Aug 20:58
Compare
Choose a tag to compare

Changelog

  • A couple fixes for propertyOrder
  • Fix broken Select2 integration

JSON Editor 0.7.5

11 Aug 00:57
Compare
Choose a tag to compare

Changelog

  • Change table description layout to match array's
  • Fix bug with watched fields and enums
  • Fix bug with 0 not showing up in UI for integer fields
  • Improve grid width calculation for strings with minLength and/or maxLength defined
  • Add new WYSIWYG example that shows SCEditor integration

JSON Editor 0.7.4

30 Jul 03:02
Compare
Choose a tag to compare

Changelog

  • Fix bug with headerTemplate and oneOf
  • Various code quality improvements and a stricter jshint configuration

JSON Editor 0.7.3

29 Jul 05:02
Compare
Choose a tag to compare

Changelog

  • Fix typo causing the iconlib option to not work

JSON Editor 0.7.2

28 Jul 14:37
Compare
Choose a tag to compare

Changelog

  • Default array title changed from 0-based index to 1-based index to improve user friendliness.
  • New headerTemplate variables i0 and i1 for 0-based and 1-based index respectively (for use with array items).
  • Fix scientific notation bug with really small or large numbers
  • Fix UI bug when deleting second to last array item in a tabbed array.

JSON Editor 0.7.1

24 Jul 14:54
Compare
Choose a tag to compare

Changelog

  • Add option to change when validation errors show up. Valid values are "interaction", "change", "always", and "never".
  • Changed default validation behavior to "interaction". To go back to the previous behavior, set JSONEditor.defaults.options.show_errors to always.

JSON Editor 0.7.0

14 Jul 03:37
Compare
Choose a tag to compare

Changelog

  • Add recursive schema support (checkout examples/recursive.html)
  • New defaultProperties keyword
  • Revamp how the "Object Properties" modal works.
  • Fix propertyOrder keyword when using numeric keys
  • Fix bug with some buttons firing form submit when wrapped in a form element
  • Add CSS class to object properties

Backwards Incompatible Changes

A lot changed in this release, so please report any bugs you find!

The Validator now no longer expands schemas. If your code relied on this behavior, it can use the new methods jsoneditor.expandRefs and jsoneditor.expandSchemas.

AbstractEditor has been refactored in order to support recursive schemas. Custom editors must also be changed to reflect the new structure. Most notably, the "build" method was split into 3 different methods:

  • preBuild - does everything it can without creating DOM nodes
  • build - creates DOM nodes
  • postBuild - set up event listeners

Also, instantiating an editor no longer calls build. All 3 of the above methods must be called manually in succession after instantiation to simulate the old behavior.

JSON Editor 0.6.19

30 Jun 06:45
Compare
Choose a tag to compare

Changelog

  • Add initial support for i18n and string customization
  • Fix checkbox alignment with bootstrap 3.2
  • Change validation error message for minLength: 1 to be a more user friendly "Value required".