Pygls

Latest version: v1.3.1

Safety actively analyzes 688578 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

2.0.0a2

More details: https://github.com/openlawlibrary/pygls/releases/tag/v2.0.0a2

Bug Fixes

- Use `BinaryIO` not `TextIO` in `start_io()`
- Reduce log noise generated by unimplemented methods
- Return ``None`` for non ``file:`` URIs
- Cancel pending client requests when server process exits
- Wait for the server process to exit
- Don't call sys.exit

CI

- Run the new pyodide test suite in CI
- Bump action versions

Documentation

- Add RELEASING.md doc
- Update migration guide to cover thread pool changes
- Remove Strata server implementation
- Update v2 migration guide
- Update migration guide
- Fix intersphinx reference
- Add guide on running the pyodide test suite
- Restructure the documentation... again
- Add guide on running a pyodide server on nodejs
- Add guide on running a pyodide server in the browser

Features

- Add `start_tcp` method to `JsonRPCClient`
- Add `pygls.cli.start_server`
- Add `start_ws` method to pygls' `LangugageClient`
- Fallback to a synchronous main loop on WASM platforms

Miscellaneous Tasks

- Update CHANGELOG.md
- Update CONTRIBUTORS.md
- Properly indent RELEASING.md
- Fix task name
- Bump minimum required websockets version
- Update to lsprotocol-2024.0.0b1
- Delete pyodide specific code

Refactor

- Remove `multiprocessing.pool.ThreadPool`
- Make some methods public
- Convert `aio_readline` function to a `run_async` method
- Use high-level asyncio API in `start_io`
- Use new `pygls.io_` module for pygls' client
- Use high-level asyncio API for `server.start_tcp`
- Use high-level asyncio API for `server.start_ws`
- Stop inheriting from `asyncio.Protocol`
- Rename transport to writer

Testing

- Add end-to-end test covering threaded handlers
- Simplify coverage reporting
- Add the option to run the end-to-end tests over TCP
- Skip test on Windows for now
- Run end-to-end tests over WebSockets
- Include values for runtime and transport in pytest's header
- Update test cases to align with event loop changes
- Delete the old pyodide test suite
- Add option to run end-to-end tests under pyodide

Build

- V2.0.0a2

2.0.0a1

More details: https://github.com/openlawlibrary/pygls/releases/tag/v2.0.0a1

Bug Fixes

- Compute `resolve_provider` value for `CodeLensOptions`
- Respect client's preferred encoding when possible
- Compute `prepare_provider` for `RenameOptions`
- Default cwd for local extension
- Compute `resolve_provider` for `DocumentLinkOptions`

CI

- Update json-extension.yml to align with local extension
- Start testing against Python 3.13
- Stop testing on Python 3.8
- Use Python version in cache key

Documentation

- Update CONTRIBUTING.md
- Add linter commander to PR template
- Add `sphinx-design` plugin
- Delete getting started guide
- Create a "How To" section
- Add guide on handling invalid data
- Add about section
- Add API Reference section
- Update home page
- Setup basic tutorial structure
- Add how to guide on using the `pygls-playground`
- Add module docstrings for the example servers
- Include the hello world example code directly
- Include the example servers in the documentation
- Add Document Links example server
- Rpm-spec-language-server to Implementations.md
- Update GotoX title
- Add Document and Workspace symbol example server
- Fix typo in `server.py`
- Fix typo in user guide
- Add guide on implementing semantic tokens
- Add example semantic tokens server
- Add draft v2 migration guide

Features

- Provide more detail in exception
- Update to latest lsprotocol 2024.0.0a2
- Generate server methods from lsp types

Miscellaneous Tasks

- Update CHANGELOG.md
- Update CONTRIBUTORS.md
- Add README
- Add Kedro VS Code extension into implementations.md
- Update VSCode settings to align with local extension
- Update pygls-playground README
- Update requirements.txt for documentation
- Regen poetry.lock
- Fix lints
- Remove `pathMappings`
- Remove redundant method definitions
- Align to new server implementation
- Align tests with new server implementation
- Rename scripts to `generate_code`
- Add call for testing to README
- Remove deprecated code

Refactor

- End-to-end test infrastructure
- Update hover.py example to use language server argument
- Make the playground extension workspace local
- Rely on the `pygls.server.cwd` setting
- Use generated `BaseLanguageServer`
- Rename `Server` to `JsonRPCServer`

Testing

- Add end-to-end test for `textDocument/hover` requests
- Add end-to-end tests for color related methods
- Add end-to-end tests for various "Goto X" methods
- Add end-to-end tests for `textDocument/codeLens`
- Add end-to-end tests for the different diagnostic approaches
- Add end-to-end tests for the various formatting requests
- Extend `get_client_for` to accept custom capabilities
- Add end-to-end tests for rename methods
- Add end-to-end semantic tokens test

Build

- Upgrade black to latest (24.3.0)
- Bump idna from 3.6 to 3.7
- Bump jinja2 from 3.1.3 to 3.1.4
- Requests from 2.31.0 to 2.32.0
- Bump idna from 3.6 to 3.7 in /docs
- Bump certifi from 2023.11.17 to 2024.7.4
- Bump requests from 2.31.0 to 2.32.2 in /docs
- Bump urllib3 from 2.1.0 to 2.2.2
- Bump jinja2 from 3.1.2 to 3.1.4 in /docs
- Bump zipp from 3.17.0 to 3.19.1
- Bump setuptools from 69.0.2 to 70.0.0 in /docs

1.3.1

More details: https://github.com/openlawlibrary/pygls/releases/tag/v1.3.1

Documentation

- Add systemd-language-server to implementations
- Update implementations.md with Chapel's language server

Miscellaneous Tasks

- Update CHANGELOG.md
- Update CONTRIBUTORS.md
- Apache license missing dash

Build

- V1.3.1

1.3.0

More details: https://github.com/openlawlibrary/pygls/releases/tag/v1.3.0

Bug Fixes

- Add missing value to `pygls.trace.server`

CI

- Don't let Pyodide test fail the whole build
- Don't trigger CI on both push and pull_request

Features

- Drop Python 3.7 support
- Update dependencies to latest(ish)
- Enable debugging of servers in the playground

Miscellaneous Tasks

- Update CHANGELOG.md
- Update CONTRIBUTORS.md
- Cattrs is a direct dependency
- Update pytest-asyncio
- Add pytest-lsp and lsp-devtools to Implementations.md
- Update lsprotocol to 2023.0.1

Build

- V1.3.0

1.2.1

More details: https://github.com/openlawlibrary/pygls/releases/tag/v1.2.1

Bug Fixes

- Handle ResponseErrors correctly

Miscellaneous Tasks

- Update CHANGELOG.md
- Clean CHANGELOG

Build

- V1.2.1

1.2.0

More details: https://github.com/openlawlibrary/pygls/releases/tag/v1.2.0

Bug Fixes

- Remove dependency on typeguard
- Linting and formatting issues
- Simplify option validation check
- Index error on empty workspace

Features

- Allow user to override Python interpreter

Miscellaneous Tasks

- Update CHANGELOG.md
- Update CONTRIBUTORS.md
- Update `poetry.lock` after removing typeguard
- Add example configuration
- Pin lsprotocol to 2023.0.0

Refactor

- Move workspace/ into servers/ dir

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.