Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
267 commits
Select commit Hold shift + click to select a range
9e4cbef
Document how to destructure in Svelte (#733)
KyleAMathews Oct 31, 2025
f8a979b
Fix: Optimizer Missing Final Step - Combine Remaining WHERE Clauses (…
KyleAMathews Oct 31, 2025
979a66f
Enable auto-indexing for nested field paths (#728)
KyleAMathews Oct 31, 2025
d2b569c
Investigate Size Change action minification (#736)
KyleAMathews Oct 31, 2025
cb25623
feat: Add paced mutations with timing strategies (#704)
KyleAMathews Oct 31, 2025
48b8e8f
ci: Version Packages (#739)
github-actions[bot] Oct 31, 2025
e46b1de
Update mutation.md & JSDocs documentation for API changes (#743)
KyleAMathews Nov 3, 2025
916de39
Add PowerSync DB Collection (#747)
stevensJourney Nov 3, 2025
49bcaa5
feat(offline-transactions): implement offline-first transaction syste…
KyleAMathews Nov 3, 2025
e0c4e2d
ci: Version Packages (#751)
github-actions[bot] Nov 3, 2025
f416231
Fix bug with orderBy on duplicate values (#713)
kevin-dp Nov 4, 2025
b1b8299
fix: validate against duplicate collection aliases in subqueries (#719)
KyleAMathews Nov 4, 2025
01af56d
Migrate Collection Info to Dedicated Pages (#725)
KyleAMathews Nov 4, 2025
6917534
Add some more error types to the error handling doc (#740)
KyleAMathews Nov 4, 2025
88a38cc
ci: Version Packages (#754)
github-actions[bot] Nov 4, 2025
4309abd
Powersync docs (#756)
stevensJourney Nov 4, 2025
5aebbac
Make clear in mutation doc that using other ways of writing to backen…
KyleAMathews Nov 4, 2025
5b6437b
Add `useLiveSuspenseQuery` hook for React Suspense support (#697)
KyleAMathews Nov 4, 2025
2985ab8
ci: Version Packages (#759)
github-actions[bot] Nov 4, 2025
75470a8
Reduce localStorage io per mutation (#760)
KyleAMathews Nov 5, 2025
a34383e
update generated docs & add CI job to fail PRs that need to re-run it…
KyleAMathews Nov 5, 2025
3ee1d7e
ci: Version Packages (#764)
github-actions[bot] Nov 5, 2025
b2eb96d
Improve schema documentation (#741)
KyleAMathews Nov 5, 2025
5fe5b6a
Remove `flushSync` from svelte-db to avoid breaking async compiler mo…
KyleAMathews Nov 5, 2025
6c55e16
Fix findOne type issue with joins in useLiveQuery (#749)
KyleAMathews Nov 5, 2025
1367756
Add QueryObserver state utility methods to QueryCollectionUtils (#742)
KyleAMathews Nov 5, 2025
503f0b2
Don't make @tanstack/db a direct dependency to avoid having multiple …
KyleAMathews Nov 5, 2025
7805afb
feat: add runtime validation to prevent custom getKey with joined que…
KyleAMathews Nov 5, 2025
07a880f
ci: Version Packages (#767)
github-actions[bot] Nov 5, 2025
c5de261
Release new version of trailbase with changeset (#768)
KyleAMathews Nov 5, 2025
01093a7
feat!: Modify operators to use 3-valued logic instead of classical bo…
kevin-dp Nov 6, 2025
5078c4a
Use versions in examples for workspace packages along with pnpm overr…
KyleAMathews Nov 6, 2025
1e38feb
fix: fix doc links having incorrect file name casing (#780)
KurtGokhan Nov 7, 2025
f2d749d
Fix release (#781)
KyleAMathews Nov 7, 2025
704a81a
remove files that were accidentally committed (#782)
samwillis Nov 8, 2025
1515a23
Document dependency array usage for react hooks (#785)
KyleAMathews Nov 10, 2025
7aedf12
Hash small Uint8Arrays (≤128 bytes) by content rather than reference …
KyleAMathews Nov 10, 2025
c481cee
Fix broken TanStack documentation links (#788)
KyleAMathews Nov 11, 2025
9f73219
Add missing collection links to the sidebar (#789)
KyleAMathews Nov 11, 2025
21aad24
fix: correct collection documentation links and add to sidebar (#791)
KyleAMathews Nov 11, 2025
c4bff34
Clarify LocalOnly collections use direct local mutations (#790)
KyleAMathews Nov 11, 2025
b9fc408
Update documentation for query collection options (#797)
haznai Nov 11, 2025
28f81b5
Predicate Comparison and Merging Utilities for Predicate Push-Down (#…
samwillis Nov 5, 2025
f6ac7ea
Callback to inform about loadSubset deduplication (#694)
kevin-dp Nov 5, 2025
8f746db
Handle pushed down predicates in query collection (#681)
KyleAMathews Nov 5, 2025
7aceffa
Handle pushed down predicates in Electric collection (#618)
kevin-dp Nov 5, 2025
243a35a
Add optional compareOptions to the Collection Config which act as col…
kevin-dp Nov 6, 2025
f9d11fc
feat: add expression helpers for parsing LoadSubsetOptions in queryFn…
KyleAMathews Nov 11, 2025
528882e
E2E Test Suite for Query-Driven Sync (#773)
samwillis Nov 12, 2025
ebc5ed2
Loosen type for collections in offline transactions (#774)
KyleAMathews Nov 12, 2025
58f119a
Fix returning an array of txids from an Electric collection handler (…
KyleAMathews Nov 12, 2025
1afb027
Add timeout support to electric-db-collection (#798)
KyleAMathews Nov 12, 2025
3e3504a
ci: Version Packages (#770)
github-actions[bot] Nov 12, 2025
5fb76fe
Rewrite documentation with new tagline (#805)
KyleAMathews Nov 13, 2025
4000a44
Add link to schemas guide (#815)
KyleAMathews Nov 14, 2025
37083a6
Add frameworks section to sidebar (#818)
KyleAMathews Nov 14, 2025
c9e54a8
Fix framework docs (#822)
KyleAMathews Nov 14, 2025
304cb4d
Add claude code action (#830)
kevin-dp Nov 17, 2025
b1db2da
Fix claude action permissions (#832)
kevin-dp Nov 17, 2025
3ce0264
Remove check-docs CI & replace with a daily CI run (#806)
KyleAMathews Nov 17, 2025
0592852
Upgrade pacer package (#829)
KyleAMathews Nov 17, 2025
dbb07f7
Claude code action fix (#833)
kevin-dp Nov 17, 2025
e01812e
chore(deps): update all non-major dependencies (#783)
renovate[bot] Nov 17, 2025
47255e5
Fix: do not dedupe `loadSubset` calls in query collection (#835)
kevin-dp Nov 17, 2025
30f1154
Claude code action (final) (#834)
kevin-dp Nov 17, 2025
a3493bd
fix: use PR workflow for CI docs updates (#837)
KyleAMathews Nov 17, 2025
616d211
fix: only regenerate docs on npm publish (#838)
KyleAMathews Nov 17, 2025
ab4b623
docs: regenerate API documentation (#839)
github-actions[bot] Nov 17, 2025
a83a818
chore: add missing changesets for recent PRs (#840)
KyleAMathews Nov 17, 2025
7cd4dde
ci: Version Packages (#841)
github-actions[bot] Nov 17, 2025
a13bc50
Only run claude action when comment is created, not on edits (#846)
kevin-dp Nov 18, 2025
6ff0f45
Allow claude to read CI runs (#847)
kevin-dp Nov 18, 2025
99a3716
Fix localStorage collections for numeric IDs (#845)
KyleAMathews Nov 18, 2025
61f180f
ci: Version Packages (#848)
github-actions[bot] Nov 18, 2025
db764b7
docs: regenerate API documentation (#849)
github-actions[bot] Nov 18, 2025
846a830
Always pass where clause to loadSubset (#851)
kevin-dp Nov 19, 2025
213da96
Remove flaky e2e test (#855)
kevin-dp Nov 19, 2025
8e26dcf
Fix type issue with mutations in transaction (#854)
kevin-dp Nov 19, 2025
490dbaa
docs: edit broken link for collection interface (#825)
binishjoshi Nov 19, 2025
e95874b
Fix broken documentation link in sidebar (#856)
KyleAMathews Nov 19, 2025
a90f95e
Auto append to static queryKey when in on-demand mode for Query Colle…
KyleAMathews Nov 19, 2025
3c316bf
ci: Version Packages (#853)
github-actions[bot] Nov 19, 2025
f73a1f8
docs: regenerate API documentation (#862)
github-actions[bot] Nov 19, 2025
f66f2cf
Modify type of query function's meta property to be more precise (#857)
kevin-dp Nov 20, 2025
44b5877
Add framework overview page content (#842)
KyleAMathews Nov 20, 2025
66603d7
Update overview w/ Query-Driven Sync and other features/arguments (#812)
KyleAMathews Nov 20, 2025
ddb56a9
docs: sync generated API documentation (#874)
github-actions[bot] Nov 21, 2025
6b8d952
docs: update error handling examples to match new utils api (#868)
utopyin Nov 21, 2025
15c772f
Add warning for preload on on-demand collections (#871)
KyleAMathews Nov 21, 2025
f15b2a7
Fixed query collection bug where optimistic state leaked into syncedD…
samwillis Nov 21, 2025
464805d
Throw a clear error when anything other than an object with an collec…
KyleAMathews Nov 21, 2025
2c2e4db
Replace @tanstack/pacer with @tanstack/pacer-lite (#880)
KyleAMathews Nov 21, 2025
e657a7d
fix the use of like/ilike with an on-demand electric colleciton (#884)
samwillis Nov 21, 2025
788b637
Improve documentation for creating reusable filter functions (#882)
KyleAMathews Nov 21, 2025
e1b6d54
Run ESLint only in autofix tests (#881)
KyleAMathews Nov 21, 2025
acb3e4f
fix electric collection progressive mode (#852)
samwillis Nov 21, 2025
0584a2c
ci: Version Packages (#864)
github-actions[bot] Nov 21, 2025
378c03b
docs: regenerate API documentation (#885)
github-actions[bot] Nov 21, 2025
077fc1a
fix(query-db-collection): implement reference counting for QueryObser…
KyleAMathews Nov 22, 2025
9f7cac6
ci: Version Packages (#887)
github-actions[bot] Nov 22, 2025
182ef3e
docs: regenerate API documentation (#888)
github-actions[bot] Nov 22, 2025
dab41ae
chore(deps): update all non-major dependencies (#895)
renovate[bot] Nov 24, 2025
4121723
Fix docs generation CI job after releases (#897)
KyleAMathews Nov 24, 2025
c8a2c16
fix for schedular bug with lazy left-join sources (#898)
samwillis Nov 25, 2025
489ed26
Reproduce early cache eviction with unit test (#908)
kevin-dp Nov 25, 2025
a540d7c
Make ctx.meta.loadSubsetOptions type safe (#869)
KyleAMathews Nov 25, 2025
e3819e5
ci: Version Packages (#906)
github-actions[bot] Nov 26, 2025
6390566
docs: regenerate API documentation (#912)
github-actions[bot] Nov 26, 2025
aa63c5b
docs: sync generated API documentation (#911)
github-actions[bot] Nov 26, 2025
295cb45
Fix change tracking for array items accessed via iteration methods (…
KyleAMathews Nov 26, 2025
0e436f0
ci: Version Packages (#915)
github-actions[bot] Nov 26, 2025
4f8b028
docs: regenerate API documentation (#916)
github-actions[bot] Nov 26, 2025
954c8fe
Fix Date Precision Mismatch in Cursor-Based Pagination (#913)
samwillis Nov 26, 2025
51c73aa
Fix deduplication of limited subset requests (#914)
samwillis Nov 26, 2025
4eb7671
ci: Version Packages (#917)
github-actions[bot] Nov 26, 2025
03842c6
fix(electric-db-colleciton): ignore `snapshot-end` before `up-to-date…
samwillis Nov 27, 2025
839b4f0
ci(changesets): enable experimental peerDependents option (#928)
lachlancollins Nov 27, 2025
8f389a1
ci: Version Packages (#925)
github-actions[bot] Nov 27, 2025
5f474f1
Fix validating bulk insert assigning same ID to all items (#929)
KyleAMathews Nov 28, 2025
4210956
chore(deps): update all non-major dependencies (#935)
renovate[bot] Dec 1, 2025
306c63b
ci: Version Packages (#931)
github-actions[bot] Dec 1, 2025
0cc434b
docs: regenerate API documentation (#937)
github-actions[bot] Dec 1, 2025
8c26dca
Fix type of utils in collection options (#866)
kevin-dp Dec 1, 2025
1d19d22
Changeset (#940)
kevin-dp Dec 1, 2025
1b84c3c
chore(deps): update all non-major dependencies (#938)
renovate[bot] Dec 1, 2025
94ebec7
chore(deps): lock file maintenance (#936)
renovate[bot] Dec 1, 2025
b3e4e80
Fix handling of frozen objects in proxy (#933)
KyleAMathews Dec 1, 2025
aebd0fa
Fix bigint serialization in pg-serializer (#932)
KyleAMathews Dec 1, 2025
dc321e2
chore(deps): update dependency @angular/compiler to v20.3.15 [securit…
renovate[bot] Dec 2, 2025
6ba4a9f
ci: Version Packages (#941)
github-actions[bot] Dec 2, 2025
747c147
docs: regenerate API documentation (#949)
github-actions[bot] Dec 2, 2025
e12514a
Fix isReady return value for early useLiveQuery exits (#886)
KyleAMathews Dec 3, 2025
c4b9399
fix(db): compile filter expression once instead of on every invocatio…
KyleAMathews Dec 3, 2025
f458e05
Fix TanStack duplicate dependency versions (#952)
KyleAMathews Dec 3, 2025
a1a484e
fix(query-db-collection): use deep equality for object field comparis…
samwillis Dec 4, 2025
c6ea254
ci: Version Packages (#961)
github-actions[bot] Dec 4, 2025
9dba1c1
docs: regenerate API documentation (#969)
github-actions[bot] Dec 4, 2025
8a6a2a2
ci: run prettier autofix action (#972)
lachlancollins Dec 5, 2025
101422e
docs: correct local relative links (#973)
lachlancollins Dec 5, 2025
52c29fa
fix(db-ivm): use row keys for stable ORDER BY tie-breaking (#957)
samwillis Dec 5, 2025
09da081
fix(db): ensure deterministic iteration order for collections and ind…
samwillis Dec 5, 2025
86ad40c
fix(db) loadSubset when orderby has multiple columns (#926)
samwillis Dec 5, 2025
0786601
ci: sync changes from other projects (#978)
lachlancollins Dec 6, 2025
2b16114
ci: more changes from other projects (#980)
lachlancollins Dec 6, 2025
36f069a
Revert husky removal (#981)
KyleAMathews Dec 6, 2025
7450e67
Restore only publishing docs on release (#982)
KyleAMathews Dec 6, 2025
43cc8b9
ci: sync package versions (#984)
lachlancollins Dec 7, 2025
443b4fa
chore(deps): update dependency @angular/common to v19.2.16 [security]…
renovate[bot] Dec 7, 2025
e24b2fa
chore(deps): update all non-major dependencies (#986)
renovate[bot] Dec 8, 2025
85b4e75
Fix build example site auth secret error (#988)
KyleAMathews Dec 8, 2025
8ef8f09
Unit tests for data equality comparison (#992)
kevin-dp Dec 10, 2025
b4f1f42
Handle invalid collection getKey return values (#1008)
KyleAMathews Dec 12, 2025
e418426
Remove doc regeneration from autofix action (#1009)
KyleAMathews Dec 12, 2025
b3b1940
feat(db,electric,query): separate cursor expressions for flexible pag…
samwillis Dec 12, 2025
f25f672
ci: Version Packages (#974)
github-actions[bot] Dec 12, 2025
4ff9b5d
Query collection select writeupsert error (#1023)
samwillis Dec 16, 2025
d0161b9
Fix serializing null/undefined when generating subset queries (#951)
KyleAMathews Dec 16, 2025
4d6e6d7
Fix awaitMatch helper on collection inserts and export isChangeMessag…
KyleAMathews Dec 16, 2025
d17f2e7
ci: Version Packages (#1026)
github-actions[bot] Dec 16, 2025
e181775
docs: regenerate API documentation (#1027)
github-actions[bot] Dec 16, 2025
f1c844f
Don't pin @electric-sql/client version (#1031)
KyleAMathews Dec 17, 2025
0abf979
ci: Version Packages (#1033)
github-actions[bot] Dec 17, 2025
997fbae
Handle subset end message in Electric collection (#1004)
kevin-dp Dec 17, 2025
8ed7725
Delete a row by its key (#1003)
kevin-dp Dec 17, 2025
5eb8300
Tagged rows and support for move outs in Electric DB collection (#942)
kevin-dp Dec 17, 2025
01452bf
Fix: deleted items not disappearing from live queries with `.limit()`…
KyleAMathews Dec 19, 2025
52b6817
ci: Version Packages (#1036)
github-actions[bot] Dec 19, 2025
26ed0aa
fix(db): re-request and buffer subsets after truncate for on-demand s…
samwillis Dec 19, 2025
7f562f9
ci: Version Packages (#1050)
github-actions[bot] Dec 19, 2025
32ec4d8
fix: prevent duplicate inserts from reaching D2 pipeline in live quer…
samwillis Dec 19, 2025
34c4c5c
docs: regenerate API documentation (#1051)
github-actions[bot] Dec 19, 2025
5fd0f1e
ci: Version Packages (#1055)
github-actions[bot] Dec 19, 2025
961ef49
Fix slow onInsert awaitMatch performance issue (#1029)
KyleAMathews Dec 22, 2025
fc59b9f
Add missing changeset for PR 1029 (#1062)
KyleAMathews Dec 22, 2025
d632741
ci: Version Packages (#1063)
github-actions[bot] Dec 22, 2025
41308b8
fix(react-db): useLiveInfiniteQuery deletion not working with descend…
samwillis Dec 23, 2025
2c2420c
ci: Version Packages (#1067)
github-actions[bot] Dec 23, 2025
c5523c0
fix: auto-update example dependencies in Version Packages PR (#1073)
samwillis Dec 29, 2025
7ac2c15
chore(deps): update all non-major dependencies (#987)
renovate[bot] Dec 29, 2025
fb2f623
fix: handle overlapping subset queries returning same row with differ…
ibarakaiev Dec 30, 2025
cebf933
fix(electric-db-collection): prevent orphan transactions after must-r…
ibarakaiev Dec 30, 2025
185dd73
Fix query syntax in examples (remove ===) (#1084)
KyleAMathews Dec 31, 2025
c110b6c
chore(deps): update all non-major dependencies (#1088)
renovate[bot] Jan 5, 2026
54671e2
Remove misleading schema arguments (#1002) and backfill missing mock …
ignatz Jan 6, 2026
345be0f
feat: [PowerSync] Support Collection Metadata (#999)
stevensJourney Jan 6, 2026
1e64973
feat(svelte-db): Add findOne() / SingleResult support to useLiveQuery…
elohmeier Jan 6, 2026
d542667
Fix QueryCompilationError with undefined expression type (#1082)
KyleAMathews Jan 7, 2026
65336df
Fix a race condition in WebLocksLeader where transactions could be re…
KyleAMathews Jan 7, 2026
0944f05
Show clear instructions for fixing sherif dependency version mismatch…
KyleAMathews Jan 7, 2026
29cae6a
fix(query-db-collection): sync on-demand tanstack-query lifecycle (#1…
delphinaubin Jan 7, 2026
b1cc4a7
Find whereExpression examples in subscribeChanges (#943)
KyleAMathews Jan 7, 2026
f795a67
Add helper to extract the result type from a query `QueryResult` (#1096)
KyleAMathews Jan 7, 2026
6503c09
Integrate fast-check property testing into tests for deepEquals (#1018)
KyleAMathews Jan 7, 2026
6685a85
Improve error when returning undefined in useLiveSuspenseQuery (#860)
KyleAMathews Jan 7, 2026
9dba727
ci: Version Packages (#1079)
github-actions[bot] Jan 7, 2026
14d4cac
docs: regenerate API documentation (#1100)
github-actions[bot] Jan 7, 2026
c1247e8
fix(db): prevent on-demand live query from being marked ready before …
KyleAMathews Jan 9, 2026
0d60e01
ci: Version Packages (#1109)
github-actions[bot] Jan 9, 2026
26fad77
docs: regenerate API documentation (#1110)
github-actions[bot] Jan 9, 2026
a472c3f
chore(deps): update dependency @angular/compiler to v20.3.16 [securit…
renovate[bot] Jan 10, 2026
940552f
chore(deps): update dependency @angular/core to v19.2.18 [security] (…
renovate[bot] Jan 10, 2026
cc10ad3
Support groupBy over `BigInt` and `Date` (#1091)
kevin-dp Jan 12, 2026
888ad6a
Support references to aggregated fields from SELECT in ORDERBY and HA…
kevin-dp Jan 12, 2026
2456adb
Grouped top k operator (#993)
kevin-dp Jan 12, 2026
29033b8
fix(db): batch D2 output callbacks to prevent duplicate key errors in…
KyleAMathews Jan 12, 2026
00cceac
ci: Version Packages (#1117)
github-actions[bot] Jan 13, 2026
de20395
docs: regenerate API documentation (#1121)
github-actions[bot] Jan 13, 2026
f5b504e
Add grouped order by operator (#997)
kevin-dp Jan 13, 2026
d9c663c
Update Solid DB to enable Suspense (#826)
fezproof Jan 13, 2026
44b45f6
ci: Version Packages (#1123)
github-actions[bot] Jan 14, 2026
9dadf0e
docs: regenerate API documentation (#1131)
github-actions[bot] Jan 14, 2026
5e69941
Fix type of findOne queries in Vue (#1134)
kevin-dp Jan 15, 2026
f32246a
Fix return value from refetch in query collection (#1132)
kevin-dp Jan 15, 2026
8d6442e
Fix sql-compiler to handle empty strings like `eq(column, '')` (#1146)
KyleAMathews Jan 17, 2026
83faa70
chore(deps): update dependency svelte to v5.46.4 [security] (#1142)
renovate[bot] Jan 17, 2026
f273e9a
ci: Version Packages (#1140)
github-actions[bot] Jan 17, 2026
cdc33da
ci: Version Packages (#1148)
github-actions[bot] Jan 17, 2026
1c2f9b0
docs: regenerate API documentation (#1149)
github-actions[bot] Jan 17, 2026
d4d7fdc
Let Claude reproduce and fix new issues (#1139)
kevin-dp Jan 19, 2026
2727826
Fixes to reproduce workflow (#1153)
kevin-dp Jan 19, 2026
d5254d1
Fix offline transactions for React Native (#1137)
kevin-dp Jan 19, 2026
008a253
Improve reproduce workflow (#1156)
kevin-dp Jan 19, 2026
56f9f76
Compile query in DB w/ the columnMapper (#1141)
KyleAMathews Jan 19, 2026
7a2cacd
Fix syncedData not updating on manual writes in mutationFn (#1130)
KyleAMathews Jan 19, 2026
b479c1d
Fix date field corruption after app restart (#1127)
KyleAMathews Jan 19, 2026
9378a82
Add /review command for multi-agent PR review (#1159)
KyleAMathews Jan 19, 2026
99eb03a
chore(deps): update dependency svelte to v5.46.4 [security] (#1157)
renovate[bot] Jan 19, 2026
98e584d
Fix offline mutations data loss on restart (#1124)
KyleAMathews Jan 19, 2026
1b22e40
Improve DuplicateKeySyncError (#1119)
KyleAMathews Jan 19, 2026
bdf9405
Add string support to min/max operators (#1120)
KyleAMathews Jan 19, 2026
6745ed0
Clarify queueStrategy documentation (#1107)
KyleAMathews Jan 19, 2026
016e0f5
ci: Version Packages (#1158)
github-actions[bot] Jan 19, 2026
fac4edc
Fix Claude review workflow permissions (#1161)
KyleAMathews Jan 19, 2026
7469ff5
Fix Claude review workflow allowed_tools patterns (#1162)
KyleAMathews Jan 19, 2026
f909b57
Add bash and read permissions to review workflow (#1163)
kevin-dp Jan 20, 2026
d860e1c
Fix allowed tools (#1164)
kevin-dp Jan 20, 2026
9204d76
[fix] update all active query caches on directWrite for on-demand col…
claude[bot] Jan 20, 2026
f9b741e
Fix garbage collection issue with Infinity setting (#1135)
KyleAMathews Jan 20, 2026
5c717e6
ci: Version Packages (#1165)
github-actions[bot] Jan 20, 2026
05130f2
Fix where clause missing in `loadSubset` on subquery collection (#1097)
kevin-dp Jan 21, 2026
fa0ef31
ADD RxDB Tanstack FAQ and Fix docs #710 (#1172)
pubkey Jan 23, 2026
cbd1bb2
Restore offline transactions to optimistic store upon restart the app…
KyleAMathews Jan 23, 2026
545cf09
ci: Version Packages (#1171)
github-actions[bot] Jan 23, 2026
33502b7
docs: regenerate API documentation (#1177)
github-actions[bot] Jan 23, 2026
82deba5
Handle aborted requests during collection cleanup (#1174)
KyleAMathews Jan 26, 2026
908d6db
ci: Version Packages (#1181)
github-actions[bot] Jan 26, 2026
7099459
Fix: Enable $selected access in orderBy after fn.select (#1183)
KyleAMathews Jan 27, 2026
791f2e7
docs: regenerate API documentation (#1182)
github-actions[bot] Jan 27, 2026
268552e
ci: Version Packages (#1190)
github-actions[bot] Jan 27, 2026
bfd2794
Merge remote-tracking branch 'upstream/main' into update-main-3
Chriztiaan Jan 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 5 additions & 2 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
"$schema": "https://unpkg.com/@changesets/config@3.1.2/schema.json",
"changelog": [
"@svitejs/changesets-changelog-github-compact",
{ "repo": "TanStack/db" }
Expand All @@ -10,5 +10,8 @@
"updateInternalDependencies": "patch",
"fixed": [],
"linked": [],
"ignore": []
"ignore": [],
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true
}
}
11 changes: 0 additions & 11 deletions .changeset/in-memory-fallback-for-ssr.md

This file was deleted.

5 changes: 5 additions & 0 deletions .claude/settings.local.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"permissions": {
"allow": ["Bash(git checkout:*)", "Bash(npx sherif:*)"]
}
}
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: 🐛 Bug Report
about: Create a report to help us improve
title: ""
labels: ""
assignees: ""
title: ''
labels: ''
assignees: ''
---

- [ ] I've validated the bug against the latest version of DB packages
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5.0.0
uses: actions/checkout@v6.0.1
with:
fetch-depth: 0
- name: Setup Tools
uses: tanstack/config/.github/setup@main
- name: Fix formatting
run: pnpm prettier --ignore-unknown . --check
run: pnpm format
- name: Apply fixes
uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27
with:
commit-message: "ci: apply automated fixes"
commit-message: 'ci: apply automated fixes'
27 changes: 27 additions & 0 deletions .github/workflows/claude.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Claude Code
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
jobs:
claude:
if: |
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude') && (github.event.comment.user.login == 'kevin-dp' || github.event.comment.user.login == 'KyleAMathews' || github.event.comment.user.login == 'samwillis')) ||
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude') && (github.event.comment.user.login == 'kevin-dp' || github.event.comment.user.login == 'KyleAMathews' || github.event.comment.user.login == 'samwillis'))
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
issues: write
id-token: write
actions: read # Required for Claude to read CI results on PRs
steps:
- name: Checkout code
uses: actions/checkout@v6.0.1
with:
fetch-depth: 0 # required for Claude Code
- uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
# Responds to @claude mentions in comments
77 changes: 77 additions & 0 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: E2E Tests

on:
push:
branches: [main]
pull_request:

jobs:
e2e-tests:
name: Run E2E Tests
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- name: Checkout code
uses: actions/checkout@v6.0.1

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.27.0

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Start Docker services
run: |
cd packages/db-collection-e2e/docker
docker compose up -d
echo "Waiting for services to be healthy..."
timeout 60 bash -c 'until docker compose ps | grep -q "healthy"; do sleep 2; done'

- name: Build packages
run: |
pnpm --filter @tanstack/db-ivm build
pnpm --filter @tanstack/db build
pnpm --filter @tanstack/electric-db-collection build
pnpm --filter @tanstack/query-db-collection build

- name: Run Electric E2E tests
run: |
cd packages/electric-db-collection
pnpm test:e2e
env:
ELECTRIC_URL: http://localhost:3000
POSTGRES_HOST: localhost
POSTGRES_PORT: 54321
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: e2e_test

- name: Run Query E2E tests
run: |
cd packages/query-db-collection
pnpm test:e2e
env:
ELECTRIC_URL: http://localhost:3000

- name: Stop Docker services
if: always()
run: |
cd packages/db-collection-e2e/docker
docker compose down -v

- name: Upload test results
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-results
path: packages/db-collection-e2e/junit/
retention-days: 7
41 changes: 29 additions & 12 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,37 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5.0.0
uses: actions/checkout@v6.0.1
with:
fetch-depth: 0
- name: Setup Tools
uses: tanstack/config/.github/setup@main
- name: Get base and head commits for `nx affected`
uses: nrwl/nx-set-shas@v4.3.3
uses: nrwl/nx-set-shas@v4.4.0
with:
main-branch-name: main
- name: Run Checks
run: pnpm run lint && pnpm run build && pnpm run test
run: pnpm run build && pnpm run test
- name: Check dependency versions
run: |
if ! pnpm run test:sherif; then
echo ""
echo "=========================================="
echo "❌ Sherif found dependency version mismatches"
echo ""
echo "To fix this locally, run:"
echo " pnpm exec sherif --fix -i zod"
echo ""
echo "Then commit the changes to package.json files."
echo "=========================================="
exit 1
fi
preview:
name: Preview
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5.0.0
uses: actions/checkout@v6.0.1
with:
fetch-depth: 0
- name: Setup Tools
Expand All @@ -51,21 +65,23 @@ jobs:
- name: Compressed Size Action - DB Package
uses: preactjs/compressed-size-action@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
pattern: "./packages/db/dist/**/*.{js,mjs}"
comment-key: "db-package-size"
repo-token: '${{ secrets.GITHUB_TOKEN }}'
pattern: './packages/db/dist/**/*.{js,mjs}'
comment-key: 'db-package-size'
build-script: 'build:minified'
- name: Compressed Size Action - React DB Package
uses: preactjs/compressed-size-action@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
pattern: "./packages/react-db/dist/**/*.{js,mjs}"
comment-key: "react-db-package-size"
repo-token: '${{ secrets.GITHUB_TOKEN }}'
pattern: './packages/react-db/dist/**/*.{js,mjs}'
comment-key: 'react-db-package-size'
build-script: 'build:minified'
build-example:
name: Build Example Site
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5.0.0
uses: actions/checkout@v6.0.1
- name: Setup Tools
uses: tanstack/config/.github/setup@main
- name: Build Packages
Expand All @@ -79,12 +95,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5.0.0
uses: actions/checkout@v6.0.1
- name: Setup Tools
uses: tanstack/config/.github/setup@main
- name: Build Packages
run: pnpm run build
- name: Build Starter Site
run: |
cd examples/react/projects
cp .env.example .env
pnpm build
33 changes: 29 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5.0.0
uses: actions/checkout@v6.0.1
with:
fetch-depth: 0
- name: Setup Tools
Expand All @@ -36,11 +36,36 @@ jobs:
with:
version: pnpm run changeset:version
publish: pnpm run changeset:publish
commit: "ci: Version Packages"
title: "ci: Version Packages"
commit: 'ci: Version Packages'
title: 'ci: Version Packages'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Generate Docs
if: steps.changesets.outputs.published == 'true'
run: pnpm generate-docs
- name: Commit Generated Docs
if: steps.changesets.outputs.published == 'true'
run: |
if [ -n "$(git status --porcelain)" ]; then
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"

BRANCH="docs/auto-update-$(date +%s)"
git checkout -b "$BRANCH"
git add docs/
git commit -m "docs: regenerate API documentation"
git push origin "$BRANCH"

gh pr create \
--title "docs: regenerate API documentation" \
--body "Automated documentation update from release" \
--base main \
--head "$BRANCH"
else
echo "No changes in generated docs"
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Comment on PRs about release
if: steps.changesets.outputs.published == 'true'
uses: tanstack/config/.github/comment-on-release@main
Expand Down
Loading
Loading