Skip to content

v0.13.0: Merge pull request #38 from vim-denops/refactoring

Compare
Choose a tag to compare
@lambdalisue lambdalisue released this 29 Apr 12:20
· 885 commits to main since this release
f9f4f3f

New features

  • Expose ensureXXXXX helper functions from mod.ts
  • Improve documentation of public interfaces

💥 Incompatible changes

The following are incompatible changes so that user who use that feature must fix them code.

  • Remove denops#lib#promise and it's related features
    • Use Async.Promise of vital.vim instead
    • Use denops#request_async() instead of denops#promise()
  • Remove denops#lib#job and move implementations into denops#utils
  • Remove unused Api/Context interfaces
  • Denops.dispatch() interface has changed to follow Denops.call() interface
    • Chaged from dispatch(name, fn, args) to dispatch(name, fn, ...args)

🚪 Internal incompatible changes

The following are assumed as internal changes so plugin developers who use denops-std module should not be affected by those changes.

  • Remove cmd/eval from msgpack-rpc layer and redefined those on Denops layer (and Plugin layer for backword compatiblity)
  • Remove dispatch/dispatchAsync/register from Vim/Neovim communication layer and replaced those commands with invoke message