Skip to content

Releases: folke/lazy.nvim

v6.0.0

22 Dec 09:46
210d170
Compare
Choose a tag to compare

6.0.0 (2022-12-22)

⚠ BREAKING CHANGES

  • lazy api commands now take an opts table instead of a list of plugins

Features

  • added support for nvim --headless "+Lazy! sync" +qa (2e14a2f)
  • checker: defer checker to after VeryLazy to make sure nvim-notify and others are loaded (fd1fbef)
  • keys: more advanced options for setting lazy key mappings (1c07ea1)
  • lazy api commands now take an opts table instead of a list of plugins (bc61747)
  • ui: show modpaths in debug (6304231)

Bug Fixes

  • cache: overwrite cache entry with new modpath when loading a file. Fixes #90 (2200284)
  • clean: update lockfile on clean (#88) (dd9648f)
  • cmd: allow ranges. Fixes #93 (c0c2e1b)
  • git: make sure we properly fetch git submodules. Fixes #72 (7f6f31d)
  • git: remove --also-filter-submodules. Fixes #86 #83 (488b487)
  • install: update lockfile also on install (4cf176b)
  • removed spell again from site. not needed. can download in config/spell (58f0876)
  • rtp: keep site in rtp (94d0125)
  • show mapleader warning with vim.schedule. Fixes #91 (28f1511)

v5.2.0

21 Dec 18:09
472a091
Compare
Choose a tag to compare

5.2.0 (2022-12-21)

Features

  • loader: allow to add extra paths to rtp reset. Fixes #64 (876f7bd)
  • loader: warn when mapleader is changed after init (4ca3039)
  • make hover easy to override (f0e1b85)
  • plugin: allow plugin files only without a main plugin module. Fixes #53 (44f80a7)
  • util: utility method to get sync process output (e95da35)

Bug Fixes

  • cache: if we can't load from the cache modpath, find path again instead of erroring right away (a345649)
  • checker: allow git checks only for non-pinned plugins (#61) (a939243)
  • git: dereference tag refs. Fixes #54 (86eaa11)
  • git: only mark a plugin as dirty if an update changed the commit HEAD. Fixes #62 (bbace14)
  • health: don't show warning on module=false (c228908)
  • help: sort tags files for readmes so tags work properly. Fixes #67 (2fd78fb)
  • keys: feedkeys should include pending keys. Fixes #71 (2ab6518)
  • loader: lua modules can be links instead of files. Fixes #66 (b7c489b)
  • loader: source rtp /plugin files after loading start plugins. Fixes (ff24f49)
  • strip / from dirs. Fixes #60 (540847b)
  • ui: install command can have plugins as a parameter (232232d)
  • ui: set current win only when its valid (3814883)

v5.1.0

20 Dec 22:36
3a7b8c8
Compare
Choose a tag to compare

5.1.0 (2022-12-20)

Features

  • added options to configure change detection. Fixes #32 (6c767a6)
  • ui: make the windoww size configurable. Fixes #34 (941df31)

Bug Fixes

  • add filetype to window buffer. (#41) (897d6df)
  • git: don't run git log for submodules. Fixes #33 (9d12cdc)
  • loader: source filetype.lua before plugins. Fixes #35 (ffcd0ab)
  • spec: only process a spec once (b193f96)
  • use nvim_feekeys instead of nvim_input for keys handler. Fixes #28 (5298441)

Performance Improvements

  • ui: clear existing extmarks before rendering (06ac8bd)

v5.0.1

20 Dec 16:00
4d78203
Compare
Choose a tag to compare

5.0.1 (2022-12-20)

Bug Fixes

  • add neovim libs to rtp for treesitter parsers etc (df6c986)
  • always set Config.me regardless of reset rtp (992c679)
  • build: use the shell to execute build commands (1371a14)
  • cache: if mod is loaded already in the loader, then return that (ffabe91)
  • checker should not error on non-existing dirs (ddf36d7)
  • deepcopy lazyspec before processing (6e32759)
  • default logs are now since 3 days ago to be in line with the docs (e9d3a73)
  • dont autoload cached modules when module=false (316503f)
  • move re-sourcing check to the top (6404d42)
  • only run updated checker for installed plugins. Fixes #16 (ae644a6)
  • show error when merging, but continue (f78d8bf)
  • use jobstart instead of system to open urls (1754056)

v5.0.0

20 Dec 09:21
2f59ead
Compare
Choose a tag to compare

5.0.0 (2022-12-20)

⚠ BREAKING CHANGES

  • removed the LazyUpdate etc commands. sub-commands only from now on

Features

  • added :Lazy load foobar.nvim to load a plugin (2dd6230)
  • added module=false to skip auto-loading of plugins on require (1efa710)
  • added completion for all lazy commands (5ed9855)
  • added support for Windows (bb1c2f4)
  • removed the LazyUpdate etc commands. sub-commands only from now on (d4aee27)
  • utility method to normalize a path (198963f)

Bug Fixes

  • cache: do a fast check to see if a cached modpath is still valid. find it again otherwise (32f2b71)
  • cache: normalize paths (62c1542)
  • check for installed plugins with plain find (a189883)
  • ui: focus Lazy window when auto-installing plugins in VimEnter (1fe43f3)
  • util: fixed double slashes (af87108)

Performance Improvements

  • cache: cache loadfile and no find modpaths without package.loaders (faac2dd)
  • lazy-load the commands available on the lazy module (b89e6bf)

v4.2.0

18 Dec 14:05
48309dd
Compare
Choose a tag to compare

4.2.0 (2022-12-18)

Features

  • check if ffi is available and error if not (c0d3617)
  • expose all commands on main lazy module (f25f942)
  • loader: added error handler to sourcing of runtime files (eeb06a5)
  • never source packer_compiled.lua (a46c0c0)
  • ui: added dir to props (9736671)
  • ui: added help for <CR> on a plugin (c87673c)
  • ui: made it look a little less like a Mason rip-off :) (9026a0e)
  • ui: make home bold (0b4a04d)

Bug Fixes

  • loader: runtime files are now sourced alphabetically per directory (5c0c381)
  • set correct dir for lazy plugin (23984dd)
  • ui: always clear complete tasks with the same name when starting a new task (85e3752)
  • ui: show first tag for each help doc in details (6f728e6)
  • ui: split window before opening a file from the Lazy ui, otherwise it'll get closed immediately (f18efa1)

v4.1.0

16 Dec 14:22
fc55edc
Compare
Choose a tag to compare

4.1.0 (2022-12-16)

Features

  • docs: added toc generator (f4720ee)
  • lua code generator for the README.md (80a7839)
  • README.md files are now automagically added to help. By default only when no doc/ exists (70ca110)
  • utility methods to read/write files (27178b5)

Bug Fixes

  • Plugin.init implies lazy-loading (ccdf65b)
  • add lazy.nvim with dev=false to prevent using the dev version for myself (b8fa6f9)
  • bootstrap code now uses git url instead of https for beta testers + fixed rtp path (17d1653)
  • use initial rtp for rtp plugin after files and use loaded plugins for their after files (7134417)

Performance Improvements

  • prevent string.match to find plugin name from a modpath (f23a6ee)
  • when reloading plugin specs always use cache (060cf23)

v4.0.0

14 Dec 21:35
48edfec
Compare
Choose a tag to compare

4.0.0 (2022-12-14)

⚠ BREAKING CHANGES

  • lazy now handles the full startup sequence (vim.go.loadplugins=false)

Features

  • added checks for Neovim version (72f64ce)
  • getter for plugins (8de617c)
  • lazy now handles the full startup sequence (vim.go.loadplugins=false) (ec2f432)
  • ui: show updates available diagnostic when an update is available (ad0b4ca)

Bug Fixes

  • destroy the cache when VIMRUNTIME has changed (5128d89)
  • updated the bootstrap code (1ee4e8b)

v3.0.0

13 Dec 09:37
5c7d29e
Compare
Choose a tag to compare

3.0.0 (2022-12-13)

⚠ BREAKING CHANGES

  • local plugins now always need to set Plugin.dir

Features

  • added health checks (dc2dcd2)
  • api: return runner from manage operations (71e4b92)
  • better way of dealing with lazy loaded completions (thanks to @lewis6991) (f24c055)
  • checker: only report an update once and do a fast update check after each manage operation (2a7466a)
  • local plugins now always need to set Plugin.dir (0625493)
  • ui: added statusline component to show pending updates (315be83)
  • ui: added update checker (65cd28e)

Bug Fixes

  • dev plugins with dev=false should be configured as remote (43b303b)
  • replace ~ by HOME for Plugin.dir (12ded3f)
  • ui: open with noautocmd=true and close with vim.schedule to prevent weird errors by other plugins (08d081f)

Performance Improvements

  • added profiling for sourcing of runtime files (be509c0)

v2.2.0

05 Dec 13:50
dda5c6c
Compare
Choose a tag to compare

2.2.0 (2022-12-05)

Features

  • cleanup keys/cmd handlers when loading a plugin (3f517ab)
  • dont run setup again when a user re-sources their config & show a warning (7b945ee)
  • ui: added debug interface to inspect active handlers and the module cache (6d68cc6)
  • ui: show any helps files and added hover handler (13b5688)
  • util.foreach with sorted keys (d36ad41)

Bug Fixes

  • always add config/after to rtp (c98e722)
  • ui: always show branch name in details (6e44be0)

Performance Improvements

  • disable cache by default on VimEnter or on BufReadPre (b2727d9)