@codemirror/state breaking changes
@codemirror/state 6.0.0 (June 8, 2022) is its newest release with breaking changes. The first: Removed ChangeDesc.constructor. Every breaking API change we have recorded in @codemirror/state on npm: 11 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 6.7.6, released September 22, 2026.
Packages on npm run on Node.js. Node.js end of life dates.
- From 0.20.0 to 6.0.0: 1 breaking change in 1 version.
- From 0.19.0 to 6.0.0: 8 breaking changes in 2 versions.
@codemirror/state 6.0.0 breaking changes
- Removed
ChangeDesc.constructor
new ChangeDesc() was removed in @codemirror/state 6.0.0 npmjs.com
@codemirror/state 0.20.0 breaking changes
- Removed
extend
The deprecated precedence name extend was removed. Stop using it and use a supported precedence instead. github.com - Removed
fallback
The deprecated precedence name fallback was removed. Stop using it and use a supported precedence instead. github.com - Removed
override
The deprecated precedence name override was removed. Stop using it and use a supported precedence instead. github.com - Signature changed
combineConfig
Was function combineConfig<Config>(configs: readonly Partial<Config>[], defaults: Partial<Config>, combine?: {[P in keyof Config]?: (first: Config[P], second: Config[P]) => Config[P];}): Config; now function combineConfig<Config extends... npmjs.com - Signature changed
EditorState.replaceSelection
Was replaceSelection(text: string | Text): {changes: ChangeSet; selection: EditorSelection; effects: readonly StateEffect<any>[];}; now replaceSelection(text: string | Text): TransactionSpec. npmjs.com - Signature changed
Facet.from
Was from(field: StateField<Input>): Extension; now from<T extends Input>(field: StateField<T>): Extension. npmjs.com - Signature changed
Prec
Was const Prec: {lowest: (ext: Extension) => Extension; low: (ext: Extension) => Extension; default: (ext: Extension) => Extension; high: (ext: Extension) => Extension; highest: (ext: Extension) => Extension; fallback: (ext: Extension) =>... npmjs.com
@codemirror/state 0.19.0 breaking changes
- Behavior changed
User event strings emitted by core packages follow a new system, and hierarchical event tags are created by separating words with dots. Code that matches user event strings may need updating. github.com - Signature changed
EditorState.languageData
Was static languageData: Facet<(state: EditorState, pos: number) => readonly {[name: string]: any;}[], readonly ((state: EditorState, pos: number) => readonly {[name: string]: any;}[])[]>; now static languageData: Facet<(state... npmjs.com - Signature changed
EditorState.languageDataAt
Was languageDataAt<T>(name: string, pos: number): readonly T[]; now languageDataAt<T>(name: string, pos: number, side?: -1 | 0 | 1): readonly T[]. npmjs.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.