Skip to content

Commit

Permalink
docs: fix indentation in CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Sep 24, 2024
1 parent d421a34 commit 55d53c2
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@ All notable changes to this project will be documented in this file. See [standa

### ⚠ BREAKING CHANGES

* - The internal state is refactored. This should not give any issues except when
relying on some internal or undocumented features.
- Changed the API to consistently use `undefined` instead of `null`. This involves
properties `selection`, `onChange` (properties `contentErrors and `patchResult`),
`onRenderContextMenu` (property `selection`), `onSelect`, and methods `validate`,
and `select`.
- Old deprecation messages are removed.
- The API of the `expand` function is changed from `expand(callback)` to
`expand(path, callback)`, and can't be used anymore for collapsing nodes. Instead,
use the `collapse(path)` method for that.
- The property `edit` is removed from the types `KeySelection` and `ValueSelection`,
and two new types `EditKeySelection` and `EditValueSelection` are added.
- The helper functions `createKeySelection` and `createValueSelection` are changed,
argument `edit` is removed, and two new helper functions `createEditKeySelection`
and `createEditValueSelection` are added.
- The API of the component `EditableValue` requires an additional property `selection`.
- Some of the class names related to selection highlighting are moved/changed.
- The default query language is changed to `jsonquery`.
- The vanilla editor needs to be instantiated using `createJSONEditor(...)` instead
of `new JSONEditor(...)` in preparation for the upgrade to Svelte 5.
* The internal state is refactored. This should not give any issues except when
relying on some internal or undocumented features.
* Changed the API to consistently use `undefined` instead of `null`. This involves
properties `selection`, `onChange` (properties `contentErrors and `patchResult`),
`onRenderContextMenu` (property `selection`), `onSelect`, and methods `validate`,
and `select`.
* Old deprecation messages are removed.
* The API of the `expand` function is changed from `expand(callback)` to
`expand(path, callback)`, and can't be used anymore for collapsing nodes. Instead,
se the `collapse(path)` method for that.
* The property `edit` is removed from the types `KeySelection` and `ValueSelection`,
and two new types `EditKeySelection` and `EditValueSelection` are added.
* The helper functions `createKeySelection` and `createValueSelection` are changed,
argument `edit` is removed, and two new helper functions `createEditKeySelection`
and `createEditValueSelection` are added.
* The API of the component `EditableValue` requires an additional property `selection`.
* Some of the class names related to selection highlighting are moved/changed.
* The default query language is changed to `jsonquery`.
* The vanilla editor needs to be instantiated using `createJSONEditor(...)` instead
of `new JSONEditor(...)` in preparation for the upgrade to Svelte 5.

### Features

Expand Down

0 comments on commit 55d53c2

Please sign in to comment.