<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mason/lua/mason-core/functional/init.lua, branch fix/rmrf-libuv</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/mason/atom/lua/mason-core/functional/init.lua?h=fix%2Frmrf-libuv</id>
<link rel='self' href='http://git.sudomsg.com/mirror/mason/atom/lua/mason-core/functional/init.lua?h=fix%2Frmrf-libuv'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/'/>
<updated>2025-02-19T11:15:48Z</updated>
<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>fix: fix usage of deprecated Neovim APIs (#1703)</title>
<updated>2024-05-11T19:22:49Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2024-05-11T19:22:49Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=0f1cb65f436b769733d18b41572f617a1fb41f62'/>
<id>urn:sha1:0f1cb65f436b769733d18b41572f617a1fb41f62</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor(expr): remove redundant core filters and always stringify reduced value (#1227)</title>
<updated>2023-04-17T23:16:39Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-04-17T23:16:39Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=a0604613f5887ba14722d710e2b9290b3894e8db'/>
<id>urn:sha1:a0604613f5887ba14722d710e2b9290b3894e8db</id>
<content type='text'>
The removed filters are not used by mason-registry and are too Lua-specific in nature.</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>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(functional): add list.index_by (#882)</title>
<updated>2023-01-10T16:53:17Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-01-10T16:53:17Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=c609775d1fc5ae18aadc92b8b65be9c9b1980004'/>
<id>urn:sha1:c609775d1fc5ae18aadc92b8b65be9c9b1980004</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(functional): add split_every and default_to (#835)</title>
<updated>2023-01-02T05:47:41Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2023-01-02T05:47:41Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=2953751d1beda5eeec54fd7bb743614c56febc18'/>
<id>urn:sha1:2953751d1beda5eeec54fd7bb743614c56febc18</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(functional): add strip_{prefix,suffix} (#803)</title>
<updated>2022-12-26T15:50:40Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-12-26T15:50:40Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=05ea35e25dcb03fc019be9ec0ede7e4782bae6b4'/>
<id>urn:sha1:05ea35e25dcb03fc019be9ec0ede7e4782bae6b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(functional): add trim_start and assoc (#779)</title>
<updated>2022-12-20T07:42:58Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-12-20T07:42:58Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=25313762aac8fc313b769f20298bd4e6473cc6dd'/>
<id>urn:sha1:25313762aac8fc313b769f20298bd4e6473cc6dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(functional): add list.reduce (#772)</title>
<updated>2022-12-19T10:41:58Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-12-19T10:41:58Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=582fe9e53f192f7062c5811153916189e2301f23'/>
<id>urn:sha1:582fe9e53f192f7062c5811153916189e2301f23</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(functional): add some more functions (#755)</title>
<updated>2022-12-10T18:55:41Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-12-10T18:55:41Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=fbc72a0c2fe16a93b18ce8facdc9b66e7183f75d'/>
<id>urn:sha1:fbc72a0c2fe16a93b18ce8facdc9b66e7183f75d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(functional): add more functions (#741)</title>
<updated>2022-12-08T01:00:29Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-12-08T01:00:29Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=6c7feb87923db7f2cc15470d516d6e882d6bba72'/>
<id>urn:sha1:6c7feb87923db7f2cc15470d516d6e882d6bba72</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: add provider interface (#601)</title>
<updated>2022-10-30T16:43:46Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-10-30T16:43:46Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=37c745fa73b983c86904132efb30ef2a4a76df5e'/>
<id>urn:sha1:37c745fa73b983c86904132efb30ef2a4a76df5e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(api/command): add --debug flag to :MasonInstall (#576)</title>
<updated>2022-10-19T12:41:42Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-10-19T12:41:42Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=38c3c7f68c0cd442f4faf46569d83c5b8a610c97'/>
<id>urn:sha1:38c3c7f68c0cd442f4faf46569d83c5b8a610c97</id>
<content type='text'>
</content>
</entry>
<entry>
<title>refactor(platform): more functional approach to parsing (#479)</title>
<updated>2022-09-28T23:02:45Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-09-28T23:02:45Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=342c81c29b74a4254dd2636005549832a6b44631'/>
<id>urn:sha1:342c81c29b74a4254dd2636005549832a6b44631</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>feat: minimize modules required by .setup(), lazily require functional modules (#113)</title>
<updated>2022-07-22T12:06:39Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-07-22T12:06:39Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=09f6e0bb3390a290bf2168c849bc8fb4b3a77af1'/>
<id>urn:sha1:09f6e0bb3390a290bf2168c849bc8fb4b3a77af1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(mason-lspconfig): deduplicate :LspInstall completion items (#88)</title>
<updated>2022-07-16T23:53:20Z</updated>
<author>
<name>William Boman</name>
<email>william@redwill.se</email>
</author>
<published>2022-07-16T23:53:20Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/mason/commit/?id=7cb9f7aea300428fc38b5a71d1a6c48cf1f42efa'/>
<id>urn:sha1:7cb9f7aea300428fc38b5a71d1a6c48cf1f42efa</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>
</feed>
