# Changelog

All notable changes to this npm module are documented in this file.

## [4.0.3] - 2026-10-15

- Doc Updates & Corrections [#1065](https://github.com/TypeFox/monaco-languageclient/pull/1065)
- Updated `vscode-jsonrpc` to `9.0.3`.

## [4.0.2] - 2026-09-24

- Corrected code snippets in README.md and fixed typos.

## [4.0.1] - 2026-09-23

- Fixed publishing

## [4.0.0] - 2026-09-23

- **BREAKING**: Removed the `socket` sub-export and moved socket exports to the main package export. The only remaining sub-export is `server`.
- **BREAKING**: Reworked the internal file layout. `disposable` and `logger` moved to `common`, and shared connection/socket interfaces are now exported directly via the index.
- Consolidated server-side helpers in the `server` export, including process, socket, stream and WebSocket connection helpers.
- Added browser socket helpers `listen` and `toSocket`.
- Updated `vscode-jsonrpc` to `9.0.2`.
- Updated the required runtime engines to Node.js `>=22` and npm `>=10`.
- Switched package compilation from `tsgo` to `tsc` version `7`.
- Dropped eslint and rely fully on oxlint.

## [3.5.0] - 2025-08-11

- Use public exports from vscode-jsonrpc instead of deep internal imports #[949](https://github.com/TypeFox/monaco-languageclient/pull/949)

## [3.4.0] - 2024-12-18

- Align required engine versions with other packages: Updated engine engine requirements for node to (`>=18.19.0`) and for npm to (`>=10.2.3`)

## [3.3.2] - 2024-06-04

- Updated to `vscode-jsonrpc@8.2.1`
- Minor code adjustments to eslint rule expansions

## [3.3.1] - 2024-04-10

- Correction of README and unification of copyright statements.

## [3.3.0] - 2024-03-18

- Repository now includes `monaco-editor-wrapper` and `@typefox/monaco-editor-react`
- Aligned LICENSE usage throughout the repository
- No direct code changes

## [3.2.0] - 2024-02-19

- Implement dispose method on WebSocketMessageReader [#602](https://github.com/TypeFox/monaco-languageclient/pull/602)
- Adjusted code to updated linting configuration

## [3.1.0] - 2023-11-02

- Updated to `vscode-jsonrpc@8.2.0`

## [3.0.0] - 2023-04-04

- **BREAKING CHANGE**: Do not reexport code of imported libraries (e.g. vscode-languageclient) #[459](https://github.com/TypeFox/monaco-languageclient/pull/459)
  - Content of `vscode-jsonrpc` is no longer re-exported

## [2.0.2] - 2022-01-24

- Gracefully handle JSON.parse errors #[455](https://github.com/TypeFox/monaco-languageclient/pull/455)

## [2.0.1] - 2022-12-01

- Changed the compile target and module to ES2022. Applied linting. Code was functionally not changed.

## [2.0.0] - 2022-09-08

- **BREAKING**: Transform to package of type module and switch to TypeScript ECMAScript Module Support in Node.js.
- **BREAKING**: All cjs exports have been removed.
- Added verification examples for webpack and vite that shall ensure the libs work in dependent projects and the give you an idea how to use `monaco-languageclient` and `vscode-ws-jsonrpc` with common bundlers.
- Revised all READMEs

## 1.x.x BREAKING CHANGES

The default export now provides esm code. If you require CommonJS modules you can use the additional exports.
The npm packages exports the following:

- `vscode-ws-jsonrpc`
- `vscode-ws-jsonrpc/server`
- `vscode-ws-jsonrpc/socket`
- `vscode-ws-jsonrpc/cjs`
- `vscode-ws-jsonrpc/cjs/server`
- `vscode-ws-jsonrpc/cjs/socket`

## [1.0.2] - 2022-07-21

- Update `vscode-jsonrpc` to `8.0.2`
- Updated `vite` to `3.0.2`

## [1.0.1] - 2022-06-22

- Library ships as src, esm and cjs builds. Use `typesVersions` in **package.json** for proper TypeScript import support

## [1.0.0] - 2022-06-21

- Merged npm packages `@codingame/monaco-jsonrpc` and `vscode-ws-jsonrpc` into this package.
- Integrate eslint with eslint-config-standard #[385](https://github.com/TypeFox/monaco-languageclient/pull/385)

There was no CHANGELOG available in the previous repositories.
