Skip to content

Tags: stungkit/pynvim

Tags

0.4.1

Toggle 0.4.1's commit message
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:

 - 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.

0.4.0

Toggle 0.4.0's commit message
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

0.3.2

Toggle 0.3.2's commit message
Pynvim 0.3.2

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.

0.3.1

Toggle 0.3.1's commit message
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, but new API users should use
`import pynvim`.

If you already have installed `neovim` in pip, the best way to upgrade this time
is to upgrade the `neovim` package:

`pip install --upgrade neovim`

This will replace the neovim package with a dummy transition package, and
install pynvim as a dependency. For a new install, the prefered way is

`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`

0.3.0

Toggle 0.3.0's commit message
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

0.2.6

Toggle 0.2.6's commit message
pynvim 0.2.6

This is a bugfix release.

Changes since 0.2.5:

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

0.2.5

Toggle 0.2.5's commit message
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.

Changes since 0.2.4:

* debcde0 clean up remote object implementation (neovim#313)
* e880fe7 Guidelines for local plugin development (neovim#317)
* 1ab98e8 Update the working directory on DirChanged for legacy plugins (neovim#296)
* d53415d Fix SyntaxError in py3.7: use `async_` instead of `async` (neovim#274)
* b65f62d Use `pytest` as `nosetests` are not longer maintained (neovim#266)
* d9aed96 Support using lua functions. `buf.update_higlights` as an internal example (neovim#325)

0.2.4

Toggle 0.2.4's commit message
pynvim 0.2.4

0.2.3

Toggle 0.2.3's commit message
Python-client 0.2.3

Fix a typo in previous release

* df3746f MsgpackStream: fix typos neovim#304

0.2.2

Toggle 0.2.2's commit message
Python-client 0.2.2

In this release support of python3.3 is dropped. Henceforth we want python3
rplugins to be able to assume the usage of asyncio, so they can use the asyncio
event loop and libraries that build on it.

Furthermore, a close() method is added on nvim session objects. When used as
a library for externally connecting to a nvim instance (i e not rplugins),
it is recommended to call the close() method on the session object when it is
not needed anymore. Alternatively, sessions can be used as a context manager:

    with neovim.attach('socket', path=thepath) as nvim:
        # do stuff with nvim session in this block:
        print(nvim.funcs.getpid())
        print(nvim.current.line)

This will close the session automatically.

Changes since 0.2.1:
* 2689ddc add tests for plugin decorators neovim#298
* 63f257f allow library users to properly cleanup the event loop neovim#303
* 59c184f expose the asyncio event loop as nvim.loop (python 3.4+ only) neovim#294