Commit Graph

1964 Commits

Author SHA1 Message Date
Tienson Qin
1d98f1d214 ensure :block/uuid immutability 2026-04-07 04:17:09 +08:00
Tienson Qin
8aae83ae70 fix: fix order should be after rebase ops 2026-04-07 02:26:17 +08:00
Tienson Qin
92999a6a76 use agent-browser for sync parallel clients tests 2026-04-06 23:02:48 +08:00
Tienson Qin
5522b30bcc fix: checksum failed for empty target block insert 2026-04-03 16:01:11 +08:00
Gabriel Horner
a1b171a20e chore: bump nbb-logseq to feat-db-v34
This bumps to recent version of sci which should allow for upgrading
to malli 0.20+
2026-04-02 13:14:25 -04:00
Tienson Qin
524846191a fix: db/retractEntity should be at last for normalization 2026-04-02 23:08:59 +08:00
Tienson Qin
333f3e10b1 remove vector embeddings 2026-04-02 18:51:29 +08:00
Tienson Qin
5620af9a4e fix: order conflict 2026-04-02 17:52:24 +08:00
Tienson Qin
2185a5aecd fix: undo doesn't handle retracting property history block 2026-04-02 12:47:24 +08:00
Tienson Qin
b3e400c2ae enhance(db-sync): move graph download to worker and stream kv snapshots 2026-04-01 03:04:23 +08:00
Tienson Qin
4c9c1ded92 fix: lint 2026-03-31 23:54:18 +08:00
Tienson Qin
dd165f6794 fix: lint 2026-03-31 17:25:14 +08:00
Tienson Qin
39ea6207bd fix: debounced store shouldn't be used for batch-transact! 2026-03-31 17:19:01 +08:00
Tienson Qin
c873ce8ac5 fix: sync tests 2026-03-30 11:59:11 +08:00
Tienson Qin
5147b0e20a perf: debounce d/store 2026-03-30 10:54:46 +08:00
Tienson Qin
28c8a00c94 perf: get-right-sibling and get-left-sibling uses d/datoms 2026-03-29 17:35:19 +08:00
Tienson Qin
502103855b perf: avoid temp batch transaction for save/delete/insert block 2026-03-29 11:59:53 +08:00
Tienson Qin
b00a73ff79 add batch-transact! to handle rebase 2026-03-27 16:45:53 +08:00
Tienson Qin
e85addc933 refactor: rename batch-transact! 2026-03-27 16:15:42 +08:00
Tienson Qin
6704aad37b fix: shouldn't use tx-data during batch transaction for client ops 2026-03-27 11:38:08 +08:00
Tienson Qin
63514e33ad fix: order conflicts 2026-03-26 16:28:02 +08:00
Tienson Qin
65a0a7dafd code cleanup 2026-03-26 15:30:01 +08:00
Tienson Qin
26fa937b30 Merge branch 'master' into refactor/sync-undo-semantic-ops 2026-03-24 19:14:37 +08:00
Tienson Qin
21f96d5614 fix: tests 2026-03-24 16:44:46 +08:00
megayu
d6403b7746 dependencies upgrade (#12460) 2026-03-23 21:32:28 +08:00
Tienson Qin
931fd57510 fix: batch rebase pending ops 2026-03-23 16:50:27 +08:00
Tienson Qin
30919b91d0 refactor undo-redo ownership to worker and align db-sync history ops 2026-03-22 13:57:10 +08:00
Tienson Qin
f17e52c42f fix(db): restore full conn state in batch transact 2026-03-20 21:48:34 +08:00
Tienson Qin
2b707c1199 refactor: sync based on semantic ops 2026-03-20 20:40:38 +08:00
Tienson Qin
eaa0d6ff96 fix: re-ordered tx data by replace-attr-retract-with-retract-entity 2026-03-18 16:42:21 +08:00
Tienson Qin
e122073693 fix: lint 2026-03-18 06:23:22 +08:00
Tienson Qin
e3e54eba3f tag/property/closed value should be hard retracted 2026-03-18 06:11:04 +08:00
Tienson Qin
1f30693851 fix: tests 2026-03-18 06:11:04 +08:00
Tienson Qin
fb76b061b4 fix: simplify db sync for recycle semantics 2026-03-18 06:11:04 +08:00
Tienson Qin
7630d49207 fix: tests 2026-03-18 06:11:04 +08:00
Tienson Qin
174cdfd865 feat: recycle 2026-03-18 06:11:04 +08:00
Tienson Qin
071d922442 fix: sync tests 2026-03-17 00:07:33 +08:00
megayu
adbaf10abc chore: tech stack upgrade (#12448)
* fix(lint): make worker/frontend separation lint work on Windows

* chore: update cljs:electron-watch script to include test flag

* chore: remove dead root dependencies

* chore(deps): converge better-sqlite3 to 12.6.2 across deps packages

* chore(deps): converge fs-extra to ^11.3.0 across package roots

* fix(test): correct parameters for create-if-not-exists function

* chore(deps): converge cljs-bean to 1.9.0 across deps roots

* fix(tests): escape regex in cljs:run-test script

* chore: pin root packageManager to yarn 1.22.22

* chore(build): replace del with fs.rmSync in gulp clean

* chore(build): replace npm-run-all with npm-run-all2

* chore(security): upgrade dompurify and unify sanitizer path

* chore(observability): upgrade web sentry to 8.x

* chore: remove unused react-draggable dependencies

* chore(ci): fix windows release artifact collection

* fix(build): create static dir before gulp clean scans it

* fix: update nbb-logseq dependency to version feat-db-v33

* fix(test): move start-time initialization after clone repo

* fix(deps): update nbb dependencies and adjust test script paths to compatible with windows path delimiter

* chore(deps): remove dead meander dependency

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2026-03-13 13:20:49 +08:00
Gabriel Horner
2e8d7c6303 fix: bump nbb-logseq to include datascript fix 2026-03-12 10:21:54 -04:00
Tienson Qin
f538491096 chore: reduce test noise and infer warnings 2026-03-12 17:51:23 +08:00
Charlie
1b0db68098 enhance(ux): align for the image asset block container (#12425)
* feat(asset): add alignment options for images
* enhance(ux): select block for the action of double click in the image asset container
* enhance(asset): change alignment property type from string to keyword and normalize alignment handling
2026-03-12 11:18:51 +08:00
Tienson Qin
83a716f907 chore: bump datascript 2026-03-11 14:49:12 +08:00
Gabriel Horner
8216e1a177 enhance: export-edn exports nested children of text-property values
Should address https://github.com/logseq/db-test/issues/756
2026-02-26 19:28:15 -05:00
Gabriel Horner
5b1bfeed2b fix: db lint
Also silence noisy successful db test which distracts from actual
failing tests
2026-02-26 12:21:56 -05:00
Gabriel Horner
bcacfd39f5 enhance: improve property values schema for build EDN 2026-02-26 12:02:11 -05:00
Gabriel Horner
3e1ab74ac1 chore: reuse block-property-value? helper in build 2026-02-26 11:40:09 -05:00
Tienson Qin
cdc1bc1d32 fix: get-bidirectional-properties perf
Root cause:
get-bidirectional-properties was recomputing
bidirectional-property-attr? for every [e a] match, repeatedly calling
d/entity for the same property attr keyword. That made cost scale with
datom count, not unique properties.

Fix:
Added per-call memoization for property-attr bidirectional checks
using a local volatile! cache, so each attr is resolved once per
invocation.
2026-02-26 14:13:31 +08:00
Tienson Qin
ae9a37c889 fix: sync missing :block/title 2026-02-26 10:32:25 +08:00
Gabriel Horner
b18056c910 enhance: export-edn exports property history
also ensure that it is idempotent
2026-02-25 14:52:16 -05:00
Gabriel Horner
8b5407a91d fix: db and frontend lint 2026-02-24 15:05:18 -05:00