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
On this page
Latest version 3.0.0, released December 1, 2026. Source repository
Its 3.0.0 release drops Python 3.10. Python end of life dates.
pygls 3.0.0 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 - 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 - 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 - Signature changed
pygls.client.JsonRpcException.__eq__
Was def __eq__(self, other: Any); now def __eq__(self, other: object). pypi.org - Signature changed
pygls.exceptions.JsonRpcException.__eq__
Was def __eq__(self, other: Any); now def __eq__(self, other: object). pypi.org - 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 - 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 - Signature changed
pygls.feature_manager.FeatureManager.thread
Was def thread(self) -> Callable; now def thread(self) -> Callable[[F], F]. pypi.org - 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 - 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 - 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 - Signature changed
pygls.protocol.json_rpc.FeatureManager.thread
Was def thread(self) -> Callable; now def thread(self) -> Callable[[F], F]. pypi.org - 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 - 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 - 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 - 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
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.