This release (re)introduces Share, formalizes Libraries, and introduces in initial version of the Library Manager, a type of package manager for SilverBullet. It also progresses on Lua 5.4 compatibility.
Here’s what’s new:
- Share: a new mechanism to push content to external places and pull external content in (also used as the foundation of Library). This partially replaces many Export use cases. Export will be more for one-off use cases.
- Library: is now a more “real” thing, and can be distributed via the Library Manager and curated with Repositories. For instructions on how to build your own libraries, see Development. Eventually, this mechanism will succeed the
plugsconfiguration andPlugs: Updatemechanism. Plug authors can already start to update their plugs to get ready, usually all that needs to be done is to add aPLUG.mdfile to their repository: example. - Services: a new mechanism used behind the scenes to power Share, but also Export and likely other features in the future.
- URI is now a more formalized and centralized mechanism, used by Share and likely other features in the future.
- Removed “Import” support, succeeded by Share.
- Tag Picker is here: to quickly navigate to tag pages
- Space Lua improvements (courtesy of Matouš Jan Fialka):
- Support for
goto(yes, I said I’d never add it, but Matouš did anyway)
- Support for
- More of an in-your-face error when you’re not using TLS and you should, with instructions how to fix it: even though using plain HTTP was never a supported configuration, it hard-broke in 2.2.1
- Plugs are now loaded from anywhere in the space, as long as they end with
.plug.js(so no longer need to be in_plug, in fact all shipped core plugs are now mounted underLibrary/Std/Plugs). See upgrade notes below. - Automatically follow system dark mode (by Lelouch He)
- Fix Youtube embeds (by Rodolfo Souza)
- Fixed offline support in certain cases
Upgrade notes:
- If you have third-party plugs installed and intend to reinstall them as Libraries: be sure to delete the old versions first. You can do so by cleaning out your
_plugfolder right on the file system, or use the document picker, filter onplug.jsand delete every single document that’s in the_plugfolder that way. - Reminder: If you somehow end up in a state where SilverBullet doesn’t load properly, have a look at Troubleshooting for hints on what to try to fix it.