Releases: neovim/pynvim
Pynvim 0.5.0
Breaking changes
- Python 3.7 is the minimum supported Python version.
What's Changed
- 1696737 feat: Ex command ":py=" evaluate and print expression
- 86cc50e test: always use the same python regardless of $PATH
- 71d2d65 packaging: Add pynvim.version attribute
- 056f6f9 fix: ignore flaky OSError on windows
- 6ab90aa fix: EOF error on piped stderr being closed on Windows
- fd4247c fix: do not leak resources across tests so as to prevent side effects
- 260a0b9 deps: Require greenlet >= 3.0 since it supports Python 3.12
- f244597 fix: broken dynamic import of rplugin modules
- e4224fc fix: sphinx "invalid language code"
- 61bf6fa fix: mypy type annotation warnings
- 5e84c75 fix: sphinx "Unexpected indentation" warning
- 991c689 fix: PEP 484 prohibits implicit Optional
- 919217d fix: undefined name 'original_find_module'
- b79717f fix(test):
Unknown config option: timeout
warning - 5be54e2 test_buffer: don't depend on version-dependent default values
- eaa862d fix: imp module is deprecated
- ac03f5c Drop old python versions, add type annotations
- a087534 docs: python 2 is not supported
- 82a2e14 test: update 'define' option default
- dd540b0 refactor: remove usage of imp
- 496e8eb packaging: conform to PEP 517 guidelines
- d549371 fix: vim.eval('v:true') should return python bool
- 318c1b5 fix the first call to sync functions returning null
New Contributors
- @dmitmel made their first contribution in #496
- @Anselmoo made their first contribution in #497
- @uzxmx made their first contribution in #506
- @dundargoc made their first contribution in #517
- @crowellel made their first contribution in #519
- @stevearc made their first contribution in #492
- @michel-slm made their first contribution in #531
- @wookayin made their first contribution in #534
Full Changelog: 0.4.3...0.5.0
Pynvim 0.4.3
Pynvim 0.4.3
Changes since 0.4.2:
- 344934c Detect encoding correctly on non-standard locales
Pynvim 0.4.2
Pynvim 0.4.1
Logging will be disabled on release tarballs and pip packages for performance reasons. use scripts/enable_log_statements.sh
and scripts/disable_log_statements.sh
to toggle the availability of logging.
Changes since 0.4.0:
Pynvim 0.4.0
Pynvim 0.4.0
Changes since 0.3.2:
- 2a31195 Update docs/tests to use
--headless
when needed - 1d121e0 Update tests for new global/local option behavior
- 6310063 session: set client info (not only for host)
- 58ff62f python2 compat: fix buffer inequality
- a63cddb ci: fix coverage reporting
- f4f3bf5 api: key deletion; use KeyError for maps (if_python compat)
- d3c389f host: do not run
__init__
in plugin until the plugin is invoked
Pynvim 0.3.2
Cleanup after the pynvim
rename, as well as a few bugfixes and
improvements.
Changes since 0.3.1:
Pynvim 0.3.1
This release renames the the package name (for PyPI and importing) to pynvim
.
import neovim
is still supported as an alias for backwards compatibility, but new API users should use import pynvim
.
Unfotunately, due to limitations in pip
, the neovim
package cannot be safely upgraded with pip install --upgrade neovim
on all systems. The safest option to upgrade is
pip uninstall neovim
pip uninstall pynvim # only if you tried to upgrade already and it failed
pip install pynvim
At this point, it is safe to pip install neovim
again, if any third-party package depends on it. Otherwise it shouldn't be necessary.
For a new install, it is enough to use
pip install pynvim
This release is otherwise functionally identical to pynvim 0.3.0, except for an improved error message.
Changes since 0.3.0:
Pynvim 0.3.0
Pynvim 0.3.0
Requires Nvim 0.3.0 or later.
Changes since 0.2.6:
pynvim 0.2.6
Pynvim 0.2.5
This release adds support for Python 3.7 which now is in beta. async
is a keyword in python3.7, and it should be replaced with async_
when used as a keyword argument to API methods. async
is still supported with python 2.7 and 3.6 for the moment, but considered deprecated.
Also, integration with the in-process lua interpreter in Nvim is now supported. Please see the documentation for usage instructions.
Changes since 0.2.4:
- debcde0 clean up remote object implementation (#313)
- e880fe7 Guidelines for local plugin development (#317)
- 1ab98e8 Update the working directory on DirChanged for legacy plugins (#296)
- d53415d Fix SyntaxError in py3.7: use
async_
instead ofasync
(#274) - b65f62d Use
pytest
asnosetests
are not longer maintained (#266) - d9aed96 Support using lua functions.
buf.update_higlights
as an internal example (#325)