All Versions
22
Latest Version
Avg Release Cycle
64 days
Latest Release
-

Changelog History
Page 2

  • v1.0.0.0 Changes

    March 25, 2018
    • ๐Ÿ”Œ Each plugin (type) now defines an environment which is similar to how stateful plugins have been declared in previous versions. If you need multiple different environments for different functions, you can make them fields of a bigger environment or define multiple plugin values.

    The type Neovim r st a has become Neovim env a where env is technically equivalent to the previous r. I was mainly motivated by this blog post:

    https://www.fpcomplete.com/blog/2017/06/readert-design-pattern

    • ๐Ÿšš Only works with ghc >= 8. I removed some backwards compatibility. If you need older ghc versions, just use the previous version (0.2.5) as the feature set hasn't really changed.

    • ๐Ÿ–จ A different pretty printer library is now used and may surface at some places.

    • Functions do now time out after some time, 10 seconds for those that block neovim and 10 minutes for background functions.

    • A few types have been adjusted.

    • Some improvement in error reporting.

  • v0.2.5 Changes

    January 03, 2018
    • Older versions of nvim-hs may not function if some versions of a dependency are used. This version has proper bounds for the dependency and should cause a compile time failure if an incompatible version of the dependency is used (see #61).
  • v0.2.4

    July 31, 2017
  • v0.2.3

    July 31, 2017
  • v0.2.0 Changes

    • Replace error code of remote functions to return Either NeovimException a instead of a generic messagepack Object

    • Export API functions that throw a NeovimException instead of returning Either NeovimExeception a.

    • Replace three element tuple for stateful function declaration (#53)

    • โž• Add a stack template for easier setup

    • Exceptions from pure code are now caught (#48)

  • v0.1.0 Changes

    • ๐Ÿ“œ Adjust parser for output of nvim --api-info

    • ๐Ÿ”Œ Adjust parser of ConfigHelper plugin

  • v0.0.7 Changes

    • Adjust handling of string sent by neovim in API generation.
  • v0.0.6 Changes

    • Noteworthy new API functions for the user's convenience:

      • errOnInvalidResult
      • (:+)
    • ๐Ÿ–จ ansi-wl-pprint is used for pretty printing of various things now. Most notably, the error type has been changed from String to Doc. This is a breaking change, but it was kind of announced in the issues list. In any case, uses of err can be fixed by enabling the OverloadedStrings extension. Other breakages have to be fixed by hand.

  • v0.0.5 Changes

    • ๐Ÿ“š Documentation received some love.

    • A few renames of repurposed internals.

  • v0.0.3 Changes

    • Debugging facilities for ghci have been added. Check out the Neovim.Debug module! These few functions are very valuable to debug your code or even the code of nvim-hs itself.

    • Startup code now has a special Neovim environment which has access to some of the internals that may or may not be useful. This change allowed the ConfigHelper plugin to be included as a normal, separable plugin. Unfortunately, this potentially breaks the plugin startup code of some existing plugins.

    • Neovim context is no longer a type synonym, but a newtype wrapper around the previous type synonym with an added ResourceT wrapper. The functions from MonadReader are now actually exported as those.

    As a consequence, some of your code may break if you lack some specific instances which were auto-derived before. Send a PR or open a ticket to resolve this.

    • โž• Add handling for some kind of variadic arguments handling.

    A command or function will be passed Nothing as it's last arguments if the argument type is wrapped in Maybe and the invocation on the side of neovim did not pass those arguments.