Jedi

Latest version: v0.19.2

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

Scan your dependencies

Page 7 of 21

0.30.0

Added

- New initialization options to configure extracted variable and extracted function codeAction: nameExtractVariable and nameExtractFunction.

Changed

- Configurable codeAction extraction names. Names are no longer randomly-generated. Instead, they are configurable in initializationOptions, defaulting to a name that's specific to jedi-language-server.

0.29.0

Added

- The following CLI options:
- `--tcp`: use TCP server instead of stdio
- `--host`: host for TCP server (default 127.0.0.1)
- `--port`: port for TCP server (default 2087)
- `--log-file`: redirect logs to the given file instead of writing to stderr
- `-v` / `--verbose`: increase verbosity of log output
- Logging. To stderr by default, but optionally a file on the file system.

0.28.8

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.

0.28.7

Changed

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

0.28.6

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.

0.28.5

Fixed

- Handle TextEdit edge case where opcode is checked for 1 past last character. Resolves <https://github.com/pappasam/jedi-language-server/issues/96>
- No longer return textEdit actions from Jedi that aren't valid Python. Prevents all sorts of wonkiness.

Page 7 of 21

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.