Skip to content

Commit f796111

Browse files
Start API section
1 parent 3c2e2cf commit f796111

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

db-version-changes.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ Miscelleanous changes:
128128
* `assets/` - Stores assets like before.
129129
* `logseq/` inside a directory no longer exists.
130130

131+
#### API
132+
* `logseq.db.*` methods like `logseq.db.q` are renamed to `logseq.app.q`
133+
* 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`
134+
* 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.
135+
131136
## File Graph Changes
132137

133138
* File graphs are no longer supported in browser.

0 commit comments

Comments
 (0)