-
Add includes (hierarchical data) documentation to all framework SKILL.md files and fix inaccurate toArray scalar select constraint in db-core/live-queries skill. (#1361)
-
Updated dependencies [
1e69dd6]:- @tanstack/db@0.6.4
-
Update all SKILL.md files to v0.6.0 with new documentation for persistence, virtual properties, queryOnce, createEffect, includes, indexing, and sync metadata. Add tanstack-intent keyword to all packages with skills. (#1421)
-
Updated dependencies [
8b7fb1a]:- @tanstack/db@0.6.1
-
fix(solid-db): support findOne in useLiveQuery (#1403)
useLiveQuerywith.findOne()returned an array instead of a single object. Updated type overloads to useInferResultType<TContext>so findOne queries returnT | undefined, and added a runtimesingleResultcheck to return the first element instead of the full array.Fixes #1399
-
Update dependencies across workspace to resolve version mismatches:
@electric-sql/client^1.5.13,@tanstack/store^0.9.2,pg^8.20.0. Adapt subscription cleanup to@tanstack/store0.9.x API which returnsSubscriptionobjects instead of unsubscribe functions. (#1381) -
Updated dependencies [
f60384b,b8abc02,09c7afc,bb09eb1,179d666,43ecbfa,055fd94,055fd94,055fd94,055fd94,85f5435,b65d8f7,e0df07e,9952921,d351c67]:- @tanstack/db@0.6.0
- Updated dependencies [
c3e6a96]:- @tanstack/db@0.5.33
-
Add Intent agent skills (SKILL.md files) to guide AI coding agents. Include skills for core DB concepts, all 5 framework bindings, meta-framework integration, and offline transactions. Also add
export * from '@tanstack/db'to angular-db for consistency with other framework packages. (#1330) -
Updated dependencies [
bf1d078]:- @tanstack/db@0.5.31
- Updated dependencies [
e9d0fd8]:- @tanstack/db@0.5.30
- Updated dependencies [
46450e7]:- @tanstack/db@0.5.28
- Updated dependencies [
7099459]:- @tanstack/db@0.5.24
- Updated dependencies [
05130f2]:- @tanstack/db@0.5.23
- Updated dependencies [
f9b741e]:- @tanstack/db@0.5.22
-
Update solid-db to enable suspense support. (#826) You can now run do
// Use Suspense boundaries const todosQuery = useLiveQuery((q) => q.from({ todos: todoCollection })) return ( <> {/* Status and other getters don't trigger Suspense */} <div>Status {todosQuery.status}</div> <div>Loading {todosQuery.isLoading ? 'yes' : 'no'}</div> <Suspense fallback={<div>Loading...</div>}> <For each={todosQuery()}> {(todo) => <li key={todo.id}>{todo.text}</li>} </For> </Suspense> </> )
All values returned from useLiveQuery are now getters, so no longer need to be called as functions. This is a breaking change. This is to match how createResource works, and everything still stays reactive.
const todos = useLiveQuery(() => existingCollection) const handleToggle = (id) => { // Can now access collection directly todos.collection.update(id, (draft) => { draft.completed = !draft.completed }) } return ( <> {/* Status and other getters don't trigger Suspense */} <div>Status {todos.status}</div> <div>Loading {todos.isLoading ? 'yes' : 'no'}</div> <div>Ready {todos.isReady ? 'yes' : 'no'}</div> <div>Idle {todos.isIdle ? 'yes' : 'no'}</div> <div>Error {todos.isError ? 'yes' : 'no'}</div> </> )
- Updated dependencies []:
- @tanstack/db@0.5.20
- Updated dependencies [
c1247e8]:- @tanstack/db@0.5.18
- Updated dependencies [
41308b8]:- @tanstack/db@0.5.16
- Updated dependencies [
32ec4d8]:- @tanstack/db@0.5.15
- Updated dependencies [
26ed0aa]:- @tanstack/db@0.5.14
-
Fixed
isReadyto returntruefor disabled queries inuseLiveQuery/injectLiveQueryacross all framework packages. When a query function returnsnullorundefined(disabling the query), there's no async operation to wait for, so the hook should be considered "ready" immediately. (#886)Additionally, all frameworks now have proper TypeScript overloads that explicitly support returning
undefined | nullfrom query functions, making the disabled query pattern type-safe.This fixes the common pattern where users conditionally enable queries and don't want to show loading states when the query is disabled.
-
Updated dependencies [
c4b9399,a1a484e]:- @tanstack/db@0.5.11
- Updated dependencies [
5f474f1]:- @tanstack/db@0.5.9
- Updated dependencies [
295cb45]:- @tanstack/db@0.5.7
- Updated dependencies [
c8a2c16]:- @tanstack/db@0.5.6
- Updated dependencies [
077fc1a]:- @tanstack/db@0.5.5
- Updated dependencies [
99a3716]:- @tanstack/db@0.5.2
- Updated dependencies [
a83a818]:- @tanstack/db@0.5.1
- Updated dependencies [
243a35a,f9d11fc,7aedf12,28f81b5,28f81b5,f6ac7ea,01093a7]:- @tanstack/db@0.5.0
- Updated dependencies [
75470a8]:- @tanstack/db@0.4.19
- Updated dependencies [
49bcaa5]:- @tanstack/db@0.4.17
- Updated dependencies [
6738247]:- @tanstack/db@0.4.15
- Updated dependencies [
970616b]:- @tanstack/db@0.4.14
- Updated dependencies [
3c9526c]:- @tanstack/db@0.4.13
- Updated dependencies [
5566b26]:- @tanstack/db@0.4.11
- Updated dependencies [
6692aad]:- @tanstack/db@0.4.7
- Updated dependencies [
7556fb6]:- @tanstack/db@0.4.5
- Updated dependencies [
32f2212]:- @tanstack/db@0.4.3
- Updated dependencies [
8cd0876]:- @tanstack/db@0.4.1
-
Let collection.subscribeChanges return a subscription object. Move all data loading code related to optimizations into that subscription object. (#564)
-
Updated dependencies [
2f87216,ac6250a,2f87216]:- @tanstack/db@0.4.0
- Updated dependencies [
cacfca2]:- @tanstack/db@0.3.2
- Updated dependencies [
5f51f35]:- @tanstack/db@0.3.1
- Updated dependencies [
b162556]:- @tanstack/db@0.2.3
- Updated dependencies [
33515c6]:- @tanstack/db@0.2.2
- Updated dependencies [
620ebea]:- @tanstack/db@0.2.1
- Updated dependencies [
cc4c34a]:- @tanstack/db@0.1.12
- Updated dependencies [
b869f68]:- @tanstack/db@0.1.11
- Updated dependencies [
d64b4a8]:- @tanstack/db@0.1.9
- Updated dependencies [
ad33e9e]:- @tanstack/db@0.1.6
- Updated dependencies [
9a5a20c]:- @tanstack/db@0.1.5
-
Ensure that the ready status is correctly returned from a live query (#390)
-
Updated dependencies [
c90b4d8,6c1c19c,69a6d2d,6250a92,68538b4]:- @tanstack/db@0.1.4
- Updated dependencies [
0cb7699]:- @tanstack/db@0.1.3
- 0.1 release - first beta 🎉 (#332)
-
We have moved development of the differential dataflow implementation from @electric-sql/d2mini to a new @tanstack/db-ivm package inside the tanstack db monorepo to make development simpler. (#330)
-
Updated dependencies [
7d2f4be,f0eda36]:- @tanstack/db@0.1.0
- Updated dependencies [
6e8d7f6]:- @tanstack/db@0.0.33
- Add initial version of solid-db integration TanStack DB with SolidJS (#92)
- Add support for solid-js