Skip to content

Conversation

lucasweng
Copy link
Contributor

Summary

Test Plan

  • Tests pass locally
  • Package builds successfully

Docs

  • Run doc generation script to add a meta example to querycollectionconfig.md
  • Also update querycollectionoptions.md and querycollectionutils.md due to changes in references to query.ts

Copy link

changeset-bot bot commented Aug 2, 2025

🦋 Changeset detected

Latest commit: 01ba120

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@tanstack/query-db-collection Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@@ -0,0 +1,5 @@
---
"@tanstack/query-db-collection": patch
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if I'm mistaken, but it appears the @tanstack/query-db-collection package version is currently locked to 0.1.x, based on the previous release note. So I added a patch changeset

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup this is correct 👍

Copy link

pkg-pr-new bot commented Aug 4, 2025

More templates

@tanstack/db

npm i https://pkg.pr.new/@tanstack/db@363

@tanstack/db-ivm

npm i https://pkg.pr.new/@tanstack/db-ivm@363

@tanstack/electric-db-collection

npm i https://pkg.pr.new/@tanstack/electric-db-collection@363

@tanstack/query-db-collection

npm i https://pkg.pr.new/@tanstack/query-db-collection@363

@tanstack/react-db

npm i https://pkg.pr.new/@tanstack/react-db@363

@tanstack/solid-db

npm i https://pkg.pr.new/@tanstack/solid-db@363

@tanstack/svelte-db

npm i https://pkg.pr.new/@tanstack/svelte-db@363

@tanstack/trailbase-db-collection

npm i https://pkg.pr.new/@tanstack/trailbase-db-collection@363

@tanstack/vue-db

npm i https://pkg.pr.new/@tanstack/vue-db@363

commit: 01ba120

Copy link
Collaborator

@KyleAMathews KyleAMathews left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the great PR!

@KyleAMathews KyleAMathews merged commit 9531cc8 into TanStack:main Aug 4, 2025
6 checks passed
@github-actions github-actions bot mentioned this pull request Aug 4, 2025
@lucasweng lucasweng deleted the issues-350-meta branch August 4, 2025 15:03
KyleAMathews added a commit that referenced this pull request Aug 4, 2025
- Changed writeBatch from accepting an array of operations to accepting a callback function
- Write operations called within the callback are automatically batched together
- This provides a more intuitive API similar to database transactions
- Added comprehensive documentation for Query Collections including direct writes feature
- Documented meta support feature from PR #363

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
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.

2 participants