npm / codemirror
codemirror
What changed in codemirror 6, from its official release notes, upgrade guides and advisories. Also covers @types/codemirror. Sources checked 2026-10-27.
2 breaking1 new APIs and options
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initcodemirror 63 changes
Breaking changes 2
The package was renamed from @codemirror/example-setup to codemirror.
The package no longer exports EditorState, since it is no longer necessary to set up a basic editor.
New APIs and options 1
A new export provides a minimal set of editor extensions.