2014-06-01 03:01:30 +08:00
|
|
|
# JSON Editor - History
|
2013-02-09 23:53:37 +08:00
|
|
|
|
2014-06-01 03:01:30 +08:00
|
|
|
https://github.com/josdejong/jsoneditor
|
2013-02-09 23:53:37 +08:00
|
|
|
|
2018-10-09 02:07:21 +08:00
|
|
|
|
2019-03-31 04:00:26 +08:00
|
|
|
## not yet released, version 5.32.2
|
|
|
|
|
|
|
|
- Fixed #416: Clipped action menu for append nodes.
|
2019-03-31 23:17:47 +08:00
|
|
|
- Styling improvements in the transform modal.
|
2019-03-31 04:00:26 +08:00
|
|
|
|
|
|
|
|
2019-03-29 03:17:11 +08:00
|
|
|
## 2018-03-28, version 5.32.1
|
2019-03-22 04:29:38 +08:00
|
|
|
|
2019-03-29 02:51:42 +08:00
|
|
|
- Fixed a regression in parsing JSON paths: numbers where parsed as strings
|
|
|
|
instead of a numeric value. See #679. Thanks @AdamVig.
|
2019-03-22 04:29:38 +08:00
|
|
|
- Fixed using hyphens in the path of custom validation errors (see #665).
|
|
|
|
Thanks @tobiasfriden.
|
|
|
|
|
|
|
|
|
2019-03-21 00:46:49 +08:00
|
|
|
## 2019-03-20, version 5.32.0
|
2019-03-17 22:35:03 +08:00
|
|
|
|
2019-03-17 22:56:29 +08:00
|
|
|
- Implemented support for reckoning with JSON schema default values: custom
|
|
|
|
styling can be applied for default and non-default values. Thanks @AdamVig.
|
2019-03-17 22:35:03 +08:00
|
|
|
- Fixed #667: resolving JSON Schema examples and descriptions did not always
|
|
|
|
work for referenced schemas. Thanks @AdamVig.
|
2019-03-21 00:34:39 +08:00
|
|
|
- Fixed #676: JSON Paths containing array properties with a `]` not parsed
|
|
|
|
correctly.
|
2019-03-17 22:35:03 +08:00
|
|
|
|
|
|
|
|
2019-03-15 04:22:07 +08:00
|
|
|
## 2019-03-14, version 5.31.1
|
2019-03-12 02:53:55 +08:00
|
|
|
|
2019-03-15 04:22:07 +08:00
|
|
|
- Fix IE11 issue.
|
|
|
|
- Some fixes in the Simplified Chinese translation.
|
|
|
|
Thanks @@adf0001 and @yuxizhe.
|
2019-03-12 02:53:55 +08:00
|
|
|
|
|
|
|
|
2019-03-11 00:56:47 +08:00
|
|
|
## 2019-03-10, version 5.31.0
|
2019-03-08 03:51:01 +08:00
|
|
|
|
|
|
|
- Display JSON schema examples in tooltip (#664). Thanks @AdamVig.
|
|
|
|
|
|
|
|
|
2019-03-02 17:51:50 +08:00
|
|
|
## 2019-03-02, version 5.30.0
|
2019-03-02 17:31:01 +08:00
|
|
|
|
2019-03-02 17:51:50 +08:00
|
|
|
- Implemented a new option `onCreateMenu` to customize the action menu.
|
2019-03-02 17:31:01 +08:00
|
|
|
Thanks @RobAley.
|
|
|
|
|
|
|
|
|
2019-02-21 03:38:21 +08:00
|
|
|
## 2019-02-20, version 5.29.1
|
|
|
|
|
|
|
|
- Fixed #661: JSONEditor broken on IE11 caused by duplicate JSON entries
|
|
|
|
in a translation.
|
|
|
|
|
|
|
|
|
2019-02-16 21:12:53 +08:00
|
|
|
## 2019-02-16, version 5.29.0
|
2019-02-06 03:50:10 +08:00
|
|
|
|
2019-02-09 20:02:18 +08:00
|
|
|
- Added Simplified Chinese localization. Thanks @long2ice.
|
|
|
|
- Added Turkish localization. Thanks @beratpostalci.
|
2019-02-16 21:12:53 +08:00
|
|
|
- Improved JSON schema titles on fields. Fixes #321. Thanks @AdamVig.
|
|
|
|
- Fixes in resolving JSON schemas, see #651. Thanks @AdamVig.
|
2019-02-15 03:42:23 +08:00
|
|
|
- Fix #657: `onClassName` throwing an error when a node is removed.
|
2019-02-06 03:50:10 +08:00
|
|
|
|
|
|
|
|
2019-01-23 21:29:13 +08:00
|
|
|
## 2019-01-23, version 5.28.2
|
2019-01-23 21:27:19 +08:00
|
|
|
|
|
|
|
- Fix #639: Occurrence of non-ES5 `const` declaration in published code.
|
|
|
|
Regression introduced in `v5.28.0`.
|
|
|
|
|
|
|
|
|
2019-01-23 03:48:08 +08:00
|
|
|
## 2019-01-22, version 5.28.1
|
2019-01-23 03:27:23 +08:00
|
|
|
|
2019-01-23 21:27:19 +08:00
|
|
|
- Fix #637: Vertical white border left/right from the main menu in some
|
2019-01-23 03:44:10 +08:00
|
|
|
specific circumstances.
|
2019-01-23 21:27:19 +08:00
|
|
|
- Fix #638: Cannot expand after collapse. Regression introduced in v5.28.0.
|
2019-01-23 03:27:23 +08:00
|
|
|
|
|
|
|
|
2019-01-22 04:06:23 +08:00
|
|
|
## 2019-01-21, version 5.28.0
|
2019-01-17 00:48:29 +08:00
|
|
|
|
|
|
|
- Implemented new option `maxVisibleChilds` to customize the maximum number
|
|
|
|
childs that is rendered by default. Thanks @20goto10.
|
2019-01-22 03:53:02 +08:00
|
|
|
- Implemented new option `onClassName`, allowing customized and dynamic
|
|
|
|
styling of nodes. See 20_custom_css_style_for_nodes.html for a demo.
|
|
|
|
Thanks @maestr0.
|
2019-01-22 03:56:50 +08:00
|
|
|
- Make the method `refresh()` public.
|
2019-01-17 00:48:29 +08:00
|
|
|
|
|
|
|
|
2019-01-16 22:59:11 +08:00
|
|
|
## 2019-01-16, version 5.27.1
|
2019-01-12 18:27:52 +08:00
|
|
|
|
|
|
|
- Improved navigating deeply nested paths via the navigation bar, see #619.
|
|
|
|
Thanks @meirotstein.
|
2019-01-16 21:20:54 +08:00
|
|
|
- Sdd title from schema description to show the tips for user input.
|
|
|
|
Thanks @tylerchen.
|
|
|
|
- Fix JSON Schema not resolving refs `$ref`, and not creating enum dropdowns.
|
|
|
|
Thanks @tylerchen.
|
2019-01-12 18:27:52 +08:00
|
|
|
|
|
|
|
|
2019-01-05 22:21:54 +08:00
|
|
|
## 2019-01-05, version 5.27.0
|
2018-12-21 04:18:07 +08:00
|
|
|
|
2019-01-05 04:04:37 +08:00
|
|
|
- Implemented customizing object and array names via a new option
|
|
|
|
`onNodeName`. Thanks @bnanchen.
|
2019-01-05 04:00:21 +08:00
|
|
|
- Visibility of schema validation errors at the bottom of mode code and text
|
2019-01-05 22:21:54 +08:00
|
|
|
are now toggleable. Thanks @meirotstein.
|
2018-12-21 04:18:07 +08:00
|
|
|
- Fixed text of the mode switcher not being translated. Thanks @antfu.
|
|
|
|
|
|
|
|
|
2018-12-07 04:44:37 +08:00
|
|
|
## 2018-12-06, version 5.26.3
|
2018-12-05 16:38:51 +08:00
|
|
|
|
2018-12-07 03:15:14 +08:00
|
|
|
- Fixed #610: JSON Repair now removes trailing commas.
|
2018-12-05 16:38:51 +08:00
|
|
|
- Upgraded devDependency `gulp` to v4. Thanks @maestr0.
|
|
|
|
|
|
|
|
|
2018-11-14 03:39:02 +08:00
|
|
|
## 2018-11-13, version 5.26.2
|
|
|
|
|
|
|
|
- Fixed dragging and selecting multiple nodes not working
|
|
|
|
(regression introduced in `v5.26.1`).
|
|
|
|
|
|
|
|
|
2018-11-14 03:29:22 +08:00
|
|
|
## 2018-11-13, version 5.26.1
|
2018-11-14 03:27:54 +08:00
|
|
|
|
|
|
|
- Fixed `.update()` throwing an exception when replacing a JSON object
|
|
|
|
with `null`. Thanks @DullReferenceException.
|
|
|
|
- Fixed #598: Search field can't be focused in object view.
|
|
|
|
|
|
|
|
|
2018-11-13 03:14:03 +08:00
|
|
|
## 2018-11-12, version 5.26.0
|
|
|
|
|
|
|
|
- Implemented option `mainMenuBar` to enable/disable the main menu bar.
|
|
|
|
Thanks @tanmayrajani.
|
|
|
|
|
|
|
|
|
2018-10-30 03:31:10 +08:00
|
|
|
## 2018-10-29, version 5.25.0
|
2018-10-17 19:40:48 +08:00
|
|
|
|
2018-10-19 02:43:23 +08:00
|
|
|
- Implemented options `enableSort` and `enableTransform` so you can turn off
|
|
|
|
these features. Thanks @tanmayrajani.
|
2018-10-17 20:50:47 +08:00
|
|
|
- Fixed #590: validation failing in code and text mode when status
|
|
|
|
bar is disabled.
|
|
|
|
- Fixed #589: the path in the navigation bar is not updated
|
2018-10-30 03:28:27 +08:00
|
|
|
when duplicating or removing a node, and neither after an undo/redo action.
|
2018-10-17 21:26:05 +08:00
|
|
|
- Fixed duplicate and remove of the action menu of multiple selected
|
|
|
|
nodes not working.
|
2018-10-17 21:31:42 +08:00
|
|
|
- Fixed not preventing default selection of text when selecting nodes.
|
2018-10-25 03:58:56 +08:00
|
|
|
- Fixed #595: navigation bar path link not working.
|
2018-10-17 19:40:48 +08:00
|
|
|
|
|
|
|
|
2018-10-09 02:07:21 +08:00
|
|
|
## 2018-10-08, version 5.24.7
|
2018-10-09 01:52:47 +08:00
|
|
|
|
|
|
|
- Fix #582: parse error annotations not always up to date in
|
2018-10-09 02:07:21 +08:00
|
|
|
code editor. Thanks @meirotstein.
|
2018-10-09 01:52:47 +08:00
|
|
|
|
2018-07-02 19:13:02 +08:00
|
|
|
|
2018-09-12 15:41:07 +08:00
|
|
|
## 2018-09-12, version 5.24.6
|
|
|
|
|
|
|
|
- Fix #548: `import JSONEditor from 'jsoneditor'` not working in
|
|
|
|
TypeScript projects (gave a constructor is undefined error).
|
|
|
|
|
|
|
|
|
2018-09-07 02:44:14 +08:00
|
|
|
## 2018-09-06, version 5.24.5
|
|
|
|
|
|
|
|
- Fixed a bug in textmode on IE 11, not loading the editor when
|
|
|
|
`Promise` is undefined.
|
|
|
|
|
|
|
|
|
2018-09-07 02:33:04 +08:00
|
|
|
## 2018-09-06, version 5.24.4
|
2018-08-30 03:10:13 +08:00
|
|
|
|
2018-09-07 02:24:18 +08:00
|
|
|
- Fixed #576: Visualization in mode `view` when an array
|
|
|
|
with more than 100 items is rendered.
|
2018-09-07 02:18:31 +08:00
|
|
|
- Fixed JSONEditor not working on IE11: continue and throw console
|
2018-09-07 02:33:04 +08:00
|
|
|
errors when `Promise` is undefined. Regression since `v5.23.0`.
|
2018-08-30 03:10:13 +08:00
|
|
|
- Fixed `onClose` of color picker not being fired when clicking outside
|
|
|
|
the picker to close it.
|
2018-09-07 02:33:04 +08:00
|
|
|
- Upgraded dependencies `brace`, `mobius1-selectr`, `vanilla-picker`.
|
|
|
|
- Upgraded devDependency `mocha`.
|
2018-08-30 03:10:13 +08:00
|
|
|
|
|
|
|
|
2018-08-29 16:53:33 +08:00
|
|
|
## 2018-08-29, version 5.24.3
|
|
|
|
|
|
|
|
- Fixed color picker not working in ES6 projects.
|
2018-08-29 17:06:11 +08:00
|
|
|
- Fixed color picker closing immediately after the first `onChange`
|
|
|
|
event, and `onChange` events are now debounced like all text inputs.
|
2018-08-29 16:53:33 +08:00
|
|
|
|
|
|
|
|
2018-08-28 01:56:01 +08:00
|
|
|
## 2018-08-27, version 5.24.2
|
|
|
|
|
|
|
|
- Improved error and validation messaging in `text` mode.
|
|
|
|
Thanks @meirotstein.
|
|
|
|
- Clicking a message now selects the line where the error occurs.
|
|
|
|
- Icon bottom right showing when there are warnings or errors.
|
|
|
|
- Fixed field still editable after moving a node from an object
|
|
|
|
to an array, changing the field from a property into an index.
|
|
|
|
|
|
|
|
|
2018-08-26 23:47:02 +08:00
|
|
|
## 2018-08-26, version 5.24.1
|
2018-08-25 02:24:12 +08:00
|
|
|
|
2018-08-25 21:27:53 +08:00
|
|
|
- Context menu and color picker are now absolutely positioned, and
|
|
|
|
can overflow the borders of the editor.
|
2018-08-25 02:24:12 +08:00
|
|
|
- Fixed #568: mode switcher disappearing when selecting the current
|
|
|
|
mode again.
|
2018-08-26 23:35:45 +08:00
|
|
|
- Fixed `transform` not creating/removing expand button when the type
|
|
|
|
of a node changed.
|
2018-08-25 02:24:12 +08:00
|
|
|
|
|
|
|
|
2018-08-23 03:19:11 +08:00
|
|
|
## 2018-08-22, version 5.24.0
|
2018-08-22 18:10:15 +08:00
|
|
|
|
|
|
|
- Implemented a color picker, and allow hooking in a custom color
|
|
|
|
picker. new options are `colorPicker` and `onColorPicker`.
|
2018-08-23 00:00:56 +08:00
|
|
|
- Implemented a timestamp tag displayed right from timestamps,
|
|
|
|
with corresponding option `timestampTag`.
|
2018-08-22 18:10:15 +08:00
|
|
|
|
|
|
|
|
2018-08-18 02:20:36 +08:00
|
|
|
## 2018-08-17, version 5.23.1
|
|
|
|
|
|
|
|
- Fixed #566: transform function broken, regression since `v5.20.0`.
|
|
|
|
|
|
|
|
|
2018-08-15 18:29:56 +08:00
|
|
|
## 2018-08-15, version 5.23.0
|
2018-08-15 16:48:51 +08:00
|
|
|
|
|
|
|
- Implemented support for custom validation using a new `onValidate` callback.
|
2018-08-15 17:02:54 +08:00
|
|
|
- In tree mode, nodes containing a validation error now have a className
|
|
|
|
`jsoneditor-validation-error` which can be used for custom styling.
|
2018-08-15 16:48:51 +08:00
|
|
|
|
|
|
|
|
2018-08-14 02:54:47 +08:00
|
|
|
## 2018-08-13, version 5.22.0
|
|
|
|
|
|
|
|
- Implemented `onEvent` callback triggered when an event occurs in a JSON
|
|
|
|
field or value. Thanks @cristinabarrantes.
|
2018-07-02 19:13:02 +08:00
|
|
|
|
2015-03-18 03:25:50 +08:00
|
|
|
|
2018-08-12 19:10:20 +08:00
|
|
|
## 2018-08-12, version 5.21.0
|
2018-08-12 18:43:35 +08:00
|
|
|
|
|
|
|
- Show validation errors inline instead of at the bottom when in code
|
|
|
|
mode. Thanks @meirotstein.
|
2018-08-12 19:06:31 +08:00
|
|
|
- Fix #562: allow `$` character in property names of of a JSON schema.
|
2018-08-12 18:43:35 +08:00
|
|
|
|
|
|
|
|
2018-08-10 19:27:32 +08:00
|
|
|
## 2018-08-10, version 5.20.0
|
2018-08-06 20:39:21 +08:00
|
|
|
|
2018-08-07 17:03:27 +08:00
|
|
|
_Good news: JSONEditor is finally framework friendly and can now be easily
|
|
|
|
integrated in React, Vue, and Angular!_
|
|
|
|
|
2018-08-06 20:39:21 +08:00
|
|
|
- Implemented new methods `update` and `updateText`, which maintain the state
|
2018-08-07 17:03:27 +08:00
|
|
|
of the editor (expanded nodes, search, selection). This makes it easy to
|
|
|
|
integrate in frameworks like React.
|
|
|
|
- Implemented options `onChangeJSON(json)` and `onChangeText(jsonString)`.
|
2018-08-07 19:32:41 +08:00
|
|
|
- Added two React examples to the `examples` folder.
|
2018-08-07 19:52:23 +08:00
|
|
|
- Fixed menu buttons "Sort" and "Transform" being available in modes `view`
|
|
|
|
and `form`.
|
2018-08-06 20:39:21 +08:00
|
|
|
|
|
|
|
|
2018-08-02 16:27:02 +08:00
|
|
|
## 2018-08-02, version 5.19.2
|
|
|
|
|
2018-08-02 16:45:11 +08:00
|
|
|
- Fixed #558: scrolling to search results and automatically scrolling up/down
|
|
|
|
when dragging an item broken (regression since v5.19.1).
|
2018-08-02 16:27:02 +08:00
|
|
|
|
|
|
|
|
2018-07-28 21:29:34 +08:00
|
|
|
## 2018-07-28, version 5.19.1
|
|
|
|
|
|
|
|
- Fixed #557: inner contents of the scrollable area being displayed outside of
|
|
|
|
the editor (on Chrome only).
|
|
|
|
|
|
|
|
|
2018-07-11 19:11:41 +08:00
|
|
|
## 2018-07-11, version 5.19.0
|
2018-07-03 03:40:47 +08:00
|
|
|
|
2018-07-11 18:40:51 +08:00
|
|
|
- No more grayed out icons of the context menu, see #532.
|
|
|
|
- Added Sort and Transform buttons to the main menu.
|
2018-07-03 03:40:47 +08:00
|
|
|
- Fixes and improvements in the Transform dialog.
|
|
|
|
|
|
|
|
|
2018-06-27 18:30:46 +08:00
|
|
|
## 2018-06-27, version 5.18.0
|
2018-06-21 02:27:36 +08:00
|
|
|
|
2018-06-27 18:30:46 +08:00
|
|
|
- Implemented JMESPath support for advanced filtering, sorting, and
|
|
|
|
transforming of JSON documents.
|
2018-06-21 02:27:36 +08:00
|
|
|
- Implemented a new option `modalAnchor` to control at which part of the
|
|
|
|
screen the modals are displayed.
|
2018-06-24 21:41:25 +08:00
|
|
|
- Fixed #544: JSON Schema errors sometimes not being displayed in the
|
|
|
|
editor.
|
2018-06-21 02:27:36 +08:00
|
|
|
|
|
|
|
|
2018-06-03 21:26:16 +08:00
|
|
|
## 2018-06-03, version 5.17.1
|
|
|
|
|
|
|
|
- Fixed a bug in a translation text.
|
|
|
|
|
|
|
|
|
2018-06-03 21:21:18 +08:00
|
|
|
## 2018-06-03, version 5.17.0
|
2018-05-31 03:54:25 +08:00
|
|
|
|
|
|
|
- Implemented advanced sorting for arrays.
|
|
|
|
|
|
|
|
|
2018-05-23 15:50:53 +08:00
|
|
|
## 2018-05-23, version 5.16.0
|
|
|
|
|
|
|
|
- Better handling of JSON documents containing large arrays:
|
|
|
|
- Only displays the first 100 items of large arrays,
|
|
|
|
with buttons "show more" and "show all" to render more items.
|
|
|
|
- Search results are now limited to max 1000 matches,
|
|
|
|
and search does no longer expand the paths to all matches
|
|
|
|
but only expands the path of the current search result.
|
2018-05-07 01:42:19 +08:00
|
|
|
- Fixed index numbers of Array items not being updated after sorting.
|
2018-05-03 17:22:58 +08:00
|
|
|
|
|
|
|
|
2018-05-02 16:42:47 +08:00
|
|
|
## 2018-05-02, version 5.15.0
|
2018-04-27 04:44:55 +08:00
|
|
|
|
|
|
|
- Implemented selection API: `onSelectionChanged`, `onTextSelectionChanged`,
|
|
|
|
`getSelection`, `getTextSelection`, `setSelection`, `setTextSelection`,
|
|
|
|
and `getNodesByRange`. Thanks @meirotstein.
|
|
|
|
|
|
|
|
|
2018-03-22 02:04:45 +08:00
|
|
|
## 2018-03-21, version 5.14.1
|
2018-03-06 02:24:36 +08:00
|
|
|
|
|
|
|
- Fixed absolute path of css image `jsoneditor-icons.svg`, which could.
|
|
|
|
give issues with webpack plugin "file-loader". Thanks @landru29.
|
|
|
|
|
|
|
|
|
2018-02-26 02:59:49 +08:00
|
|
|
## 2018-02-25, version 5.14.0
|
2018-02-13 04:19:52 +08:00
|
|
|
|
2018-02-26 02:54:59 +08:00
|
|
|
- Implemented support for translations. Thanks @mariohmol.
|
2018-02-13 04:19:52 +08:00
|
|
|
- Fixed a bug sometimes occurring when dragging items from array to
|
|
|
|
object, see #509. Thanks @43081j.
|
|
|
|
- Fixed autocomplete not accepting returned `null` values, see #512.
|
|
|
|
Thanks @43081j.
|
2018-02-26 00:32:42 +08:00
|
|
|
- Fixed memory inefficiency when working with large JSON Schema's
|
|
|
|
generating many errors. Thanks @43081j.
|
2018-02-13 04:19:52 +08:00
|
|
|
|
|
|
|
|
2018-02-07 19:16:00 +08:00
|
|
|
## 2018-02-07, version 5.13.3
|
|
|
|
|
|
|
|
- Fixed a positioning issue with JSON Schema errors in text/code mode.
|
|
|
|
|
|
|
|
|
2018-01-19 03:48:31 +08:00
|
|
|
## 2018-01-18, version 5.13.2
|
2018-01-09 03:42:31 +08:00
|
|
|
|
|
|
|
- Fixed view mode opening links in a new tab instead of current tab
|
|
|
|
when Ctrl key is not down. Thanks @LEW21.
|
2018-01-19 03:13:21 +08:00
|
|
|
- Fixed #502: code editor not showing a monospaced font some cases.
|
2018-01-09 03:42:31 +08:00
|
|
|
|
|
|
|
|
2018-01-19 03:48:31 +08:00
|
|
|
## 2017-12-28, version 5.13.1
|
2017-12-28 23:18:46 +08:00
|
|
|
|
|
|
|
- Fixed another occurrence of #494: properties not escaped in the
|
|
|
|
navigation bar.
|
|
|
|
|
|
|
|
|
2017-12-28 22:53:24 +08:00
|
|
|
## 2017-12-28, version 5.13.0
|
2017-12-24 20:33:13 +08:00
|
|
|
|
2017-12-24 23:53:06 +08:00
|
|
|
- Implemented cursor position in text mode. Thanks @meirotstein.
|
2017-12-24 20:33:13 +08:00
|
|
|
- Fixed #494: properties not escaped in the navigation bar.
|
|
|
|
Thanks @meirotstein.
|
|
|
|
|
|
|
|
|
2017-12-19 03:42:48 +08:00
|
|
|
## 2017-12-18, version 5.12.0
|
2017-12-10 22:05:58 +08:00
|
|
|
|
|
|
|
- Implemented #482: Include `caseSensitive` option for autocomplete.
|
|
|
|
Thanks @israelito3000.
|
2017-12-19 03:42:48 +08:00
|
|
|
- Upgraded dependencies
|
|
|
|
- `ajv@5.5.2`
|
2017-12-10 22:05:58 +08:00
|
|
|
|
|
|
|
|
2017-11-22 23:20:51 +08:00
|
|
|
## 2017-11-22, version 5.11.0
|
2017-11-22 22:54:40 +08:00
|
|
|
|
2017-11-22 23:20:51 +08:00
|
|
|
- Upgraded dependencies
|
|
|
|
- `ajv@5.4.0`
|
|
|
|
- `brace@0.11.0`
|
2017-11-22 22:54:40 +08:00
|
|
|
- Fixed dropdown for JSON Schema enums when defined inside pattern
|
|
|
|
properties. Thanks @alquist.
|
2017-11-22 23:04:38 +08:00
|
|
|
- Fixed code containing a non UTF-8 character. Thanks @alshakero.
|
2017-11-22 22:54:40 +08:00
|
|
|
|
|
|
|
|
2017-11-15 18:51:05 +08:00
|
|
|
## 2017-11-15, version 5.10.1
|
|
|
|
|
|
|
|
- Some styling tweaks in the navigation bar and status bar.
|
|
|
|
- Don't display status bar in `text` mode (which doesn't yet support
|
|
|
|
row and col counts).
|
|
|
|
|
|
|
|
|
2017-11-15 18:00:02 +08:00
|
|
|
## 2017-11-15, version 5.10.0
|
2017-09-30 20:12:45 +08:00
|
|
|
|
|
|
|
- Implemented a navigation bar showing the path. Thanks @meirotstein.
|
|
|
|
- Implemented a status bar showing cursor location.
|
|
|
|
Thanks @meirotstein.
|
2017-11-15 04:18:49 +08:00
|
|
|
- Implemented repairing JSON objects containing left and right single
|
2017-11-15 04:40:08 +08:00
|
|
|
and double quotes (which you get when typing a JSON object in Word)
|
|
|
|
in `text` and `code` mode.
|
2017-11-15 04:59:23 +08:00
|
|
|
- Implemented repairing JSON objects containing special white space
|
|
|
|
characters like non-breaking space.
|
2017-11-15 18:00:02 +08:00
|
|
|
- Upgraded dependency `ajv` to version `5.3.0`.
|
2017-11-15 17:52:45 +08:00
|
|
|
- Fixed #481: A polyfill required `DocumentType` which is not defined
|
|
|
|
in all environments.
|
2017-09-30 20:12:45 +08:00
|
|
|
|
|
|
|
|
2017-09-16 22:50:07 +08:00
|
|
|
## 2017-09-16, version 5.9.6
|
2017-09-13 03:59:46 +08:00
|
|
|
|
2017-09-16 22:50:07 +08:00
|
|
|
- Fixed displaying a dropdown for enums inside composite schemas.
|
2017-09-13 03:59:46 +08:00
|
|
|
Thanks @hachichaud.
|
2017-09-16 22:19:19 +08:00
|
|
|
- Fixed #461: Urls opening twice on Firefox and Safari.
|
2017-09-13 03:59:46 +08:00
|
|
|
|
|
|
|
|
2017-08-26 19:15:19 +08:00
|
|
|
## 2017-08-26, version 5.9.5
|
|
|
|
|
|
|
|
- Fixed a regression introduced in `v5.9.4`: after using the context
|
|
|
|
menu once, it was not possible to set focus to an other input field
|
|
|
|
anymore.
|
|
|
|
|
|
|
|
|
2017-08-21 02:40:08 +08:00
|
|
|
## 2017-08-20, version 5.9.4
|
|
|
|
|
|
|
|
- Fixed #447: context menus not working in Shadow DOM. Thanks @tomalec.
|
|
|
|
|
|
|
|
|
2017-07-24 17:56:21 +08:00
|
|
|
## 2017-07-24, version 5.9.3
|
2017-07-24 16:07:00 +08:00
|
|
|
|
2017-07-24 17:56:21 +08:00
|
|
|
- Fixed broken multi-selection (regression).
|
2017-07-24 16:07:00 +08:00
|
|
|
|
|
|
|
|
2017-07-14 03:02:38 +08:00
|
|
|
## 2017-07-13, version 5.9.2
|
|
|
|
|
|
|
|
- Fixed a bug in the JSON sanitizer.
|
|
|
|
|
|
|
|
|
2017-07-14 02:19:01 +08:00
|
|
|
## 2017-07-13, version 5.9.1
|
|
|
|
|
|
|
|
- `setText` method of tree mode now automatically sanitizes JSON input
|
|
|
|
when needed.
|
|
|
|
- Fixed #430: automatically fix unescaped control characters in
|
|
|
|
JSON input.
|
|
|
|
|
|
|
|
|
2017-07-11 02:05:13 +08:00
|
|
|
## 2017-07-10, version 5.9.0
|
2017-07-11 01:58:34 +08:00
|
|
|
|
2017-07-11 02:05:13 +08:00
|
|
|
- Implemented support for JSON schema references `$ref`, see #302.
|
|
|
|
Thanks @meirotstein.
|
2017-07-11 01:58:34 +08:00
|
|
|
- Fixed #429: JSONEditor no longer accepting an empty array for option
|
|
|
|
`modes`. Thanks @trystan2k.
|
|
|
|
- Fixed JSONEditor picking the first entry of `modes` as initial mode
|
|
|
|
instead of option `mode`.
|
|
|
|
|
|
|
|
|
2017-07-08 17:51:48 +08:00
|
|
|
## 2017-07-08, version 5.8.2
|
2017-07-06 04:12:37 +08:00
|
|
|
|
|
|
|
- Select first option from `modes` instead of `tree` when `mode` is not
|
|
|
|
configured. Thanks @bag-man.
|
2017-07-08 17:51:48 +08:00
|
|
|
- Some fixes and improvements in the API of autocompletion.
|
|
|
|
Thanks @israelito3000.
|
2017-07-06 04:12:37 +08:00
|
|
|
|
|
|
|
|
2017-07-04 01:23:32 +08:00
|
|
|
## 2017-07-03, version 5.8.1
|
|
|
|
|
|
|
|
- Fixed broken minified bundles in folder `dist` (again...).
|
|
|
|
|
|
|
|
|
2017-07-02 20:32:00 +08:00
|
|
|
## 2017-07-02, version 5.8.0
|
2017-07-02 19:45:06 +08:00
|
|
|
|
|
|
|
- Implemented support for autocompletion. Thanks @israelito3000.
|
|
|
|
|
|
|
|
|
2017-06-27 15:15:51 +08:00
|
|
|
## 2017-06-27, version 5.7.2
|
|
|
|
|
|
|
|
- Fixed broken minified bundles in folder `dist`
|
|
|
|
(reverted to `uglify-js@2.8.22` for now).
|
|
|
|
|
|
|
|
|
2017-06-25 20:53:28 +08:00
|
|
|
## 2017-06-25, version 5.7.1
|
|
|
|
|
|
|
|
- Upgraded dependency `ajv` to version `5.2.0`. Resolves warnings in
|
|
|
|
Webpack build processes.
|
|
|
|
|
|
|
|
|
2017-05-26 22:17:34 +08:00
|
|
|
## 2017-05-26, version 5.7.0
|
2017-05-07 21:32:31 +08:00
|
|
|
|
|
|
|
- Implemented support for template items. Thanks @israelito3000.
|
2017-06-18 20:19:36 +08:00
|
|
|
- Upgraded dependencies to the latest versions. Thanks @andreykaipov.
|
2017-05-07 21:32:31 +08:00
|
|
|
|
|
|
|
|
2017-04-15 18:28:46 +08:00
|
|
|
## 2017-04-15, version 5.6.0
|
|
|
|
|
|
|
|
- Implemented readonly option for modes `text` and `code.`
|
|
|
|
Thanks @walkerrandolphsmith.
|
|
|
|
- Upgraded dependencies (`brance` and `ajv`) to the latest versions.
|
|
|
|
- Fixed not being able to move focus to enum select box when clicking
|
|
|
|
a JSON Schema warning.
|
|
|
|
- Fixed #309: already loaded version of Ace being overwritten by the
|
|
|
|
embedded version of JSONEditor.
|
2017-02-27 03:40:12 +08:00
|
|
|
- Fixed #368: Mode selection drop down not fully visible on small screen.
|
2017-04-15 18:28:46 +08:00
|
|
|
- Fixed #253: Optimize the input experience of Chinese IME.
|
|
|
|
Thanks @chinesedfan.
|
2017-01-07 04:46:23 +08:00
|
|
|
|
|
|
|
|
2017-01-07 03:58:19 +08:00
|
|
|
## 2017-01-06, version 5.5.11
|
2017-01-04 03:23:03 +08:00
|
|
|
|
|
|
|
- Fixed embedded version of jsoneditor ace theme not being loaded in
|
|
|
|
minimalist version (see #55).
|
2017-01-04 03:43:10 +08:00
|
|
|
- Fixed a styling issue in the SearchBox of Ace editor (mode `code`).
|
2017-01-04 03:43:43 +08:00
|
|
|
- Fixed #347: CSS more robust against global settings of div position.
|
2017-01-04 03:23:03 +08:00
|
|
|
- Added docs and example on how to use a custom version of Ace editor.
|
|
|
|
|
|
|
|
|
2016-11-03 04:03:18 +08:00
|
|
|
## 2016-11-02, version 5.5.10
|
2016-11-02 04:00:21 +08:00
|
|
|
|
|
|
|
- Fixed #85: pressing enter in an input in a form containing a JSONEditor too
|
|
|
|
breaks submitting the form.
|
|
|
|
|
2016-11-03 04:03:18 +08:00
|
|
|
|
2016-10-18 03:16:01 +08:00
|
|
|
## 2016-10-17, version 5.5.9
|
2016-10-15 16:49:44 +08:00
|
|
|
|
|
|
|
- Fixed #329: Editor showing duplicate key warnings for keys defined on the
|
|
|
|
Object prototype, like `toString` and `watch`.
|
|
|
|
|
|
|
|
|
2016-09-28 03:07:31 +08:00
|
|
|
## 2016-09-27, version 5.5.8
|
2016-09-25 01:23:31 +08:00
|
|
|
|
|
|
|
- Fixed #314: JSON schema validation throwing an error "Unexpected token ' in
|
|
|
|
JSON at position 0" in specific cases. Thanks @apostrophest
|
|
|
|
|
|
|
|
|
2016-08-18 03:29:14 +08:00
|
|
|
## 2016-08-17, version 5.5.7
|
2016-07-06 02:09:34 +08:00
|
|
|
|
|
|
|
- Fixed #308: wrong positioning of label "empty array" when `onEditable`
|
|
|
|
returns false.
|
|
|
|
|
|
|
|
|
2016-06-16 01:35:28 +08:00
|
|
|
## 2016-06-15, version 5.5.6
|
2016-06-07 03:11:31 +08:00
|
|
|
|
2016-06-07 03:25:45 +08:00
|
|
|
- Fixed #303: editor contents collapsed when the parent div of the JSONEditor
|
|
|
|
has no height set.
|
2016-06-07 03:11:31 +08:00
|
|
|
- Improved example 04_load_and_save.html. Thanks @RDCH106.
|
|
|
|
|
|
|
|
|
2016-05-25 01:54:56 +08:00
|
|
|
## 2016-05-24, version 5.5.5
|
2016-05-24 02:35:24 +08:00
|
|
|
|
2016-05-24 03:27:34 +08:00
|
|
|
- Fixed #298: Switch mode button disappears when switching from text/code to
|
|
|
|
tree/form/view mode when the JSON contained errors.
|
2016-05-24 02:35:24 +08:00
|
|
|
- Fixed enum drop downs not working when the JSONEditor is configured with
|
|
|
|
a name.
|
|
|
|
|
|
|
|
|
2016-05-23 02:14:50 +08:00
|
|
|
## 2016-05-22, version 5.5.4
|
|
|
|
|
|
|
|
- Fixed #285: an issue with the enum drop down when having defined multiple
|
|
|
|
enums in a JSON schema.
|
2016-05-23 02:19:19 +08:00
|
|
|
- Fixed a (harmless) error in the console when clicking right from an enum
|
|
|
|
drop down.
|
2016-05-23 02:14:50 +08:00
|
|
|
|
|
|
|
|
2016-05-22 21:12:28 +08:00
|
|
|
## 2016-05-22, version 5.5.3
|
2016-05-22 20:59:37 +08:00
|
|
|
|
|
|
|
- Fixed #299: reverted the fix of #268 by trimming text in fields and values.
|
|
|
|
|
|
|
|
|
2016-04-19 02:44:00 +08:00
|
|
|
## 2016-04-18, version 5.5.2
|
2016-04-19 02:41:07 +08:00
|
|
|
|
|
|
|
- Fixed #294: Fields reset their caret location on every key press in Firefox.
|
|
|
|
|
|
|
|
|
2016-04-16 18:40:29 +08:00
|
|
|
## 2016-04-16, version 5.5.1
|
2016-04-16 18:36:14 +08:00
|
|
|
|
|
|
|
- Fixed enum select boxes not being rendered/removed when setting or removing
|
|
|
|
a JSON schema via `editor.setSchema(schema)`.
|
|
|
|
|
|
|
|
|
2016-04-16 16:43:43 +08:00
|
|
|
## 2016-04-16, version 5.5.0
|
2016-04-12 02:18:02 +08:00
|
|
|
|
2016-04-12 03:42:38 +08:00
|
|
|
- Implemented a dropdown for values having an JSON Schema enum.
|
|
|
|
Thanks @tdakanalis.
|
|
|
|
- Fixed #291, #292: Some CSS broken when using the editor in combination with
|
|
|
|
bootstrap. Thanks @nucleartide.
|
2016-04-12 02:18:02 +08:00
|
|
|
|
2016-04-10 03:00:33 +08:00
|
|
|
## 2016-04-09, version 5.4.0
|
2016-04-10 02:06:29 +08:00
|
|
|
|
2016-04-10 03:00:33 +08:00
|
|
|
- Upgraded all dependencies (`ajv`, `brace`, etc).
|
2016-04-10 02:55:07 +08:00
|
|
|
- Fixed #289: Some CSS breaking when using the editor in combination with
|
|
|
|
materialize.css or bootstrap.
|
2016-04-10 02:11:41 +08:00
|
|
|
- Fixed #290: `setText()` not working in mode text or code.
|
2016-04-10 02:06:29 +08:00
|
|
|
|
|
|
|
|
2016-04-06 15:25:05 +08:00
|
|
|
## 2016-04-06, version 5.3.0
|
2016-03-24 15:43:26 +08:00
|
|
|
|
2016-04-05 03:51:39 +08:00
|
|
|
- Implemented support for sorting object keys naturally. Thanks @edufelipe.
|
2016-04-06 15:15:38 +08:00
|
|
|
- Sorting object keys or array items via the context menu is now also naturally
|
|
|
|
sorted.
|
2016-03-24 15:43:26 +08:00
|
|
|
- Fixed #283: improved JSON schema error message in case of no
|
|
|
|
additionalProperties.
|
2016-04-05 04:13:19 +08:00
|
|
|
- Fixed #286: Calling `get()` or `getText()` caused the editor to lose focus.
|
|
|
|
A regression introduced in v5.2.0.
|
2016-03-24 15:43:26 +08:00
|
|
|
|
2016-04-06 15:15:38 +08:00
|
|
|
|
2016-03-21 01:19:13 +08:00
|
|
|
## 2016-03-20, version 5.2.0
|
2016-03-09 03:09:43 +08:00
|
|
|
|
2016-03-20 21:54:47 +08:00
|
|
|
- Implemented method `editor.destroy()` to properly cleanup the editor (#278).
|
2016-03-09 03:09:43 +08:00
|
|
|
- Fixed #268: JSONEditor now trims text in fields and values.
|
2016-03-20 22:55:38 +08:00
|
|
|
- Fixed #280: Some CSS issues when used in combination with bootstrap.
|
2016-03-09 03:09:43 +08:00
|
|
|
|
|
|
|
|
2016-02-16 03:35:19 +08:00
|
|
|
## 2016-02-15, version 5.1.5
|
|
|
|
|
|
|
|
- Fixed #272: Checkbox for boolean values visible in view mode.
|
|
|
|
|
|
|
|
|
2016-02-13 18:47:10 +08:00
|
|
|
## 2016-02-13, version 5.1.4
|
2016-02-09 17:05:11 +08:00
|
|
|
|
|
|
|
- Fixed broken example 04_load_and_save.html. See #265.
|
|
|
|
|
|
|
|
|
2016-02-03 15:14:46 +08:00
|
|
|
## 2016-02-03, version 5.1.3
|
2016-02-02 03:39:50 +08:00
|
|
|
|
|
|
|
- Fixed #264: Clicking items in the context menu not working on Firefox.
|
|
|
|
|
|
|
|
|
2016-01-22 03:01:49 +08:00
|
|
|
## 2016-01-21, version 5.1.2
|
2016-01-16 21:49:04 +08:00
|
|
|
|
|
|
|
- Improvements in sanitizing invalid JSON.
|
2016-01-22 03:01:49 +08:00
|
|
|
- Updated dependencies to the latest version.
|
2016-01-17 22:24:46 +08:00
|
|
|
- Fixed clicking format/compact not triggering an onChange event.
|
2016-01-20 04:52:52 +08:00
|
|
|
- Fixed #259: when having a JSONEditor inside an HTML form, clicking an entry
|
|
|
|
in the context menu did submit the form.
|
2016-01-22 03:01:49 +08:00
|
|
|
- Fixed browserify build, see #260. Thanks @onip.
|
2016-01-16 21:49:04 +08:00
|
|
|
|
|
|
|
|
2016-01-16 17:55:45 +08:00
|
|
|
## 2016-01-16, version 5.1.1
|
2016-01-16 02:41:51 +08:00
|
|
|
|
2016-01-16 17:46:43 +08:00
|
|
|
- Fixed #257: Improving error messages for enum errors failed when the
|
|
|
|
schema contains references.
|
2016-01-16 02:41:51 +08:00
|
|
|
- Fixed #255: Removed wrong console warning about the option `search`.
|
2016-01-16 03:45:53 +08:00
|
|
|
- Fixed error thrown when option `search` is false (see #256). Thanks @MiroHibler.
|
2016-01-16 02:41:51 +08:00
|
|
|
|
|
|
|
|
2016-01-15 04:26:39 +08:00
|
|
|
## 2016-01-14, version 5.1.0
|
2016-01-12 18:38:38 +08:00
|
|
|
|
2016-01-15 04:26:39 +08:00
|
|
|
- Implemented support for JSON schema validation, powered by `ajv`.
|
2016-01-12 23:28:40 +08:00
|
|
|
- Implemented #197: display an error in case of duplicate keys in an object.
|
2016-01-12 22:18:11 +08:00
|
|
|
- Implemented #183: display a checkbox left from boolean values, so you can
|
|
|
|
easily switch between true/false.
|
2016-01-13 01:11:56 +08:00
|
|
|
- Implemented debouncing of keyboard input, resulting in much less history
|
|
|
|
actions whilst typing.
|
2016-01-12 18:38:38 +08:00
|
|
|
- Added a minimalist bundle to the `dist` folder, excluding `ace` and `ajv`.
|
2016-01-13 00:25:33 +08:00
|
|
|
- Fixed #222: editor throwing `onChange` events when switching mode.
|
2016-01-12 18:38:38 +08:00
|
|
|
- Fixed an error throw when switching to mode "code" via the menu.
|
2016-01-12 20:26:12 +08:00
|
|
|
- Fixed interfering shortcut keys: changed quick keys to select multiple fields
|
|
|
|
from `Shift+Arrow Up/Down` to `Ctrl+Shift+Arrow Up/Down`.
|
2016-01-12 18:38:38 +08:00
|
|
|
|
|
|
|
|
2016-01-13 01:11:56 +08:00
|
|
|
|
2016-01-01 00:03:49 +08:00
|
|
|
## 2015-12-31, version 5.0.1
|
2015-12-31 21:22:27 +08:00
|
|
|
|
2015-12-31 22:04:32 +08:00
|
|
|
- Fixed a bug in positioning of the context menu for multiple selected nodes.
|
2015-12-31 21:22:27 +08:00
|
|
|
- Fixed #130: option `onEditable` not available in mode `form`.
|
2015-12-31 21:24:13 +08:00
|
|
|
- Fixed #202: removed `version` field from bower.json.
|
2015-12-31 21:22:27 +08:00
|
|
|
|
|
|
|
|
2015-12-31 20:38:43 +08:00
|
|
|
## 2015-12-31, version 5.0.0
|
2015-11-08 02:20:19 +08:00
|
|
|
|
2015-12-31 20:46:34 +08:00
|
|
|
- New design.
|
2015-12-31 00:38:05 +08:00
|
|
|
- Implemented selection of multiple nodes, allowing to move/duplicate/remove
|
2015-12-31 05:20:15 +08:00
|
|
|
multiple nodes at once (See #106).
|
2015-12-25 03:20:50 +08:00
|
|
|
- Implemented a new option `escapeUnicode`, which will show the hexadecimal
|
|
|
|
unicode instead of the character itself. (See #93 and #230).
|
2015-12-25 18:38:41 +08:00
|
|
|
- Implemented method `getMode`.
|
|
|
|
- Implemented option `onModeChange(oldMode, newMode)`.
|
2015-12-25 21:38:14 +08:00
|
|
|
- Implemented #203: Objects and arrays in mode `form` and `view` are now
|
|
|
|
expandable by clicking the field names too.
|
|
|
|
- Replaced the PNG icon images with SVG. Thanks @1j01.
|
2015-12-28 04:43:18 +08:00
|
|
|
- Renamed all CSS classes They now have prefixes `.jsoneditor-` to prevent
|
|
|
|
name collisions with css frameworks like bootstrap.
|
2015-12-25 18:38:41 +08:00
|
|
|
- Renamed options `change`, `editable`, `error` to respectively `onChange`,
|
|
|
|
`onEditable`, and `onError`. Old options are still working and give a
|
|
|
|
deprecation warning.
|
2015-12-28 00:36:59 +08:00
|
|
|
- Colors of values are now customizable using CSS.
|
2015-12-25 18:38:41 +08:00
|
|
|
- JSONEditor new throws a warning in the console in case of unknown options.
|
2015-12-25 17:45:28 +08:00
|
|
|
- Fixed #93 and #227: html codes like `&` not escaped.
|
2015-12-21 20:42:27 +08:00
|
|
|
- Fixed #149: Memory leak when switching mode from/to `code` mode, web worker
|
|
|
|
of Ace editor wasn't cleaned up.
|
2015-11-08 02:20:19 +08:00
|
|
|
- Fixed #234: Remove dependency on a fork of the `jsonlint` project on github.
|
2015-12-21 20:24:37 +08:00
|
|
|
- Fixed: disabled `Ctrl+L` quick key to go to a line, instead use the default
|
|
|
|
browser behavior of selecting the address bar.
|
2015-12-25 17:45:28 +08:00
|
|
|
- Fixed #38: clear search results after a new JSON object is set.
|
2015-12-28 19:41:12 +08:00
|
|
|
- Fixed #242: row stays highlighted when dragging outside editor.
|
2015-12-30 23:10:29 +08:00
|
|
|
- Fixed quick-keys Shift+Alt+Arrows not registering actions in history.
|
2015-12-31 20:31:03 +08:00
|
|
|
- Fixed #104: context menus are now positioned relative to the elements of the
|
|
|
|
editor instead of an absolute position in the window.
|
2015-11-08 02:20:19 +08:00
|
|
|
|
|
|
|
|
2015-06-13 17:16:31 +08:00
|
|
|
## 2015-06-13, version 4.2.1
|
|
|
|
|
|
|
|
- Fixed #161: Cannot select text in Ace editor on systems using Chinese fonts.
|
|
|
|
|
|
|
|
|
2015-05-15 03:29:35 +08:00
|
|
|
## 2015-05-14, version 4.2.0
|
2015-03-18 03:25:50 +08:00
|
|
|
|
2015-03-19 04:45:08 +08:00
|
|
|
- Implemented option `theme`, allowing to set a custom theme for the Ace
|
|
|
|
editor. Thanks @nfvs.
|
2015-05-15 03:06:03 +08:00
|
|
|
- Implemented option `ace`, which allows to pass a custom instance of the Ace
|
|
|
|
instead of the embedded version.
|
2015-05-07 17:45:12 +08:00
|
|
|
- Fixed #186: binding issue to `jsonlint.parse`.
|
2015-05-15 03:18:14 +08:00
|
|
|
- Fixed `editor.get()` manipulating the code when containing an error.
|
2015-03-15 22:31:50 +08:00
|
|
|
|
2015-05-15 03:29:35 +08:00
|
|
|
|
2015-03-15 22:31:50 +08:00
|
|
|
## 2015-03-15, version 4.1.1
|
|
|
|
|
|
|
|
- Added missing file `index.js` to the bower package.
|
2015-11-08 02:20:19 +08:00
|
|
|
|
2015-03-15 22:31:50 +08:00
|
|
|
|
2015-03-15 22:11:36 +08:00
|
|
|
## 2015-03-15, version 4.1.0
|
2015-03-03 03:51:03 +08:00
|
|
|
|
|
|
|
- Implemented a function `focus()` for modes tree, view, and form.
|
2015-03-15 22:11:36 +08:00
|
|
|
- Added `./src` folder to the distributed package, needed for usage via
|
|
|
|
node.js/browserify.
|
2015-03-03 03:51:03 +08:00
|
|
|
|
|
|
|
|
2015-03-01 04:17:03 +08:00
|
|
|
## 2015-02-28, version 4.0.0
|
2015-02-28 04:54:04 +08:00
|
|
|
|
|
|
|
- Ace editor and jsonlint are now packed with jsoneditor.js by default.
|
2015-03-01 04:17:03 +08:00
|
|
|
This makes the library about 4 times larger. If Ace is not needed, a custom
|
|
|
|
build of the library can be done.
|
2015-03-01 03:47:23 +08:00
|
|
|
- The distribution files are now moved from the root to the `/dist` folder.
|
2015-02-28 04:54:04 +08:00
|
|
|
- Reworked the source code to CommonJS modules, using `brace` to load Ace.
|
2015-02-28 05:53:45 +08:00
|
|
|
- JSONP is now automatically stripped from JSON. Thanks @yanivefraim.
|
2015-03-01 03:47:23 +08:00
|
|
|
- Fixed bugs in the JSON sanitizer, no longer manipulating JSON-like structures
|
|
|
|
inside strings.
|
2015-02-28 04:54:04 +08:00
|
|
|
|
|
|
|
|
2015-01-25 22:11:56 +08:00
|
|
|
## 2015-01-25, version 3.2.0
|
2014-09-13 16:04:55 +08:00
|
|
|
|
2015-01-23 17:39:12 +08:00
|
|
|
- Implemented shortcut keys `Ctrl+\` to format and `Ctrl+Shift+\` to compact
|
|
|
|
JSON when in mode `text` or `code`.
|
2014-09-13 16:04:55 +08:00
|
|
|
- Before an error is thrown because of invalid text, the editor first tries to
|
|
|
|
sanitize the text (replace JavaScript notation with JSON notation), and only
|
|
|
|
after that throws the error.
|
2015-01-23 17:39:12 +08:00
|
|
|
- Fixed Node.path() not working for a JSON Object `""`. Thanks @tomalec.
|
|
|
|
- Minor styling improvements.
|
2015-01-25 22:05:07 +08:00
|
|
|
- Fixed configured indentation not being applied to Ace editor.
|
2014-09-13 16:04:55 +08:00
|
|
|
|
|
|
|
|
2014-09-03 17:54:08 +08:00
|
|
|
## 2014-09-03, version 3.1.2
|
2014-08-01 15:06:54 +08:00
|
|
|
|
2014-08-01 15:33:00 +08:00
|
|
|
- Some fixes/improvements in `parseJS` (to parse a JSON object from a JavaScript
|
|
|
|
object).
|
2014-08-29 03:20:14 +08:00
|
|
|
- Fixed the lack of a semi colon at end of the bundled files.
|
2014-08-01 15:06:54 +08:00
|
|
|
|
|
|
|
|
2014-08-01 14:49:06 +08:00
|
|
|
## 2014-08-01, version 3.1.1
|
|
|
|
|
|
|
|
- Replaced parsing of JavaScript objects into JSON from `eval` to a dedicated
|
|
|
|
`parseJS` function.
|
|
|
|
|
|
|
|
|
2014-07-29 03:11:55 +08:00
|
|
|
## 2014-07-28, version 3.1.0
|
2014-07-26 21:01:53 +08:00
|
|
|
|
|
|
|
- JSONEditor now accepts JavaScript objects as input, and can turn them into
|
|
|
|
valid JSON. For example `{a:2,b:'str'}` can be turned into `{"a":2,"b":"str"}`.
|
2014-07-28 14:45:31 +08:00
|
|
|
- Implemented an option `editable`, a callback function, which allows to set
|
|
|
|
individual nodes (their field and/or value) editable or read-only.
|
2014-07-29 02:56:19 +08:00
|
|
|
- Fixed: shortcut keys to manipulate the nodes are now disabled when mode
|
|
|
|
is `form` or `view`.
|
2014-07-28 14:45:31 +08:00
|
|
|
|
2014-07-26 21:01:53 +08:00
|
|
|
|
2014-06-01 03:01:30 +08:00
|
|
|
## 2014-05-31, version 3.0.0
|
2014-05-30 00:35:39 +08:00
|
|
|
|
2014-06-01 03:01:30 +08:00
|
|
|
- Large code reorganization.
|
2014-05-30 04:13:37 +08:00
|
|
|
- Editor must be loaded as `new JSONEditor(...)` instead of
|
|
|
|
`new jsoneditor.JSONEditor(...)`.
|
2014-06-01 03:10:53 +08:00
|
|
|
- Css is not automatically loaded anymore when using AMD.
|
2014-06-01 03:01:30 +08:00
|
|
|
- Web application has been moved to another project.
|
2014-05-30 00:35:39 +08:00
|
|
|
|
|
|
|
|
2014-01-04 00:15:53 +08:00
|
|
|
## 2014-01-03, version 2.3.6
|
|
|
|
|
|
|
|
- Fixed positioning issue of the action menu.
|
|
|
|
|
|
|
|
|
2013-12-10 03:36:24 +08:00
|
|
|
## 2013-12-09, version 2.3.5
|
2013-12-07 22:30:11 +08:00
|
|
|
|
|
|
|
- Fixed a positioning issue of the action menu again.
|
2013-12-07 22:51:23 +08:00
|
|
|
- Fixed an issue with non-breaking space characters.
|
2013-12-07 22:30:11 +08:00
|
|
|
|
|
|
|
|
2013-11-20 02:26:33 +08:00
|
|
|
## 2013-11-19, version 2.3.4
|
2013-11-15 22:42:11 +08:00
|
|
|
|
|
|
|
- Dropped support for IE8, cleaned up legacy code for old browsers.
|
2013-11-15 23:03:52 +08:00
|
|
|
- Disabled saving files using HTML5 on Firefox to prevent a Firefox bug
|
|
|
|
blocking cut/paste functionality in editable divs after using a.download.
|
2013-11-15 22:42:11 +08:00
|
|
|
|
|
|
|
|
2013-10-17 17:18:29 +08:00
|
|
|
## 2013-10-17, version 2.3.3
|
2013-10-17 16:33:28 +08:00
|
|
|
|
2013-10-17 17:07:46 +08:00
|
|
|
- Added support for search (Ctrl+F) in the code editor Ace.
|
2013-10-17 16:33:28 +08:00
|
|
|
- Fixed a positioning issue of the action menu when in bootstrap modal.
|
|
|
|
(thanks tsash).
|
|
|
|
|
|
|
|
|
2013-09-26 23:18:16 +08:00
|
|
|
## 2013-09-26, version 2.3.2
|
|
|
|
|
|
|
|
- The web application is now available offline. Thanks ayanamist.
|
|
|
|
|
|
|
|
|
2013-09-25 03:55:24 +08:00
|
|
|
## 2013-09-24, version 2.3.1
|
2013-09-17 04:07:52 +08:00
|
|
|
|
|
|
|
- Fixed non-working action menu when in bootstrap modal (z-index issue).
|
2013-09-25 03:55:24 +08:00
|
|
|
- Fixed missing main field in package.json.
|
2013-09-17 04:07:52 +08:00
|
|
|
|
|
|
|
|
2013-09-14 03:50:58 +08:00
|
|
|
## 2013-09-13, version 2.3.0
|
2013-08-28 04:50:20 +08:00
|
|
|
|
|
|
|
- Implemented an option `modes`, which creates a menu in the editor
|
|
|
|
where the user can switch between the selected editor modes.
|
2013-08-29 02:24:12 +08:00
|
|
|
- Fixed wrong title on fields with value `null`.
|
2013-09-13 03:48:47 +08:00
|
|
|
- Fixed buggy loading of files in the web application.
|
2013-08-28 04:50:20 +08:00
|
|
|
|
|
|
|
|
2013-08-02 03:04:19 +08:00
|
|
|
## 2013-08-01, version 2.2.2
|
2013-07-09 02:29:45 +08:00
|
|
|
|
|
|
|
- Fixed non working option `indentation`.
|
2013-07-31 04:13:26 +08:00
|
|
|
- Fixed css not being loaded with AMD in case of multiple scripts.
|
2013-08-01 03:42:09 +08:00
|
|
|
- Fixed a security error in the server side file retriever script of
|
|
|
|
the web application.
|
2013-07-09 02:29:45 +08:00
|
|
|
|
|
|
|
|
2013-05-28 02:45:47 +08:00
|
|
|
## 2013-05-27, version 2.2.1
|
2013-05-26 04:18:16 +08:00
|
|
|
|
2013-05-28 02:45:47 +08:00
|
|
|
- Fixed undefined options in TextEditor. Thanks Wiseon3.
|
|
|
|
- Fixed non-working save function on Firefox 21. Thanks youxiachai.
|
2013-05-26 04:18:16 +08:00
|
|
|
|
|
|
|
|
2013-05-04 18:42:54 +08:00
|
|
|
## 2013-05-04, version 2.2.0
|
2013-04-30 19:23:06 +08:00
|
|
|
|
|
|
|
- Unified JSONFormatter and JSONEditor in one editor with a switchable mode.
|
2013-05-03 03:42:39 +08:00
|
|
|
- Urls are navigable now.
|
2013-05-04 17:26:40 +08:00
|
|
|
- Improved error and log handling.
|
2013-05-04 18:42:54 +08:00
|
|
|
- Added jsoneditor to package managers npm and bower.
|
2013-04-30 19:23:06 +08:00
|
|
|
|
2013-02-09 23:53:37 +08:00
|
|
|
|
2013-03-12 03:29:46 +08:00
|
|
|
## 2013-03-11, version 2.1.1
|
|
|
|
|
|
|
|
- Fixed an issue with console outputs on IE8, causing the editor not to work
|
|
|
|
at all on IE8.
|
|
|
|
|
|
|
|
|
2013-03-09 05:05:57 +08:00
|
|
|
## 2013-03-08, version 2.1.0
|
2013-03-05 05:14:19 +08:00
|
|
|
|
2013-03-08 05:35:06 +08:00
|
|
|
- Replaced the plain text editor with code editor Ace, which brings in syntax
|
|
|
|
highlighting and code inspection.
|
|
|
|
- Improved the splitter between the two panels. Panels can be hided.
|
2013-03-05 05:14:19 +08:00
|
|
|
|
|
|
|
|
2013-02-27 03:38:20 +08:00
|
|
|
## 2013-02-26, version 2.0.2
|
|
|
|
|
|
|
|
- Fixed: dragarea of the root node was wrongly visible is removed now.
|
|
|
|
|
|
|
|
|
2013-02-21 15:54:25 +08:00
|
|
|
## 2013-02-21, version 2.0.1
|
2013-02-20 15:04:18 +08:00
|
|
|
|
|
|
|
- Fixed undefined variable in the redo method.
|
|
|
|
- Removed the "hide ads" button. Not allowed by Google AdSense, sorry.
|
|
|
|
|
|
|
|
|
2013-02-09 23:53:37 +08:00
|
|
|
## 2013-02-09, version 2.0.0
|
|
|
|
|
|
|
|
- Implemented a context menu, replacing the action buttons on the right side of
|
|
|
|
the editor and the inline action buttons. This gives a cleaner interface,
|
|
|
|
more space for the actual contents, and more room for new controls (like
|
|
|
|
insert and sort).
|
|
|
|
- Implemented shortcut keys. The JSON Editor can be used with just a keyboard.
|
|
|
|
- Implemented sort action, which sorts the childs of an array or object.
|
|
|
|
- Implemented auto scrolling up and down when dragging a node and reaching
|
|
|
|
the top or bottom of the editor.
|
|
|
|
- Added support for CommonJS and RequireJS.
|
|
|
|
- Added more examples.
|
|
|
|
- Improved performance and memory usage.
|
|
|
|
- Implemented a new mode 'form', in which only values are editable and the
|
|
|
|
fields are fixed.
|
|
|
|
- Minor improvements and bug fixes.
|
|
|
|
|
|
|
|
|
|
|
|
## 2012-12-08, version 1.7.0
|
|
|
|
|
|
|
|
- Implemented two modes: 'editor' (default), and 'viewer'. In viewer mode,
|
|
|
|
the data and datastructure is read-only.
|
|
|
|
- Implemented methods set(json, name), setName(name), and getName(), which
|
|
|
|
allows for setting and getting the field name of the root node.
|
|
|
|
- Fixed an issue where the search bar does not work when there is no global
|
|
|
|
window.editor object.
|
|
|
|
|
|
|
|
|
|
|
|
## 2012-11-26, version 1.6.2
|
|
|
|
|
|
|
|
- Fixed a bug in the change callback handler, resulting in an infinite loop
|
|
|
|
when requesting the contents of the editor inside the callback (issue #19).
|
|
|
|
|
|
|
|
|
|
|
|
## 2012-11-21, version 1.6.1
|
|
|
|
|
|
|
|
- Added a request header "Accept: application/json" when loading files and urls.
|
|
|
|
|
|
|
|
|
|
|
|
## 2012-11-03, version 1.6.0
|
|
|
|
|
|
|
|
- Added feature to the web application to load and save files from disk and url.
|
|
|
|
- Improved error messages in the web application using JSONLint.
|
|
|
|
- Made the web application pass the W3C markup validation service.
|
|
|
|
- Added option 'change' to both editor and formatter, which allows to set a
|
|
|
|
callback which is triggered when the contents of the editor or formatter
|
|
|
|
changes.
|
|
|
|
- Changed the default indentation of the JSONFormatter to 4 spaces.
|
|
|
|
- Renamed options 'enableSearch' and 'enableHistory' to 'search' and 'history'
|
|
|
|
respectively.
|
|
|
|
- Added parameter 'json' to the JSONFormatter constructor.
|
|
|
|
- Added option 'indentation' to the JSONFormatter.
|
|
|
|
|
|
|
|
|
|
|
|
## 2012-10-08, version 1.5.1
|
|
|
|
|
|
|
|
- Replaced the paid Chrome App with a free, hosted Chrome App (with ads).
|
|
|
|
|
|
|
|
|
|
|
|
## 2012-10-02, version 1.5.0
|
|
|
|
|
|
|
|
- Implemented history: undo/redo all actions.
|
|
|
|
- Created menu icons (instead of text buttons).
|
|
|
|
- Cleaned up the code (removed unused params, improved comments, etc).
|
|
|
|
- Minor performance improvements.
|
|
|
|
|
|
|
|
|
|
|
|
## 2012-08-31, version 1.4.4
|
|
|
|
|
|
|
|
- Changed: description of advertisement now gives information about the Chrome
|
|
|
|
App (without ads).
|
|
|
|
- Changed: Chrome App is now configured to be available offline.
|
|
|
|
- Fixed: When zooming your browser window, the fields/values did get wrapped
|
|
|
|
on Chrome (thanks Henri Gourvest), and on Firefox sometimes the jsoneditor
|
|
|
|
disappeared due to wrapping of the interface contents.
|
|
|
|
|
|
|
|
|
|
|
|
## 2012-08-25, version 1.4.3
|
|
|
|
|
|
|
|
- Changed: changed code for the buttons to copy from formatter to editor and
|
|
|
|
vice versa, no inline javascript (gives security policy errors in chrome app).
|
|
|
|
|
|
|
|
|
|
|
|
## 2012-08-25, version 1.4.2
|
|
|
|
|
|
|
|
- Changed: other bootstrapping mechanism for the chrome app, in a separate
|
|
|
|
javascript file, as inline javascript is not allowed (security policy).
|
|
|
|
- Fixed: drop down menu for changing the field type did throw javascript errors
|
|
|
|
(did not break any functionality though).
|
|
|
|
|
|
|
|
|
|
|
|
## 2012-08-23, version 1.4.1
|
|
|
|
|
|
|
|
- New: Chrome app created.
|
|
|
|
|
|
|
|
|
|
|
|
## 2012-08-23, version 1.4.0
|
|
|
|
|
|
|
|
- New: Improved icon, logo, and interface header.
|
|
|
|
|
|
|
|
|
|
|
|
## 2012-08-19, version 1.3.0
|
|
|
|
|
|
|
|
- New: Added buttons next and previous to the search box in the upper right.
|
|
|
|
- New: Escape characters are automatically inserted before " and \ missing
|
|
|
|
and escape character, making the string contents valid JSON. New lines are
|
|
|
|
automatically replaced with \n. (Thanks Steve Clay)
|
|
|
|
- Changed: all icons have been put in a single sprite. This will improve page
|
|
|
|
load times as there are much less server requests needed to load the editor.
|
|
|
|
|
|
|
|
|
|
|
|
## 2012-08-12, version 1.2.0
|
|
|
|
|
2018-04-11 23:54:04 +08:00
|
|
|
- New: Added search functionality. Search results are expanded and highlighted.
|
2013-02-09 23:53:37 +08:00
|
|
|
Quickkeys in the search box: Enter (next), Shift+Enter (previous), Ctrl+Enter
|
|
|
|
(search again).
|
|
|
|
- New: The position of the vertical separator between left and right panel is
|
|
|
|
stored.
|
|
|
|
- New: Link to the sourcecode on github added at the bottom of the page.
|
|
|
|
- Changed: Refinements in the layout: fonts, colors, icons.
|
|
|
|
- Fixed: leading an trailing spaces not being displayed in the editor.
|
|
|
|
- Fixed: wrapping of long words and urls in Chrome.
|
|
|
|
- Fixed: ignoring functions and undefined values in the loaded JSON object
|
|
|
|
(they where interpreted as empty object and string instead of being ignored).
|
|
|
|
|
|
|
|
|
|
|
|
## 2012-07-01, version 1.1.1
|
|
|
|
|
|
|
|
- Fixed global event listener for the focus/blur events, causing changes in
|
|
|
|
fields and values not always being registered.
|
|
|
|
- Fixed a css issue with Firefox (box-sizing of the editor).
|
|
|
|
|
|
|
|
|
|
|
|
## 2012-04-24, version 1.1
|
|
|
|
|
|
|
|
- Fixed a bug. Dragging an object down which has been expanded and collapsed
|
|
|
|
again did not work.
|
|
|
|
- Using a minified version of jsoneditor.js, to improve page load time and
|
|
|
|
save bandwidth.
|
|
|
|
|
|
|
|
|
|
|
|
## 2012-04-21, version 1.0
|
|
|
|
|
|
|
|
- Values are no longer aligned in one global column, but placed directly right
|
|
|
|
from the field. Having field and value close together improves readability,
|
|
|
|
especially in case of deeply nested data.
|
|
|
|
- Values are colorized by their type: strings are green, values read, booleans
|
|
|
|
blue, and null is purple.
|
|
|
|
- Font is changed to a monotype font for better readability.
|
|
|
|
- Special characters like \t are now handled nicely.
|
|
|
|
- Overall performance and memory usage improved.
|
|
|
|
- When clicking on whitespace, focus is set to the closest field or value.
|
|
|
|
- some other small interface tweaks.
|
|
|
|
- Fixed a bug with casting a value from type auto to string and vice versa
|
|
|
|
(the value was not casted at all).
|
|
|
|
|
|
|
|
|
|
|
|
## 2012-03-01, version 0.9.10
|
|
|
|
|
|
|
|
- Nicer looking select box for the field types, with icons.
|
2018-04-11 23:54:04 +08:00
|
|
|
- Improved drag and drop: better visualized, and now working in all browsers.
|
2013-02-09 23:53:37 +08:00
|
|
|
- Previous values will be restored after changing the type of a field. When
|
|
|
|
changing the type back, the previous value or childs will be restored.
|
|
|
|
- When hovering buttons (fieldtype, duplicate, delete, add) or when dragging
|
|
|
|
a field, corresponding field including its childs is highlighted. This makes
|
|
|
|
it easier to see what part of the data will be edited.
|
|
|
|
- Errors are now displayed in a message window on top of the page instead of
|
|
|
|
an alert which pops up.
|
|
|
|
- Fixed a bug with displaying enters in fields.
|
|
|
|
- Fixed a bug where the last trailing enter was removed when setting json
|
|
|
|
in the editor.
|
|
|
|
- Added a fix to get around Internet Explorer 8 issues with vertical scrollbars.
|
|
|
|
|
|
|
|
|
|
|
|
## 2012-01-29, version 0.9.9
|
|
|
|
|
|
|
|
- Fields can be duplicated
|
|
|
|
- Support for drag and drop:
|
|
|
|
- fields in the editor itself can be moved via drag and drop
|
|
|
|
- fields can be exported from the editor as JSON
|
|
|
|
- external JSON can be dropped inside the editor
|
|
|
|
- When changing type from array to object and vice versa, childs will be
|
|
|
|
maintained instead of removed.
|
|
|
|
- Updated interface. Works now in IE8 too.
|
|
|
|
|
|
|
|
|
|
|
|
## 2012-01-16, version 0.9.8
|
|
|
|
|
|
|
|
- Improved the performance of expanding a node with all its childs.
|
|
|
|
|
|
|
|
|
|
|
|
## 2012-01-09, version 0.9.7
|
|
|
|
|
2018-04-11 23:54:04 +08:00
|
|
|
- Added functionality to expand/collapse a node and all its childs. Click
|
2013-02-09 23:53:37 +08:00
|
|
|
the expand button of a node while holding Ctrl down.
|
|
|
|
- Small interface improvements
|
|
|
|
|
|
|
|
|
|
|
|
## 2011-11-28, version 0.9.6
|
|
|
|
|
2015-03-19 04:45:08 +08:00
|
|
|
- First fully usable version of the JSON editor
|