From 3cef022a15eef52325eaaed7fb87add6a22391fb Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Sat, 14 Mar 2020 17:21:16 +0100 Subject: [PATCH] Add a proper CHANGELOG for the current version --- CHANGELOG.rst | 19 ++++++++++++++++++- jedi/api/__init__.py | 3 +++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 0370f133..42306375 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -3,10 +3,27 @@ Changelog --------- -0.17.0 (2020--) +0.17.0 (2020-03-) +++++++++++++++++++ +- Added the following refactorings: ``Script.rename``, ``Script.inline``, + ``Script.extract_variable`` and ``Script.extract_function``. +- Added ``Script.get_syntax_errors`` to display syntax errors in the current + script. +- Added code search capabilities both for individual files and projects. The + new functions are ``Project.search``, ``Project.complete_search``, + ``Script.search`` and ``Script.complete_search``. +- Added ``Script.help`` to make it easier to display a help window to people. + Now returns pydoc information as well for Python keywords/operators. This + means that on the class keyword it will now return the docstring of Python's + builtin function ``help('class')``. +- The API documentation is now way more readable and complete. - Removed Python 3.4 support +- Many bugfixes + +This is likely going to be the last minor version that supports Python 2 and +Python3.5. Bugfixes will be provided in 0.17.1+. The next minor/major version +will probably be Jedi 1.0.0. 0.16.0 (2020-01-26) +++++++++++++++++++ diff --git a/jedi/api/__init__.py b/jedi/api/__init__.py index b62d84a6..0cee442e 100644 --- a/jedi/api/__init__.py +++ b/jedi/api/__init__.py @@ -580,6 +580,9 @@ class Script(object): return [classes.Definition(self._inference_state, n) for n in names] def get_syntax_errors(self): + """ + XXX + """ return parso_to_jedi_errors(self._inference_state.grammar, self._module_node) def _names(self, all_scopes=False, definitions=True, references=False):