<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mason/lua/mason-registry/init.lua, branch v2.1.0</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/mason/atom/lua/mason-registry/init.lua?h=v2.1.0</id>
<link rel='self' href='http://git.sudomsg.com/mirror/mason/atom/lua/mason-registry/init.lua?h=v2.1.0'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/'/>
<updated>2025-05-19T03:58:01Z</updated>
<entry>
<title>fix(registry): ensure there's no duplicate registry entries (#1957)</title>
<updated>2025-05-19T03:58:01Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2025-05-19T03:58:01Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=3501b0f96d9f2f878b1947cf3614bc02d053a0c0'/>
<id>urn:sha1:3501b0f96d9f2f878b1947cf3614bc02d053a0c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor(registry): change lua registries to not instantiate Package themselves</title>
<updated>2025-05-02T01:57:07Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2025-05-02T01:52:10Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=4da89f3ab04783da990f9bd40aaa36c22e59375b'/>
<id>urn:sha1:4da89f3ab04783da990f9bd40aaa36c22e59375b</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>fix(registry): fix registry.is_installed()</title>
<updated>2025-03-24T21:43:57Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2025-03-24T21:40:33Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=e638ed8e0dbf297feedc127e65e95667e9da373c'/>
<id>urn:sha1:e638ed8e0dbf297feedc127e65e95667e9da373c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor(registry)!: add events "update:success", "update:start", "update:progress" and "update:failed"</title>
<updated>2025-03-03T15:53:49Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2025-03-03T15:50:31Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=8960e33e797b55b7769947ec02b08aa3e291b1a4'/>
<id>urn:sha1:8960e33e797b55b7769947ec02b08aa3e291b1a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor(registry): parallelize registry installation</title>
<updated>2025-03-03T01:17:08Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2025-03-03T01:16:05Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=c61c6453e213617d2e2bffbb53b892bacfc7a05c'/>
<id>urn:sha1:c61c6453e213617d2e2bffbb53b892bacfc7a05c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor(registry): refactor registry initialization</title>
<updated>2025-03-03T01:17:02Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2025-03-02T01:34:16Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=11b8792af0462f5255c86b2d51d7430a223f4136'/>
<id>urn:sha1:11b8792af0462f5255c86b2d51d7430a223f4136</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor!: change Package API</title>
<updated>2025-02-19T11:15:48Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-11-06T23:29:18Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=6a7662760c515c74f2c37fc825776ead65d307f9'/>
<id>urn:sha1:6a7662760c515c74f2c37fc825776ead65d307f9</id>
<content type='text'>
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 -&gt;
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)
```
</content>
</entry>
<entry>
<title>refactor(path): use InstallLocation to produce paths, remove static path methods</title>
<updated>2025-02-19T08:23:19Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-10-12T23:53:41Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=f1e58d3ce7ab3bdb3036b791811896a0220703ad'/>
<id>urn:sha1:f1e58d3ce7ab3bdb3036b791811896a0220703ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(registry): add .get_all_package_specs() (#1247)</title>
<updated>2023-04-22T17:20:52Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-04-22T17:20:52Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=579d4bd178f4aae76a4f4dc2ea34bf5e8fa6231b'/>
<id>urn:sha1:579d4bd178f4aae76a4f4dc2ea34bf5e8fa6231b</id>
<content type='text'>
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.</content>
</entry>
<entry>
<title>feat(registry): add ability to register package aliases (#1146)</title>
<updated>2023-04-05T19:42:17Z</updated>
<author>
<name>elky</name>
<email>kylelholzinger@gmail.com</email>
</author>
<published>2023-04-05T19:42:17Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=4453caf0faa37f9a4b85a73d2c09d5b5bca2d3aa'/>
<id>urn:sha1:4453caf0faa37f9a4b85a73d2c09d5b5bca2d3aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor: only schedule in a.scheduler() when in fast event (#1170)</title>
<updated>2023-04-02T22:33:48Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-04-02T22:33:48Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=0114336145771ff7c528debba52c5ff21bf6f7a2'/>
<id>urn:sha1:0114336145771ff7c528debba52c5ff21bf6f7a2</id>
<content type='text'>
Explicitly schedule via `a.wait(vim.schedule)` instead.</content>
</entry>
<entry>
<title>fix(registry): use oneshot channel for updating registry (#1168)</title>
<updated>2023-04-01T22:15:48Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-04-01T22:15:48Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=2e35781f5ee020fac6182b4494fdf2f12f3a9bbf'/>
<id>urn:sha1:2e35781f5ee020fac6182b4494fdf2f12f3a9bbf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(scripts): setup mason and init registries (#1124)</title>
<updated>2023-03-23T10:38:19Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-03-23T10:38:19Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=1fcb620a26e90071862a9d5469479cc6b04ee119'/>
<id>urn:sha1:1fcb620a26e90071862a9d5469479cc6b04ee119</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: mkdirp if stdpath("state" | "cache") doesn't exist (#1123)</title>
<updated>2023-03-23T10:22:45Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-03-23T10:22:45Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=c1f790c10a0ed0cf9cc0f9523ff7218c5ad5fa54'/>
<id>urn:sha1:c1f790c10a0ed0cf9cc0f9523ff7218c5ad5fa54</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: add registry.refresh() method (#1096)</title>
<updated>2023-03-14T03:48:03Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-03-14T03:48:03Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=bf087883b05082a07ec2abe22e904b227b21f0d3'/>
<id>urn:sha1:bf087883b05082a07ec2abe22e904b227b21f0d3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>style: enforce import order (#1092)</title>
<updated>2023-03-12T08:26:02Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-03-12T08:26:02Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=698cd0c4f10480991e665f31977650858d625af1'/>
<id>urn:sha1:698cd0c4f10480991e665f31977650858d625af1</id>
<content type='text'>
* chore(workflows): update dependencies

* style: enforce import order</content>
</entry>
<entry>
<title>feat: add github registry source capabilities (#1091)</title>
<updated>2023-03-12T07:21:15Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-03-12T07:21:15Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=a01d02ad7f680aec98a1e2ec35b04cedd307cfa8'/>
<id>urn:sha1:a01d02ad7f680aec98a1e2ec35b04cedd307cfa8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(ui): display registries in help window (#1062)</title>
<updated>2023-03-05T02:33:41Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-03-05T02:33:41Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=51228a60d1a5017030429ba38f018ff27a460c76'/>
<id>urn:sha1:51228a60d1a5017030429ba38f018ff27a460c76</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: add LuaRegistrySource spec (#1027)</title>
<updated>2023-02-23T06:38:08Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-02-23T06:38:08Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=11e34da70dc531e5d917fd4303db2d81258f6ada'/>
<id>urn:sha1:11e34da70dc531e5d917fd4303db2d81258f6ada</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor: load mason-registry.sources directly (#1021)</title>
<updated>2023-02-21T16:57:45Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-02-21T16:57:45Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=5969890b687e7d37395039bb32b644f2820f03bb'/>
<id>urn:sha1:5969890b687e7d37395039bb32b644f2820f03bb</id>
<content type='text'>
This further reduces the amount of modules loaded during setup.</content>
</entry>
<entry>
<title>feat: configurable registries (#1016)</title>
<updated>2023-02-20T21:19:39Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-02-20T21:19:39Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=b8a6632a0f2d263199d5d480ca85477fe0f414ab'/>
<id>urn:sha1:b8a6632a0f2d263199d5d480ca85477fe0f414ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(registry): add has_package() method (#847)</title>
<updated>2023-01-04T06:28:35Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-01-04T06:28:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=2100324ec2ed6b2b0770f8954f1dd1c02484f2cf'/>
<id>urn:sha1:2100324ec2ed6b2b0770f8954f1dd1c02484f2cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(mason-registry): don't pass possible nil value to log (#840)</title>
<updated>2023-01-03T17:13:53Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-01-03T17:13:53Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=df1dd889b72ddcf63e262c22b8e69087560c698d'/>
<id>urn:sha1:df1dd889b72ddcf63e262c22b8e69087560c698d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor: introduce selene, harden type defs, and use proper EmmyLua syntax (#296)</title>
<updated>2022-08-15T19:03:06Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-08-15T19:03:06Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=3c62386a396ae0c1cd7adbaacc379eb4af072a65'/>
<id>urn:sha1:3c62386a396ae0c1cd7adbaacc379eb4af072a65</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(mason-lspconfig): patch some server's cmd on Windows (#100)</title>
<updated>2022-07-19T22:00:55Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-07-19T22:00:55Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=619e52abec0175620a6b8af4e18ed4cfb4857825'/>
<id>urn:sha1:619e52abec0175620a6b8af4e18ed4cfb4857825</id>
<content type='text'>
</content>
</entry>
<entry>
<title>docs: add doc/reference.md for more advanced use cases (#75)</title>
<updated>2022-07-15T00:06:38Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-07-15T00:06:38Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=7000c22f660bcd407361fec5cef29a4f0b7edeaa'/>
<id>urn:sha1:7000c22f660bcd407361fec5cef29a4f0b7edeaa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor: add mason-schemas and mason-core modules (#29)</title>
<updated>2022-07-08T16:34:38Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-07-08T16:34:38Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=976aa4fbee8a070f362cab6f6ec84e9251a90cf9'/>
<id>urn:sha1:976aa4fbee8a070f362cab6f6ec84e9251a90cf9</id>
<content type='text'>
* refactor: add mason-schemas and move generated filetype map to mason-lspconfig

* refactor: add mason-core module</content>
</entry>
<entry>
<title>refactor: move packages to mason-registry (#27)</title>
<updated>2022-07-08T15:36:10Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-07-08T15:36:10Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=8cad2361dd63c67d95acf9f79321927b03843959'/>
<id>urn:sha1:8cad2361dd63c67d95acf9f79321927b03843959</id>
<content type='text'>
</content>
</entry>
</feed>
