Commit Graph

468 Commits

Author SHA1 Message Date
jos 436c56dd20 Publish v6.0.0 2019-06-12 20:53:48 +02:00
jos 10daf40b56 Use JSON schema title as name for the root object if defined (see #635) 2019-06-12 15:43:16 +02:00
jos 9dfc1aab39 Upgrade to `ajv@6` 2019-06-12 15:11:41 +02:00
jos 7bf25b3129 Publish v5.34.0 2019-06-08 12:13:53 +02:00
jos 041243b117 Update history 2019-06-08 10:29:13 +02:00
jos aee1d2dcde Publish v5.33.0 2019-05-29 17:22:03 +02:00
jos a9abad2cd4 Fix #698 `node.path` sometimes null in `onCreateMenu` 2019-05-29 16:29:29 +02:00
Jos de Jong 3ccdeeec40
Fix #697 JSON Schema enum dropdown not working inside an array (#707)
* Fix #697 JSON Schema enum dropdown not working inside an array

* Make schema in unit test valid by adding `type: 'object'`
2019-05-29 15:51:42 +02:00
jos f005c437db Publish v5.32.5 2019-04-27 17:38:12 +02:00
jos a773d5cf8f Fixed JMESPath query wizard not correctly handling selection of multiple fields 2019-04-26 21:34:17 +02:00
jos b781a47702 Publish v5.32.4 2019-04-10 12:28:52 +02:00
jos 70b7e7914b Fixed #663 and #682: JSONEditor not being able to handle JSON schema validation errors when the root of the document is an Array 2019-04-10 12:23:13 +02:00
jos d51090b7c9 Publish `v5.32.3` 2019-04-04 19:51:40 +02:00
jos c685813538 Fix #684: `const` used in bundled library 2019-04-04 19:49:39 +02:00
jos 965584efe6 Publish v5.32.2 2019-04-03 15:08:29 +02:00
jos 271cb2b512 Update history 2019-04-03 14:58:36 +02:00
jos b279ed3069 Fix CSS class for default/non-default schema values not applied to enums, see (#666) 2019-04-02 21:09:17 +02:00
jos 801921867d Improve detection of value type in transform modal 2019-03-31 19:51:12 +02:00
jos 4818c4bb27 Styling improvements in the transform modal 2019-03-31 17:17:47 +02:00
jos 9e3b6fb196 Fixed #416: Clipped action menu for append nodes 2019-03-30 21:00:26 +01:00
jos 55c4c91370 Publish v5.32.1 2019-03-28 20:17:11 +01:00
jos 4c5b19e7fa Update history 2019-03-28 19:51:42 +01:00
jos 560dd033ad Updated history 2019-03-21 21:29:38 +01:00
jos 0fbe7eee9a Publish v5.32.0 2019-03-20 17:46:49 +01:00
jos 3e7e1cebfd Fixed #676: JSON Paths containing array properties with a `]` not parsed correctly 2019-03-20 17:34:39 +01:00
jos 7c398aeef7 Update history. Fix JSON schema default value styling not working for `false` and `null`, and fixed the styling not updating when clicking a boolean checkbox (See #666) 2019-03-17 15:56:29 +01:00
jos 7a2e89c329 Update history 2019-03-17 15:35:03 +01:00
jos 88972a62fc Publish v5.31.1 2019-03-14 21:22:07 +01:00
jos 868dc38ceb Update history 2019-03-11 19:53:55 +01:00
jos afead89e3b Publish `v5.31.0` 2019-03-10 17:56:47 +01:00
jos 829225849e Update history 2019-03-07 20:51:01 +01:00
jos a4d704f792 Publish `v5.30.0` 2019-03-02 10:51:50 +01:00
jos 03c833bad6 Update history 2019-03-02 10:31:01 +01:00
jos 704a50d415 Fixed #661: JSONEditor broken on IE11 caused by duplicate JSON entries in a translation 2019-02-20 20:38:21 +01:00
jos df4673146f Publish `v5.29.0` 2019-02-16 14:12:53 +01:00
jos 53a4f57dda Fix #657: `onClassName` throwing an error when a node is removed 2019-02-14 20:42:23 +01:00
jos c28cef0a9a Update history 2019-02-13 11:53:07 +01:00
jos a0ad953c4c Update history 2019-02-09 13:02:18 +01:00
jos 53a8803e06 Update history 2019-02-05 20:50:10 +01:00
jos 4c6f2cdd4f Publish `v5.28.2` 2019-01-23 14:29:13 +01:00
jos cb2f343d1d Fix #639: Occurrence of non-ES5 `const` declaration in published code 2019-01-23 14:27:19 +01:00
jos 21ae2180e7 Publish `v5.28.1` 2019-01-22 20:48:08 +01:00
jos 7d9db67d69 Fix #637: vertical white border left/right from the main menu in some specific circumstances 2019-01-22 20:44:10 +01:00
jos 958463a9cd Fix #638: cannot expand after collapse 2019-01-22 20:27:23 +01:00
jos 3334241ab9 Publish v5.28.0 2019-01-21 21:06:23 +01:00
jos c7d054406c Make the method `refresh()` public 2019-01-21 20:56:50 +01:00
jos a7cc8527bd Updated history, some minor tweaks in example 20 (see #604) 2019-01-21 20:53:02 +01:00
jos 160c82f378 Updated history 2019-01-16 17:48:29 +01:00
jos 4e62cf5ba5 Publish v5.27.1 2019-01-16 15:59:11 +01:00
jos 182150ea30 Updated history 2019-01-16 14:20:54 +01:00
jos 5a93d3df6d Update history 2019-01-12 11:27:52 +01:00
jos e9f6a299f7 Publish v5.27.0 2019-01-05 15:21:54 +01:00
jos 535a47c347 Updated history 2019-01-04 21:04:37 +01:00
jos b202627f6e Update history 2019-01-04 21:00:21 +01:00
jos bc5c133b52 Updated history 2018-12-20 21:18:07 +01:00
jos 72ab51002c Publish v5.26.3 2018-12-06 21:44:37 +01:00
jos 6551701153 Fixed #610: JSON Repair now removes trailing commas 2018-12-06 20:15:14 +01:00
jos 550e0a2c4e Updated history 2018-12-05 09:38:51 +01:00
jos 9ac82e24d2 Publish v5.26.2 2018-11-13 20:39:02 +01:00
jos db8652baa6 Publish v5.26.1 2018-11-13 20:29:22 +01:00
jos 2cd9cc168a Fixed #598: Search field can't be focused in object view 2018-11-13 20:27:54 +01:00
jos bd8bac03bd Publish v5.26.0 2018-11-12 20:14:03 +01:00
jos 4e24601823 Publish v5.25.0 2018-10-29 20:31:10 +01:00
jos d0b49fbf12 Fixed #589 for undo/redo and duplicate actions too 2018-10-29 20:28:27 +01:00
jos 67ef58bef3 Fixed #595: navigation bar path link not working 2018-10-24 21:58:56 +02:00
jos 07b341546e Updated history 2018-10-18 20:43:23 +02:00
jos 9c23ca9791 Fixed not preventing default selection of text when selecting nodes 2018-10-17 15:31:42 +02:00
jos e08250c3cb Fixed duplicate and remove of the action menu of multiple selected nodes not working 2018-10-17 15:26:05 +02:00
jos 7d2d669191 Fixed #590: validation failing in code and text mode when status bar is disabled 2018-10-17 14:50:47 +02:00
jos 37e609d4d8 Fixed #589: when deleting or moving a node, the navigation bar is not updated with the correct path 2018-10-17 13:40:48 +02:00
jos b45993ccd5 Release v5.24.7 2018-10-08 20:07:21 +02:00
Meir Rotstein 4d7bb3c6e3 refresh annotations with error type only (#587)
* Fix #582: parse error annotations not always up to date in code editor

* refresh annotations with error type only
2018-10-08 19:52:47 +02:00
jos 655990c2a7 Fix #548: `import JSONEditor from 'jsoneditor'` not working in TypeScript projects 2018-09-12 09:41:07 +02:00
jos f27bd97d9d Release `v5.24.5` 2018-09-06 20:44:14 +02:00
jos 70140b0712 Release `v5.24.4` 2018-09-06 20:33:04 +02:00
jos c680a1ca4c Fixed #576: Visualization in mode `view` when an array with more than 100 items is rendered 2018-09-06 20:24:18 +02:00
jos 36f79de242 Throw console errors when Promise is missing (on IE 11) 2018-09-06 20:18:31 +02:00
jos 1736b11b41 Fixed `onClose` of color picker not always being fired 2018-08-29 21:10:13 +02:00
jos 321f947e72 Fixed color picker closing immediately after the first `onChange` event, and `onChange` events are now debounced 2018-08-29 11:06:11 +02:00
jos ed9a6d48f3 Fixed color picker not working in ES6 projects 2018-08-29 10:53:33 +02:00
jos d528c37909 Release `v5.24.2` 2018-08-27 19:56:01 +02:00
jos 2644cb9d1c Release `v5.24.1` 2018-08-26 17:47:02 +02:00
jos d3192e9fbe Fixed `transform` not creating/removing expand button when the type of a node changed 2018-08-26 17:35:45 +02:00
jos 4c364dc404 Update history 2018-08-25 15:27:53 +02:00
jos 5ca264d037 Fixed #568: mode switcher disappearing when selecting the current mode again 2018-08-24 20:24:12 +02:00
jos 1a99acd36d Release `v5.24.0` 2018-08-22 21:19:11 +02:00
jos f913d4e08a Implemented `timestampTag` 2018-08-22 18:00:56 +02:00
jos b853ec3f64 Implement color picker. Expose `VanillaPicker`, `ace`, and `Ajv`. 2018-08-22 12:10:15 +02:00
jos ffe727849e Fixed #566: transform function broken, regression since `v5.20.0` 2018-08-17 20:20:36 +02:00
jos eb56fc38b4 Released v5.23.0 2018-08-15 12:29:56 +02:00
jos 620c5e0b89 Add className `jsoneditor-validation-error` to nodes with a validation error 2018-08-15 11:02:54 +02:00
jos 8bb2962505 Implemented support for custom validation 2018-08-15 10:48:51 +02:00
jos 9dec9617b1 Updated history 2018-08-13 20:54:47 +02:00
jos 13bb4d7bb1 Merge branch 'extendEvent' of https://github.com/cristinabarrantes/jsoneditor into cristinabarrantes-extendEvent
# Conflicts:
#	package.json
#	src/js/JSONEditor.js
2018-08-13 20:53:03 +02:00
jos c7a29d74c5 Release v5.21.0 2018-08-12 13:10:20 +02:00
jos 260a428249 Fix #562: allow `$` character in property names of of a JSON schema 2018-08-12 13:06:31 +02:00
jos ae3fb78486 Update history 2018-08-12 12:43:35 +02:00
jos 6a6c34fd00 Release `v5.20.0` 2018-08-10 13:27:32 +02:00
jos b0acd3f1cd Fixed menu buttons "Sort" and "Transform" being available in modes `view` and `form` 2018-08-07 13:52:23 +02:00
jos 393dc3f809 Implemented advanced react example and some minor improvements 2018-08-07 13:32:41 +02:00
jos 983fafdf9c Implemented options `onChangeJSON(json)` and `onChangeText(jsonString)` 2018-08-07 11:03:27 +02:00
jos d49518a9ba Describe new methods `update` and `updateText` in the docs 2018-08-06 14:39:21 +02:00
jos ca86cb54bc Publish `v5.19.2` 2018-08-02 10:45:11 +02:00
jos 21199eb9e0 Fixed #558: scrolling to search results broken 2018-08-02 10:27:02 +02:00
jos 91241c6684 Fixed #557: inner contents of the scrollable area being displayed outside of the editor (on Chrome only) 2018-07-28 15:29:34 +02:00
Cristina 9de11c04cd Changes due to PR. 2018-07-16 16:52:41 +02:00
jos 6edfac4ef1 Released `v5.19.0` 2018-07-11 13:11:41 +02:00
jos 6288139aa7 No more grayed out icons of the context menu, see #532 2018-07-11 12:40:51 +02:00
jos 066f5d37e6 Fixes in extracting all child paths 2018-07-02 21:40:47 +02:00
Cristina ecd9bf021f Add API functionality to extend event behaviour. 2018-07-02 13:13:02 +02:00
jos 8e619dea2f Release v5.18.0 2018-06-27 12:30:46 +02:00
jos fbf20b5031 Fixed #544: JSON Schema errors sometimes not being displayed in the editor 2018-06-24 15:41:25 +02:00
jos 463276a3d9 Implemented `modalAnchor` 2018-06-20 20:27:36 +02:00
jos 05c259dfb4 Released `v5.17.1` 2018-06-03 15:26:16 +02:00
jos daee0d05c3 Released `v5.17.0` 2018-06-03 15:21:18 +02:00
jos 8b77111393 Implemented advanced sorting modal (WIP) 2018-05-30 21:54:25 +02:00
jos f00c837388 Released v5.16.0 2018-05-23 09:50:53 +02:00
jos d9babab497 Limit search results to max 1000 matches 2018-05-21 20:35:49 +02:00
jos 497c20019d No more expanding of all search results. Search working with large arrays 2018-05-06 21:03:53 +02:00
jos 904110d141 Implementing "show more" for large arrays (WIP) 2018-05-06 19:42:19 +02:00
jos 358ef3086c Fixed index of Array items not being updated after sorting 2018-05-03 11:22:58 +02:00
jos 9a77045e78 Released v5.15.0 2018-05-02 10:42:47 +02:00
jos a3c79d0270 Updated history 2018-04-26 22:44:55 +02:00
Dmitry Kulikov b826ee398b Fixed typos. 2018-04-11 21:54:04 +06:00
jos fed496881a Released version 5.14.1 2018-03-21 19:04:45 +01:00
jos e72b1fe839 Updated history 2018-03-05 19:24:36 +01:00
jos 1c596ee84d Released version 5.14.0 2018-02-25 19:59:49 +01:00
jos 9fb29a644d Refactor to ES5 code. Some updates in the docs 2018-02-25 19:54:59 +01:00
jos 4b17f56169 Updated history 2018-02-25 17:32:42 +01:00
jos 97cc0f39f4 Updated history 2018-02-12 21:19:52 +01:00
jos 4c8c4d4a02 Fixed a positioning issue with JSON Schema errors in text/code mode 2018-02-07 12:16:00 +01:00
jos c5f3723b9c Released v5.13.2 2018-01-18 20:48:31 +01:00
jos f4dbd1938b Fixed #502: code editor not showing a monospaced font some cases 2018-01-18 20:13:21 +01:00
jos f5da46d2cc Updated history 2018-01-08 20:42:31 +01:00
jos 24d9920e0d Released v5.13.1 2017-12-28 16:20:32 +01:00
jos 50c6a3ac9f Updated history 2017-12-28 16:18:46 +01:00
jos 3f1c4c682a Released v5.13.0 2017-12-28 15:53:24 +01:00
jos 509ab7e275 Updated history 2017-12-24 16:53:06 +01:00
jos 679a966d15 Updated history 2017-12-24 13:33:13 +01:00
jos 22e99aa801 Released v5.12.0 2017-12-18 20:42:48 +01:00
jos da26baec0c Update history 2017-12-10 15:05:58 +01:00
jos a8253afb35 Released v5.11.0 2017-11-22 16:20:51 +01:00
jos ae50af0877 Updated history 2017-11-22 16:04:38 +01:00
jos b5d4e4500d Updated history 2017-11-22 15:54:40 +01:00
jos 9e105276d9 Don't display statusbar for text mode, some CSS tweaks. 2017-11-15 11:51:05 +01:00
jos b28677d6d1 Released version `5.10.0` 2017-11-15 11:00:02 +01:00
jos 40e4ac9302 Fixed #481: A polyfill required `DocumentType` which is not defined in all environments 2017-11-15 10:52:45 +01:00
jos 4875288cb7 Implemented repairing JSON objects containing special white space characters like non-breaking space 2017-11-14 21:59:23 +01:00
jos a958e229f9 Created repair button in text mode 2017-11-14 21:40:08 +01:00
jos cba5659e78 Implemented repairing JSON objects containing left and right single and double quotes 2017-11-14 21:18:49 +01:00
jos a733533af1 Updated history 2017-09-30 14:12:45 +02:00
jos 5d5b6473b6 Released v5.9.6 2017-09-16 16:50:07 +02:00
jos 968e90edd0 Fixed #461: Urls opening twice on Firefox and Safari 2017-09-16 16:19:19 +02:00
jos 8bc9e8d596 Updated history 2017-09-12 21:59:46 +02:00
jos d5ba548902 Fixed a regression introduced in #448: after using the context menu once, it was not possible to set focus to an other input field anymore 2017-08-26 13:15:19 +02:00
jos a0f317d1d6 Released v5.9.4 2017-08-20 20:40:08 +02:00
jos c51db94f88 Released version 5.9.3 2017-07-24 11:56:21 +02:00
jos 2110d251bb Fixed broken multi-selection 2017-07-24 10:07:00 +02:00
jos f6e699e4cc Released v5.9.2 2017-07-13 21:02:38 +02:00
jos 2046d98936 Released v5.9.1 2017-07-13 20:19:01 +02:00
jos a00ec59241 Released v5.9.0 2017-07-10 20:05:13 +02:00
jos 7ac3f5aee6 Fixed JSONEditor picking the first entry of `modes` as initial mode instead of option `mode` 2017-07-10 19:58:34 +02:00
jos b84621d054 Released v5.8.2 2017-07-08 11:51:48 +02:00
jos 3e7a7c08f0 Updated history 2017-07-05 22:12:37 +02:00
jos 3a8aa1755c Released v5.8.1 2017-07-03 19:23:32 +02:00
jos a6bd4646ca Released v5.8.0 2017-07-02 14:32:00 +02:00
jos 5559b0d417 Updated history 2017-07-02 13:45:06 +02:00
Jos de Jong 294dfbe60e Fixed #419: minified bundles in dist folder are empty 2017-06-27 09:15:51 +02:00
jos 9e5dd53e8d Released v5.7.1 2017-06-25 14:53:28 +02:00
jos a1780c7cdf Upgraded dependencies, added package-lock.json (npm v5) 2017-06-18 14:19:36 +02:00
jos 5f8b90f35e Released v5.7.0 2017-05-26 16:17:34 +02:00
jos 0ddc9407b0 Updated history and example. Fixed bottom margin of submenu 2017-05-07 15:32:31 +02:00
jos 56c450bf0f Released v5.6.0 2017-04-15 12:28:46 +02:00
jos e1f686b8e5 Fixed #368: Mode selection drop down not fully visible on small screen 2017-02-26 20:40:12 +01:00
jos 717ed48474 Fixed #309: already loaded version of Ace being overwritten by the embedded version of JSONEditor 2017-01-06 21:46:23 +01:00
jos 3117789ed7 Released v5.5.11 2017-01-06 20:58:19 +01:00
jos 74b9aaf5fa Fixed #347: CSS more robust against global settings of div position 2017-01-03 20:43:43 +01:00
jos 1c8ea64c2a Fixed #54: CSS more robust against global settings of div position 2017-01-03 20:43:10 +01:00
jos 8dc4752872 Fixed embedded version of jsoneditor ace theme not being loaded in minimalist version. Added docs and example on loading a custom Ace editor (see #55) 2017-01-03 20:23:03 +01:00
jos 4bc339f6fe Released v5.5.10 2016-11-02 21:03:18 +01:00
jos df12832a6b Fixed #85: pressing enter in an input in a form containing a JSONEditor too breaks submitting the form 2016-11-01 21:00:21 +01:00
jos d73665acf3 Released v5.5.9 2016-10-17 21:16:01 +02:00
jos 8913ce1f6f Fixed #329: Editor showing duplicate key warnings for keys defined on the Object prototype, like `toString` and `watch` 2016-10-15 10:49:44 +02:00
jos cee259f2a5 Released v5.5.8 2016-09-27 21:07:31 +02:00
jos 4aa9e7db7f Updated history 2016-09-24 19:23:31 +02:00
jos 02f81ea8de Released v5.5.7 2016-08-17 21:29:14 +02:00
jos e4073905a5 Fixed #308: wrong positioning of label "empty array" when `onEditable` returns false 2016-07-05 20:09:34 +02:00
jos 91d9bc6903 Released version 5.5.6 2016-06-15 19:35:28 +02:00
jos c2c7dd5adf Fixed #303: editor contents collapsed when the parent div of the JSONEditor has no height set 2016-06-06 21:25:45 +02:00
jos 410dffbce7 Updated history 2016-06-06 21:11:31 +02:00
jos f084180730 Released v5.5.5 2016-05-24 19:54:56 +02:00
jos c8de51d03f Fixed #298: Switch mode button disappears when switching from text/code to tree/form/view mode when the JSON contained errors 2016-05-23 21:27:34 +02:00
jos b67d683f1a Fixed enum drop downs not working when the JSONEditor is configured with a name (see #285) 2016-05-23 20:35:24 +02:00
jos 40c1b887e7 Fixed a (harmless) error in the console when clicking right from an enum drop down 2016-05-22 20:19:19 +02:00
jos b922aceb07 Fixed #285: an issue with the enum drop down when having defined multiple enums in a JSON schema 2016-05-22 20:14:50 +02:00
jos 60b7b17511 Released v5.5.3 2016-05-22 15:12:28 +02:00
jos 8c3c476fe7 Fixed #299: reverted the fix of #268 by trimming text in fields and values 2016-05-22 14:59:37 +02:00
jos 7d283f1b90 Released v5.5.2 2016-04-18 20:44:00 +02:00
jos e8092db9b4 Fixed #294: Fields reset their caret location on every key press in Firefox 2016-04-18 20:41:07 +02:00
jos 0557db02f2 Released v5.5.1 2016-04-16 12:40:29 +02:00