Skip to content

Latest commit

 

History

History
1171 lines (613 loc) · 72.7 KB

CHANGELOG.md

File metadata and controls

1171 lines (613 loc) · 72.7 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.11.8 (2023-01-07)

0.11.7 (2023-01-07)

0.11.6 (2023-01-07)

Bug Fixes

  • upgrade to jsonrepair@3.0.2 and lossless-json@2.0.5 containing an issue with unicode characters (22cb40e)

0.11.5 (2022-12-20)

Features

  • upgrade all dependencies, most notably svelte-select@5, @sveltejs/kit@1.0.0, vite@4.0.2` (be135ee)
  • upgrade to jsonrepair@3.0.0, improving performance and repairing more cases (8a315cf)

0.11.4 (2022-12-14)

Bug Fixes

  • method scrollTo not returning a promise anymore (regression since v0.11.0) (524799f)

0.11.3 (2022-12-13)

Bug Fixes

  • #206 remove the fixed width of the mode toggle buttons (8e0cda3)
  • #96 add missing properties to JSONEditorPropsOptional (410fd80)
  • #96 make all properties of JSONEditorPropsOptional optional (4bc33e8)
  • cannot edit values of non-existing nested objects in table mode (8127571)
  • improve landing page message in table mode when opening an array without values (f238a92)

0.11.2 (2022-12-09)

Bug Fixes

  • #204 unresolvable imports with .ts extension (d45828b)

0.11.1 (2022-12-07)

Bug Fixes

  • table mode landing page not handling an empty array correctly (4b4d039)

0.11.0 (2022-12-07)

⚠ BREAKING CHANGES

  • In the TransformModalCallback, the property selectedPath is renamed to rootPath. The css variables --jse-context-menu-button-* are renamed to --jse-context-menu-pointer-*.

Features

  • create a landing page for non-array content in table mode (558d8c1)
  • implement table mode #156 (#202) (6fde147)

Bug Fixes

  • #187 duplicate id's of svg's (b95ac82)
  • support opening Sort and Transform modals from a JSONEditor modal (4652c1f)
  • unnecessary z-index on the context menu pointer (5a6b2f6)
  • z-index issue with the table header (8f6a7c7)

0.10.4 (2022-12-05)

Bug Fixes

  • repair modal accidentally showing a mode toggle (798f668)
  • update to lossless-json@2.0.3, fix throwing an error in case of bad characters like a newline (7f7b59e)

0.10.2 (2022-11-17)

Bug Fixes

  • limit the number of rendered validation errors in the overview list (b0ae546)
  • reset the selection instead of clearing it when the selected contents are removed (7c937f5)

0.10.1 (2022-11-10)

Bug Fixes

  • improve highlighting color of search matches in dark mode (fb7bdd9)

0.10.0 (2022-11-10)

⚠ BREAKING CHANGES

  • The signature of createAjvValidator is changed from up to three unnamed arguments createAjvValidator(schema, schemaDefinitions, ajvOptions) to a single object with options createAjvValidator({ schema, schemaDefinitions, ajvOptions }).

Features

  • implement onCreateAjv callback for the createAjvValidator plugin (da3d76c)

Bug Fixes

  • #188 selected text not visible in text mode when in dark mode (41856da)
  • improve highlighting color of search matches in dark mode (b85c260)
  • negative numbers like -4.1 not highlighted with the right color in tree mode (071c3f9)

0.9.2 (2022-11-04)

Bug Fixes

  • incorrect cursor style for ColorPicker & BooleanToggle (#184) (12e60e5)
  • remove root $ prefix from the path in the Sort and Transform modal (50ce3f0)
  • when switching to a different JSON parser, stringify and parse the contents again (2cece4e)

0.9.1 (2022-11-02)

Bug Fixes

  • export and document all selection utility functions again (reverting their removal in v0.9.0) (0dd1dee)
  • update codemirror dependencies and all devDependencies (77cbb6d)

0.9.0 (2022-10-25)

⚠ BREAKING CHANGES

  • Not exporting a set of undocumented utility functions anymore: isValueSelection, isKeySelection, isInsideSelection, isAfterSelection, isMultiSelection, isEditingSelection, createValueSelection, createKeySelection, createInsideSelection, createAfterSelection, createMultiSelection. And not exporting components SortModal and TransformModal anymore.

Features

  • export utility functions isContent, isTextContent, isJSONContent, toTextContent, (d21fc6d), closes #173

Bug Fixes

  • #174 the OnChange signature containing an any type instead of OnChangeStatus (c2d626f)
  • any type in JSONPathParser.parse type definition (19363b4)

0.8.0 (2022-10-24)

⚠ BREAKING CHANGES

  • The custom FontAwesomeIcon is now replaced with IconDefinition from FontAwesome

Bug Fixes

  • #169 use IconDefinition from FontAwesome instead of a custom interface FontAwesomeIcon (9d693f9)

0.7.11 (2022-10-18)

Features

  • convert primitive values like a string into an object or array holding the value (67d78f0), closes #160

Bug Fixes

  • correctly handle property names containing spaces and special characters in JMESPath (8e7d3e8)
  • errors not displayed at the right position in text mode when escapeUnicodeCharacters=true (8e7be40)
  • improve error message when using content.text wrongly (see #166) (cdad5fb)
  • revert dev dependency rollup-plugin-dts to v4 too to have it work with rollup v2 (2b183c7)

0.7.10 (2022-10-13)

Features

  • implement a path editor in the Navigation Bar (#164) (9692634)

Bug Fixes

  • #162 clicking the color picker causes a form submit (42f2586)
  • show paths in Sort modal as a JSONPath (dot separated) instead of JSONPointer (3cde53d)

0.7.9 (2022-09-30)

Bug Fixes

  • #123 use the main parser instead of validationParser to determine any parse errors (c18ede3)

0.7.8 (2022-09-29)

Bug Fixes

  • #153 code using a missing dependency lossless-json (4a34214)

0.7.7 (2022-09-29)

Features

  • implemented options parser and validationParser to support alternative JSON parsers like lossless-json (#151) (b47368b)

0.7.6 (2022-09-28)

Bug Fixes

  • #149 double quote and unicode characters of control characters not being escaped correctly (ab213e6)
  • escaping unicode characters not triggered when loading a document in text mode (9dedca0)

0.7.5 (2022-09-21)

Bug Fixes

  • #98 make copy compatible on non-secure origins and older browser (#144) (d43a646)

0.7.4 (2022-09-12)

Bug Fixes

  • #130 do not open mobile keyboard when the editor is readonly (1c669fa)
  • #138 text of tooltip in text mode not readable when using a dark theme (5e7790e)
  • #139 cannot use numpad keyboard to enter numbers in tree mode (e2383d9)
  • inserting non capital case characters (861f36d)
  • let text mode not change json contents directly into text contents, and prevent freezing when loading a large document (#141) (28b2b56)

0.7.3 (2022-09-09)

Bug Fixes

  • circular dependency caused by an unused import (65a4f5d)

0.7.2 (2022-09-09)

Features

  • update all dependencies (dff38e3)

Bug Fixes

  • mark the package as side-effects free, allowing better optimization in bundlers (23c1816)

0.7.1 (2022-09-05)

Bug Fixes

  • onChange event being fired when creating the editor in tree mode (83e22f7)

0.7.0 (2022-09-01)

⚠ BREAKING CHANGES

  • Formerly, onChange did only fire after a change made by a user. Now, onChange also fires after programmatic changes: when changing props or calling patch, set, update.

Features

  • always fire onChange, and let onPatch return a PatchResult (fixes #128) (fb45518)
  • update dependencies (#135) (c2e8e0a)

Bug Fixes

  • expanded state sometimes being reset when syncing content (a6cce69)

0.6.6 (2022-08-29)

Bug Fixes

  • mobile keyboard opening all the time when selecting something in the editor on a touch device (c2a0937)

0.6.5 (2022-08-29)

Features

  • #129 allow passing additional options to createAjvValidator (a66f230)

Bug Fixes

  • #131 backslash character not being escaped when escapeControlCharacters: true (#133) (1657d9a)

0.6.4 (2022-08-19)

Bug Fixes

  • #124 view jumping up when editor gets focus (b94f531)

0.6.3 (2022-08-16)

Bug Fixes

  • minor update of all dependencies (b61778a)

0.6.2 (2022-07-28)

Bug Fixes

  • revert the ES workaround for [@fortawesome](https://github.com/fortawesome) again, it doesn't work anymore (69533af)

0.6.1 (2022-07-28)

Bug Fixes

  • make sure all imports in index.ts have a .js extension (52431f6)
  • re-introduce the ES workaround for [@fortawesome](https://github.com/fortawesome) again (2a7284c)

0.6.0 (2022-07-28)

⚠ BREAKING CHANGES

  • The signature of onChange is changed from onChange(updatedContent, previousContent, patchResult) to onChange(updatedContent, previousContent, { contentErrors, patchResult }).

Features

  • implement validate method and pass contentErrors via onChange, fixes #56 (#119) (9847382)

Bug Fixes

  • #118 cursor position in TextMode being reset after changing validator (e580e26)

0.5.0 (2022-07-11)

⚠ BREAKING CHANGES

Features

  • move bundle into a separate npm package vanilla-jsoneditor (#114) (e865be3)

0.4.0 (2022-07-08)

⚠ BREAKING CHANGES

  • The 'code' mode has been renamed to 'text' mode.
  • The type JSONPath is changed from Array<string | number> to Array<string>, and some TypeScript types now come from immutable-json-patch.

Features

Bug Fixes

  • #105 disable dropdown button when all items are disabled (8698606)

  • #107 dependency issue with fortawesome building svelte-kit (7ad8e95)

  • #110 ContextMenu closes when hovering a validation error (#112) (46424bb)

  • generate a valid sourcemap again (7981a99)

  • make svelte a dependency, its type definitions are needed in TypeScript projects (see #19) (acb3acf)

  • remove the "powered by CodeMirror" text, is listed in readme and webapp footer instead (89d661a)

  • truncate text preview of invalid JSON in tree mode (67f5790)

  • make sure the next version will be marked as a breaking change (0737b6c)

0.3.60 (2022-06-09)

Bug Fixes

  • #55 support tabs for indentation, introduce new option tabSize (7e96e9a)

0.3.59 (2022-06-08)

Bug Fixes

  • #91 interface OptionalJSONEditorProps missing in npm package (23bd690)
  • invert the color of warning text to make it better readable (410d91e)
  • render the status bar of code mode above parse errors and validation warnings (d765cb0)
  • update dependencies and devDependencies (9aa49b6)

0.3.58 (2022-05-31)

Features

  • implement StatusBar in code mode (4bf271a)

0.3.57 (2022-05-31)

Bug Fixes

  • make active line color a lighter than the selection color in code mode (1d26fc7)

0.3.56 (2022-05-30)

Bug Fixes

  • disable broken sourcemap for the time being (8239683)

0.3.55 (2022-05-30)

Bug Fixes

  • editor not having a border when welcome screen is displayed (87e5da9)
  • expanded state being reset when updating the contents (27f61f2)

0.3.54 (2022-05-27)

Bug Fixes

  • do not throw an exception when using .refresh() in tree mode (6d5646d)
  • improve typescript definitions (#86) (a7d759a)

0.3.53 (2022-05-23)

Bug Fixes

  • index.js files containing broken imports to ts files (0c4a9f0)

0.3.52 (2022-05-23)

Bug Fixes

  • index.js file containing broken references to .ts files (regression since v0.3.51) (36959ee)

0.3.51 (2022-05-23)

Features

  • implement a method .refresh() to force rerendering of the code editor (545426a)

Bug Fixes

  • improve the behavior of the arrow quickkeys to navigate the context menu (#83) (76b177f)
  • maintain the enforceString status after replacing a value (4d1e9e3)

0.3.50 (2022-05-20)

Bug Fixes

  • #79 browser scrolling the editor into view on load (42fe818)
  • #81 clear navigation path when iterating through search results (434c66d)
  • cannot start typing characters to insert a value from the welcome screen (2bc34e2)
  • editor losing focus after selecting a color with the color picker (8cb912a)
  • editor losing focus after toggling a boolean value (ea52484)
  • give editor focus when the user starts dragging the selection (9bd28db)
  • give navigation bar text a brighter color in dark theme (42be0e7)
  • improve Transform Wizard to work better with numbers, booleans, and null (ebc076a)
  • keep focus in editor when closing color picker via ESC (0b75001)
  • paste as JSON helper message not working (0f803b2)

0.3.49 (2022-05-13)

Features

  • Support for custom styling using css variables

Bug Fixes

  • #69 cannot build the library after a clean install (32a9b73)
  • #70 implement quickkey Shift+Enter to go to the previous search result (8f1917f)
  • #71 describe the differences with josdejong/jsoneditor in the README.md (b9a54e9)
  • context menu button jumping around whilst selecting multiple expanded objects (d4a3cbf)
  • exception thrown when clicking left from a selection (e7e8094)
  • expandAll not working (37c6256)
  • right click in welcome screen did not open the context menu (7934e9a)
  • selection and expanded state not always stored correctly in history (#73) (702fba1)

0.3.48 (2022-04-26)

Bug Fixes

  • quickkeys [ and { not working in welcome screen (regression since v0.3.47) (8a808a4)

0.3.47 (2022-04-26)

Bug Fixes

  • allow defining multiple functions in the query of the Transform modal (31e9b8b)
  • be able to right-click on top of a property/item tag to open the context menu (a033abf)
  • context menu button of insert area sometimes flickering (282e31d)
  • full document being selected when clicking scrollbar or main menu when there is no selection (5109de1)
  • fully expand an inserted structure (a22f405)
  • improve the Javascript and Lodash queries generated via the wizard (9666120)
  • sort/transform the contents of the key instead of the parent when a key is selected (e761a79)

0.3.46 (2022-04-22)

Features

  • show tip in ContextMenu when it is opened via the ContextMenuButton or the main menu (b9c38d2)

Bug Fixes

  • floating context menu button not rendered when a key is selected (1ec4ed9)

0.3.45 (2022-04-21)

Bug Fixes

  • expose method findElement(path) (3930137)

0.3.44 (2022-04-21)

Features

  • expose method findElement(path) (655a790)

0.3.43 (2022-04-20)

Bug Fixes

  • disable insert buttons in ContextMenu when root is selected (regression introduced in v0.3.41) (1fe6f48)

0.3.42 (2022-04-20)

Bug Fixes

  • right-click right from a value did not select the insert area before opening the context menu (215eb04)

0.3.41 (2022-04-20)

Features

  • change insert buttons into convert buttons, converting between objects/arrays/text (see #61) (f413066)

Bug Fixes

  • change button text to "Copy compacted" for consistency (396a274)
  • change styling of the mode toggle button (code/tree) (28b9c6c)
  • use flex-start and flex-end to fix warnings in environments like tailwindcss (#43) (e1e0ddd)

0.3.40 (2022-04-15)

Bug Fixes

  • importing vanilla-picker wrongly (ddecbf1)

0.3.39 (2022-04-15)

Bug Fixes

  • #66 import color picker dynamically since it cannot render server side (b6041bb)

0.3.38 (2022-04-13)

Features

  • select contents within brackets using double-click (#65) (e73970f)

Bug Fixes

  • show prop and item instead of plural when there is only one property or item (1f1725f)

0.3.37 (2022-04-12)

Bug Fixes

  • clicking a button to switch mode did toggle instead of selecting the clicked mode (0451001)

0.3.36 (2022-04-12)

Bug Fixes

  • change code mode toggle into group buttons [tree|code] (see #59) (ad33b26)
  • expand all extracted contents (when not too large) (d4ae8f4)
  • position search box in code mode on top (#62) (f0a1feb)
  • update all devDependencies (13331c7)

0.3.35 (2022-04-11)

Bug Fixes

  • improve the rendering performance (#58) (84c6eb3)

0.3.34 (2022-04-08)

Features

  • implement method acceptAutoRepair (d037a7e)

0.3.33 (2022-04-07)

Bug Fixes

  • make sure JavaScript and Lodash queries return null and never undefined (73ae90c)

0.3.32 (2022-04-06)

0.3.31 (2022-04-06)

Bug Fixes

  • styling tweaks in the vertical sizing of the TransformModal (3f87a8a)

0.3.30 (2022-04-06)

Bug Fixes

  • be resilient against missing or disabled localStorage (52f76b7)
  • disable Search menu item when there is no contents (e687229)
  • do not show welcome options when editor is readOnly (eb92d75)
  • method editor.transform() broken (regression since v0.3.29) (299dc78)
  • styling tweaks in the TransformModal (3983918)

0.3.29 (2022-04-06)

Features

  • reorganize Tranform modal, show original data alongside the preview (#54) (9b6b79e)

Bug Fixes

  • cannot select a key or value when clicking inside the selection (331254a)
  • disable Auto repair buttons when the editor is readOnly (0a5eca4)
  • dragging selection not disabled in readOnly mode (eac069a)
  • solve circular dependency to TreeMode in the Transform modal (71f3511)
  • some styling fixes in the Sort modal (4366a0f)
  • undo/redo buttons in code mode not updated when contents changed externally (5778540)
  • use ajv-dist instead of ajv to solve rollup issues (a663a1b)

0.3.28 (2022-04-04)

Bug Fixes

  • could not select items when starting to drag right from an item (c5de4d5)
  • insert area visible whilst selecting or dragging (5d1e68f)

0.3.27 (2022-04-04)

Bug Fixes

  • when pasting, expand all pasted contents by default when small (ec9703c)

0.3.26 (2022-04-04)

Bug Fixes

  • fully expand small JSON documents by default (d94701b)
  • pasted or replaced contents not being expanded (4e86440)
  • update dependencies (d9eb233)

0.3.25 (2022-03-22)

Features

  • drag selected contents up and down (#50) (c3c4113)

Bug Fixes

  • validate in code mode not always triggering (246cf67)

0.3.24 (2022-03-16)

Bug Fixes

  • component EditableDiv did not close when losing focus to another element on the same page (a8abe71)
  • define font for linting messages (8a5456f)
  • editor layout does overflow when opening a large minified document in code mode (#48) (5574d38)
  • implement quick keys Ctrl+F and Ctrl+H to open the find dialog whilst editing a key or value (e608486)
  • minor styling fix (1399dd8)
  • styling tweaks (1d15f2b)
  • wrapping line in Copy dropdown menu (61b10ac)

0.3.23 (2022-03-08)

Bug Fixes

  • do not use dynamic imports (b5ca813)

0.3.22 (2022-03-08)

Bug Fixes

  • publish missing generated/* folder on npm too (ec391b2)
  • publish missing generated/* folder on npm too (a0195cd)

0.3.21 (2022-03-08)

Features

0.3.20 (2022-03-07)

Bug Fixes

  • drop viteOptimizeDeps (in src/config.js) and remove it from the docs: not needed anymore (1c64009)

0.3.19 (2022-03-07)

Bug Fixes

  • add generated folder to .prettierignore (e15ee93)
  • diff-sequences export not playing nice with Vite (f87a7b3)

0.3.18 (2022-02-09)

Bug Fixes

  • race condition when toggling mode (2a97ab5)
  • update all dependencies (f083d2c)

0.3.17 (2022-02-09)

Bug Fixes

  • improve explanatory titles on color picker and boolean toggle when readOnly (aac632b)
  • only show explanatory titles on color picker and boolean toggle when editable (4971138)
  • rename schemaRefs to schemaDefinitions (not breaking, just a renamed function argument) (0e7d653)
  • shortcut Shift+Enter to create a newline not working on Chrome (48a10a6)
  • update dependencies (4bc6d53)

0.3.16 (2022-01-20)

Features

  • implement support for enforcing a value to stay a string when it contains a numeric value. This can be toggled via the button "Enforce string" in ContextMenu, under "Edit value".

Bug Fixes

  • #45 invoke onChangeMode after re-rendering instead of before (c8894ce)

0.3.15 (2022-01-12)

Bug Fixes

  • regression in clicking the context menu button on an insert area (f5bcc71)

0.3.14 (2022-01-08)

Bug Fixes

  • expand contents when pasting in an empty document (a3c8021)
  • shift-click not working when selecting an area in between two nodes (c21f1f3)
  • shift-click to select multiple items broken (a28bbdf)

0.3.13 (2022-01-05)

Bug Fixes

  • clicking on another node whilst editing did not move the focus there (b2fe3d7)
  • fix too large padding for expanded array bracket (0963960)
  • issue in encode/decode datapath (a56cb1b)
  • make the code robust against missing refContents (360de5e)
  • scrollTo throwing exception when contents is empty (68fcb6a)
  • styling tweak for the readonly item count tag (5bbb679)
  • when opening edit mode, sometimes the first typed character was lost (22b5577)

0.3.12 (2022-01-05)

Bug Fixes

  • revert "fix: upgrade to the latest version of sveltekit and vite, removing the need for viteOptimizeDeps"

0.3.11 (2022-01-05)

Bug Fixes

  • property normalization missing the docs and in development application (002b7e9)
  • tweak font for ubuntu and mac (b05009c)
  • upgrade to the latest version of sveltekit and vite, removing the need for viteOptimizeDeps (c7211a3)

0.3.10 (2021-12-22)

Features

  • implement options escapeControlCharacters and escapeUnicodeCharacters (#42) (cfdd8cc)
  • show tag with array item count also when expanded (b427fe7)

Bug Fixes

  • add property type to <button> where missing (see #39) (880795f)
  • clicking outside the editor should stop editing a key/value (see #40) (b67de42)
  • escape special characters in keys (10fdedd)
  • make sure editor blur when clicking outside (aef0d57)
  • partial fix for #40, clicking outside the editor should stop editing a key/value (70eab0c)

0.3.9 (2021-12-04)

Bug Fixes

  • remember state of TransformModal and SortModal on every change instead of only after submit (caa4364)

0.3.8 (2021-12-04)

Bug Fixes

  • add current value to the enum dropdown if needed (8f11bac)

0.3.7 (2021-12-04)

Features

  • custom rendering with onRenderValue, performance improvements, and fixes (635f542)

0.3.6 (2021-11-27)

Bug Fixes

  • merge #32 adding rollup to the devDependencies (f292c2f)
  • replace debug with a util debug function (#34) (ddf608a)
  • update dependencies (f87572e)
  • use debug instead of console.log (b2478b8)

0.3.5 (2021-11-17)

Features

  • extend the onChange callback to pass previousJson and patchResult (8e5aecf)
  • implement javascriptQueryLanguage (6568afe)
  • implement a configuration dropdown to select a query language (871ac5c)
  • support multiple query languages in the transform modal (WIP) (030d3ca)

Bug Fixes

  • edge case in jmespath selecting whole item as projection (ef2a4cf)
  • improve the performance of replacing returns with enclosing whitespaces (de05b10)
  • robustness fix (54c6586)
  • show arrow down icon on the right side of the select boxes (c0375b1)
  • small styling fix (ec83c32)
  • styling fix of the scrollbar in the TransformModal (5adc31d)
  • write unit tests and fixes for all query languages (a6af472)

0.3.4 (2021-11-03)

Features

0.3.3 (2021-10-13)

Bug Fixes

  • debounce changes in code mode, fixing a race condition in React (see #23) (bc2c559)

0.3.2 (2021-09-25)

0.3.1 (2021-09-22)

Bug Fixes

  • clearing the complete document not working (regression since v0.3.0) (352b110)
  • do not lose focus and fire a focus/blur event when opening a modal inside the editor (cbb0c79)
  • fix formatting of the breaking changes list in CHANGELOG.md (05d5995)
  • improve inefficient regex to replace return characters (f3ae485)
  • scroll cursor into view when moving with arrows left/right (7ffd586)
  • show selection with a lighter gray when the editor doesn't have focus (a57268b)

0.3.0 (2021-09-11)

⚠ BREAKING CHANGES

  • Properties json and text are replaced by content: { json, text }
  • Methods getText, setText, and updateText are removed, use get, set and update instead.
  • Methods get set, and update now expect and return a content object { json: JSON } | { text: string } instead of the json data.

Features

  • change the API methods to consistently work with content instead of json and text (6b810b7)
  • unify properties json and text inside content (f93ce2d)
  • update all dependencies (2332413)
  • validate content type (9885ff1)

Bug Fixes

  • code mode throwing an exception when trying to validate an empty document (412172b)
  • disable opening of color picker when editor is readOnly (236ec7a)
  • tooltip font and size not defined (a9fa438)

0.2.8 (2021-08-20)

Features

  • create a Svelte examples section (908d0c4)
  • implement color picker (652e3ac)
  • implement method editor.updateProps(props) to change properties after creation (b596155)
  • show a time icon with human-readable time in case of unix timestamps (7d73846)
  • update dependencies (svelte-select, sass) and devDependencies (be32856)

Bug Fixes

  • display collapsed items sections as selected (f276863)
  • upgrade svelte-select to 4.3.1 (c92310a)

0.2.7 (2021-08-06)

Features

  • sort the navigation bar dropdown items alphabetically (d85ecb2)

Bug Fixes

  • insert before not working when the first item of the root array/object is selected (8e0043f)
  • insert before/after not reckoning with multi selection (c66b2f7)
  • navigation bar keys not being unique (b7bbc5b)
  • position the search box below the navigation bar (86e50d5)
  • redo of inserting an Array/Object does not correctly restore selection (148c8fd)
  • validation error popup not visible when on the first line (3a6f0be)

0.2.6 (2021-08-06)

Features

  • navigation bar implemented in tree mode (ff93e7b)

Bug Fixes

  • when json is changed, clear selection when it refers to a non-existing path (65c20f0)

0.2.5 (2021-08-04)

Bug Fixes

  • minor styling tweak in the cut/copy dropdown buttons to visualize when dropdown is open (d2d9561)

0.2.4 (2021-08-04)

Features

  • auto scroll up/down when dragging to select multiple nodes (9e96957)
  • implement menu options and quick keys to cut/copy without indentation (1dcbc41)

0.2.3 (2021-08-04)

Bug Fixes

  • method transform() throwing an error (73e35c1)

0.2.2 (2021-08-04)

Features

  • extend the transform method with a callback onTransform (90e8427)
  • implement method transform() and callback onTransform(operations) (08c0f61)

Bug Fixes

  • do not expand all contents after extracting some contents (bb98201)
  • do wrap only values anywhere, do not wrap keys anywhere (5879826)

0.2.1 (2021-08-02)

Bug Fixes

  • file generated/worker-json-data-url.js missing in npm package (861efd2)

0.2.0 (2021-08-02)

⚠ BREAKING CHANGES

  • Svelte setup is changed (see readme), ES bundle renamed, UMD bundle removed

Features

  • add search button to main menu of code mode (0df0f9a)
  • implement a Cancel to cancel loading a large document in code mode (ab28a0c)
  • migrate to SvelteKit (c11551d)
  • update dependencies (ajv, svelte-select, svelte-simple-modal) (f9ca5cd)
  • use quick-key Backspace to delete selected contents too (alongside Delete) (f021959)

Bug Fixes

  • extract not working when extracting an item from an Array (5251fb6)
  • line height of a single line sometimes being larger than 18px due to icons and tooltip styling (1431160)
  • vertical positioning of expand button when selected was a bit off (d93e4af)
  • wrap long lines (1792525)

0.1.6 (2021-06-30)

Features

  • faster, more robust search (5e4c3ed)
  • implement readOnly mode (31c438f)
  • limit the maximum number of search results (952adb6)
  • upgrade dependencies (ajv, diff-sequences, svelte-awesome, svelte-select, svelte-simple-modal) (4469695)

Bug Fixes

  • color styling issue with selected collapsed items (720946e)
  • do not create selection area inside when in readOnly mode (03c5b6c)
  • give the user a hint when pasted JSON contents as text (813a9ca)
  • layout overflowing in case of long unbroken lines (4d4f15c)
  • prevent submitting parent form when clicking a button in the editor, see #11 (64d873a)
  • select area inside array/object after inserting a new array/object (0d9a1b7)
  • select whole array/object after sorting or transforming it (0b20741)
  • upgrade to jsonrepair@2.2.1, which has some nice improvements (a34a558)

0.1.5 (2021-06-02)

Features

  • refactor TreeMode such that it can hold an empty document, make undo/redo working (19f18ec)
  • update dependencies (f4931c8)

Bug Fixes

  • "Ok" message after auto repair not working anymore (e5b6e01)
  • editor not getting focus when clicking inside the repair preview (913ef17)
  • properly handle repaired/unrepaired text with undo/redo (1259e48)
  • solve SCSS warnings (02854e6)
  • solve some SCSS warnings (2832337)
  • some fixes in ensuring a selection in case of an empty document (ed14a8c)
  • transform and sort not triggering a change event (3b16a21)

0.1.4 (2021-05-26)

Bug Fixes

  • clear old files from dist folder before bundling (59d1ec0)

0.1.3 (2021-05-26)

Bug Fixes

  • generated files missing in published npm package (c63b1c1)

0.1.2 (2021-05-26)

Features

  • link to source code for Svelte component usage, describe how to setup required preprocessors (72f04b4)

Bug Fixes

  • changing validator not triggering an update in CodeMode (5b4866e)

0.0.21 (2021-05-13)

Features

  • implement validation errors overview and validation error annotations in code mode (#6) (b206f10)

Bug Fixes

  • validation errors on an object/array not visible when expanded (d77ae5b)

0.0.20 (2021-05-12)

Bug Fixes

  • alignment of context menu when clicking the context menu button of the main menu (f4c0c5e)
  • let "Remove" remove the whole item/entry when a key or value is selected (ca1bcec)

0.0.19 (2021-04-28)

Bug Fixes

0.0.18 (2021-04-28)

  • Setup tooling for releases (standard-version, commitlint, husky)

0.0.17 (2021-04-28)

  • Setup tooling for releases (standard-version, commitlint, husky)

0.0.16 (2021-04-28)

  • Implemented context menu.
  • Many small refinements.