Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Jan 13, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@tanstack/[email protected]

Minor Changes

  • 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>
      </>
    )

Patch Changes

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

  • Add groupedOrderByWithFractionalIndex operator. This operator groups elements by a provided groupKeyFn and applies ordering and limits independently to each group. Each group maintains its own sorted collection with independent limit/offset, which is useful for hierarchical data projections where child collections need to enforce limits within each parent's slice of the stream rather than across the entire dataset. (#997)

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@tanstack/[email protected]

Patch Changes

@github-actions github-actions bot force-pushed the changeset-release/main branch from 848b541 to 9b13f69 Compare January 13, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant