---
title: "pygls 3.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each pygls release removed, renamed or changed: 16 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/pygls
last_updated: 2026-12-04
---

# pygls breaking changes

pygls 3.0.0 (December 1, 2026) is its newest release with breaking changes, 16 of them. The first: pygls 3.0.0 drops support for Python 3.9. Every breaking API change we have recorded in pygls on PyPI: 16 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

Latest version `3.0.0`, released December 1, 2026. [Source repository](https://github.com/openlawlibrary/pygls)

Its 3.0.0 release drops [Python 3.10](https://since.dev/calendar/python/3.10.md). [Python end of life dates](https://since.dev/calendar/python.md).

## pygls 3.0.0 breaking changes

pygls 3.0.0, released December 1, 2026: 16 breaking changes.

- **Removed**  

The release ends support for Python 3.9, so code running on Python 3.9 should move to a newer Python before upgrading. [github.com](https://github.com/openlawlibrary/pygls/releases/tag/v3.0.0)
- **Removed**  

The release ends support for Python 3.10, so code running on Python 3.10 should move to a newer Python before upgrading. [github.com](https://github.com/openlawlibrary/pygls/releases/tag/v3.0.0)
- **Signature changed** `pygls.client.JsonRPCClient.report_server_error`  

Was def report_server_error(self, error: Exception, source: type\[PyglsError\] | type\[JsonRpcException\]); now def report_server_error(self, error: Exception, source: type\[PyglsError | JsonRpcException\]). [pypi.org](https://pypi.org/project/pygls/3.0.0/)
- **Signature changed** `pygls.client.JsonRpcException.__eq__`  

Was def \_\_eq\_\_(self, other: Any); now def \_\_eq\_\_(self, other: object). [pypi.org](https://pypi.org/project/pygls/3.0.0/)
- **Signature changed** `pygls.exceptions.JsonRpcException.__eq__`  

Was def \_\_eq\_\_(self, other: Any); now def \_\_eq\_\_(self, other: object). [pypi.org](https://pypi.org/project/pygls/3.0.0/)
- **Signature changed** `pygls.feature_manager.FeatureManager.command`  

Was def command(self, command_name: str) -> Callable; now def command(self, command_name: str) -> Callable\[\[F\], F\]. [pypi.org](https://pypi.org/project/pygls/3.0.0/)
- **Signature changed** `pygls.feature_manager.FeatureManager.feature`  

Was def feature(self, feature_name: str, options: Optional\[Any\] = None) -> Callable; now def feature(self, feature_name: str, options: Any | None = None) -> Callable\[\[F\], F\]. [pypi.org](https://pypi.org/project/pygls/3.0.0/)
- **Signature changed** `pygls.feature_manager.FeatureManager.thread`  

Was def thread(self) -> Callable; now def thread(self) -> Callable\[\[F\], F\]. [pypi.org](https://pypi.org/project/pygls/3.0.0/)
- **Signature changed** `pygls.lsp.client.BaseLanguageClient.report_server_error`  

Was def report_server_error(self, error: Exception, source: type\[PyglsError\] | type\[JsonRpcException\]); now def report_server_error(self, error: Exception, source: type\[PyglsError | JsonRpcException\]). [pypi.org](https://pypi.org/project/pygls/3.0.0/)
- **Signature changed** `pygls.protocol.json_rpc.FeatureManager.command`  

Was def command(self, command_name: str) -> Callable; now def command(self, command_name: str) -> Callable\[\[F\], F\]. [pypi.org](https://pypi.org/project/pygls/3.0.0/)
- **Signature changed** `pygls.protocol.json_rpc.FeatureManager.feature`  

Was def feature(self, feature_name: str, options: Optional\[Any\] = None) -> Callable; now def feature(self, feature_name: str, options: Any | None = None) -> Callable\[\[F\], F\]. [pypi.org](https://pypi.org/project/pygls/3.0.0/)
- **Signature changed** `pygls.protocol.json_rpc.FeatureManager.thread`  

Was def thread(self) -> Callable; now def thread(self) -> Callable\[\[F\], F\]. [pypi.org](https://pypi.org/project/pygls/3.0.0/)
- **Signature changed** `pygls.workspace.position_codec.PositionCodec.__init__`  

Was def \_\_init\_\_(self, encoding: Optional\[Union\[types.PositionEncodingKind, str\]\] = types.PositionEncodingKind.Utf16); now def \_\_init\_\_(self, encoding: None | (types.PositionEncodingKind | str) = types.PositionEncodingKind.Utf16). [pypi.org](https://pypi.org/project/pygls/3.0.0/)
- **Signature changed** `pygls.workspace.PositionCodec.__init__`  

Was def \_\_init\_\_(self, encoding: Optional\[Union\[types.PositionEncodingKind, str\]\] = types.PositionEncodingKind.Utf16); now def \_\_init\_\_(self, encoding: None | (types.PositionEncodingKind | str) = types.PositionEncodingKind.Utf16). [pypi.org](https://pypi.org/project/pygls/3.0.0/)
- **Signature changed** `pygls.workspace.Workspace.__init__`  

Was def \_\_init\_\_(self, root_uri: Optional\[str\], sync_kind: TextDocumentSyncKind = TextDocumentSyncKind.Incremental, workspace_folders: Optional\[Sequence\[WorkspaceFolder\]\] = None, position_encoding: Optional\[Union\[PositionEncodingKind... [pypi.org](https://pypi.org/project/pygls/3.0.0/)
- **Signature changed** `pygls.workspace.workspace.Workspace.__init__`  

Was def \_\_init\_\_(self, root_uri: Optional\[str\], sync_kind: TextDocumentSyncKind = TextDocumentSyncKind.Incremental, workspace_folders: Optional\[Sequence\[WorkspaceFolder\]\] = None, position_encoding: Optional\[Union\[PositionEncodingKind... [pypi.org](https://pypi.org/project/pygls/3.0.0/)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
