| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | refactor!: change Package API | William Boman | 2025-02-19 | 1 | -3/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) ``` | ||||
| * | fix: fix usage of deprecated Neovim APIs (#1703) | William Boman | 2024-05-11 | 1 | -0/+1 |
| | | |||||
| * | refactor(expr): remove redundant core filters and always stringify reduced ↵ | William Boman | 2023-04-18 | 1 | -0/+1 |
| | | | | | | value (#1227) The removed filters are not used by mason-registry and are too Lua-specific in nature. | ||||
| * | refactor: only schedule in a.scheduler() when in fast event (#1170) | William Boman | 2023-04-02 | 1 | -0/+21 |
| | | | | Explicitly schedule via `a.wait(vim.schedule)` instead. | ||||
| * | feat: add github registry source capabilities (#1091) | William Boman | 2023-03-12 | 1 | -0/+2 |
| | | |||||
| * | feat(functional): add list.index_by (#882) | William Boman | 2023-01-10 | 1 | -0/+1 |
| | | |||||
| * | feat(functional): add split_every and default_to (#835) | William Boman | 2023-01-02 | 1 | -0/+2 |
| | | |||||
| * | feat(functional): add strip_{prefix,suffix} (#803) | William Boman | 2022-12-26 | 1 | -1/+4 |
| | | |||||
| * | feat(functional): add trim_start and assoc (#779) | William Boman | 2022-12-20 | 1 | -0/+2 |
| | | |||||
| * | feat(functional): add list.reduce (#772) | William Boman | 2022-12-19 | 1 | -0/+1 |
| | | |||||
| * | feat(functional): add some more functions (#755) | William Boman | 2022-12-10 | 1 | -0/+8 |
| | | |||||
| * | feat(functional): add more functions (#741) | William Boman | 2022-12-08 | 1 | -0/+9 |
| | | |||||
| * | feat: add provider interface (#601) | William Boman | 2022-10-30 | 1 | -0/+3 |
| | | |||||
| * | feat(api/command): add --debug flag to :MasonInstall (#576) | William Boman | 2022-10-19 | 1 | -0/+1 |
| | | |||||
| * | refactor(platform): more functional approach to parsing (#479) | William Boman | 2022-09-29 | 1 | -0/+1 |
| | | |||||
| * | refactor: introduce selene, harden type defs, and use proper EmmyLua syntax ↵ | William Boman | 2022-08-15 | 1 | -9/+9 |
| | | | | | (#296) | ||||
| * | feat: minimize modules required by .setup(), lazily require functional ↵ | William Boman | 2022-07-22 | 1 | -9/+19 |
| | | | | | modules (#113) | ||||
| * | fix(mason-lspconfig): deduplicate :LspInstall completion items (#88) | William Boman | 2022-07-17 | 1 | -0/+1 |
| | | |||||
| * | refactor: add mason-schemas and mason-core modules (#29) | William Boman | 2022-07-08 | 1 | -0/+112 |
| * refactor: add mason-schemas and move generated filetype map to mason-lspconfig * refactor: add mason-core module | |||||
