Pygls

Latest version: v1.3.1

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

Scan your dependencies

Page 2 of 7

1.1.0

Json-extension

- Support cancellation in progress example

Progress

- Support work done progress cancellation from client

Server

- Add a type annotation to help completions in editor

Extra Notes
Added

- Add `LanguageClient` with LSP methods autogenerated from type annotations in `lsprotocol` ([328])
- Add base JSON-RPC `Client` with support for running servers in a subprocess and communicating over stdio. ([328])
- Support work done progress cancel ([253])
- Add support for `textDocument/inlayHint` and `inlayHint/resolve` requests ([342])

Changed
Fixed

- `pygls` no longer overrides the event loop for the current thread when given an explicit loop to use. ([334])
- Fixed `MethodTypeNotRegisteredError` when registering a `TEXT_DOCUMENT_DID_SAVE` feature with options. ([338])
- Fixed detection of `LanguageServer` type annotations when using string-based annotations. ([352])

[328]: https://github.com/openlawlibrary/pygls/issues/328
[334]: https://github.com/openlawlibrary/pygls/issues/334
[338]: https://github.com/openlawlibrary/pygls/discussions/338
[253]: https://github.com/openlawlibrary/pygls/pull/253
[342]: https://github.com/openlawlibrary/pygls/pull/342
[304]: https://github.com/openlawlibrary/pygls/issues/304

Pre Automation Changelog

1.0.2

Changed
- Update typeguard to 3.x ([327])

[327]: https://github.com/openlawlibrary/pygls/issues/327


Fixed
- Data files are no longer placed inside the wrong `site-packages` folder when installing `pygls` ([232])
[232]: https://github.com/openlawlibrary/pygls/issues/232

1.0.1

Fixed

- Fix progress example in json extension. ([230])
- Fix `AttributeErrors` in `get_configuration_async`, `get_configuration_callback`, `get_configuration_threaded` commands in json extension. ([307])
- Fix type annotations for `get_configuration_async` and `get_configuration` methods on `LanguageServer` and `LanguageServerProtocol` objects ([307])
- Provide `version` param for publishing diagnostics ([303])
- Relaxed the Python version upper bound to `<4` ([318])

[230]: https://github.com/openlawlibrary/pygls/issues/230
[303]: https://github.com/openlawlibrary/pygls/issues/303
[307]: https://github.com/openlawlibrary/pygls/issues/307
[318]: https://github.com/openlawlibrary/pygls/issues/318

1.0.0

0.13.1

0.13.0

Page 2 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.