Skip to content

Latest commit

 

History

History
946 lines (475 loc) · 56.4 KB

CHANGELOG.md

File metadata and controls

946 lines (475 loc) · 56.4 KB

Changelog

2.42.2 (2024-11-18)

Bug Fixes

  • make sure config_path option for installs updates correct config (#590) (47872af)

2.42.1 (2024-11-16)

Bug Fixes

  • constants.lua: update version variable (2ae1c99)

2.42.0 (2024-11-16)

Features

  • api: Add support for install options (#577) (e3fb716)

2.41.3 (2024-11-10)

Bug Fixes

  • dependencies: toml-edit == 0.5.0 -> >= 0.6.1 (3d15172)

2.41.2 (2024-11-07)

Bug Fixes

  • pin toml-edit to 0.5.0 until 0.6.0 bug is fixed (912196b)

2.41.1 (2024-11-01)

Bug Fixes

  • attempt to concatenate field version (a nil value) when installing (#581) (0b10e0c)

2.41.0 (2024-10-25)

Features

  • config: import option for splitting rocks toml configs (#565) (#573) (15b2387)

Bug Fixes

  • installer/bootstrap: pin luarocks to v3.11.1 (#569) (259dee5)

2.40.5 (2024-10-17)

Bug Fixes

  • add tree-sitter parsers to the runtimepath asap (#562) (752cecf)

2.40.4 (2024-10-16)

Bug Fixes

  • more robust initialisation of site symlinks (#558) (1b9fa01)
  • run luarocks commands with cwd set to rocks_dir (#560) (2d6bb8e)

2.40.3 (2024-10-15)

Bug Fixes

  • handle packadd failing without an error message (#556) (f1ec104)

2.40.2 (2024-09-20)

Bug Fixes

  • stop luarocks server list from being overwritten (#542) (39ac8f0)

2.40.1 (2024-09-16)

Bug Fixes

  • don't include dev servers when querying outdated rocks (#537) (a130ede)

2.40.0 (2024-09-03)

Features

  • experimental: API for installing rockspec dependencies (#527) (77c19ea)

2.39.0 (2024-09-02)

Features

  • experimental: a way to recognise plugins managed by extensions as dependencies (#492) (79123d6)

2.38.3 (2024-08-31)

Bug Fixes

  • adapt to nvim 0.11 breaking vim.version.parse change (#523) (303a2a9)

2.38.2 (2024-08-24)

Bug Fixes

2.38.1 (2024-08-24)

Bug Fixes

  • windows: several terminal windows popping up (#514) (a1c4beb)

2.38.0 (2024-08-22)

Features

  • api: emit user events for cache updates (#500) (4b56808)

2.37.1 (2024-08-19)

Bug Fixes

  • windows: use junctions instead of symlinks (#509) (9374140)

2.37.0 (2024-08-11)

Features

  • trigger RocksInstallPost user event after install/update (#498) (7994116)
  • update remote plugins after install/update (#485) (3218e4f)

2.36.1 (2024-07-23)

Bug Fixes

  • sync/update: plugins not found warnings at startup (3739621)

Performance Improvements

  • sync/update: redundant site symlink validations (fcc6463)

2.36.0 (2024-07-16)

Features

  • update: :Rocks update {rock} alias for individual rocks (#468) (5d0db60)

2.35.2 (2024-07-14)

Bug Fixes

  • health: fix external dependency checks (4ae93ef)
  • synchronize all luarocks CLI invocations (#474) (4a9c276)

2.35.1 (2024-07-09)

Bug Fixes

  • external sync actions not running (#469) (235c7df)
  • install: add newly installed opt plugins to the rtp (54a5cfd)

2.35.0 (2024-07-05)

Features

  • install: add breaking change check for Rocks install {rock} (91431b4)
  • install: skip prompts with Rocks! install (46f154a)
  • support extending the default luarocks config with a table (00014a8)
  • update: prompt to install breaking changes (6be3fe5)

2.34.0 (2024-07-03)

Features

  • install: Error if trying to install lua rocks by owner/repo (#445) (36041f2)
  • log: trace luarocks_config path (#450) (c3b0297)
  • rocks.toml: support specifying extra luarocks install_args (#442) (ca44f7b)

2.33.0 (2024-07-02)

Features

  • health: check for nvim-treesitter conflicts (#447) (170a1b0)
  • install: improve 'dev' version search prompt (#446) (7b454ba)

Bug Fixes

  • prune: need to prune twice for rocks-git to remove plugin (#451) (f8edb17)

2.32.1 (2024-06-29)

Bug Fixes

  • api: use user rocks with preload hook modifications applied (#436) (4fb7896)
  • health: do not produce duplicated messages when there are no errors in the rocks.toml file (cf2fdee)

2.32.0 (2024-06-25)

Features

Bug Fixes

  • prune: delegate to extensions' handlers (#400) (5a01433)

2.31.3 (2024-06-19)

Bug Fixes

  • update: set version of all installed rocks.toml entries (#382) (56460c8)

2.31.2 (2024-06-19)

Bug Fixes

  • runtime: make sure dependencies' rtp directories can be used (#394) (eba13e0)

2.31.1 (2024-06-17)

Bug Fixes

  • api: include dev rocks in query_luarocks_rocks (#389) (06ea5e1)

2.31.0 (2024-06-11)

Features

  • config: add validation that luarocks binary is executable (09c93f1)

Bug Fixes

  • fail silently if populating the rocks cache fails at startup (3fb4a06)
  • luarocks.core.cfg not found when removing bootstrapped luarocks (483c61a)

2.30.1 (2024-06-10)

Bug Fixes

  • luarocks: set LUA_PATH and LUA_CPATH (#374) (a7de46b)

2.30.0 (2024-06-07)

Features

  • manage luarocks installation as rockspec dependency (#340) (b74b36f)

2.29.2 (2024-05-30)

Bug Fixes

  • sync/ui: progess ui displayed forever (#360) (629b37b)

2.29.1 (2024-05-27)

Bug Fixes

  • operations: always force reinstalls if rocks are already installed (#353) (8537f6a)
  • tree-sitter: stop creating now redundant rocks_rtp/parser symlink (4e4ab38)

2.29.0 (2024-05-21)

Features

  • allow overriding luarocks config (#334) (02f77e8)
  • log: include error messages reported in UI (#322) (0a85746)

Bug Fixes

  • operations: race conditions when running commands concurrently (269bbf3)
  • sync: prune all rocks that can be pruned in a single sweep (#305) (e6c2080)
  • wait for writing rocks.toml to complete where possible (37924fa)

Performance Improvements

  • replace vim.g with _G in init check (509e872)

Reverts

  • replace vim.g with _G in init check (27912ea)

2.28.0 (2024-05-16)

Features

  • replace nightly requirement with Neovim >= 0.10.0 (db09871)

2.27.1 (2024-05-06)

Bug Fixes

  • operations: error if 'rocks' or 'plugin' key missing in rocks.toml (#318) (45570ab)

2.27.0 (2024-05-06)

Features

  • set log level to WARN (71446ce)
  • show "Run ':Rocks log' for details" tip when error occurs (f345607)

Bug Fixes

2.26.0 (2024-04-25)

Features

  • deprecate rocks.api.source_runtime_dir (#297) (b93c313)
  • runtime: use built-in packadd and deprecate Rocks packadd (047b8f7)

2.25.1 (2024-04-24)

Bug Fixes

  • sync: error when rocks.toml has no rocks or plugins entries (#295) (e74ffdd)

2.25.0 (2024-04-24)

Features

  • ensure plugin runtime paths are available before rocks initialises (#285) (462379d)

Bug Fixes

  • ensure lowercase rock names (#288) (4d4b0a7)
  • update: don't update rocks that aren't in rocks.toml (c969b61)

2.24.0 (2024-04-18)

Features

  • add bootstrap.lua script (e25027e)
  • add rest of installer code (8508e5a)
  • initial bootstrap.lua script (cd213f4)

Bug Fixes

  • access rocks_nvim instead of rocks_config (4fd4599)
  • broken/cut-off README (4acbe96)
  • duplicate variable names, proper fallback for luarocks_binary (e92c768)
  • set random seed to system time for reproducible clones (c4fadfb)

2.23.0 (2024-04-18)

Features

2.22.0 (2024-04-17)

Features

  • add version check to installer and plugin script (#277) (c54d6e2)
  • pin rocks to prevent updates (#278) (832c400)

2.21.3 (2024-04-13)

Bug Fixes

  • installer: update package.cpath for all platforms (#271) (9cc0203)

2.21.2 (2024-04-13)

Bug Fixes

  • runtime: append start plugins to rtp before calling preload hooks (#267) (f86ffe6)

2.21.1 (2024-04-09)

Bug Fixes

  • loader: only enable luarocks loader for luarocks with lua 5.1 (772e828)

2.21.0 (2024-04-07)

Features

  • keep log file in rocks_path (8b5e584)

2.20.2 (2024-04-07)

Bug Fixes

  • dependencies: bump toml-edit to a working version (#251) (8ca5cfe)

2.20.1 (2024-04-07)

Bug Fixes

  • loader: add entire luarocks lua path (#248) (0d041ec)

2.20.0 (2024-04-03)

Features

  • install: support passing args, like opt=true (#236) (f4d25d9)
  • loader: support multiple versions of the same dependency (#227) (cb2be55)

2.19.1 (2024-03-24)

Bug Fixes

  • completions: don't exclude dev versions in luarocks search (1c56f32)

2.19.0 (2024-03-23)

Features

  • api: install function for installing rocks with a callback (#217) (0df5915)

2.18.0 (2024-03-21)

Features

2.17.0 (2024-03-20)

Features

  • api: introduce preload hooks for rocks.nvim extensions (#209) (ebaf92e)
  • search rocks-binaries-dev server if version is dev or scm (#197) (11fe71a)
  • sync: bootstrap external sync handlers and use them in one sync sweep (#211) (d6e9bda)
  • update: reinstall dev rocks by default (#210) (de1c86c)

Bug Fixes

  • async initialise + cleanup tree-sitter parser symlink (#202) (621337c)
  • installer: missing comma (#206) (fb195f1)
  • installer: Respect shell shebang of luarocks configure script (#200) (eaac7b1)
  • remove unnecessary guards (#201) (e3b2e0d)
  • sync: error when version in rocks.toml is scm or dev (#193) (5244346)

Reverts

  • set LUAROCKS_CONFIG to nil, not an empty string (821f5fe)

2.16.0 (2024-03-15)

Features

  • install: prompt to search dev version if rock not found (#191) (66d6e8a)

Bug Fixes

  • install: add --dev flag if version is scm (69921f1)

2.15.0 (2024-03-13)

Features

  • add support for tree-sitter parsers installed from luarocks (141e5f8)
  • treesitter: set TREE_SITTER_LANGUAGE_VERSION (34996d8)

Bug Fixes

  • install: don't packadd if installed rockspec is opt (217ef32)
  • installer: proper C lib file extension on darwin and windows (#186) (855d556)
  • operations: ensure luarocks prioritizes rocks-binaries (de3cbb6)

2.14.0 (2024-03-09)

Features

  • completions: include dev versions in luarocks search (98ae8fc)

Bug Fixes

  • installer: use vim.o.sh instead of 'sh' (#179) (54b67ce)

Performance Improvements

  • installer: Use --filter=blob:none when cloning luarocks (919541e)

Reverts

  • installer: stay on old luarocks commit (#180) (6c0403a)

2.13.1 (2024-03-02)

Bug Fixes

  • invocation of invalid rtp sourcing function (073d8e5)

2.13.0 (2024-03-02)

Features

  • use the neorocks manifest as a fallback server (7e9cf5d)

Bug Fixes

2.12.1 (2024-02-29)

Bug Fixes

  • check that handler callbacks are set before trying to call them (02a2749)

2.12.0 (2024-02-28)

Features

  • api: ability to hook into :Rocks install and :Rocks update (#165) (7f6e26f)

2.11.0 (2024-02-23)

Features

  • add support for :checkhealth (5b77337)

2.10.0 (2024-02-23)

Features

  • api: add source_runtime_dir (c47327b)

2.9.0 (2024-02-17)

Features

  • add luarocks bin directory to the Neovim path (#153) (13c2103)

2.8.2 (2024-02-16)

Bug Fixes

  • luarocks: make sure LUAROCKS_CONFIG is unset (#150) (8cfb41b)

2.8.1 (2024-02-16)

Bug Fixes

  • config: create default config on :Rocks edit if it does not exist (7b35d9a)
  • config: create directory before creating default config (5446cd4)

2.8.0 (2024-02-12)

Features

  • generate plugins help pages tags on install/update (#145) (ab1f8c6)

2.7.4 (2024-02-11)

Bug Fixes

  • update: dependencies added to rocks.toml after updating (#143) (7e650f2)

2.7.3 (2024-02-01)

Bug Fixes

  • installer: remove color seqence from shell output (#130) (6c6da2b)

2.7.2 (2024-01-27)

Bug Fixes

  • installer: disable line wrapping for option's windows (#125) (298e10a)
  • installer: don't fail if pinning luarocks revision fails (474a7ca)
  • installer: prevent invalid temp directory name generation (#118) (14578d0)
  • installer: print stderr + stdout on failure (1c5efc9)
  • runtime: only show packadd fallback error if configured to do so (#128) (9682c0c)

2.7.1 (2024-01-25)

Bug Fixes

  • don't show "Updated rock" notification on failed update (996c0c6)

Reverts

2.7.0 (2024-01-14)

Features

  • packadd: Fall back to builtin packadd if no rock is found. (#114) (816b916)

2.6.2 (2024-01-14)

Bug Fixes

2.6.1 (2023-12-31)

Bug Fixes

  • api: ensure get_rocks_toml returns RockSpec[] tables (dcfd23c)
  • sync: error when downgrading from scm/dev versions (afee345)
  • update,install: rocks.toml entries coerced to strings (ef8d8af)

2.6.0 (2023-12-26)

Features

  • :Rocks packadd commmand for lazy-loading opt plugins (#99) (89fa2b8)

2.5.0 (2023-12-21)

Features

  • deps: replace internal nio module with nvim-nio (b10889e)

Bug Fixes

  • installer: stay on old luarocks commit, fix /run/.../luarocks already exists error (57e80f7)

2.4.1 (2023-12-17)

Bug Fixes

  • sync: Better error message if entry can't be parsed (#90) (2f844ff)

Reverts

  • installer: only add rocks.nvim to rtp in install script (#88) (#91) (1c16e6b)

2.4.0 (2023-12-17)

Features

  • add dynamic_rtp option (609cc53)
  • api: allow external modules to hook into :Rocks sync (#85) (9b66e52)
  • auto add newly installed plugins to the RTP (5ea1004)

2.3.3 (2023-12-12)

Bug Fixes

  • operations/update: display "Checking for updates..." message before performing update checks (#73) (d01b1e6)
  • update: exclude -<specrev> from version (b7e096b)

2.3.2 (2023-12-11)

Bug Fixes

  • install: ensure lower case rock names (1f1d0a4)

2.3.1 (2023-12-11)

Bug Fixes

  • config: remove unimplemented example from default config (3897048)
  • ui: limit progress percentages to [0,100] (a18fb7d)
  • update: update versions in rocks.toml (675bda0)

2.3.0 (2023-12-11)

Features

  • logging + :Rocks log command (#65) (4a0678d)
  • sync: separate progress handles for errors (a08ee0d)

Bug Fixes

  • install: bug causing : to be appended to version in rocks.toml (#62) (8e8ceec)
  • operations: don't use parse_user_rocks in sync (e82f66f)
  • prune: do not prune dependencies that are in rocks.toml (8a48a1a)
  • prune: remove pruned rocks from [rocks] section, too (9857745)
  • sync: don't try to remove indirect dependencies (a1c0d2f)
  • sync: prevent luarocks race conditions (057ec56)
  • sync: prune rocks sequentially to prevent partial uninstalls (d09de43)
  • ui: sync progress percentage computation (52f1ae6)

Performance Improvements

  • auto-populate removable rocks cache (#70) (7b6d361)

2.2.0 (2023-12-10)

Features

  • rocks.api module for use by external rocks.nvim extensions (#54) (20dc8ce)
  • ui: use fidget.nvim for progress reports (726d6b5)

Bug Fixes

  • completions: typos that broke install and prund completions (edf9120)

Performance Improvements

  • populate luarocks.org state cache at startup (#53) (3b1b5c2)

2.1.0 (2023-12-06)

Features

  • :Rocks prune command to uninstall rocks and dependencies (#41) (d0ea65d)
  • add :Rocks edit command for opening rocks.toml (#44) (7f92e60)
  • allow users to install development rocks (scm-1) (#36) (3a1fe16)
  • commands: fuzzy completions (#49) (ffb7f20)
  • health: warn on unrecognized configs / unsourced vim.g.rocks_nvim (#45) (8d51d13)

Bug Fixes

  • internal: use vim.empty_dict for better vimscript interop (#50) (86a8d80)

2.0.1 (2023-11-28)

Bug Fixes

  • update ROCKS_VERSION, use ROCKS_VERSION in default config (e7012a0)

2.0.0 (2023-11-28)

⚠ BREAKING CHANGES

  • remove bootstrapping code from within the plugin

Features

  • add extra description and store data from subbuffers (6b7e847)
  • add installer skeleton code (d636e6d)
  • add more UI elements (1a4d365)
  • add option to auto set up luarocks on the user's machine (1895d67)
  • add support for default values (590de34)
  • add welcome screen to installer (3bbf317)
  • finalize installation process (5dda747)
  • installer: add <OK> button (5984015)
  • installer: add luarocks_binary flag for rocks.nvim configuration (6f180fe)
  • installer: add bootstrapping code (f656883)
  • installer: add luarocks installation code (d1e234b)
  • installer: error handling (9abf1e3)
  • installer: improve "installation complete" screen (243b55d)
  • installer: use the neorocks binary server for faster installation (5bcce43)

Bug Fixes

  • editorconfig: failing checks (8564817)
  • incorrect alignment of centered text with input fields (c6c5c81)
  • installer: add extra message when cloning the repository (6702616)
  • installer: don't use deprecated API + disable some diagnostics (bfbebd0)
  • installer: fix column calculations for Neovim instances with line numbers and other obstructions (105b334)
  • installer: install rocks.nvim instead of neorg (was used for testing) (c9c5c38)
  • installer: remove missing , when copying code to clipboard (8f7dd57)
  • installer: type annotations + field names (13d4592)
  • installer: use self-contained luarocks binary when possible (b8a895b)
  • try to make installer work (de31944)

Code Refactoring

  • remove bootstrapping code from within the plugin (ddd2521)

1.0.1 (2023-11-22)

Bug Fixes

  • operations: only find dependencies of rocks that exist (#21) (6d3810d)

1.0.0 (2023-11-20)

⚠ BREAKING CHANGES

  • auto-setup + healthchecks + generate vimdocs (#10)
  • better install() function
  • move code to nio asynchronous logic, implement sync command
  • severely refactor internal logic, add support for updating plugins
  • start codebase refactor

ref

  • better install() function (740508b)

Features

  • add .luarc.json (a89ee5f)
  • add :Rocks install command (9845021)
  • add :Rocks command via plugin/ directory (aa988aa)
  • add .luacheckrc (9376ae2)
  • add toml-edit dependency (bd02c6f)
  • add update() command (75061c9)
  • add installed plugins to runtimepath (6132e0c)
  • add Makefile and stylua.toml (6e4eb7c)
  • add nui.nvim dependency to the manifest (#18) (5faf2be)
  • add proper error propagation in async contexts (885c58b)
  • add UI to update() function (006a75e)
  • auto-setup + healthchecks + generate vimdocs (#10) (920764d)
  • bootstrap: add Installation result detection (#20) (bb532fb)
  • completion: sort versions by latest when completing rock versions (30c6684)
  • ensure that the current neovim version is neovim nightly or later (719f97e)
  • first PoC testing version, can only install and remove (automatically) (7afdffa)
  • make :Rocks update also update the rocks.toml file (2536582)
  • move code to nio asynchronous logic, implement sync command (30d8708)
  • name and version completions for :Rocks install (403d032)
  • notify the user when everything is in-sync (9165529)
  • operations: add updates checker, also spotted a critical bug in the remover and documented it (11896dd)
  • operations: implement UI for sync() (half-buggy) (217a8d4)
  • severely refactor internal logic, add support for updating plugins (44d8070)
  • UI messages for changing versions (bff833f)
  • vendor nio while it is not available on luarocks (3f1ac14)

Bug Fixes

  • nvim_echo may not be called in a lua loop callback (a3b9a7c)
  • abort Neovim if user says no to bootstrap dependency installation (afd3a5b)
  • also account for lib/ in luarocks installation path (ba5f4bc)
  • crashes related to api-fast as well as rocks not found (525084f)
  • defaults: include nui.nvim in the default rocks (3980b20)
  • don't open UI on update if there are no updates (06d9b60)
  • improve command autocompletion (deac73f)
  • installation would fail on rocks with special characters (e5edb77)
  • operations/sync: text artifacts upon updating UI (9848ab3)
  • operations: add plugin directories to rtp as soon as they get installed (da92113)
  • plugins being installed twice, fixed UI (45f74a9)
  • remove accidental bootstrap_dependencies call (#8) (d394c32)
  • rocks with non-numerical versions would never be considered (f884f6c)
  • state.lua: make the luarocks cli show dependencies with --porcelain (de95dee)
  • sync: do not attempt to remove dependencies (498ca1b)
  • sync: don't mount UI if there's nothing to do (5607c39)
  • vendor/nio: change annotations of nio.create to allow return values (ce8551e)

Reverts

Code Refactoring

  • start codebase refactor (ae7aca1)