willothy / flatten.nvim

Open files and command output from wezterm, kitty, and neovim terminals in your current neovim instance
https://luarocks.org/modules/willothy/flatten.nvim
MIT License
473 stars 13 forks source link

Breaking changes on main (flatten.nvim 1.0.0) #87

Open willothy opened 8 months ago

willothy commented 8 months ago

This is a tracking issue for breaking changes on main. I am releasing it an advance of any breaking changes to give fair warning, since I want using this plugin to be as seamless and unobtrusive to use as possible.

TLDR No breaking changes yet. There will be some with 1.0.0, and then flatten will be stable.

I will soon be releasing version 1.0.0 of flatten.nvim, which will include some new features (#86), fully typed API/config docs for LSP (also #86), and a restructure of the core and guest code (wip) to allow for sending commands, files, and data separately.

This version will include some breaking changes to the configuration and callback signatures, but it will also be the last version of flatten.nvim to ever have breaking changes unless required by some change in upstream Neovim. I feel that flatten.nvim is largely feature-complete at this point, and therefore with 1.0.0 I am committing to full stability and semantic versioning. While features may be added, the API will not be subject to change once released. This is what precipitated the change to tables for callback arguments in #86 - we need to be able to add params as needed without huge arglists or breaking the API.

Any breakages required by changes in upstream Neovim will be accompanied by a major version bump for flatten.nvim, though I don't think that is likely to happen.

Unreleased (#86):