2022-11-27 07:48:01 +00:00
An attempt at documenting the changes/new features introduced in each
2022-10-12 09:47:13 +00:00
release.
2022-08-01 09:25:46 +00:00
2022-10-10 14:20:29 +00:00
---
2022-10-12 09:47:13 +00:00
2022-11-26 18:10:00 +00:00
## 0.2.2
2022-11-27 07:48:01 +00:00
2022-11-29 08:11:23 +00:00
* New page link aliasing syntax (Obsidian compatible) is here: `[[page link|alias]]` e.g. [[CHANGELOG|this is a link to this changelog]]. Also supported for command links: `{[Plugs: Add|add a plug]}`
* Less "floppy" behavior when clicking links (regular, wiki and command): just navigates there right away. Note: use `Alt-click` to move the cursor inside of a link.
2022-11-30 10:26:47 +00:00
* Page reference to non-existing pages are now higlighted in a (red-ish) color
2022-11-27 07:48:01 +00:00
* Added `invokeFunction` `silverbullet` CLI sub-command to run arbitrary plug functions from the CLI.
2022-11-30 14:59:28 +00:00
* Restyled #tags
* When tasks are indexed, the hashtag is now no longer removed from the task text
2022-11-26 18:10:00 +00:00
---
2022-11-20 09:56:52 +00:00
## 0.2.1
2022-11-24 15:08:51 +00:00
* New `Plugs: Add` command to quickly add a new plug (will create a `PLUGS` page if you don't have one yet).
* **Paste without formatting**: holding `Shift` while pasting will disable "rich text paste."
2022-11-25 15:21:33 +00:00
* **New core plug:** [[🔌 Share]] for sharing your pages with the outside work (such as collab, see below).
* **New plug:** [[🔌 Collab]] for real-time collaboration on your pages.
2022-11-20 09:56:52 +00:00
2022-11-26 18:10:00 +00:00
---
2022-11-18 15:04:37 +00:00
## 0.2.0
* The editor is now in "live preview" mode where a lot of markdown is hidden unless the cursor is present. This will take some getting used to, but results in a much more distraction free look.
* Clicking on the page name in the top bar now allows you to quickly rename pages, hit enter to apply the change.
* The previous behavior of opening the page switcher, has now moved to its own action button (the folder one)
2022-11-20 09:24:24 +00:00
* Page reference completion now orders results by last modified date (newer matches appear closer to the top)
2022-11-18 15:04:37 +00:00
* Changes to some slash commands:
* `/task` now is smarter and attempts to turn your current line into a task
* `/h1` through `/h4` will turn the current line into a header
2022-11-20 09:24:24 +00:00
* **Breaking change:** task and item tags are [now indexed without the prefixing `#` ](https://github.com/silverbulletmd/silverbullet/issues/124 ), this means that any queries, such as `#query task where tags = "#mytag"` need to be rewritten to `#query task where tags = "mytag"` . This will go into effect after a space reindex.
2022-11-18 15:04:37 +00:00
---
2022-11-09 10:38:12 +00:00
## 0.1.5
* Rich text paste: paste content from web pages, google docs, including tables and SB will make a best effort to convert it to Markdown. Implemented using [turndown ](https://github.com/mixmark-io/turndown ). Probably can use some tweaking, but it's something.
---
2022-10-24 17:40:52 +00:00
## 0.1.4
2022-10-28 14:17:40 +00:00
* Breaking change (for those who used it): the named anchor syntax has changed from `@anchorname` to `$anchorname` . This is to avoid conflicts with potentialy future use of `@` for other purposes (like mentioning people). Linking to an anchor still uses the `[[page@anchorname]]` syntax. So, you create an anchor $likethis you can then reference it [[@likethis]].
* The `query` plug has been renamed to `directive` (because it supports many other features now) and significantly refactored. New docs: [[🔌 Directive]]
* New directive `#eval` see [[🔌 Directive@eval]]
* New PlugOS feature: redirecting function calls. Instead of specifying a `path` for a function, you can now specify `redirect` pointing to another function name, either in the same plug using the `plugName.functionName` syntax.
2022-10-29 07:28:55 +00:00
* `Cmd-click` or `Ctrl-click` now opens page references in a new window. You can `Alt-click` to put your cursor at the target without navigation.
2022-11-02 08:06:30 +00:00
* New {[Open Weekly Note]} command (weeks start on Sunday by default, to allow for planning, but you can change this to Monday by setting the `weeklyNoteMonday` to `true` in [[Settings]]). Like for {[Open Daily Note]} you can create a template in `template/page/Weekly Note` .
2022-10-29 07:28:55 +00:00
* The `Create page` option when navigating pages now always appears as the _second_ option. Let me know how you like it.
2022-11-01 16:03:42 +00:00
* New `Preview` using a custom markdown renderer offering a lot of extra flexibility (and a much smaller file size). New thing it does:
* Render front matter in a table
* Makes {[Command buttons]} clickable
* Makes todo tasks toggleable
* Integrated the `silverbullet-publish` plug into core (to be better documented later).
2022-10-24 17:40:52 +00:00
---
2022-10-17 13:48:21 +00:00
## 0.1.3
2022-10-19 09:30:36 +00:00
2022-10-28 14:17:40 +00:00
* Silver Bullet now runs on Windows!
* Frontmatter support! You can now use front matter in your markdown, to do this
2022-10-19 09:30:36 +00:00
start your page with `---` and end it with `---` . This will now be the
preferred way to define page meta data (although the old way will still work).
The old `/meta` slash command has now been replaced with `/front-matter` .
2022-10-28 14:17:40 +00:00
* Tags are now indexed as page meta without the prefixing `#` character, the
2022-10-19 09:30:36 +00:00
reason is to make this compatible with Obsidian. You can now attach tags to
your page either by just using a `#tag` at the top level of your page, or by
adding a `tags` attribute to your front matter.
2022-10-28 14:17:40 +00:00
* {[Search Space]} works again. You may have to {[Space: Reindex]} to get
2022-10-22 18:24:00 +00:00
results. Search results now also snow a snippet of the page, with the phrase
highlighted.
2022-10-28 14:17:40 +00:00
* Faster page indexing.
* `silverbullet` now has sub-commands. It defaults to just running the server
2022-10-24 14:06:36 +00:00
(when passed a path to a directory), but you can also run
`silverbullet --help` to see the available commands. Commands currently
available:
2022-10-28 14:17:40 +00:00
* `silverbullet upgrade` to perform a self upgrade
* `silverbullet fix` to attempt to solve any issues with your space (deletes
2022-10-24 14:06:36 +00:00
your `_plug` directory and `data.db` file)
2022-10-28 14:17:40 +00:00
* `silverbullet plug:compile` replaces the old `plugos-bundle` command.
* `silverbullet version` prints the current version
2022-10-17 13:48:21 +00:00
---
2022-10-14 13:11:33 +00:00
## 0.1.2
2022-10-28 14:17:40 +00:00
* Breaking plugs API change: `readPage` , `readAttachment` , `readFile` now return
2022-10-14 13:11:33 +00:00
the read data object directly, without it being wrapped with a text object.
2022-10-28 14:17:40 +00:00
* A whole bunch of deprecated syscalls have been removed
2022-10-14 13:11:33 +00:00
---
## 0.1.0 First Deno release
2022-10-12 09:47:13 +00:00
2022-10-28 14:17:40 +00:00
* The entire repo has been migrated to [Deno ](https://deno.land )
* This may temporarily break some things.
* If somehow you’ re experiencing trouble, try the following:
* Delete all files under `_plug` in your pages folder, e.g. with
2022-10-12 09:47:13 +00:00
`rm -rf pages/_plug` .
2022-10-28 14:17:40 +00:00
* Delete your `data.db`
* Changes:
* `PLUGS` is now longer required
* `PLUGS` no longer supports `builtin:` plug URLs, all builtins are
2022-10-12 09:47:13 +00:00
automatically loaded and no longer should be listed.
2022-10-28 14:17:40 +00:00
* Plugs no longer should be built with node and npm, PRs will be issued to all
2022-10-12 09:47:13 +00:00
existing plugs later to help with this transition.
2022-10-28 14:17:40 +00:00
* Know breakages:
* Full text search is not yet implemented (the SQLite used does not support it
2022-10-12 09:47:13 +00:00
right now)
2022-10-28 14:17:40 +00:00
* Github auth has not been ported (yet)
* Technical changes:
* Server runs on Deno (and Oak instead of Express)
* Client is now built with ESBuild
* React has been replaced with Preact
* Package management in Deno works based on http imports, so npm is no longer
2022-10-12 09:47:13 +00:00
used.
2022-10-10 14:20:29 +00:00
2022-09-13 06:41:01 +00:00
---
## 0.0.35
2022-10-12 09:47:13 +00:00
2022-10-28 14:17:40 +00:00
* Big refactor of the internal Space API unifying attachment and page handling.
2022-10-12 09:47:13 +00:00
This shouldn't affect (most) existing code and plugs (except some more exotic
areas), but if stuff breaks, please report it.
2022-10-28 14:17:40 +00:00
* Technical change: Upgrades are now detected on the server-side, and plugs
2022-10-12 09:47:13 +00:00
re-loaded and pages indexed upon every upgrade.
2022-10-28 14:17:40 +00:00
* Various bug fixes (e.g. using HTML tags in a page before completely broke
2022-10-12 09:47:13 +00:00
syntax highlighting)
2022-10-28 14:17:40 +00:00
* Exposed `fulltext.*` syscalls on the client
2022-09-06 09:30:54 +00:00
---
2022-10-12 09:47:13 +00:00
2022-09-06 09:30:54 +00:00
## 0.0.34
2022-10-12 09:47:13 +00:00
2022-10-28 14:17:40 +00:00
* Change to attachment handling: the `attachment/` prefix for links and images
2022-10-12 09:47:13 +00:00
is no longer used, if you already had links to attachments in your notes, you
will need to remove the `attachment/` prefix manually. Sorry about that.
2022-10-28 14:17:40 +00:00
* Improved styling for completion (especially slash commands)
* Completion for commands using the (undocumented) `{[Command Syntax]}` — yep,
2022-10-12 09:47:13 +00:00
that exists.
2022-09-06 09:30:54 +00:00
2022-09-05 07:02:14 +00:00
---
2022-09-05 11:11:03 +00:00
2022-09-02 13:41:40 +00:00
## 0.0.33
2022-10-12 09:47:13 +00:00
2022-10-28 14:17:40 +00:00
* **Attachments**: you can now copy & paste, or drag & drop files (images, PDF,
2022-10-12 09:47:13 +00:00
whatever you like) into a page and it will be uploaded and appropriately
linked from your page. Attachment size is currently limited to 100mb.
2022-10-28 14:17:40 +00:00
* Changed full-text search page prefix from `@search/` to `🔍` for the {[Search
2022-10-12 09:47:13 +00:00
Space]} command.
2022-10-28 14:17:40 +00:00
* `page` , `plug` and `attachment` are now _reserved page names_ , you cannot name
2022-10-12 09:47:13 +00:00
your pages these (you will get an error when explicitly navigating to them).
2022-09-02 13:41:40 +00:00
2022-09-05 07:02:14 +00:00
---
2022-08-27 09:14:43 +00:00
## 0.0.32
2022-10-12 09:47:13 +00:00
2022-10-28 14:17:40 +00:00
* **Inline image previews**: use the standard
2022-10-12 09:47:13 +00:00
`![alt text](https://url.com/image.jpg)` notation and a preview of the image
will appear automatically. Example:
2022-08-29 13:47:16 +00:00
![Inline image preview ](https://user-images.githubusercontent.com/812886/186218876-6d8a4a71-af8b-4e9e-83eb-4ac89607a6b4.png )
2022-10-28 14:17:40 +00:00
* **Dark mode**. Toggle between the dark and light mode using a new button,
2022-10-12 09:47:13 +00:00
top-right.
2022-08-29 13:47:16 +00:00
![Dark mode screenshot ](https://user-images.githubusercontent.com/6335792/187000151-ba06ce55-ad27-494b-bfe9-6b19ef62145b.png )
2022-10-28 14:17:40 +00:00
* **Named anchors** and references, create an anchor with the new @anchor
2022-10-12 09:47:13 +00:00
notation (anywhere on a page), then reference it locally via [[@anchor]] or
cross page via [[CHANGELOG@anchor]].
2022-08-27 09:14:43 +00:00
2022-09-05 07:02:14 +00:00
---
2022-10-12 09:47:13 +00:00
2022-08-08 11:09:19 +00:00
## 0.0.31
2022-10-12 09:47:13 +00:00
2022-10-28 14:17:40 +00:00
* Update to the query language: the `render` clause now uses page reference
2022-10-12 09:47:13 +00:00
syntax `[[page]]` . For example `render [[template/task]]` rather than
`render "template/task"` . The old syntax still works, but is deprecated,
completion for the old syntax has been removed.
2022-10-28 14:17:40 +00:00
* Updates to templates:
* For the `Template: Instantiate Page` command, the page meta value `$name` is
2022-10-12 09:47:13 +00:00
now used to configure the page name (was `name` before). Also if `$name` is
the only page meta defined, it will remove the page meta entirely when
instantiating.
2022-10-28 14:17:40 +00:00
* You can now configure a daily note prefix with `dailyNotePrefix` in
2022-10-12 09:47:13 +00:00
`SETTINGS` and create a template for your daily note under
`template/page/Daily Note` (configurable via the `dailyNoteTemplate`
setting).
2022-10-28 14:17:40 +00:00
* You can now set a quick note prefix with `quickNotePrefix` in `SETTINGS` .
* Directives (e.g. `#query` , `#import` , `#use` ) changes:
* Renamed `#template` directive to `#use-verbose`
* New `#use` directive will clean all the embedded queries and templates in
2022-10-12 09:47:13 +00:00
its scope
2022-10-28 14:17:40 +00:00
* All directives now use the page reference syntax `[[page name]]` instead of
2022-10-12 09:47:13 +00:00
`"page name"` , this includes `#use` and `#use-verbose` as well as `#import` .
2022-10-28 14:17:40 +00:00
* The `link` query provider now also returns the `pos` of a link (in addition
2022-10-12 09:47:13 +00:00
to the `page` )
2022-10-28 14:17:40 +00:00
* New `$disableDirectives` page metadata attribute can be used to disable
2022-10-12 09:47:13 +00:00
directives processing in a page (useful for templates)
2022-10-28 14:17:40 +00:00
* Added a new `/hr` slash command to insert a horizontal rule (`---`) useful for
2022-10-12 09:47:13 +00:00
mobile devices (where these are harder to type)
2022-08-08 11:09:19 +00:00
2022-09-05 07:02:14 +00:00
---
2022-10-12 09:47:13 +00:00
2022-08-02 12:39:26 +00:00
## 0.0.30
2022-10-12 09:47:13 +00:00
2022-10-28 14:17:40 +00:00
* Slash commands now only trigger after a non-word character to avoid "false
2022-10-12 09:47:13 +00:00
positives" like "hello/world".
2022-10-28 14:17:40 +00:00
* Page auto complete now works with slashes in the name.
* Having a `SETTINGS` page is now mandatory. One is auto generated if none is
2022-10-12 09:47:13 +00:00
present.
2022-10-28 14:17:40 +00:00
* Added an `indexPage` setting to set the index page for the space (which by
2022-10-12 09:47:13 +00:00
default is `index` ). When navigating to this page, the page name will
"disappear" from the URL. That is, the index URL will simply be
`http://localhost:3000/` .
2022-10-28 14:17:40 +00:00
* This feature is now used in `website` and set to `Silver Bullet` there. To
2022-10-12 09:47:13 +00:00
also make the title look nicer when visiting https://silverbullet.md
2022-08-02 12:39:26 +00:00
2022-09-05 07:02:14 +00:00
---
2022-10-12 09:47:13 +00:00
2022-08-01 09:25:46 +00:00
## 0.0.29
2022-10-12 09:47:13 +00:00
2022-10-28 14:17:40 +00:00
* Added the `Link: Unfurl` command, which is scoped to only work (and be
2022-10-12 09:47:13 +00:00
visible) when used on “naked URLs”, that is: URLs not embedded in a link or
other place, such as this one: https://silverbullet.md
2022-10-28 14:17:40 +00:00
* Plugs can implement their own unfurlers by responding to the
2022-10-12 09:47:13 +00:00
`unfurl:options` event (see the
[Twitter plug ](https://github.com/silverbulletmd/silverbullet-twitter ) for
an example).
2022-10-28 14:17:40 +00:00
* Core implements only one unfurl option: “Extract title” which pulls the
2022-10-12 09:47:13 +00:00
`<title>` tag from the linked URL and replaces it with a `[bla](URL)` style
link.
2022-10-28 14:17:40 +00:00
* Removed status bar: to further simplify the SB UI. You can still pull up the
2022-10-12 09:47:13 +00:00
same stat on demand with the `Stats: Show` command.
2022-10-28 14:17:40 +00:00
* The page switcher is now maintaining its ordering based on, in order:
2022-08-01 15:06:17 +00:00
1. Last opened pages (in current session)
2. Last modified date (on disk)
3. Everything else
4. The currently open page (at the bottom)
2022-10-28 14:17:40 +00:00
* Filter boxes (used for the page switching and command palette among other
2022-10-12 09:47:13 +00:00
things) now also support PgUp, PgDown, Home and End and have some visual
glitches fixed as well.
2022-10-28 14:17:40 +00:00
* Reverted exposing an empty `window` object to sandboxes running in workers and
2022-10-12 09:47:13 +00:00
node.js (introduced in 0.0.28)
2022-10-28 14:17:40 +00:00
* Renamed Markdown-preview related commands to something more consistentnt