Skip to content

Commit 8714f94

Browse files
ci: Version Packages (#311)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent b1e0bf7 commit 8714f94

File tree

19 files changed

+112
-61
lines changed

19 files changed

+112
-61
lines changed

.changeset/khaki-ties-shout.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

.changeset/open-zebras-remain.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

examples/react/todo/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# examples/react/todo
22

3+
## 0.0.37
4+
5+
### Patch Changes
6+
7+
- Updated dependencies []:
8+
- @tanstack/electric-db-collection@0.0.13
9+
- @tanstack/query-db-collection@0.0.13
10+
- @tanstack/react-db@0.0.31
11+
- @tanstack/trailbase-db-collection@0.0.7
12+
313
## 0.0.36
414

515
### Patch Changes

examples/react/todo/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"name": "@tanstack/db-example-react-todo",
33
"private": true,
4-
"version": "0.0.36",
4+
"version": "0.0.37",
55
"dependencies": {
6-
"@tanstack/electric-db-collection": "^0.0.12",
6+
"@tanstack/electric-db-collection": "^0.0.13",
77
"@tanstack/query-core": "^5.75.7",
8-
"@tanstack/query-db-collection": "^0.0.12",
9-
"@tanstack/react-db": "^0.0.30",
8+
"@tanstack/query-db-collection": "^0.0.13",
9+
"@tanstack/react-db": "^0.0.31",
1010
"@tanstack/react-router": "^1.125.6",
1111
"@tanstack/react-start": "^1.126.1",
12-
"@tanstack/trailbase-db-collection": "^0.0.6",
12+
"@tanstack/trailbase-db-collection": "^0.0.7",
1313
"cors": "^2.8.5",
1414
"drizzle-orm": "^0.40.1",
1515
"drizzle-zod": "^0.7.0",

packages/db/CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# @tanstack/db
22

3+
## 0.0.31
4+
5+
### Patch Changes
6+
7+
- Fix UI responsiveness issue with rapid user interactions in collections ([#308](https://github.com/TanStack/db/pull/308))
8+
9+
Fixed a critical issue where rapid user interactions (like clicking multiple checkboxes quickly) would cause the UI to become unresponsive when using collections with slow backend responses. The problem occurred when optimistic updates would back up and the UI would stop reflecting user actions.
10+
11+
**Root Causes:**
12+
13+
- Event filtering logic was blocking ALL events for keys with recent sync operations, including user-initiated actions
14+
- Event batching was queuing user actions instead of immediately updating the UI during high-frequency operations
15+
16+
**Solution:**
17+
18+
- Added `triggeredByUserAction` parameter to `recomputeOptimisticState()` to distinguish user actions from sync operations
19+
- Modified event filtering to allow user-initiated actions to bypass sync status checks
20+
- Enhanced `emitEvents()` with `forceEmit` parameter to skip batching for immediate user action feedback
21+
- Updated all user action code paths to properly identify themselves as user-triggered
22+
23+
This ensures the UI remains responsive during rapid user interactions while maintaining the performance benefits of event batching and duplicate event filtering for sync operations.
24+
325
## 0.0.30
426

527
### Patch Changes

packages/db/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@tanstack/db",
33
"description": "A reactive client store for building super fast apps on sync",
4-
"version": "0.0.30",
4+
"version": "0.0.31",
55
"dependencies": {
66
"@electric-sql/d2mini": "^0.1.7",
77
"@standard-schema/spec": "^1.0.0"

packages/electric-db-collection/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @tanstack/electric-db-collection
22

3+
## 0.0.13
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`3e9a36d`](https://github.com/TanStack/db/commit/3e9a36d2600c4f700ca7bc4f720c189a5a29387a)]:
8+
- @tanstack/db@0.0.31
9+
310
## 0.0.12
411

512
### Patch Changes

packages/electric-db-collection/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@tanstack/electric-db-collection",
33
"description": "Electric SQL collection for TanStack DB",
4-
"version": "0.0.12",
4+
"version": "0.0.13",
55
"dependencies": {
66
"@electric-sql/client": "1.0.0",
77
"@standard-schema/spec": "^1.0.0",

packages/query-db-collection/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @tanstack/query-db-collection
22

3+
## 0.0.13
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`3e9a36d`](https://github.com/TanStack/db/commit/3e9a36d2600c4f700ca7bc4f720c189a5a29387a)]:
8+
- @tanstack/db@0.0.31
9+
310
## 0.0.12
411

512
### Patch Changes

packages/query-db-collection/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@tanstack/query-db-collection",
33
"description": "TanStack Query collection for TanStack DB",
4-
"version": "0.0.12",
4+
"version": "0.0.13",
55
"dependencies": {
66
"@tanstack/db": "workspace:*",
77
"@tanstack/query-core": "^5.75.7"

0 commit comments

Comments
 (0)