Skip to content

Commit 93b3994

Browse files
committed
2.2.0
1 parent 1b28f04 commit 93b3994

File tree

4 files changed

+17
-4
lines changed

4 files changed

+17
-4
lines changed

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@silverbulletmd/silverbullet",
3-
"version": "2.1.9",
3+
"version": "2.2.0",
44
"tasks": {
55
"build": "make clean && deno run -A build_plugs_libraries.ts && deno run -A build_client.ts",
66
"build-production": "deno task build --production",

version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const version = "2.1.9";
1+
export const version = "2.2.0";

website/CHANGELOG.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
An attempt at documenting the changes/new features introduced in each release.
22

33
## Edge
4-
* [[Client Encryption]]: due to a change in how database names are now generated, this will result in a _one-time_ resync and reindex of your space.
4+
Nothing new since 2.2.0 just yet!
5+
6+
## 2.2.0
7+
This is a dot release primarily because due to changes in how IndexedDB databases are named, a fully resync and reindex of your space will happen on all your devices. I’m sorry for the inconvenience, we try to limit how often this is required. If you’d like to clean up unnecessary databases afterwards you can run the `Client: Clean` command (once) afterwards.
8+
9+
* [[Client Encryption]]: when using a untrusted device (e.g. a public computer), enable this option when logging in (only supported with built-in [[Authentication]]) to encrypt all locally stored data (at a performance penalty).
510
* Lua fixes, making [[Space Lua]] more compatible with Lua 5.4 (most courtesy of of Matouš Jan Fialka):
611
* [Fix length (`#` operator) features](https://github.com/silverbulletmd/silverbullet/pull/1637)
712
* [Add `rawget` and `rawequal`](https://github.com/silverbulletmd/silverbullet/pull/1647)
@@ -12,15 +17,18 @@ An attempt at documenting the changes/new features introduced in each release.
1217
* [Add `load` function](https://github.com/silverbulletmd/silverbullet/pull/1631)
1318
* [Support %u in os.date](https://github.com/silverbulletmd/silverbullet/issues/1598)
1419
* [Pass on status code differently when using `http.request`](https://github.com/silverbulletmd/silverbullet/issues/1608)
15-
* More video embeds in standard library (courtesey of Andy Costanza):
20+
* More video embeds in standard library (courtesy of Andy Costanza):
1621
* [Vimeo](https://github.com/silverbulletmd/silverbullet/pull/1616)
1722
* [Peertube](https://github.com/silverbulletmd/silverbullet/pull/1612)
1823
* New `widget.htmlBlock` and `widget.markdownBlock` convenience APIs for creating block widgets (that take the full width of the screen rather than being inlined)
1924
* The [[^Library/Std/APIs/DOM]] API now supports embedded widgets and markdown
25+
* The markdown renderer now renders ${"`inline code`"} as a `code` tag with `.sb-code` class
2026
* Atomic upgrades with `silverbullet update` and `silverbullet update-edge` (by [Mihai Maruseac](https://github.com/silverbulletmd/silverbullet/pull/1634))
2127
* Added `Client : Clean` command that deletes all redundant IndexedDB databases (ones the client is not using)
28+
* Very basic Prometheus metrics (see [[Install/Configuration#Metrics]])
2229
* Fix: bottom search bar dark mode styling (by [numan](https://github.com/silverbulletmd/silverbullet/pull/1614))
2330
* Fix: navigation with auto links (by [MrMugame](https://github.com/silverbulletmd/silverbullet/pull/1607))
31+
* Fix: `SB_USER` now works with `SB_URL_PREFIX`
2432

2533
## 2.1.8
2634
* New [[^Library/Std/APIs/Virtual Page]] API, internally used by:

website/Install/Configuration.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ Configuration only relevant to docker deployments:
4444
* `PUID`: Runs the server process with the specified UID (default: whatever user owns the `/space` mapped folder)
4545
* `PGID`: Runs the server process with the specified GID (default: whatever group owns the `/space` mapped folder)\
4646

47+
# Metrics
48+
SilverBullet offers a few basic Prometheus metrics, these can be configured with the following environment variables:
49+
50+
* `SB_METRICS_PORT`: HTTP port to expose metrics (under the default `/metrics` endpoint) on
51+
4752
# Web app manifest
4853
Configure aspects of web app appearance as well as the authentication page:
4954

0 commit comments

Comments
 (0)