Skip to content

Commit e4f869b

Browse files
committed
2.4.0
1 parent ce55905 commit e4f869b

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
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.3.0",
3+
"version": "2.4.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.3.0";
1+
export const version = "2.4.0";

website/CHANGELOG.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,27 @@ An attempt at documenting the changes/new features introduced in each release.
33
## Edge
44
Whenever a commit is pushed to the `main` branch, within ~10 minutes, it will be released as a docker image with the `:v2` tag, and a binary in the [edge release](https://github.com/silverbulletmd/silverbullet/releases/tag/edge). If you want to live on the bleeding edge of SilverBullet goodness (or regression) this is where to do it.
55

6-
* Indexer rework:
6+
## 2.4.0
7+
* Indexer rework (note: upgrading will start a full space reindex automatically):
78
* Performance: up to 2x faster
9+
* Internal refactor, actually adding at least (rudimentary) unit tests now (imagine!)
810
* `item` and `task` now also index (wiki) links and inherited (wiki) links (links appearing in parent nodes), as [requested here](https://community.silverbullet.md/t/coming-from-logseq-outlines-and-linked-mentions/290) under `links` and `ilinks`. Updated the "Linked Tasks" widget now to rely on `ilinks`.
911
* Rewrote snippet text for links (used in [[Linked Mention|Linked Mentions]]) to be more contextual, now also includes child bullet items, see [community discussion](https://community.silverbullet.md/t/coming-from-logseq-outlines-and-linked-mentions/290).
1012
* For consistency with items, `task` `refs` now point to the item’s position resulting in a slight positional shift, if you have code relying on this, you may have to adjust it.
11-
* The `page:index` event now also receives a `text` and `meta` attributes.
1213
* Disabled indexing all paragraph text by default, this caused significant indexing overhead. [See discussion](https://community.silverbullet.md/t/who-is-using-paragraph-for-queries/3686).
1314
To re-enable: `config.set("index.paragraph.all", true)`
1415
* Better link support in frontmatter (by [Tomasz Gorochowik](https://github.com/silverbulletmd/silverbullet/pull/1711))
16+
* The `page:index` event now also receives a `text` and `meta` attributes.
1517
* [[Transclusions]] improvements:
1618
* Now have an “eye” button to navigate to the transcluded location
17-
* Now properly support headers
19+
* Transclusions now only live preview when the cursor is outside of them (as with other pieces of markup)
20+
* Transclusions now properly support headers
1821
* Items and tasks are now transcluded with their children (based on `@pos` notation) (this is mostly helpful when used in queries)
1922
* Page/document/meta picker tweaks:
20-
* Upgraded the underlying [Fuse.js](https://www.fusejs.io) library and tuned the ranking parameters, hopefully leading to better results.
23+
* Upgraded the [Fuse.js](https://www.fusejs.io) library and tuned the ranking parameters, hopefully leading to better results.
2124
* Meta picker now more consistent with page picker
2225
* You can now use `Alt-space` to complete a folder matching the first result — try it and let me know how this works for you in practice.
23-
* **Full-text search has been removed** from the main distribution, this has now been moved to [a separate repo](https://github.com/silverbulletmd/basic-search) (installable via the library manager). Rationale: full text indexing is expensive and the search results were quite bad. Recommendation: install [Silversearch](https://github.com/MrMugame/silversearch) as an alternative.
26+
* **Built-in full-text search has been removed** from the main distribution, this has now been moved to [a separate repo](https://github.com/silverbulletmd/basic-search) (installable via the library manager). Rationale: full text indexing is expensive and the search results were quite bad. Recommendation: install [Silversearch](https://github.com/MrMugame/silversearch) as an alternative.
2427
* [[Task|Tasks]]:
2528
* `taskstate` objects are no more. Custom task states should now be defined using the [[API/taskState]] API.
2629
* **Removed:** deadline syntax (legacy syntax from v1) for tasks, please use attributes instead (e.g. `[deadline: "2026-01-01"]`).
@@ -37,12 +40,11 @@ Whenever a commit is pushed to the `main` branch, within ~10 minutes, it will be
3740
* [Ctrl-click](https://github.com/silverbulletmd/silverbullet/pull/1713) navigate to definition on non-Mac operating systems
3841
* Support for `<const>` in Lua (by [Matouš Jan Fialka](https://github.com/silverbulletmd/silverbullet/pull/1715))
3942
* Production builds now include sourcemaps for easier debugging in browser DevTools. If you don't want to serve sourcemaps publicly, you can block `*.js.map` files at your reverse proxy level (see [[TLS#Blocking sourcemaps]]).
40-
* Fixes:
41-
* Should now deal better with authentication layers (Cloudflare Zero Trust, Authelia, Pangolin)
42-
* [Sync errors](https://github.com/silverbulletmd/silverbullet/issues/1720) now propagate better to the UI
43-
* Document editors now fixed in Safari (by [MrMugame](https://github.com/silverbulletmd/silverbullet/pull/1710))
44-
* `%` now supported in [page names](https://github.com/silverbulletmd/silverbullet/issues/1694)
45-
* Lua widgets “flapping” should now be less
43+
* Should now **deal better with authentication layers** (Cloudflare Zero Trust, Authelia, Pangolin)
44+
* [Sync errors](https://github.com/silverbulletmd/silverbullet/issues/1720) now propagate better to the UI
45+
* Document editors now fixed in Safari (by [MrMugame](https://github.com/silverbulletmd/silverbullet/pull/1710))
46+
* `%` now supported in [page names](https://github.com/silverbulletmd/silverbullet/issues/1694)
47+
* Lua widgets “flapping” should now be less
4648

4749
## 2.3.0
4850
This release (re)introduces [[Share]], formalizes [[Library]], and introduces in initial version of the [[Library Manager]], a type of package manager for SilverBullet. It also progresses on Lua 5.4 compatibility.

0 commit comments

Comments
 (0)