Skip to content

Commit bb39742

Browse files
chore: publish new package versions (#4800)
This PR was opened by the [Changesets release](https://github.com/changesets/action) 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 ## @electric-sql/experimental@6.0.28 ### Patch Changes - Updated dependencies [ff9d221] - @electric-sql/client@1.5.28 ## @electric-sql/react@1.0.57 ### Patch Changes - Updated dependencies [ff9d221] - @electric-sql/client@1.5.28 ## @electric-sql/client@1.5.28 ### Patch Changes - ff9d221: Stop `ExpiredShapesCache.getExpiredHandle` writing the whole cache to `localStorage` on every read. The LRU touch it performs runs while building the URL of every shape request, so in live mode it persisted the entire cache once per poll for as long as the app stayed open. `lastUsed` is now updated in memory only; it is read from memory when `markExpired` picks an eviction candidate, so the sole effect is that eviction order can be staler after a reload. ## @electric-sql/y-electric@0.1.54 ### Patch Changes - Updated dependencies [ff9d221] - @electric-sql/client@1.5.28 ## expo-db-electric-starter@1.0.29 ### Patch Changes - Updated dependencies [ff9d221] - @electric-sql/client@1.5.28 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent ff9d221 commit bb39742

12 files changed

Lines changed: 46 additions & 17 deletions

File tree

‎.changeset/expired-shapes-cache-read-write.md‎

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

‎examples/tanstack-db-expo-starter/CHANGELOG.md‎

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

3+
## 1.0.29
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [ff9d221]
8+
- @electric-sql/client@1.5.28
9+
310
## 1.0.28
411

512
### Patch Changes

‎examples/tanstack-db-expo-starter/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "expo-db-electric-starter",
3-
"version": "1.0.28",
3+
"version": "1.0.29",
44
"main": "index.ts",
55
"scripts": {
66
"start": "docker compose up -d && expo start",
@@ -13,7 +13,7 @@
1313
"api": "tsx api/index.ts"
1414
},
1515
"dependencies": {
16-
"@electric-sql/client": "1.5.27",
16+
"@electric-sql/client": "1.5.28",
1717
"@expo/metro-runtime": "~5.0.4",
1818
"@tanstack/electric-db-collection": "^0.0.15",
1919
"@tanstack/react-db": "^0.0.27",

‎packages/experimental/CHANGELOG.md‎

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

3+
## 6.0.28
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [ff9d221]
8+
- @electric-sql/client@1.5.28
9+
310
## 6.0.27
411

512
### Patch Changes

‎packages/experimental/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@electric-sql/experimental",
33
"description": "Experimental TypeScript features for ElectricSQL.",
4-
"version": "6.0.27",
4+
"version": "6.0.28",
55
"author": "ElectricSQL team and contributors.",
66
"bugs": {
77
"url": "https://github.com/electric-sql/electric/issues"

‎packages/react-hooks/CHANGELOG.md‎

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

3+
## 1.0.57
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [ff9d221]
8+
- @electric-sql/client@1.5.28
9+
310
## 1.0.56
411

512
### Patch Changes

‎packages/react-hooks/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@electric-sql/react",
33
"description": "React hooks for ElectricSQL",
4-
"version": "1.0.56",
4+
"version": "1.0.57",
55
"author": "ElectricSQL team and contributors.",
66
"bugs": {
77
"url": "https://github.com/electric-sql/electric/issues"

‎packages/typescript-client/CHANGELOG.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# @electric-sql/client
22

3+
## 1.5.28
4+
5+
### Patch Changes
6+
7+
- ff9d221: Stop `ExpiredShapesCache.getExpiredHandle` writing the whole cache to
8+
`localStorage` on every read. The LRU touch it performs runs while building the
9+
URL of every shape request, so in live mode it persisted the entire cache once
10+
per poll for as long as the app stayed open. `lastUsed` is now updated in memory
11+
only; it is read from memory when `markExpired` picks an eviction candidate, so
12+
the sole effect is that eviction order can be staler after a reload.
13+
314
## 1.5.27
415

516
### Patch Changes

‎packages/typescript-client/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@electric-sql/client",
33
"description": "Postgres everywhere - your data, in sync, wherever you need it.",
4-
"version": "1.5.27",
4+
"version": "1.5.28",
55
"keywords": [
66
"tanstack-intent"
77
],

‎packages/y-electric/CHANGELOG.md‎

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

3+
## 0.1.54
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [ff9d221]
8+
- @electric-sql/client@1.5.28
9+
310
## 0.1.53
411

512
### Patch Changes

0 commit comments

Comments
 (0)