# What changed in vanilla-jsoneditor

> 13 changes in vanilla-jsoneditor 1 to 3 from its official release notes, upgrade guides and advisories: 3 breaking, 1 security, 3 new APIs and options. Each one cited. Sources checked 2026-11-12. HTML: https://unstale.sh/npm/vanilla-jsoneditor/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## vanilla-jsoneditor 3

### Breaking changes

- Pressing Escape no longer exits fullscreen mode in JSONEditorModal. (3.12.0) — [release notes](https://github.com/josdejong/svelte-jsoneditor/releases/tag/v3.12.0)
- The method is synchronous instead of asynchronous. (3.0.0) — [release notes](https://github.com/josdejong/svelte-jsoneditor/releases/tag/v3.0.0)

### Security

- The package was upgraded to its latest version, fixing a security vulnerability. (3.0.0) — [release notes](https://github.com/josdejong/svelte-jsoneditor/releases/tag/v3.0.0)

### New APIs and options

- Adds a prop to name the editor for screen readers. (3.13.0) — [release notes](https://github.com/josdejong/svelte-jsoneditor/releases/tag/v3.13.0)
- The maximum document size in text mode is now optionally configurable. (3.12.0) — [release notes](https://github.com/josdejong/svelte-jsoneditor/releases/tag/v3.12.0)

### Fixes and other changes

- Three CSS variables now have the missing jse prefix. (3.13.0) — [release notes](https://github.com/josdejong/svelte-jsoneditor/releases/tag/v3.13.0)
- A scrollable ancestor is no longer scrolled when the editor gets focus. (3.13.0) — [release notes](https://github.com/josdejong/svelte-jsoneditor/releases/tag/v3.13.0)
- This CSS variable is now applied to the active search match. (3.13.0) — [release notes](https://github.com/josdejong/svelte-jsoneditor/releases/tag/v3.13.0)
- Fixed a layout issue with the Transform modal preview error on small screens. (3.11.0) — [release notes](https://github.com/josdejong/svelte-jsoneditor/releases/tag/v3.11.0)
- Browser addons are prevented from reacting to keydown events such as shift+arrow down. (3.0.0) — [release notes](https://github.com/josdejong/svelte-jsoneditor/releases/tag/v3.0.0)

## vanilla-jsoneditor 2

### Breaking changes

- Upgraded to Svelte 5. (2.0.0) — [release notes](https://github.com/josdejong/svelte-jsoneditor/releases/tag/v2.0.0)

## vanilla-jsoneditor 1

### New APIs and options

- A new query language, JSON Query, was added. (1.0.0) — [release notes](https://github.com/josdejong/svelte-jsoneditor/releases/tag/v1.0.0)

### Behavior and default changes

- The expand and selection APIs were improved, which may affect how developers use them. (1.0.0) — [release notes](https://github.com/josdejong/svelte-jsoneditor/releases/tag/v1.0.0)
