| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | refactor(registry): change lua registries to not instantiate Package themselves | William Boman | 2025-05-02 | 1 | -0/+2 |
| | | | | | | | | | Instead of having Lua registries instantiate package instances themselves we now do it in the installer of Lua registry sources. This aligns the behaviour of the Lua registry protocol with the other registry protocols. | ||||
| * | fix(registry): fix registry.is_installed() | William Boman | 2025-03-24 | 1 | -2/+2 |
| | | |||||
| * | refactor(registry)!: add events "update:success", "update:start", ↵ | William Boman | 2025-03-03 | 1 | -2/+8 |
| | | | | | "update:progress" and "update:failed" | ||||
| * | refactor(registry): parallelize registry installation | William Boman | 2025-03-03 | 1 | -14/+28 |
| | | |||||
| * | refactor(registry): refactor registry initialization | William Boman | 2025-03-03 | 1 | -172/+100 |
| | | |||||
| * | refactor!: change Package API | William Boman | 2025-02-19 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the following public APIs: **(_breaking_) Events on the `Package` class** The `uninstall:success` event on the `Package` class now receives an `InstallReceipt` as argument, instead of an `InstallHandle`. This receipt is an in-memory representation of what was uninstalled. There's also a new `uninstall:failed` event for situations where uninstallation for some reason fails. Note: this also applies to the registry events (i.e. `package:uninstall:success` and `package:uninstall:failed`). --- **(_breaking_) `Package:uninstall()` is now asynchronous and receives two new arguments, similarly to `Package:install()`** While package uninstallations remain synchronous under the hood, the public API has been changed from synchronous -> asynchronous. Users of this method are recommended to provide a callback in situations where code needs to execute after uninstallation fully completes. --- **(_breaking_) `Package:get_install_path()` has been removed. --- **`Package:install()` now takes an optional callback** This callback allows consumers to be informed whether installation was successful or not without having to go through a different, low-level, API. See below for a comparison between the old and new APIs: ```lua -- before local handle = pkg:install() handle:once("closed", function () -- ... end) -- after pkg:install({}, function (success, result) -- ... end) ``` | ||||
| * | refactor(path): use InstallLocation to produce paths, remove static path methods | William Boman | 2025-02-19 | 1 | -4/+7 |
| | | |||||
| * | feat(registry): add .get_all_package_specs() (#1247) | William Boman | 2023-04-22 | 1 | -0/+10 |
| | | | | | This is a faster method than .get_all_packages() due to the fact that it only loads package specifications without instantiating mason-core.package instances. Useful for situations where one only needs to read spec data. | ||||
| * | feat(registry): add ability to register package aliases (#1146) | elky | 2023-04-05 | 1 | -0/+21 |
| | | |||||
| * | refactor: only schedule in a.scheduler() when in fast event (#1170) | William Boman | 2023-04-02 | 1 | -6/+2 |
| | | | | Explicitly schedule via `a.wait(vim.schedule)` instead. | ||||
| * | fix(registry): use oneshot channel for updating registry (#1168) | William Boman | 2023-04-02 | 1 | -19/+2 |
| | | |||||
| * | fix(scripts): setup mason and init registries (#1124) | William Boman | 2023-03-23 | 1 | -4/+3 |
| | | |||||
| * | fix: mkdirp if stdpath("state" | "cache") doesn't exist (#1123) | William Boman | 2023-03-23 | 1 | -1/+8 |
| | | |||||
| * | feat: add registry.refresh() method (#1096) | William Boman | 2023-03-14 | 1 | -14/+68 |
| | | |||||
| * | style: enforce import order (#1092) | William Boman | 2023-03-12 | 1 | -4/+4 |
| | | | | | | * chore(workflows): update dependencies * style: enforce import order | ||||
| * | feat: add github registry source capabilities (#1091) | William Boman | 2023-03-12 | 1 | -1/+37 |
| | | |||||
| * | feat(ui): display registries in help window (#1062) | William Boman | 2023-03-05 | 1 | -0/+1 |
| | | |||||
| * | tests: add LuaRegistrySource spec (#1027) | William Boman | 2023-02-23 | 1 | -1/+1 |
| | | |||||
| * | refactor: load mason-registry.sources directly (#1021) | William Boman | 2023-02-21 | 1 | -2/+0 |
| | | | | This further reduces the amount of modules loaded during setup. | ||||
| * | feat: configurable registries (#1016) | William Boman | 2023-02-20 | 1 | -9/+25 |
| | | |||||
| * | feat(registry): add has_package() method (#847) | William Boman | 2023-01-04 | 1 | -0/+7 |
| | | |||||
| * | fix(mason-registry): don't pass possible nil value to log (#840) | William Boman | 2023-01-03 | 1 | -1/+1 |
| | | |||||
| * | refactor: introduce selene, harden type defs, and use proper EmmyLua syntax ↵ | William Boman | 2022-08-15 | 1 | -2/+1 |
| | | | | | (#296) | ||||
| * | fix(mason-lspconfig): patch some server's cmd on Windows (#100) | William Boman | 2022-07-19 | 1 | -0/+2 |
| | | |||||
| * | docs: add doc/reference.md for more advanced use cases (#75) | William Boman | 2022-07-15 | 1 | -0/+8 |
| | | |||||
| * | refactor: add mason-schemas and mason-core modules (#29) | William Boman | 2022-07-08 | 1 | -6/+6 |
| | | | | | | * refactor: add mason-schemas and move generated filetype map to mason-lspconfig * refactor: add mason-core module | ||||
| * | refactor: move packages to mason-registry (#27) | William Boman | 2022-07-08 | 1 | -0/+90 |
