@monaco-editor/react breaking changes
@monaco-editor/react 4.0.0 (January 17, 2021) is its newest release with breaking changes, 21 of them. The first: Removed ControlledEditor. Every breaking API change we have recorded in @monaco-editor/react on npm: 21 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.7.0, released February 13, 2025.
Packages on npm run on Node.js. Node.js end of life dates.
@monaco-editor/react 4.0.0 breaking changes
- Removed
ControlledEditor
ControlledEditor is removed; the Editor component now handles both controlled and uncontrolled modes. npmjs.com - Removed
ControlledEditorOnChange
ControlledEditorOnChange was removed in @monaco-editor/react 4.0.0 npmjs.com - Removed
ControlledEditorProps
ControlledEditorProps was removed in @monaco-editor/react 4.0.0 npmjs.com - Removed
DiffEditorDidMount
DiffEditorDidMount was removed in @monaco-editor/react 4.0.0 npmjs.com - Removed
DiffEditorProps.editorDidMount
DiffEditorProps.editorDidMount was removed in @monaco-editor/react 4.0.0 npmjs.com - Removed
DiffEditorProps.line
DiffEditorProps.line was removed in @monaco-editor/react 4.0.0 npmjs.com - Removed
Editor._isControlledMode
The _isControlledMode prop is removed. Code passing it must stop doing so. github.com - Removed
EditorDidMount
EditorDidMount was removed in @monaco-editor/react 4.0.0 npmjs.com - Removed
EditorProps.editorDidMount
EditorProps.editorDidMount was removed in @monaco-editor/react 4.0.0 npmjs.com - Renamed
Editor.editorDidMount
The editorDidMount prop is now called onMount. Update code that passes editorDidMount to use onMount. github.com - Renamed
monaco
The main utility object monaco is renamed to loader. Update imports and calls that use monaco. npmjs.com - Behavior changed
Editor.defaultValue
The defaultValue prop is now used during default model creation, which may change the initial content shown. github.com - Signature changed
DiffEditorProps.modified
Was modified?: string | null; now modified?: string. npmjs.com - Signature changed
DiffEditorProps.options
Was options?: monacoEditor.editor.IDiffEditorConstructionOptions; now options?: monaco.editor.IDiffEditorConstructionOptions. npmjs.com - Signature changed
DiffEditorProps.original
Was original?: string | null; now original?: string. npmjs.com - Signature changed
DiffEditorProps.theme
Was theme?: Theme; now theme?: Theme | string. npmjs.com - Signature changed
Editor.onMount
onMount receives the editor instance first and the monaco instance second. Handlers that rely on the old argument list should be checked. github.com - Signature changed
EditorProps.options
Was options?: monacoEditor.editor.IStandaloneEditorConstructionOptions; now options?: monaco.editor.IStandaloneEditorConstructionOptions. npmjs.com - Signature changed
EditorProps.overrideServices
Was overrideServices?: monacoEditor.editor.IEditorOverrideServices; now overrideServices?: monaco.editor.IEditorOverrideServices. npmjs.com - Signature changed
EditorProps.value
Was value?: string | null; now value?: string. npmjs.com - Signature changed
Monaco
Was type Monaco = typeof monacoEditor; now type Monaco = typeof monaco. npmjs.com
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.