Skip to content

Releases: neovim/pynvim

Pynvim 0.5.0

04 Dec 23:01
12b53e7
Compare
Choose a tag to compare

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

Full Changelog: 0.4.3...0.5.0

Pynvim 0.4.3

25 Feb 15:29
Compare
Choose a tag to compare
Pynvim 0.4.3

Changes since 0.4.2:

  - 344934c Detect encoding correctly on non-standard locales

Pynvim 0.4.2

15 Sep 12:29
0.4.2
a70cdc9
Compare
Choose a tag to compare

Changes since 0.4.1:

  • 1276622 Refactor: IOError was deprecated. Replace with OSError
  • a5446ce refactor: Reduce usage of deprecated imp module
  • 605ffda Modify all imports in the repository to absolute imports
  • d9ce0b5 Set unicode_errors in Unpacker
  • 2cbc135 import vim module by default

Pynvim 0.4.1

25 Jan 09:22
Compare
Choose a tag to compare

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:

  • 09bba08 remove scrutinizer
  • f048531 make pytest_runner an optional dependency
  • 5b50ce9 fix missing self.name for nvim_error_event
  • 175a2cc Test with python 3.8
  • 5a2b552 fix the disable logging script.

Pynvim 0.4.0

16 Nov 08:47
Compare
Choose a tag to compare

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

20 Jan 15:32
Compare
Choose a tag to compare

Cleanup after the pynvim rename, as well as a few bugfixes and
improvements.

Changes since 0.3.1:

  • bfb5c26 support del vim.current.line
  • 408025b Handle nvim_error_event (errors from async requests)
  • 14ab154 Don't crash when subprocesses write to stdout
  • c37b4ed 22e5919 Continue pynvim rename
  • 2aa29f9 test with Python 3.7 in Travis.

Pynvim 0.3.1

17 Nov 09:46
Compare
Choose a tag to compare

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:

  • 1fcc17f More informative error message for usage from non-main thread
  • f237238 Rename package to pynvim

Pynvim 0.3.0

03 Nov 07:58
Compare
Choose a tag to compare

Pynvim 0.3.0

Requires Nvim 0.3.0 or later.

Changes since 0.2.6:

  • 5b69f54 script host: Use the correct interface for a path entry finder
  • 82b0109 api: implement Remote.__repr__
  • c784927 event loop: Enable asyncio on windows again
  • 59112c6 host: Add client info (for nvim_list_chans())
  • d2bf46f host: make imports thread-safe

pynvim 0.2.6

01 May 07:56
Compare
Choose a tag to compare

This is a bugfix release.

Changes since 0.2.5:

  • 0e4f246 Fix race in script_host that could cause first :python command to fail (#338)

Pynvim 0.2.5

29 Apr 08:30
Compare
Choose a tag to compare

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 of async (#274)
  • b65f62d Use pytest as nosetests are not longer maintained (#266)
  • d9aed96 Support using lua functions. buf.update_higlights as an internal example (#325)