All notable changes to npm module @typefox/monaco-editor-react are documented in this file.
- Updated all
@codingame/monaco-vscodepackages to31.0.0. - Updated to
monaco-languageclient@10.8.0. - Dropped eslint and rely fully on oxlint.
- New monaco-vscode-api / vite 8 beta 12 + esbuild-import-meta-url-plugin removal #1017
- Updated all
@codingame/monaco-vscodepackages to25.1.2.
- Updated all
- Updated to
monaco-languageclient@10.7.0.
- Update to monaco-vscode-api 25 #1009
- Updated all
@codingame/monaco-vscodepackages to25.0.0.
- Updated all
- Updated to
monaco-languageclient@10.6.0. - Introduce mise-en-place #1012
- Remove own ConsoleLogger implementation in mlc/common #1011
- Updated all
@codingame/monaco-vscodepackages to24.2.0. - Updated to
monaco-languageclient@10.5.0. - LanguageClient config enhancements, plus dynamic loading of extension-service-override #1006.
- Use flags to trigger behaviour #997.
- Updated all
@codingame/monaco-vscodepackages to23.2.2. - Updated to
monaco-languageclient@10.4.0. - Use oxlint for most linting now. eslint is only kept for currently unsupported rules or eslint plugins.
- Fixed re-rendering issues with React StrictMode #986.
- Added
onConfigProcessedto announced theEditorAppConfigchanged. The editor is only re-launched the component was disposed. - Optional
modifiedTextValueandoriginalTextValueare removed as text/model changes are handled viaEditorAppConfig. vscodeApiConfigis now optional as you can start the api layer independently. If you use the compoenent withoutvscodeApiConfig, but did not ensure it is started an error is thrown.
- Added
- React comp: Only execute queued EditorApp start if HTML is still valid #995.
- Updated to
monaco-languageclient@10.3.0. - Updated all
@codingame/monaco-vscodepackages to23.0.0.
- Updated to
monaco-languageclient@10.2.0. - Updated all
@codingame/monaco-vscodepackages to22.1.0.
- Updated migration guide, relaxed requirement to specify htmlContainer #966.
- tsgo and erasableSyntaxOnly #964.
- Updated to
monaco-languageclient@10.1.0. - Updated all
@codingame/monaco-vscodepackages to21.3.2.
- Merge
monaco-editor-wrapperwithmonaco-languageclient:- Updated to
monaco-languageclient@10.0.0. - Documentation update #956.
- Lifecycle adjustments #939.
- Move MonacoLanguageClientWrapper to monaco-languageclient #920.
- Please see the migration guide.
- Noteworthy updates and stability improvements:
- Fix React Stict Mode
- Only one language client can be used directly with the component
- Fixed rerendering issue by introducing an internal update queue
- Updated to
- Updated all
@codingame/monaco-vscodepackages to21.1.0.
- Updated to
monaco-languageclient@9.11.0andmonaco-editor-wrapper@6.12.0. - Updated all
@codingame/monaco-vscodepackages to20.2.1.
- Updated to
monaco-languageclient@9.10.0andmonaco-editor-wrapper@6.11.0. - Updated all
@codingame/monaco-vscodepackages to20.1.1.
- Updated to
monaco-languageclient@9.9.0andmonaco-editor-wrapper@6.10.0. - Updated all
@codingame/monaco-vscodepackages to19.1.4.
- Updated to
monaco-languageclient@9.8.0andmonaco-editor-wrapper@6.9.0. - Updated all
@codingame/monaco-vscodepackages to18.1.0.
- Updated to
monaco-languageclient@9.7.1andmonaco-editor-wrapper@6.8.1. - Updated all
@codingame/monaco-vscodepackages to17.2.1.
- Updated to
monaco-languageclient@9.7.0andmonaco-editor-wrapper@6.8.0. - Updated all
@codingame/monaco-vscodepackages to17.1.2.
- Updated to
monaco-languageclient@9.6.0andmonaco-editor-wrapper@6.7.0. - Update monaco-editor-react README for WorkFactory Usage #914
- Update complete uri and model handling in EditorApp #904
- Model handling improvements #891
- Updated to
monaco-languageclient@9.5.0andmonaco-editor-wrapper@6.6.0. - Updated all
@codingame/monaco-vscodepackages to15.0.2.
- Updated to
- Update dependencies, fix tests, language clients config changes #889
- fix: old monaco editor instance is not destroyed before a new one init #873
- Updated all
@codingame/monaco-vscodepackages to14.0.6. - Updated to
monaco-languageclient@9.4.1andmonaco-editor-wrapper@6.5.0.
- refactor: replace all useEffect and useCallback with one useEffect #862
- Handle languageclient errors cases more robustly #859
- Updated to
monaco-languageclient@9.4.0andmonaco-editor-wrapper@6.4.0. - Updated all
@codingame/monaco-vscodepackages to14.0.4.
- Move text changes handling from react component to the wrapper #849
- Updated to
monaco-languageclient@9.3.0andmonaco-editor-wrapper@6.3.0. - Updated all
@codingame/monaco-vscodepackages to14.0.2.
- Updated to
monaco-languageclient@9.2.5andmonaco-editor-wrapper@6.2.5. - Updated all
@codingame/monaco-vscodepackages to13.1.6.
- Fix non dynamic import of @codingame/monaco-vscode-views-service-override #844
- Updated to
monaco-languageclient@9.2.4andmonaco-editor-wrapper@6.2.4. - Updated all
@codingame/monaco-vscodepackages to13.1.4.
- clean subscriptions in react #839
- Updated to
monaco-languageclient@9.2.3andmonaco-editor-wrapper@6.2.3. - Updated all
@codingame/monaco-vscodepackages to13.1.3.
- Updated to
monaco-languageclient@9.2.2andmonaco-editor-wrapper@6.2.2. - Updated all
@codingame/monaco-vscodepackages to13.1.2.
- Moved workerFactory from
monaco-editor-wrappertomonaco-languageclient - Updated to
monaco-languageclient@9.2.1andmonaco-editor-wrapper@6.2.1.
- Update to monaco-vscode-api v13 #836
- Updated all
@codingame/monaco-vscodepackages to13.1.1. - Breaking changes not in this API, but when using
@monaco-vscode-api:@codingame/monaco-vscode-apishould not be installed as vscode anymore@codingame/monaco-vscode-extension-apican optionally be installed asvscodeto use the extension api from the main thread- Some imports should be updated:
vscode/*=>@codingame/monaco-vscode-api/*vscode/services=>@codingame/monaco-vscode-api
- Updated all
- Updated to
monaco-languageclient@9.2.0andmonaco-editor-wrapper@6.2.0.
- View service related imports are made dynamically #829
@typefox/monaco-editor-reactnow works with views service #823- Ensure configuration is init before service init #820
- Only
monaco-editor-wrapperis apeerDependencies - Updated engine engine requirements for node to (
>=18.19.0) and for npm to (>=10.2.3) - Updated to
monaco-editor-wrapper@9.0.0andmonaco-languageclient@6.0.0. Updated all@codingame/monaco-vscodepackages to11.1.2. - Bugfix: Wrapper: Text model content is not properly updated with updateCodeResource #808
- Workaround for
@codingame/monaco-vscode-chat-extensions-notebook-task-terminal-testing-commondependency problem - Run language clients independent of wrapper lifecycle #784
- Internal functions clean-up.
containerRef.currentis directly passed to editor start.
- Internal functions clean-up.
- Use
didModelContentChangefrommonaco-editor-wrapperfor model content verifications. - Updated to eslint 9
- Clean-up and allow registering a registerModelUpdate callback. This is used to properly handle
onTextChanged - Support all arguments for monaco-vscode-api
initialize#756- On startup the current containerRef is passed to the interal editor app/monaco-editor
- Update to monaco-vscode-api 9.0.x #749
- Enhancements to logging
- monaco-languageclient config improvement, wrapper+languageclientwrapper improvements #741
- Turned react component from class to function #739
- Updated to
monaco-editor-wrapper@5.5.3andmonaco-languageclient@8.8.3. Updated all@codingame/monaco-vscodepackages to8.0.4.
- Updated to
monaco-editor-wrapper@5.5.2andmonaco-languageclient@8.8.2. Updated all@codingame/monaco-vscodepackages to8.0.2.
- Updated to
monaco-editor-wrapper@5.5.1andmonaco-languageclient@8.8.1. Updated all@codingame/monaco-vscodepackages to8.0.1.
- isRestarting is only checked and awaited at the beginning of handleReInit #723
- Open default workspace #714
- Update to monaco-vscode-api 8.0.0 #722
- Updated to
monaco-editor-wrapper@5.5.0,monaco-languageclient@8.8.0and version8.0.0of@codingame/monaco-vscodepackages
- Updated to
- Update to latest monaco-vscode-api #707
- Updated to
monaco-editor-wrapper@5.4.0,monaco-languageclient@8.7.0and version7.0.7of@codingame/monaco-vscodepackages
- Updated to
- Updated to
monaco-editor-wrapper@5.3.1
- Fix Diff Editor Model Refs #696
- Update to latest monaco-vscode-api #691
- Updated to
monaco-editor-wrapper@5.3.0,monaco-languageclient@8.6.0and version6.0.3of@codingame/monaco-vscodepackages
- Updated to
- Update onTextChanged in MonacoEditorReactComp #684
- Wait for Monaco to initialize when MonacoEditorReactComp props are updated #682
- Dispose extension files in EditorAppExtended #680
- Updated to
monaco-editor-wrapper@5.2.0,monaco-languageclient@8.5.0and version5.2.0of@codingame/monaco-vscodepackages - Wrapper: Make codeResources and useDiffEditor optional in EditorAppConfig #670
- Additional code adjustments to eslint rule expansion
- chore: localeLoader: allow manually select which locale to load #669
- Updated to
monaco-editor-wrapper@5.1.2
- Updated to
monaco-editor-wrapper@5.1.1
- Updated to
monaco-editor-wrapper@5.1.0 - Feature: If present
connectionProviderfrom the languageclient section in theUserConfigis now driving the MessageTransports configuration. Previously the MessageTransports were always created indepently leading to inconsistent configuration of theLanguageClientWrapper.
- BREAKING:
- All
UserConfigchanges frommonaco-editor-wrapper@5.0.0 onTextChangednow expects an object and contains main plus original texts
- All
- Updated to
monaco-editor-wrapper@5.0.0,monaco-languageclient@8.4.0and version5.1.1of@codingame/monaco-vscodepackages - Remove the main bundle from the package. One should do this at application level.
- Updated to
monaco-editor-wrapper@4.2.1,monaco-languageclient@8.3.1and version4.3.2of@codingame/monaco-vscodepackages
- Updated to
monaco-editor-wrapper@4.2.0,monaco-languageclient@8.3.0and version4.2.1of@codingame/monaco-vscodepackages - @typefox/monaco-editor-react works in strict mode #634
- Using own
Loggerinstance where implementation is provided bymonaco-languageclient
- Updated to
monaco-editor-wrapper@4.1.0 - [MonacoEditorReactComp] onLoad() should expose editor refrence #612
- Updated to
monaco-editor-wrapper@4.0.2
- Updated to
monaco-editor-wrapper@4.0.1
- Moved code to monaco-languageclient repository.
- Vite & monaco-editor-workers monaco-components #67
- Selective applicance of wrappers css monaco-components #65
- Having the component twice on a page monaco-components #64
- [Monaco Editor React Component] unavailable language server throws unhandled error monaco-components #62
- Updated to
monaco-editor-wrapper3.6.0
- Updated to
monaco-editor-wrapper3.5.0
- Updated to
monaco-editor-wrapper3.4.0 - Make subclassing MonacoEditorReactComp more easy #58
- Allow to init and start separately #59
- Properly separate and define classic and extended editor #54
- Renamed
EditorAppVscodeApitoEditorAppExtendedandEditorAppConfigVscodeApitoEditorAppConfigExtended - BREAKING:
$typeofEditorAppConfigExtendedwas changed fromvscodeApitoextended
- Renamed
- Updated to
monaco-editor-wrapper3.3.0 - Include all direct dependencies that the code uses in the
package.json.
- Updated to
monaco-editor-wrapper3.2.5
- Updated to
monaco-editor-wrapper3.2.4
- Updated to
monaco-editor-wrapper3.2.3
- Updated to
monaco-editor-wrapper3.2.2
- Updated to
monaco-editor-wrapper3.2.1
- Updated to
monaco-editor-wrapper3.2.0 - htmlElement is no longer part of UserConfig. Must be passed at start #51
- The HTMLElement it is no longer part of the UserConfig. The component just uses its root.
- Improve configuration change detection #47
- semantic highlighting works with classic editor #45
- Updated to
monaco-editor-wrapper3.1.0
- Updated to
monaco-editor-wrapper3.0.1
- Updated to
monaco-editor-wrapper3.0.0 - Removed
onLoadingas the current implemetation made no difference toonLoad
- Updated to
monaco-editor-wrapper2.1.1
- Make worker handling more flexible #27
- Updated to
monaco-editor-wrapper2.1.0
- Updated to
monaco-editor-wrapper2.0.1usingmonaco-languageclient6.1.0/monaco-vscode-api1.79.1andmonaco-editor0.38.0
- Initial release
- React component that easily allows to use
monaco-editor-wrapperand all its underlying features within the react world