grapple.nvim icon indicating copy to clipboard operation
grapple.nvim copied to clipboard

Breaking Changes

Open cbochs opened this issue 3 years ago • 4 comments

Follow this issue for information updates on breaking changes introduced to grapple.nvim.

cbochs avatar Nov 24 '22 03:11 cbochs

#40 Performance Improvements + Scope API

  • BREAKING scope resolvers are no longer just plain functions. They must be created using grapple.scope#resolver. See Project Scope
  • REMOVE poorly performing lualine integration and its assocuated highlights. Opt to provide simple setup for any statusline plugin in the README
  • NOTICE saving tag state as a single grapple.json blob. Tag state will now be saved in a common grapple directory, with each tag scope being saved as its own json file. Users who have changed set the save_path during setup are urged to either
    • unset the save_path during setup and use the default provided by grapple, or
    • update the base name of the save_path from grapple.json to grapple
    • NOTE: a data migration has been provided move all tags from the old grapple.json to the new save structure

cbochs avatar Nov 27 '22 06:11 cbochs

#45 Better scope persistence

  • MIGRATION scope that have been saved will need to go through a short (automatic) migration to separate named and unnamed tags from one another in the serialized JSON

cbochs avatar Dec 01 '22 09:12 cbochs

#49 Interval scope resolver

  • BREAKING Move builtin scope resolvers to require("grapple").resolvers
    • From require("grapple.scope").resolvers
    • If you were using the name of a builtin scope resolver, you should't be impacted
  • BREAKING Scope resolver keys are now internal
    • Remove key from Grapple.ScopeOptions
    • Only builtin scope resolvers can be accessed by name

cbochs avatar Dec 07 '22 03:12 cbochs

#89 Rewrite Grapple.nvim

Several breaking changes. Please see PR for more details.

cbochs avatar Mar 01 '24 15:03 cbochs