axieax / urlview.nvim

🔎 Neovim plugin for viewing all the URLs in a buffer
MIT License
232 stars 5 forks source link

🙉 Breaking Changes #37

Closed axieax closed 1 year ago

axieax commented 1 year ago

Subscribe to this thread for breaking changes and resolutions

axieax commented 1 year ago

Commit f91b831e54cdb5143c43a2e7995dafdc92acb0c8 / PR #36

Breaking Changes

Breaking changes have been introduced during refactoring for the actions module, deprecating config.navigate_method for config.default_action.

Resolution

Simply rename the "navigate_method" key in the config passed to urlview.setup to be "default_action".

You can also set an action each time with something like :UrlView buffer action=clipboard or :UrlView buffer action=chromium.

axieax commented 1 year ago

Closed so it doesn't show up as an open issue

axieax commented 1 year ago

PR #38

Breaking Changes

The config option debug (boolean) has been deprecated for log_level_min (vim.log.levels integer) to allow users to more finely control the level of log messages they want to see.

Resolution

Remove the debug option from your config and optionally add a log_level_min key, specifying a vim.log.levels enum like in the README. By default, this is vim.log.levels.INFO, which contains some additional info warnings, but it is recommended for this to be at least vim.log.levels.WARN to capture important warnings.

axieax commented 1 year ago

PR #39

Breaking Changes

  1. Deprecate support for Neovim v0.6.
  2. Separate config option custom_searches from setup.

Resolution

  1. Please update your Neovim version to v0.7 or later, or use the v0.6-compat tag to be able to continue using this plugin but no longer receive updates.
  2. Please use require("urlview.search.helpers").generate_custom_search to register custom searches. Further details can be found in the new [documentation]() under urlview.search-custom.