Tienson Qin
83a716f907
chore: bump datascript
2026-03-11 14:49:12 +08:00
Tienson Qin
1ae9e2c496
fix: extends tags query and support eid|title|db-ident
...
Previously `tags` doesn't return blocks that have children tag(s).
Also, `tags` support both db/ident and block/title to make it easy
to use:
(tags ?b #{144})
(tags ?b #{"Task"})
(tags ?b #{:logseq.class/Task})
2025-12-24 14:37:57 +08:00
Tienson Qin
f594e2034f
fix(rtc): batch store and validate db ( #12249 )
...
* fix(rtc): batch store and validate db
* fix: logseq.db/transact! shouldn't distinct tx-data
since move-op include 2 steps:
1. insert-block
2. update-attrs
This results in db invalid after step 1.
* refactor: add transact-with-temp-conn!
* bump nbb-logseq and add tests for ldb/transact* fns
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: rcmerci <rcmerci@gmail.com >
2025-12-09 20:47:37 +08:00
Tienson Qin
b538fe2571
enhance: run db validate before writes
2025-10-13 22:57:21 +08:00
Tienson Qin
2aee658547
perf: add weak references to reduce memory usage ( #12082 )
...
* chore: bump datascript
2025-09-02 19:25:52 +08:00
rcmerci
ceb1603a11
update logseq/datascript
2025-08-28 22:46:26 +08:00
Tienson Qin
c264599d6b
fix: valid datoms are skipped from tail address
2025-06-06 05:48:48 +08:00
Tienson Qin
05597552da
chore: update clj-fractional-indexing
2025-05-27 04:54:58 +08:00
Tienson Qin
973ec2b240
chore: bump logseq/clj-fractional-indexing
2025-05-27 01:16:10 +08:00
Tienson Qin
5746e03a0a
chore: downgrade persistent-sorted-set to 0.0.8
...
CI error https://github.com/logseq/logseq/actions/runs/15124002453/job/42512483343
2025-05-20 06:07:34 +08:00
Tienson Qin
789834a9af
fix: db missing addresses
...
This commit uses sql to ensure deleting addresses are not referenced
in any row.
2025-05-20 05:57:12 +08:00
Gabriel Horner
f896a774ed
enhance(dev): CLI built db graphs
...
have same config.edn as UI ones. Also improve over hack to add
additional config now that rewrite-clj is available
2025-05-15 14:06:54 -04:00
Gabriel Horner
138e56aedf
fix: cljs test by adding dep I forgot to add
...
Also ensure all deps' deps.edn have consistent and clear comments
delineating nbb-logseq vs other deps
2025-05-14 16:24:32 -04:00
Tienson Qin
18c0762f6e
chore: bump datascript
2025-04-22 16:29:27 +08:00
Tienson Qin
be66b5e6c0
chore: bump datascript
2025-04-22 09:56:45 +08:00
Tienson Qin
7d436cf5eb
chore: bump datascript
2025-04-20 18:03:23 +08:00
Gabriel Horner
a4aacf022d
chore: use medley/dissoc-in instead of copied version
...
Can rely on medley as it is nbb compatible
2025-02-13 17:50:20 -05:00
Gabriel Horner
0036a5d9de
fix: invalid throws and remove unused values
...
Caught by updating to latest kondo
2024-10-31 14:12:09 -04:00
Tienson Qin
fa493f72dc
chore: bump datascript
2024-08-22 21:39:54 +08:00
Tienson Qin
674dbfb890
fix: don't delete rows from kvs if they're still used by other rows
2024-08-22 21:28:44 +08:00
Tienson Qin
50eb74927b
chore: bump datascript
2024-07-25 22:28:21 +08:00
Tienson Qin
b6bdc4b1d5
chore: update datascript version
2024-06-27 00:35:37 +08:00
Tienson Qin
039804d87a
chore: bump upstream datascript
2024-06-27 00:26:31 +08:00
Gabriel Horner
04a6aa141e
fix: remove unused dep from db
2024-06-14 16:56:27 -04:00
Gabriel Horner
50698c190d
fix: update db's nbb.edn to match deps.edn
...
Looks like we forgot to add malli to deps.edn awhile back
2024-05-22 08:53:13 -04:00
Tienson Qin
b4bfd5cc9a
chore: use clj-fractional-indexing
2024-05-22 15:21:35 +08:00
Tienson Qin
8d959a7c8b
chore: bump datascript
2024-05-21 20:51:22 +08:00
Tienson Qin
db8d0c53df
fix: datascript upsert db/ident
2024-05-21 19:29:21 +08:00
Tienson Qin
723f0a5bab
fix: class ordered properties
2024-04-29 12:27:18 +08:00
Tienson Qin
9d5008d0a4
bump datascript
2024-03-29 17:48:08 +08:00
Tienson Qin
33f418b297
wip: properties refactor
2024-03-25 18:56:36 +08:00
Tienson Qin
98d2b92ab1
fix: schema && built-in properties
2024-03-25 10:59:09 +08:00
Tienson Qin
16a927ad00
Bump datascript
...
Which enables transacting schema like other tx-data.
2024-03-25 09:45:19 +08:00
Tienson Qin
cd1c71291b
fix: conflict datoms from sqlite db and tail
...
Fixes LOG-3087.
Addressed by fc3645fa4a .
2024-03-17 12:05:44 +08:00
Tienson Qin
a6174525dc
fix: cljs bean data failed to be seralized to transit
2024-03-11 11:59:36 +08:00
Gabriel Horner
2a17e04aa2
fix: cljs graph parser tests due to missing dep
2024-03-07 10:11:34 -05:00
Tienson Qin
8204c93977
fix: outliner dep test
2024-01-22 12:21:42 +08:00
Tienson Qin
b7d9098e80
Move gp-util and gp-config to the common dep
2024-01-03 16:38:05 +08:00
Tienson Qin
4016f93884
Move db validate to worker
2023-12-28 21:25:00 +08:00
Tienson Qin
dda11a33a7
Move outliner tree to the outliner dep
2023-12-27 02:53:00 +08:00
Tienson Qin
5b13fe6df4
perf: reduce disk writes
2023-12-27 00:06:39 +08:00
Tienson Qin
018e1ae8ee
Merge branch 'master' into feat/db
2023-12-23 14:18:25 +08:00
Tienson Qin
90ed070104
bump datascript
2023-12-22 18:04:33 +08:00
Tienson Qin
d39f2b6a36
fix: release bug
2023-12-21 20:44:49 +08:00
Tienson Qin
8f7c496ab4
chore: bump datascript
2023-12-21 19:01:38 +08:00
Tienson Qin
dd2f1014eb
Bump datascript
...
This version reuses addresses to reduce writes and make GC easier
2023-12-19 21:15:57 +08:00
Tienson Qin
222b2f84bc
fix: remove unused addr+data from sqlite
2023-12-18 20:56:28 +08:00
Gabriel Horner
8dde33e915
chore: Update datascript to latest version before our fork
...
Also updated db/entity because d/entity returns nil for nonexistent ids since 1.4.2
2023-12-15 09:42:52 +08:00
Gabriel Horner
a207296a42
chore: reuse some sqlite db fns
...
Also removed datascript db atom fetching, unused fns and dep in sqlite.db
2023-12-12 15:09:44 -05:00
Tienson Qin
86b70e3b33
update datascript
2023-11-28 15:10:43 +08:00