| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | refactor(path): use InstallLocation to produce paths, remove static path methods | William Boman | 2025-02-19 | 10 | -104/+115 | |
| | | ||||||
| * | refactor(installer): move initializations to InstallContext constructor | William Boman | 2025-02-19 | 7 | -31/+27 | |
| | | ||||||
| * | refactor: add InstallLocation.global() | William Boman | 2025-02-19 | 3 | -13/+18 | |
| | | ||||||
| * | chore: hoist single file modules | William Boman | 2025-02-19 | 2 | -0/+0 | |
| | | ||||||
| * | fix(command): don't attempt installing packages that are already installing | William Boman | 2025-02-19 | 1 | -8/+13 | |
| | | ||||||
| * | chore: remove todo comment | William Boman | 2025-02-19 | 1 | -1/+0 | |
| | | | | | Using sync is actually preferable here (and likely in many other places) to avoid async context & continuation overhead. | |||||
| * | chore(compilers): remove default environment from github build compiler | William Boman | 2025-02-19 | 3 | -11/+5 | |
| | | ||||||
| * | refactor!: refactor installer internals and add new Package class methods ↵ | William Boman | 2025-02-19 | 87 | -2177/+2482 | |
| | | | | | | | | | | | | | | | | | | | | (#1523) This contains the following changes: 1) `Package:install()` now accepts a second, optional, callback argument which is called when installation finishes (successfully or not). 2) Adds a `Package:is_installing()` method. This contains the following breaking changes: 1) `Package:install()` will now error when called while an installation is already ongoing. Use the new `Package:is_installing()` method to check whether an installation is already running. This also refactors large portions of the tests by removing test globals, removing async_test, and adding the `mason-test` Lua module instead. Test helpers via globals are problematic to work with due to not being detected through tools like the Lua language server without additional configuration. This has been replaced with a Lua module `mason-test`. `async_test` has also been removed in favour of explicitly making use of the `mason-core.async` API. These changes stands for a significant portion of the diff. | |||||
| * | refactor(receipt): change receipt structure and remove old builder APIs (#1521) | William Boman | 2025-02-16 | 11 | -104/+207 | |
| | | ||||||
| * | fix(package): support older receipt structures (#1520) | William Boman | 2025-02-16 | 1 | -1/+5 | |
| | | ||||||
| * | fix(ui): change feedback text contents when updating registry (#1519) | William Boman | 2025-02-16 | 1 | -1/+1 | |
| | | ||||||
| * | refactor(providers): inline GitHub API calls in the client provider (#1518) | William Boman | 2025-02-16 | 2 | -47/+33 | |
| | | ||||||
| * | feat!: upgrade minimum required neovim version to 0.9.0 (#1517) | William Boman | 2025-02-16 | 7 | -15/+11 | |
| | | ||||||
| * | fix(installer): schedule back to main loop before executing installer ↵ | William Boman | 2025-02-16 | 1 | -0/+1 | |
| | | | | | functions (#1516) | |||||
| * | refactor!: consolidate Lua registry sources and the Package API (#1498) | William Boman | 2025-02-16 | 18 | -412/+301 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **This removes the following APIs:** - `Package:check_new_version()`. Instead use the new `Package:get_latest_version()`. **This has a breaking change in the following APIs:** - `Package:get_installed_version()` now no longer takes a callback but instead returns the installed version or `nil` if not installed. <details> <summary>To handle these breaking changes in plugins, leverage the `mason.version` module, for example:</summary> ```lua local mason_version = require("mason.version") local registry = require("mason-registry") local pkg = registry.get_package("rust-analyzer") if mason_version.MAJOR_VERSION < 2 then -- before pkg:check_new_version(function (success, new_version) -- … end) pkg:get_installed_version(function (success, installed_version) -- … end) else -- after local new_version = pkg:get_latest_version() local installed_version = pkg:get_installed_version() fi ``` </details> --- <details> <summary>This change also introduces breaking changes for Lua registry sources, by consolidating the package schema with the registry.</summary> The following is an example of a package defined in a Lua registry, following the new schema: ```lua local Pkg = require("mason-core.package") return Pkg.new { schema = "registry+v1", name = "ripgrep", description = "ripgrep recursively searches directories for a regex pattern while respecting your gitignore.", homepage = "https://github.com/BurntSushi/ripgrep", licenses = { Pkg.License.MIT }, languages = {}, categories = {}, source = { id = "pkg:mason/ripgrep@13.0.0", ---@param ctx InstallContext ---@param purl Purl install = function(ctx, purl) -- Arbitrary installation code. end, }, bin = { rg = "./bin/rg", }, } ``` </details> | |||||
| * | refactor!: remove old managers (#1497) | William Boman | 2025-02-16 | 34 | -3731/+20 | |
| | | ||||||
| * | chore(main): release 1.11.0 (#1658)v1.11.0v1.x | williambotman[bot] | 2025-02-15 | 3 | -3/+32 | |
| | | ||||||
| * | feat(ui): add backdrop (#1759) | Hung Vu | 2025-02-15 | 5 | -18/+64 | |
| | | | | | | | | | | | | | | | | Adds a backdrop for the Mason window. Can be disabled by setting the `ui.backdrop` option: ```lua require("mason").setup { ui = { backdrop = 100 } } ``` The backdrop is not displayed if `'termguicolors'` is not enabled or if Neovim is transparent. Co-authored-by: William Boman <william@redwill.se> | |||||
| * | fix(fs): fall back to `fs_stat` if entry type is not returned by ↵ | Nicolas Thierry | 2025-02-15 | 1 | -0/+7 | |
| | | | | | | `fs_readdir` (#1783) Co-authored-by: William Boman <william@redwill.se> | |||||
| * | fix: avoid calling vim.fn in fast event (#1878) | William Boman | 2025-02-15 | 3 | -3/+29 | |
| | | ||||||
| * | fix(ui): reposition window if border is different than "none" (#1859) | Pedro Gabriel de Morais Ribeiro | 2025-02-15 | 1 | -5/+7 | |
| | | | | Co-authored-by: William Boman <william@redwill.se> | |||||
| * | fix: replace deprecated calls to vim.validate (#1876) | Mark Sommers | 2025-02-15 | 2 | -69/+74 | |
| | | | | Co-authored-by: William Boman <william@redwill.se> | |||||
| * | tests: add new nvim versions to test matrix (#1877) | William Boman | 2025-02-15 | 1 | -2/+4 | |
| | | ||||||
| * | fix(ui): fix rendering JSON schemas (#1757) | William Boman | 2024-07-16 | 1 | -2/+4 | |
| | | | | Fixes #1741. | |||||
| * | fix(pypi): prefer stock python3 if it satisfies version requirement (#1736) | Inhyuk Cho | 2024-07-09 | 2 | -2/+34 | |
| | | ||||||
| * | tests(pypi): fix assertions (#1750) | William Boman | 2024-07-08 | 1 | -0/+2 | |
| | | ||||||
| * | fix(pypi): allow access to system site packages by default (#1584) | Silico_Biomancer | 2024-07-07 | 2 | -1/+8 | |
| | | | | Co-authored-by: William Boman <william@redwill.se> | |||||
| * | feat(pypi): improve resolving suitable python version (#1725) | William Boman | 2024-06-01 | 10 | -19/+300 | |
| | | ||||||
| * | ci: upgrade deps (#1726) | William Boman | 2024-05-31 | 6 | -8/+10 | |
| | | ||||||
| * | fix(pypi): exclude python3.12 from candidate list (#1722) | William Boman | 2024-05-31 | 2 | -2/+1 | |
| | | | | Support for python3.12 among pypi packages is pretty poor, this limits the upper bound to python3.11 instead. | |||||
| * | fix(registry): exhaust streaming parser when loading "file:" registries (#1708) | William Boman | 2024-05-14 | 1 | -0/+9 | |
| | | ||||||
| * | fix: avoid calling vim.fn.has inside fast event (#1705) | William Boman | 2024-05-12 | 1 | -3/+1 | |
| | | | | | When this module is lazily required inside functional/init.lua we may be inside a fast event, causing the module to fail to load due to the top-level call to vim.fn.has. | |||||
| * | chore(registry): clean up recent changes (#1704) | William Boman | 2024-05-11 | 1 | -18/+14 | |
| | | ||||||
| * | fix: fix usage of deprecated Neovim APIs (#1703) | William Boman | 2024-05-11 | 9 | -7/+67 | |
| | | ||||||
| * | perf(registry): significantly improve the "file:" protocol performance (#1702) | William Boman | 2024-05-11 | 1 | -30/+66 | |
| | | | | | | | | | | | Instead of spawning a separate yq process for each registry package, utilize multi-document parsing through a single process. This should have significant performance improvements on all platforms, but especially Windows, due to bottlenecks caused by AV software. IMPORTANT: Writing all package definitions as-is via stdin like this works because packages in the registry (at least the core registry) must start with a document header (---), effectively acting as a document separator. | |||||
| * | fix(health): support multidigit luarocks version numbers (#1648) | Eris | 2024-03-21 | 1 | -1/+1 | |
| | | ||||||
| * | tests: remove old spec (#1634) | William Boman | 2024-02-25 | 1 | -70/+0 | |
| | | ||||||
| * | chore(main): release 1.10.0 (#1605)v1.10.0 | williambotman[bot] | 2024-01-29 | 3 | -3/+18 | |
| | | ||||||
| * | fix(pypi): fix variable shadowing (#1610) | William Boman | 2024-01-29 | 1 | -1/+3 | |
| | | ||||||
| * | feat(pypi): attempt more python3 candidates (#1608) | William Boman | 2024-01-25 | 2 | -12/+66 | |
| | | ||||||
| * | fix(golang): fix fetching package versions for packages containing subpath ↵ | William Boman | 2024-01-22 | 1 | -1/+1 | |
| | | | | | specifier (#1607) | |||||
| * | feat: don't use vim.g.python3_host_prog as a candidate for python (#1606) | William Boman | 2024-01-21 | 4 | -68/+2 | |
| | | | | | This is inconsistent with how other system dependencies are resolved and is not documented anywhere. | |||||
| * | fix(ui): don't indent empty lines (#1597) | Will Lillis | 2024-01-21 | 2 | -9/+30 | |
| | | ||||||
| * | tests: add nvim v0.9.5 to test matrix (#1594) | William Boman | 2024-01-06 | 1 | -0/+1 | |
| | | ||||||
| * | chore(main): release 1.9.0 (#1586)v1.9.0 | williambotman[bot] | 2024-01-06 | 3 | -4/+16 | |
| | | ||||||
| * | feat: add support for openvsx sources (#1589) | William Boman | 2024-01-06 | 25 | -264/+637 | |
| | | ||||||
| * | fix(cargo): don't attempt to fetch versions when version targets commit SHA ↵ | William Boman | 2023-12-29 | 2 | -0/+19 | |
| | | | | | (#1585) | |||||
| * | chore(main): release 1.8.3 (#1555)v1.8.3 | williambotman[bot] | 2023-11-08 | 3 | -3/+10 | |
| | | ||||||
| * | fix(pypi): support MSYS2 virtual environments on Windows (#1547) | William Boman | 2023-11-08 | 3 | -18/+40 | |
| | | ||||||
| * | chore(main): release 1.8.2 (#1543)v1.8.2 | williambotman[bot] | 2023-10-31 | 3 | -3/+10 | |
| | | ||||||
