Skip to content

Releases: pappasam/jedi-language-server

Version 0.28.8

26 Mar 06:27
Compare
Choose a tag to compare

Changed

  • Updated cli to use argparse instead of click.
  • Required pygls version updated to 0.10.2 to accommodate recent bugfixes / prevent users from filing issues based on old version.

Removed

  • Removed click from dependencies.

Version 0.28.7

22 Mar 03:52
Compare
Choose a tag to compare

Changed

  • Within TextEdit utils, simplify mapping from file offset to Position. This is clearer, handles edge cases better, and is more algorithmically efficient.

Version 0.28.6

21 Mar 17:29
Compare
Choose a tag to compare

Fixed

General TextEdit fixes for code refactoring:

  • Update fix from 0.28.5 so that it doesn't pad at the start; no opcode will refer to old[-1:n].
  • Revert opcode.old_end -> opcode.old_end - 1. This becomes unnecessary with prior update, and indeed could be a bad idea when in the middle of a file (if you're unlucky, you could end up finding the line before the one you wanted).
  • Use pygls.document to get the old code, rather than the private jedi method.

Version 0.28.5

20 Mar 20:52
8e5d47e
Compare
Choose a tag to compare

Fixed

  • Handle TextEdit edge case where opcode is checked for 1 past last character. Resolves #96
  • No longer return textEdit actions from Jedi that aren't valid Python. Prevents all sorts of wonkyness.

Version 0.28.4

19 Mar 19:46
6a743cd
Compare
Choose a tag to compare

Fixed

  • Handle null rootUri's by not creating a Jedi project, fixes #95
  • Tolerate invalid InitializationOptions by using default values on error

Version 0.28.3

17 Mar 06:57
Compare
Choose a tag to compare

Fixed

  • completionItem/resolve now works again (broke with 0.28.0's migration to pygls 0.10.0)

Version 0.28.2

17 Mar 06:09
Compare
Choose a tag to compare

Added

  • signatureHelp now also returns documentation, if available.

Version 0.28.1

17 Mar 00:32
Compare
Choose a tag to compare

Same functions as 0.28, but different tag.

Version 0.28.0

17 Mar 00:27
Compare
Choose a tag to compare

Changed

  • pygls 0.10.0. This version explicitly uses pydantic and better supports initialization options. This enables use to remove the cached-property dependency for Python versions 3.6 and 3.7.
  • pydantic is now used for initialization options parsing. Simplified so much that we were able to remove initializationOption-specific tests.
  • Explicitly add method for did_open, for some weird reason the latest pygls bugs out if you don't explicitly set this function to at least an empty function.

Removed

  • Support for Python 3.6.0. We now only support Python 3.6.1+.
  • Monkeypatch for null versus missing attributes. pydantic / pygls>=0.10.0 handles this.

Version 0.27.2

09 Mar 01:38
Compare
Choose a tag to compare

Fixed

  • Provide correct version information on TextDocumentEdit.