Debian Codegraph @

CHANGELOG.rst

raw
1 .. :changelog:
2
3 Changelog
4 ---------
5
6 Unreleased
7 ++++++++++
8
9 0.20.0 (2026-05-02)
10 +++++++++++++++++++
11
12 - Python 3.14 support
13 - Removed support for Python 3.8 and 3.9
14 - Upgraded Typeshed
15 - Better support for Final/ClassVar
16 - ``__new__`` is now also recognized as a signature and TypeVar inference
17 - Support for ``Self``
18 - Support for ``TypeAlias``, generics for ``type[...]`` and ``tuple[...]``
19
20 0.19.2 (2024-11-10)
21 +++++++++++++++++++
22
23 - Python 3.13 support
24
25 0.19.1 (2023-10-02)
26 +++++++++++++++++++
27
28 - Python 3.12 support (Thanks Peter!)
29
30 0.19.0 (2023-07-29)
31 +++++++++++++++++++
32
33 - Python 3.11 support
34 - Massive improvements in performance for ``Interpreter`` (e.g. IPython) users.
35 This especially affects ``pandas`` users with large datasets.
36 - Add ``jedi.settings.allow_unsafe_interpreter_executions`` to make it easier
37 for IPython users to avoid unsafe executions.
38
39 0.18.2 (2022-11-21)
40 +++++++++++++++++++
41
42 - Added dataclass-equivalent for attrs.define
43 - Find fixtures from Pytest entrypoints; Examples of pytest plugins installed
44 like this are pytest-django, pytest-sugar and Faker.
45 - Fixed Project.search, when a venv was involved, which is why for example
46 `:Pyimport django.db` did not work in some cases in jedi-vim.
47 - And many smaller bugfixes
48
49 0.18.1 (2021-11-17)
50 +++++++++++++++++++
51
52 - Implict namespaces are now a separate types in ``Name().type``
53 - Python 3.10 support
54 - Mostly bugfixes
55
56 0.18.0 (2020-12-25)
57 +++++++++++++++++++
58
59 - Dropped Python 2 and Python 3.5
60 - Using ``pathlib.Path()`` as an output instead of ``str`` in most places:
61 - ``Project.path``
62 - ``Script.path``
63 - ``Definition.module_path``
64 - ``Refactoring.get_renames``
65 - ``Refactoring.get_changed_files``
66 - Functions with ``@property`` now return ``property`` instead of ``function``
67 in ``Name().type``
68 - Started using annotations
69 - Better support for the walrus operator
70 - Project attributes are now read accessible
71 - Removed all deprecations
72
73 This is likely going to be the last minor release before 1.0.
74
75 0.17.2 (2020-07-17)
76 +++++++++++++++++++
77
78 - Added an option to pass environment variables to ``Environment``
79 - ``Project(...).path`` exists now
80 - Support for Python 3.9
81 - A few bugfixes
82
83 This will be the last release that supports Python 2 and Python 3.5.
84 ``0.18.0`` will be Python 3.6+.
85
86 0.17.1 (2020-06-20)
87 +++++++++++++++++++
88
89 - Django ``Model`` meta class support
90 - Django Manager support (completion on Managers/QuerySets)
91 - Added Django Stubs to Jedi, thanks to all contributors of the
92 `Django Stubs <https://github.com/typeddjango/django-stubs>`_ project
93 - Added ``SyntaxError.get_message``
94 - Python 3.9 support
95 - Bugfixes (mostly towards Generics)
96
97 0.17.0 (2020-04-14)
98 +++++++++++++++++++
99
100 - Added ``Project`` support. This allows a user to specify which folders Jedi
101 should work with.
102 - Added support for Refactoring. The following refactorings have been
103 implemented: ``Script.rename``, ``Script.inline``,
104 ``Script.extract_variable`` and ``Script.extract_function``.
105 - Added ``Script.get_syntax_errors`` to display syntax errors in the current
106 script.
107 - Added code search capabilities both for individual files and projects. The
108 new functions are ``Project.search``, ``Project.complete_search``,
109 ``Script.search`` and ``Script.complete_search``.
110 - Added ``Script.help`` to make it easier to display a help window to people.
111 Now returns pydoc information as well for Python keywords/operators. This
112 means that on the class keyword it will now return the docstring of Python's
113 builtin function ``help('class')``.
114 - The API documentation is now way more readable and complete. Check it out
115 under https://jedi.readthedocs.io. A lot of it has been rewritten.
116 - Removed Python 3.4 support
117 - Many bugfixes
118
119 This is likely going to be the last minor version that supports Python 2 and
120 Python3.5. Bugfixes will be provided in 0.17.1+. The next minor/major version
121 will probably be Jedi 1.0.0.
122
123 0.16.0 (2020-01-26)
124 +++++++++++++++++++
125
126 - **Added** ``Script.get_context`` to get information where you currently are.
127 - Completions/type inference of **Pytest fixtures**.
128 - Tensorflow, Numpy and Pandas completions should now be about **4-10x faster**
129 after the first time they are used.
130 - Dict key completions are working now. e.g. ``d = {1000: 3}; d[10`` will
131 expand to ``1000``.
132 - Completion for "proxies" works now. These are classes that have a
133 ``__getattr__(self, name)`` method that does a ``return getattr(x, name)``.
134 after loading them initially.
135 - Goto on a function/attribute in a class now goes to the definition in its
136 super class.
137 - Big **Script API Changes**:
138 - The line and column parameters of ``jedi.Script`` are now deprecated
139 - ``completions`` deprecated, use ``complete`` instead
140 - ``goto_assignments`` deprecated, use ``goto`` instead
141 - ``goto_definitions`` deprecated, use ``infer`` instead
142 - ``call_signatures`` deprecated, use ``get_signatures`` instead
143 - ``usages`` deprecated, use ``get_references`` instead
144 - ``jedi.names`` deprecated, use ``jedi.Script(...).get_names()``
145 - ``BaseName.goto_assignments`` renamed to ``BaseName.goto``
146 - Add follow_imports to ``Name.goto``. Now its signature matches
147 ``Script.goto``.
148 - **Python 2 support deprecated**. For this release it is best effort. Python 2
149 has reached the end of its life and now it's just about a smooth transition.
150 Bugs for Python 2 will not be fixed anymore and a third of the tests are
151 already skipped.
152 - Removed ``settings.no_completion_duplicates``. It wasn't tested and nobody
153 was probably using it anyway.
154 - Removed ``settings.use_filesystem_cache`` and
155 ``settings.additional_dynamic_modules``, they have no usage anymore. Pretty
156 much nobody was probably using them.
157
158 0.15.2 (2019-12-20)
159 +++++++++++++++++++
160
161 - Signatures are now detected a lot better
162 - Add fuzzy completions with ``Script(...).completions(fuzzy=True)``
163 - Files bigger than one MB (about 20kLOC) get cropped to avoid getting
164 stuck completely.
165 - Many small Bugfixes
166 - A big refactoring around contexts/values
167
168 0.15.1 (2019-08-13)
169 +++++++++++++++++++
170
171 - Small bugfix and removal of a print statement
172
173 0.15.0 (2019-08-11)
174 +++++++++++++++++++
175
176 - Added file path completions, there's a **new** ``Completion.type`` now:
177 ``path``. Example: ``'/ho`` -> ``'/home/``
178 - ``*args``/``**kwargs`` resolving. If possible Jedi replaces the parameters
179 with the actual alternatives.
180 - Better support for enums/dataclasses
181 - When using Interpreter, properties are now executed, since a lot of people
182 have complained about this. Discussion in #1299, #1347.
183
184 New APIs:
185
186 - ``Name.get_signatures() -> List[Signature]``. Signatures are similar to
187 ``CallSignature``. ``Name.params`` is therefore deprecated.
188 - ``Signature.to_string()`` to format signatures.
189 - ``Signature.params -> List[ParamName]``, ParamName has the
190 following additional attributes ``infer_default()``, ``infer_annotation()``,
191 ``to_string()``, and ``kind``.
192 - ``Name.execute() -> List[Name]``, makes it possible to infer
193 return values of functions.
194
195
196 0.14.1 (2019-07-13)
197 +++++++++++++++++++
198
199 - CallSignature.index should now be working a lot better
200 - A couple of smaller bugfixes
201
202 0.14.0 (2019-06-20)
203 +++++++++++++++++++
204
205 - Added ``goto_*(prefer_stubs=True)`` as well as ``goto_*(prefer_stubs=True)``
206 - Stubs are used now for type inference
207 - Typeshed is used for better type inference
208 - Reworked Name.full_name, should have more correct return values
209
210 0.13.3 (2019-02-24)
211 +++++++++++++++++++
212
213 - Fixed an issue with embedded Python, see https://github.com/davidhalter/jedi-vim/issues/870
214
215 0.13.2 (2018-12-15)
216 +++++++++++++++++++
217
218 - Fixed a bug that led to Jedi spawning a lot of subprocesses.
219
220 0.13.1 (2018-10-02)
221 +++++++++++++++++++
222
223 - Bugfixes, because tensorflow completions were still slow.
224
225 0.13.0 (2018-10-02)
226 +++++++++++++++++++
227
228 - A small release. Some bug fixes.
229 - Remove Python 3.3 support. Python 3.3 support has been dropped by the Python
230 foundation.
231 - Default environments are now using the same Python version as the Python
232 process. In 0.12.x, we used to load the latest Python version on the system.
233 - Added ``include_builtins`` as a parameter to usages.
234 - ``goto_assignments`` has a new ``follow_builtin_imports`` parameter that
235 changes the previous behavior slightly.
236
237 0.12.1 (2018-06-30)
238 +++++++++++++++++++
239
240 - This release forces you to upgrade parso. If you don't, nothing will work
241 anymore. Otherwise changes should be limited to bug fixes. Unfortunately Jedi
242 still uses a few internals of parso that make it hard to keep compatibility
243 over multiple releases. Parso >=0.3.0 is going to be needed.
244
245 0.12.0 (2018-04-15)
246 +++++++++++++++++++
247
248 - Virtualenv/Environment support
249 - F-String Completion/Goto Support
250 - Cannot crash with segfaults anymore
251 - Cleaned up import logic
252 - Understand async/await and autocomplete it (including async generators)
253 - Better namespace completions
254 - Passing tests for Windows (including CI for Windows)
255 - Remove Python 2.6 support
256
257 0.11.1 (2017-12-14)
258 +++++++++++++++++++
259
260 - Parso update - the caching layer was broken
261 - Better usages - a lot of internal code was ripped out and improved.
262
263 0.11.0 (2017-09-20)
264 +++++++++++++++++++
265
266 - Split Jedi's parser into a separate project called ``parso``.
267 - Avoiding side effects in REPL completion.
268 - Numpy docstring support should be much better.
269 - Moved the `settings.*recursion*` away, they are no longer usable.
270
271 0.10.2 (2017-04-05)
272 +++++++++++++++++++
273
274 - Python Packaging sucks. Some files were not included in 0.10.1.
275
276 0.10.1 (2017-04-05)
277 +++++++++++++++++++
278
279 - Fixed a few very annoying bugs.
280 - Prepared the parser to be factored out of Jedi.
281
282 0.10.0 (2017-02-03)
283 +++++++++++++++++++
284
285 - Actual semantic completions for the complete Python syntax.
286 - Basic type inference for ``yield from`` PEP 380.
287 - PEP 484 support (most of the important features of it). Thanks Claude! (@reinhrst)
288 - Added ``get_line_code`` to ``Name`` and ``Completion`` objects.
289 - Completely rewritten the type inference engine.
290 - A new and better parser for (fast) parsing diffs of Python code.
291
292 0.9.0 (2015-04-10)
293 ++++++++++++++++++
294
295 - The import logic has been rewritten to look more like Python's. There is now
296 an ``InferState.modules`` import cache, which resembles ``sys.modules``.
297 - Integrated the parser of 2to3. This will make refactoring possible. It will
298 also be possible to check for error messages (like compiling an AST would give)
299 in the future.
300 - With the new parser, the type inference also completely changed. It's now
301 simpler and more readable.
302 - Completely rewritten REPL completion.
303 - Added ``jedi.names``, a command to do static analysis. Thanks to that
304 sourcegraph guys for sponsoring this!
305 - Alpha version of the linter.
306
307
308 0.8.1 (2014-07-23)
309 +++++++++++++++++++
310
311 - Bugfix release, the last release forgot to include files that improve
312 autocompletion for builtin libraries. Fixed.
313
314 0.8.0 (2014-05-05)
315 +++++++++++++++++++
316
317 - Memory Consumption for compiled modules (e.g. builtins, sys) has been reduced
318 drastically. Loading times are down as well (it takes basically as long as an
319 import).
320 - REPL completion is starting to become usable.
321 - Various small API changes. Generally this release focuses on stability and
322 refactoring of internal APIs.
323 - Introducing operator precedence, which makes calculating correct Array
324 indices and ``__getattr__`` strings possible.
325
326 0.7.0 (2013-08-09)
327 ++++++++++++++++++
328
329 - Switched from LGPL to MIT license.
330 - Added an Interpreter class to the API to make autocompletion in REPL
331 possible.
332 - Added autocompletion support for namespace packages.
333 - Add sith.py, a new random testing method.
334
335 0.6.0 (2013-05-14)
336 ++++++++++++++++++
337
338 - Much faster parser with builtin part caching.
339 - A test suite, thanks @tkf.
340
341 0.5 versions (2012)
342 +++++++++++++++++++
343
344 - Initial development.