Release /
mason.nvim v2.0.0
See available versions and package source identifiers before installing a tool.
Before you upgrade to v2.0.0
8 to fixThe default `ui.border` becomes `nil`, using Neovim's `winborder` when available instead of always using no border.
Read the evidence
Installed tool symlinks use relative paths instead of absolute paths.
Read the evidence
Custom registries are officially supported through `github:`, `file:`, and `lua:` protocols; registry installations run concurrently.
Read the evidence
Upgrade Neovim to 0.10.0 or later before installing Mason v2.
Read the evidence
Migrate custom Lua packages to the reworked registry package structure; old `mason-core.installer.managers` APIs were removed. Follow the custom-registry examples linked in the release notes.
Read the evidence
Replace `Package:get_install_path()` with executable names on `PATH`, `$MASON/bin`, or `$MASON/share` as appropriate; package-directory contents are not a stable interface.
Read the evidence
Replace `Package:check_new_version()` with synchronous `Package:get_latest_version()`; read `Package:get_installed_version()` synchronously without a callback.
Read the evidence
Use `Package:uninstall({}, callback)` for completion; check `Package:is_installed()` before uninstalling and `Package:is_installing()` before installing to avoid new errors.
Read the evidence
Update install-success handlers to consume receipts and install-failure handlers to consume errors. The payload changes also apply to the registry's `package:install:success` and `package:install:failed` events.
Read the evidence
Replace registry `update` listeners with `update:start`, `update:success`, `update:failed`, or `update:progress`.
Read the evidence
Installation accepts a completion callback, and uninstall failures emit `uninstall:failed` and registry `package:uninstall:failed` events.
Read the evidence
Adapt `uninstall:success` and registry `package:uninstall:success` handlers to the receipt payload specified by the new event contract.
Read the evidence
What changed in v2.0.0
The Mason window shows versions for uninstalled packages and package source URLs. Upgrading requires Neovim 0.10 or later and migration of affected Lua integrations.
Install mason.nvim v2.0.0 with a Neovim plugin manager and call `require("mason").setup()`. Requires Neovim 0.10+. Package-specific external tools may be required.
Fixed and improved
The window initializes correctly with multiple registries and fixes incorrect outdated-package indicators.
Read the evidence
Seeded by @iluxav with Codex, from the release's public sources. Each change links to its evidence.