Commit Graph

3926 Commits

Author SHA1 Message Date
Tienson Qin
3b1b320977 fix(sync): preserve apply-template block uuids on redo 2026-04-23 18:58:23 +08:00
Tienson Qin
8353f574ae fix(sync): reject stale numeric history ops and surface worker ex-data 2026-04-23 18:58:23 +08:00
Tienson Qin
621b79ce9d fix(outliner): resolve stale numeric ids in semantic ops 2026-04-23 18:58:23 +08:00
Tienson Qin
3414177805 fix: validate client tx and ensures monotonically increasing 2026-04-23 15:52:03 +08:00
Tienson Qin
12e8cc3d36 fix(db): clear tx-tail after batch-transact store 2026-04-23 02:28:55 +08:00
Gabriel Horner
96367595aa fix(regression): bidirectional properties setup
cdc1bc1d32 made it such that two classes
had to enable bidirectional properties when only one class should be
needed. Using the example from #12296, the bug was requiring the user
to enable bidirectional on #Person and #Book when #Book is all that
should be needed
2026-04-22 13:24:29 -04:00
Mega Yu
d6bc0b75ec Merge branch 'master' into enhance/i18n 2026-04-17 20:26:15 +08:00
megayu
76285de44b refactor: toolchain upgrade (#12517)
* chore(deps): upgrade Clojure version to 1.12.4 across multiple dependency files

* chore: bump shadow-cljs to 3.3.6

* chore: bump org.clojure/clojurescript to 1.12.134

* chore(deps): upgrade Clojure version to 1.12.4 in workflow files

* chore(deps): upgrade Java version to 21 in workflow files

* chore(deps): upgrade Node.js version to 24 in workflow files

* chore(deps): upgrade Node.js version to 24 in Dockerfile

* feat(updater): migrate electron-forge to electron-builder

* fix wrong android app version

* fix workflow

* feat(dependency-upgrade): add max-update-interval option for dependency audits

* chore(deps): upgrade electron-builder and electron-updater

* fix: update manual verification instructions for Electron shim cache

* chore: update shadow-cljs version to 3.4.4 across all dependencies

* chore: upgrade electron version to 41.2.1

* chore: update metosin/malli dependency to latest

* chore: upgrade cider-nrepl version to 0.59.0 in dependencies

* chore: upgrade clj-kondo version to 2026.04.15 and fix warning

* chore: move Electron windows build configuration from yml to ci

* chore: update Electron signing configuration to extend from base config

* fix: replace icon file for NSIS compatibility

* chore: resolve metosin/malli version conflicts

* chore: upgrade jdk to 21 in e2e workflow

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2026-04-17 19:40:01 +08:00
Tienson Qin
f53767dfc6 chore: remove both transit-read and transit-write
use write-transit-str and read-transit-str instead
2026-04-17 16:58:18 +08:00
Tienson Qin
12509f58db fix: plugins e2e tests 2026-04-17 15:57:53 +08:00
Mega Yu
92681111b6 Merge branch 'master' into enhance/i18n 2026-04-17 10:35:36 +08:00
Tienson Qin
8606a8b5f0 fix: it's unsafe to invoke d/store in nested batch tx
Switched to use our own `conn-from-db` that doesn't call `d/store`.
2026-04-17 01:36:30 +08:00
megayu
0fa98f35e5 Merge branch 'master' into enhance/i18n 2026-04-16 16:05:13 +08:00
Mega Yu
950b4d36ae Merge 'master' into enhance/i18n 2026-04-16 15:30:25 +08:00
hoellen
8a2159e907 fix: use scheme instead of hardcoded http 2026-04-16 15:21:51 +08:00
Gabriel Horner
996a278b45 fix: batch page delete always returns failed message
This happened because successful deletes didn't return their result
and threw errors
2026-04-15 17:18:10 -04:00
Mega Yu
230a2b8296 Merge master into enhance/i18n 2026-04-15 22:30:34 +08:00
Tienson Qin
8058ece6c4 fix(page): gate deferred root reveal by children completion 2026-04-15 17:49:50 +08:00
Tienson Qin
58fdd8aea1 add doc for batch-transact! and batch-transact-with-temp-conn! 2026-04-15 17:49:50 +08:00
Tienson Qin
9d292435c8 fix: keep property ops uuid-only 2026-04-15 17:49:50 +08:00
Mega Yu
69ee9e2f83 chore: change Github to GitHub 2026-04-15 15:43:52 +08:00
Mega Yu
8347708c69 Merge master into enhance/i18n 2026-04-15 10:23:06 +08:00
Tienson Qin
bc27dd90a6 fix: lint 2026-04-15 00:04:38 +08:00
Tienson Qin
fc76192631 fix: stabilize uuid-based outliner ops and undo/redo replay 2026-04-14 22:11:51 +08:00
Tienson Qin
cfe00a5e71 fix(template): resolve dynamic variables in template insertion 2026-04-14 22:11:51 +08:00
Mega Yu
5eda6a8ab6 Merge master into enhance/i18n 2026-04-14 16:42:19 +08:00
Tienson Qin
ff56c143ab continue to improve view performance 2026-04-14 05:37:45 +08:00
Tienson Qin
995d0bf4a9 enhance(view): speed up large-graph get-view-data 2026-04-14 04:52:10 +08:00
Tienson Qin
e3a974947a perf: views 2026-04-14 04:33:46 +08:00
Tienson Qin
5cecff842d fix(sync): preserve apply-template uuids in rebase replay 2026-04-14 03:58:29 +08:00
Tienson Qin
a327063497 fix(db-sync): keep encrypted title updates after decrypt collapse 2026-04-14 03:29:42 +08:00
Tienson Qin
73bc59857e fix(perf): don't call d/datoms to get all eavt
It's too slow (+8s) for a 500m sqlite file to just insert a new block
2026-04-14 00:27:36 +08:00
Tienson Qin
6e737b78ac fix: db unlisten 2026-04-13 18:25:03 +08:00
Mega Yu
69b7a0e893 improve i18n 2026-04-13 14:39:53 +08:00
Tienson Qin
174fd15c8e fix(sync): stabilize incremental checksum updates 2026-04-12 19:27:05 +08:00
Tienson Qin
3dd7302dc9 fix(db-sync): handle duplicate :block/uuid in incremental checksum
Account for duplicate :block/uuid datom multiplicity during incremental checksum delta calculation.
Expand touched eids to uuid peers and apply digest add/remove by tuple counts.
Add regression fixture+test from rebased retract mismatch log.
2026-04-12 17:46:14 +08:00
Tienson Qin
30bb4acc27 fix: stabilize undo/redo raw tx replay order 2026-04-12 15:55:52 +08:00
Tienson Qin
9baeee6e49 simplify transact ops 2026-04-12 15:41:22 +08:00
Tienson Qin
6cda7fc869 fix: align outliner and db-sync tests with history-op changes 2026-04-11 07:24:28 +08:00
Gabriel Horner
963cdf9234 fix: recycled/deleted page can't be restored by user
When a user deletes a page and then restores it by creating it again with cmd-k,
the page wasn't restored. The previously recycled page and its block are
now restored when the page is re-created
2026-04-10 11:30:06 -04:00
Mega Yu
5a752ef99d fix multiple logic errors caused by date format switching 2026-04-10 22:58:48 +08:00
Mega Yu
da07a518d5 feat(date): add new date format "yyyy-MM-dd EEE" for journal titles 2026-04-10 18:42:10 +08:00
Mega Yu
1cff73eddd remove deprecated code 2026-04-10 18:17:00 +08:00
Tienson Qin
32806264ce fix: reversed datoms should be normalized too for rebase 2026-04-10 14:49:54 +08:00
Tienson Qin
e275cbef0b fix: slow checksum 2026-04-10 03:42:01 +08:00
Tienson Qin
f25083555f fix: don't rely on right sibling from UI 2026-04-10 03:10:45 +08:00
Tienson Qin
c80a3cdb98 fix: catch deps clj-kondo warnings in lint-test-deps 2026-04-10 02:37:28 +08:00
Tienson Qin
6c77cb17b8 fix(outliner): stabilize history op refs 2026-04-10 02:25:37 +08:00
Tienson Qin
0392444cdf add bb dev:lint-test-deps to run lint and tests for deps 2026-04-10 00:21:14 +08:00
Tienson Qin
c24e66f3e6 fix: lint and tests 2026-04-09 23:16:37 +08:00