Releases: jdorn/json-editor
Releases · jdorn/json-editor
JSON Editor 0.7.8
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
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
Changelog
- A couple fixes for propertyOrder
- Fix broken Select2 integration
JSON Editor 0.7.5
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
Changelog
- Fix bug with headerTemplate and oneOf
- Various code quality improvements and a stricter jshint configuration
JSON Editor 0.7.3
Changelog
- Fix typo causing the
iconlib
option to not work
JSON Editor 0.7.2
Changelog
- Default array title changed from 0-based index to 1-based index to improve user friendliness.
- New
headerTemplate
variablesi0
andi1
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
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
toalways
.
JSON Editor 0.7.0
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
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".