Upgrade pacer package#829
Merged
KyleAMathews merged 2 commits intomainfrom Nov 17, 2025
Merged
Conversation
The pacer package API changed significantly from v0.1.0 to v0.16.2: - AsyncQueuer constructor now takes the function as first parameter - Items are passed to addItem() instead of functions being passed to addItem() - Updated queueStrategy to use new API pattern This fixes the build errors in packages/db/src/strategies/queueStrategy.ts
|
More templates
@tanstack/angular-db
@tanstack/db
@tanstack/db-ivm
@tanstack/electric-db-collection
@tanstack/offline-transactions
@tanstack/powersync-db-collection
@tanstack/query-db-collection
@tanstack/react-db
@tanstack/rxdb-db-collection
@tanstack/solid-db
@tanstack/svelte-db
@tanstack/trailbase-db-collection
@tanstack/vue-db
commit: |
Contributor
|
Size Change: +4 B (0%) Total Size: 86 kB
ℹ️ View Unchanged
|
Contributor
|
Size Change: 0 B Total Size: 3.34 kB ℹ️ View Unchanged
|
Replace Transaction<any> with Transaction to match the pattern used in debounceStrategy and throttleStrategy. This maintains type safety while allowing the queuer to handle transactions with different generic types. - Changed AsyncQueuer<() => Transaction<any>> to AsyncQueuer<() => Transaction> - Added type cast in addItem call: fn as () => Transaction - Consistent with existing strategy implementations
kevin-dp
approved these changes
Nov 17, 2025
Contributor
|
Don't forget to re-generate the docs and add a changeset. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Unblock #783
The pacer package API changed significantly from v0.1.0 to v0.16.2:
This fixes the build errors in packages/db/src/strategies/queueStrategy.ts
🎯 Changes
✅ Checklist
pnpm test:pr.🚀 Release Impact