# What changed in codemirror

> 3 changes in codemirror 6 from its official release notes, upgrade guides and advisories: 2 breaking, 1 new APIs and options. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/codemirror/

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

## codemirror 6

### Breaking changes

- The package was renamed from @codemirror/example-setup to codemirror. (6.0.0) — [release notes](https://github.com/codemirror/basic-setup/blob/HEAD/CHANGELOG.md)
- The package no longer exports EditorState, since it is no longer necessary to set up a basic editor. (6.0.0) — [release notes](https://github.com/codemirror/basic-setup/blob/HEAD/CHANGELOG.md)

### New APIs and options

- A new export provides a minimal set of editor extensions. (6.0.0) — [release notes](https://github.com/codemirror/basic-setup/blob/HEAD/CHANGELOG.md)
