Skip to content

Releases: neovim/pynvim

Pynvim 0.5.2

13 Nov 03:06
5b0c32e
Compare
Choose a tag to compare

What's Changed

  • fix(ci): macOS CI failing with python{3.7, 3.8, 3.9} by @wookayin in #579
  • build: fix conditional install_requires by @mgorny in #581

New Contributors

Full Changelog: 0.5.1...0.5.2

0.5.1

03 Nov 02:53
224b223
Compare
Choose a tag to compare

What's Changed

  • Several refactoring on asyncio eventloop implementations by @wookayin in #545
  • test: add tests for attaching through socket, tcp, and stdio by @wookayin in #544
  • ci: fix failing readthedocs build by adding sphinx_rtd_theme dependency by @wookayin in #553
  • ci: fix failing readthedocs build by @wookayin in #554
  • refactor: remove the use of forward references by @wookayin in #558
  • fix(tests): "provider#python3#Prog" was removed upstream by @justinmk in #563
  • Revert "fix: vim.eval('v:true') should return python bool #506" by @samuelqp in #562
  • fix: UpdateRemotePlugins not finding specs on windows by @tanj in #565
  • fix(tests): broadcast test fails by @justinmk in #570
  • fix: Remove deprecated alias of logger.warn by @cryptomilk in #569
  • fix(tests): remove reference to pytest-runner by @0-wiz-0 in #573
  • docs: avoid deprecated $NVIM_LISTEN_ADDRESS env var by @justinmk in #575
  • fix(tests): failing tests on python3.13 about stacktrace messages by @wookayin in #578

New Contributors

Full Changelog: 0.5.0...0.5.1

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