What's Changed
- Add some example servers by @alcarney in #440
- Respect client's preferred encoding when possible by @nthykier in #446
- test: add end-to-end tests for the various formatting requests by @alcarney in #448
- build(deps): upgrade black to latest (24.3.0) by @tombh in #449
- Add example server for
textDocument/rename
andtextDocument/prepareRename
by @alcarney in #452 - Update hover.py to use language server argument by @noklam in #455
- docs: update CONTRIBUTING.md by @tombh in #456
- update implementation.md with Kedro extension by @noklam in #457
- docs: add linter commander to PR template by @tombh in #460
- build(deps-dev): bump idna from 3.6 to 3.7 by @dependabot[bot] in #450
- build(deps-dev): bump jinja2 from 3.1.3 to 3.1.4 by @dependabot[bot] in #453
- build(deps-dev): bump requests from 2.31.0 to 2.32.0 by @dependabot[bot] in #461
- Make the
pygls-playground
extension a workspace local extension by @alcarney in #458 - Update documentation by @alcarney in #427
- build(deps): bump idna from 3.6 to 3.7 in /docs by @dependabot[bot] in #463
- Add Document Links example server by @alcarney in #464
- Add rpm-spec-language-server to Implementations.md by @dcermak in #466
- docs: update GotoX title by @noklam in #468
- docs: add Document and Workspace symbol example server by @alcarney in #470
- docs: fix typo in
server.py
by @Viicos in #471 - Provide more detail in exception by @tamird in #473
- Fix typo in user guide by @Viicos in #465
- build(deps): bump certifi from 2023.11.17 to 2024.7.4 by @dependabot[bot] in #477
- build(deps): bump requests from 2.31.0 to 2.32.2 in /docs by @dependabot[bot] in #478
- build(deps): bump urllib3 from 2.1.0 to 2.2.2 by @dependabot[bot] in #475
- build(deps): bump jinja2 from 3.1.2 to 3.1.4 in /docs by @dependabot[bot] in #479
- build(deps-dev): bump zipp from 3.17.0 to 3.19.1 by @dependabot[bot] in #481
- Add example semantic tokens server by @alcarney in #484
- build(deps): bump setuptools from 69.0.2 to 70.0.0 in /docs by @dependabot[bot] in #483
- Update to latest
lsprotocol
v2024.0.0a2 by @karthiknadig in #487 - ci: start testing against Python 3.13 by @alcarney in #472
- ci: use Python version in cache key by @tombh in #491
- Generate server methods based on
lsprotocol
type definitions by @alcarney in #489 - chore: remove deprecated code by @alcarney in #492
- docs: add RELEASING.md doc by @tombh in #488
- chore: properly indent RELEASING.md by @tombh in #494
- fix: use
BinaryIO
notTextIO
instart_io()
by @tombh in #497 - Remove
multiprocessing.pool.ThreadPool
by @alcarney in #498 - fix: return
None
for nonfile:
URIs by @alcarney in #500 - Add TCP support to pygls' LanguageClient by @alcarney in #501
- Add
start_ws
method to pygls'LanguageClient
by @alcarney in #503 - chore: update to lsprotocol-2024.0.0b1 by @karthiknadig in #499
- docs: remove Strata server implementation by @tombh in #505
- Move
JsonRPCServer.start_io
to high-level asyncio API by @alcarney in #506 - Migrate
JsonRPCServer.start_tcp
andJsonRPCServer.start_ws
to high level asyncio APIs by @alcarney in #507 - Replace "transports" with "writers" by @alcarney in #508
- Ressurrect our pyodide support by @alcarney in #509
- build: v2.0.0a2 by @alcarney in #511
- chore: fix migration guide link by @alcarney in #513
- fix: fallback JsonRpcException code for malformed server errors by @kim-jsc in #520
- docs: tweak a comment in client.py by @brettcannon in #521
- Introduce support for generator feature handlers by @alcarney in #516
- docs: remove a surplus '}' in examples/hello-world/README.md by @hsl-jack-82 in #523
- Use
issubclass
when checking the client/server instance to inject by @alcarney in #524 - Fixes error when passing max_workers by @marcelldls in #526
- Use type annotations when invoking
@server.command(...)
handlers by @alcarney in #527 - Release v2.0.0a3 by @alcarney in #528
- Update the hello world example to the v2.0 syntax by @itsmeknt in #533
- fix:
workspace/executeCommand
with async handlers by @alcarney in #535 - ci: start testing on Python 3.14 by @alcarney in #540
- chore: lsprotocol 2025.0.0rc1 by @dimbleby in #542
- Type annotation improvments by @alcarney in #543
- Fix pyodide tests by @alcarney in #544
- chore: add devcontainer definition and Makefile by @alcarney in #545
- build: v2.0.0a4 by @alcarney in #546
- Typing tweaks by @dimbleby in #547
- Make
TextDocument.lines
be aSequence[str]
rather thanList[str]
by @nthykier in #553 - chore: lsprotocol 2025.0.0 by @dimbleby in #554
- build(deps): bump the pip group across 2 directories with 5 updates by @dependabot[bot] in #559
- ci: migrate from
poetry
touv
by @tombh in #561 - Update Makefile to easily switch between Python versions by @alcarney in #562
- Fix UTF-8 position encoding by @lheckemann in #564
- build: v2.0.0a5 by @tombh in #565
- ci: pin all action versions by @tombh in #566
- fix: 🐛 fix conversion of client_position into offset_at_position by @wolfskaempf in #567
- build: v2.0.0a6 by @tombh in #568
- docs: switch to furo theme by @alcarney in #570
- Update and re-organise documentation by @alcarney in #572
- fix: Handle a special case of BrokenPipeError exception by @acheshkov in #573
- Change
pythonPath
topythonCommand
in thepygls-playground
extension by @alcarney in #575 - fix: missing inline completion provider server capability by @brettlangdon in #577
- test: adjust tests for cattrs structuring sequences as tuples by @musicinmybrain in #579
- build: v2.0.0 by @alcarney in #576
New Contributors
- @nthykier made their first contribution in #446
- @noklam made their first contribution in #455
- @dcermak made their first contribution in #466
- @Viicos made their first contribution in #471
- @tamird made their first contribution in #473
- @kim-jsc made their first contribution in #520
- @hsl-jack-82 made their first contribution in #523
- @marcelldls made their first contribution in #526
- @itsmeknt made their first contribution in #533
- @lheckemann made their first contribution in #564
- @wolfskaempf made their first contribution in #567
- @acheshkov made their first contribution in #573
- @brettlangdon made their first contribution in #577
- @musicinmybrain made their first contribution in #579
Full Changelog: v1.3.1...v2.0.0