The number 21 is a special number. And v1.21 is a special Alby release for all lightning app developers out there! 🎉
This version includes the new WebLN/WebBTC interface, making it easier than ever to build full lightning web applications accessing the LND and CLN APIs. No complicated node access, no macaroons, no gRPCs and what not. It's now all plain simple JavaScript APIs and full lightning apps can be deployed as simple JavaScript web apps.
Alby's permission system gives the user full control. The user decides which API calls and what information should be accessible to the specific web app.
Example
The "hello-world" of a lightning app leveraging the new webln.request()
call:
// enable webln
await window.webln.enable();
// list the channels of the connected LND node
await window.webln.request('listchannels');
Noteable Changes:
- add request method functionality to lnd and commando by @bumi in #1752
- add tests for ln request by @lisabaut in #1880
- add lnd routermc call by @reneaaron in #1893
- refactor: form el for ConfirmorCancel #1617 by @vaibhavgarg237 in #1816
- add 25k option for the default amounts by @bumi in #1836
- refactor: getOS: don't use deprecated appVersion. by @jankoegel in #1838
- fix: add favicon to extension pages (firefox) by @im-adithya in #1857
- refactor: Navbar: constrain max width to same width as the content. by @jankoegel in #1855
- fix: lnurl auth return value cause error msg by @qqqzhch in #1875
- feat: always focus prompt and centerd prompt by @reneaaron in #1883
Full Changelog: v1.20.1...v1.21.0
Thor's Helmet: https://apod.nasa.gov/apod/ap221220.html