You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This page describes changes for existing Logseq features on the [database version](https://github.com/logseq/logseq/pull/9858). Some of these changes may change depending on user feedback.
3
+
This page describes changes for existing Logseq features on the [database version](https://github.com/logseq/logseq/pull/9858). The changes described here only apply to DB graphs. File graphs have been split off into https://github.com/logseq/og as [explained in more detail with this post](https://logseq.io/page/b2ad9ce1-9cb7-4436-8083-54cb4516d324/df4dc09d-0a12-4c87-904e-22a9bf4c350a).
4
4
5
5
## Overview
6
6
7
-
*[Changes for All Graphs](#changes-for-all-graphs)
8
-
*[DB Graph Changes](#db-graph-changes)
9
-
*[File Graph Changes](#file-graph-changes)
7
+
*[High Level Changes](#high-level-changes)
8
+
*[Miscelleanous Changes](#miscelleanous-changes)
9
+
*[Changes By Feature](#changes-by-feature)
10
10
11
-
## Changes for All Graphs
11
+
## High Level Changes
12
12
13
-
The following changes affect both file and the new db graphs:
14
-
* To simplify editor `/` commands, [Commands](https://docs.logseq.com/#/page/commands) and [Advanced Commands](https://docs.logseq.com/#/page/advanced%20commands) are merged together under `/`.
15
-
* A good amount of the UI is rewritten to use [shadcn](https://github.com/shadcn-ui/ui). This means a more beautiful, consistent and powerful UI!
16
13
* The application performance is better - loading faster, handling larger graphs and large tables. See https://github.com/logseq/logseq/pull/11774 for latest details.
17
-
* On desktop, the graph cache directory `~/.logseq/graphs/` has moved to `~/logseq/graphs`. See [DB Graph Directories](#db-graph-directories) for how they are used for DB graphs.
18
-
* Plugins can be used from the web. For security reasons only [plugins configured with no "effect"](https://github.com/logseq/marketplace#how-to-submit-your-plugin) are usable. We will gradually open up effect plugins to certified/trustworthy plugins.
19
-
* On browser, multiple tabs can be opened and kept in sync, even when offline. Syncing between tabs _does not_ require a sync server.
20
-
* The visibility of left sidebar items are configurable. To configure, hover over the `Navigations` header and click on the filter icon to open a dropdown for toggling visibility of sidebar items.
21
-
22
-
## DB Graph Changes
23
-
24
-
High level changes:
25
14
* Blocks and pages are united as [nodes](./db-version.md#nodes). They are referenced as `[[]]` and blocks no longer use `(())` for referencing.
26
15
* Properties have a lot more functionality with the [new properties](./db-version.md#properties)!
27
16
* Previous tags should behave like before that an inline tag is entered using `Cmd-Enter`.
28
-
* NOTE: Pressing enter on a `#` input triggers a powerful [new tags](./db-version.md#tags) feature.
17
+
* NOTE: Pressing enter on a `#` input triggers a powerful [tags](./db-version.md#tags) feature.
29
18
* All blocks and pages have created-at and updated-at timestamps! With this built-in dimension of time, time powered features are possible.
30
-
* The [previous tables](https://docs.logseq.com/#/page/tables) including version 2 are replaced by a shadcn based table. The new tables have inline editing like spreadsheets by default. See [here](./db-version.md#tables) for more.
19
+
* The [previous tables](https://docs.logseq.com/#/page/tables) including version 2 are replaced by a shadcn based table. The new tables have inline editing like spreadsheets by default. See [here](./db-version.md#tables) for more.
20
+
* A good amount of the UI is rewritten to use [shadcn](https://github.com/shadcn-ui/ui). This means a more beautiful, consistent and powerful UI!
31
21
* Flashcards have been re-implemented with [a new algorithm](https://github.com/open-spaced-repetition/free-spaced-repetition-scheduler). It isn't compatible with the previous flashcards so none of the properties and srs data from the previous version is imported.
32
-
* Markdown is the only supported format. Org mode file graphs will be able to convert to DB graphs.
22
+
* Markdown is the only supported format. Org mode files are no longer supported.
33
23
* Zotero integration is no longer a built-in feature and will hopefully be moved to a plugin.
24
+
* To simplify editor `/` commands, [Commands](https://docs.logseq.com/#/page/commands) and [Advanced Commands](https://docs.logseq.com/#/page/advanced%20commands) are merged together under `/`.
34
25
* A few [Advanced Commands](https://docs.logseq.com/#/page/advanced%20commands) are available. More may become available as requested. The available commands are:
35
26
*`>Query` is now `/Advanced Query`
36
27
*`>Src` is now `/Code block`
@@ -39,47 +30,47 @@ High level changes:
39
30
* Pdf annotations [have a tag](./db-version.md#more-tags). This allows annotations to be viewed across pdfs and to have custom views of annotations while using the pdf viewer.
40
31
* Markdown syntax for blocks e.g. a heading or quote is no longer visible or editable. Removing a block's heading is done by right-click on a block and choosing the crossed out H icon.
41
32
* Slides have been removed as a feature and we can support it as 3rd party plugin.
33
+
* Whiteboards have been removed as a feature and will hopefully be available as a plugin.
42
34
* Excalidraw e.g. `/draw` is no longer a built-in feature and will hopefully be moved to a plugin.
43
35
* Templates are created by tagging a block with `#Template` as described [here](./db-version.md#templates). Previously templates were made by adding a `template` property or through a menu item `Make a template`.
36
+
* Plugins can be used from the web. For security reasons only [plugins configured with no "effect"](https://github.com/logseq/marketplace#how-to-submit-your-plugin) are usable. We will gradually open up effect plugins to certified/trustworthy plugins.
44
37
45
-
WIP changes:
46
-
* RTC a.k.a. DB version sync will be enabled later.
47
-
* Add back support for dynamic variables.
48
-
* Whiteboards are disabled for now and will be enabled later.
38
+
## Miscelleanous Changes
49
39
50
-
Miscelleanous changes:
40
+
* On desktop, the graph cache directory `~/.logseq/graphs/` has moved to `~/logseq/graphs/`. See [Graph Directories](#graph-directories) for how they are used for DB graphs.
51
41
* Scripts using [nbb-logseq](https://github.com/logseq/nbb-logseq) can read and write graphs. Previously with file graphs, scripts could only read graphs.
52
42
* Embedded pages and blocks look almost the same as other nodes. The main indicator of an embed will be an icon to the left of the block.
53
43
* Default date picker now has an input for typing a date in natural language.
54
44
* There is no re-index like in file graphs.
55
-
* For browsers, currently only one tab can be open. This is a limitation we hope to remove later.
56
45
*`All Pages` screen is renamed to `Pages`. Also it can toggle between table and list view.
46
+
* On browser, multiple tabs can be opened and kept in sync, even when offline. Syncing between tabs _does not_ require a sync server.
47
+
* The visibility of left sidebar items are configurable. To configure, hover over the `Navigations` header and click on the filter icon to open a dropdown for toggling visibility of sidebar items.
57
48
58
-
###Changes by Feature
49
+
## Changes by Feature
59
50
60
-
####Pages
51
+
### Pages
61
52
* Page properties are no longer set by using the first block of a page. Rather, a page property is [set the same way a block property is](./db-version.md#add-and-edit-property-values) - by editing from the page title (block content).
62
53
*`#` and `/` are disallowered characters for page names.
63
54
64
-
####Tags
55
+
### Tags
65
56
* Tags have [a lot of new functionality](./db-version.md#tags).
66
57
* When a tag is added on a block, it now displays to the right of the block. To inline a tag like before, press `Cmd-Enter` in the tag dropdown.
67
58
68
-
####Tasks
59
+
### Tasks
69
60
70
61
* Using terms from the [previous tasks](https://docs.logseq.com/#/page/tasks), a task marker, priority, deadline and scheduled are respectively now `Status`, `Priority`, `Deadline` and `Scheduled` properties on a task.
71
62
* Logbook timestamps have been replaced with Status change history.
72
63
* Tasks are no longer created by typing keywords like `TODO` but instead with commands like '/todo'.
73
64
* Read more about the [new tasks](./db-version.md#tasks).
74
65
75
-
####Assets
66
+
### Assets
76
67
* Assets can have custom user properties.
77
68
* Assets are blocks and thus can show their linked references when zoomed in on the asset block.
78
69
* Assets are resized by hovering over them and then dragging the left-right arrows that are visible over the scrollbars.
79
70
* Maximum allowed asset size is 100M
80
71
* Pdf annotations are visible under an asset block by default. Previously this view was in a separate page and required clicking in the pdf viewer.
81
72
82
-
####Queries
73
+
### Queries
83
74
84
75
* Read more about the [new queries](./db-version.md#queries).
* The attribute `:block/path-refs` no longer exists. Please use `(has-ref ?b ?ref)` instead of `[?b :block/path-refs ?ref]`.
107
98
* Since block timestamps are available, they display in table view where possible.
108
99
109
-
####Namespaces
100
+
### Namespaces
110
101
* Creating namespaces through `/` in `[[]]` should work as before e.g. `[[foo/bar/baz]]` creates the hierarchy of `foo` > `bar` > `baz`. Unlike before, the reference will turn into `[[baz]]` after it is created.
111
102
* Pages can edit their namespace explicitly by going to the `Library` page and moving it under the desired parent namespace. Previously managing a namespace could only be done by renaming a namespace.
112
103
* The `Hierarchy` section displays above a namespaced page's blocks. It displays as a collapsible tree as this allows for viewing large namespaces more easily.
113
104
* Namespaced pages no longer have their namespace embedded in their page name. The big advantage of this is that renaming any part of the namespace does not affect all the pages under a namespace.
114
105
* The macro `{{namespace}}` is deprecated. Use the Library feature instead.
115
106
116
-
####User Config
107
+
### User Config
117
108
118
109
* A graph's config.edn, custom.js and custom.css files are only editable within Logseq from `Settings`.
119
110
* The following config.edn options are no longer used by any graphs: `:ref/linked-references-collapsed-threshold`.
120
111
* The following config.edn options are no longer used: `:block-hidden-properties, :default-templates, :favorites, :hidden, :ignored-page-references-keywords, :journals-directory, :pages-directory, :preferred-format, :preferred-workflow, :whiteboards-directory, :feature/enable-block-timestamps?, :file/name-format, :file-sync/ignore-files, :journal/file-name-format, :journal/page-title-format, :logbook/settings, :org-mode/insert-file-link?, :property/separated-by-commas, :property-pages/enabled?, :property-pages/excludelist, :srs/initial-interval, :srs/learning-fraction` in DB graphs. See [this code](https://github.com/logseq/logseq/blob/b0a255f96bfd512d5b87acca52c8d9f958c6a593/deps/common/src/logseq/common/config.cljs#L124-L157) for more details.
121
112
122
-
####Search
113
+
### Search
123
114
* When search modal first opens, recently updated pages display at the top.
124
115
* Tags can be created from the modal as described in [tags](./db-version.md#tags).
125
116
126
-
#### DB Graph Directories
117
+
### Graph Directories
127
118
128
119
* Graphs have a convention of `~/logseq/graphs/GRAPH-NAME` where `GRAPH-NAME` is the graph name.
129
120
* Inside a graph directory:
130
121
*`db.sqlite` - Stores all your graph's data including user configs.
131
122
*`assets/` - Stores assets like before.
132
123
*`logseq/` inside a directory no longer exists.
133
124
134
-
####API
125
+
### API
135
126
* All property related calls like `upsertBlockProperty` work with DB graphs. Property values can now be numbers and booleans. Properties are namespaced to `:plugin.property._api`
136
-
* See [this test file](https://github.com/logseq/logseq/blob/master/clj-e2e/test/logseq/e2e/plugins_basic_test.clj) for using the api with DB graphs.
137
-
138
-
## File Graph Changes
139
-
140
-
* File graphs are no longer supported in browser.
141
-
* There is no longer a [conversion feature for filename formats](https://docs.logseq.com/#/page/filename%20format)
142
-
* Attribute changes:
143
-
* The attribute `:block/content` was renamed to `:block/title`. If used in an advanced query including in config.edn's `:default-queries`, change it to use `:block/title` e.g. `[?b :block/content "content"]` -> `[?b :block/title "content"]`
144
-
* The attribute `:block/original-name` was renamed to `:block/title`. If used in an advanced query including in config.edn's `:default-queries`, change it to use `:block/title` e.g. `[?b :block/original-name "name"]` -> `[?b :block/title "name"]`
145
-
* The attribute `:block/journal?` no longer exists. If used in an advanced query including in config.edn's `:default-queries`, change it to use `:block/type` e.g. `[?p :block/journal? true]` -> `[?p :block/type "journal"]`
146
-
* The attribute `:block/left` no longer exists and has been replaced by `:block/order`. It is not recommended to write queries with this attribute.
147
-
* The attribute `:block/path-refs` no longer exists. Please use `(has-ref ?b ?ref)` instead of `[?b :block/path-refs ?ref]`.
127
+
* See [this test file](https://github.com/logseq/logseq/blob/master/clj-e2e/test/logseq/e2e/plugins_basic_test.clj) for using the api with DB graphs.
0 commit comments