Jedi

Latest version: v0.19.1

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

Scan your dependencies

Page 5 of 21

0.33.0

Changed

- Now support all Python 3.6 versions; we don't need to constrain our runtime requirements to anything less than 3.6 because only our development dependencies require Python > 3.6.0.
- Updated pygls to latest version.

0.32.0

Added

- Initialization options to granularly disable names and full names for hover operations based on their Jedi type. This is useful because some text editors will automatically send hover requests when a user pauses their cursor over text and the large amount of information can get annoying for some users. Resolves: <https://github.com/pappasam/jedi-language-server/issues/147>. Jedi types are currently: `module`, `class`, `instance`, `function`, `param`, `path`, `keyword`, `property`, and `statement`.
- Initialization option to disable hover entirely. If `enable` is set to false, the hover language feature will not be registered. May consider adding something similar to most language server features if this proves useful.

Changed

- In Hover, `Path` has been renamed to `Full name`, which is more accurate and is directly tied to the hover disabling options.
- Restrict Python version support to >= 3.6.2. Upgraded development dependencies. Latest black doesn't support Python < 3.6.2, so to keep things simple here we're now not supporting Python versions below that version either.

0.31.2

Fixed

- Docstring now presents same information as before, but organized more-tersely, (arguably) more clearly, and with much better markdown syntax support. For example, the name / signature has been pulled out from the main docstring and wrapped in python triple back ticks while the docstring is conditionally replaced with the description where relevant.

0.31.1

Fixed

- `get_type_hint` is now wrapped in general Exception. It's more broken than thought, so we'll prevent this from bubbling up to users.
- Conditionally show markdown. If users / editors want to prefer plaintext, we won't return markdown-formatted titles for the hover text

0.31.0

Changed

- Markdown text that is not recognized by `docstring-to-markdown` is no longer automatically wrapped in a code block. I found that, more often than not, this resulted in annoying formatting for me.
- Hover text now displays a lot more information, taking advantage of Jedi's Name methods and properties. Information now includes the module path to the name, the description, and an inferred type hint in addition to the docstring. This is all formatted with markdown so it looks pretty.

0.30.3

Fixed

RenameFile now works correctly: `kind` now correctly passed to RenameFile due to recently-released pygls updates. Minimum pygls version now 0.10.3.

Page 5 of 21

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.