Skip to content

Commit a69b404

Browse files
authored
Merge pull request evoluhq#617 from evoluhq/changeset-release/main
Version Packages (preview)
2 parents 6195115 + 298915b commit a69b404

12 files changed

Lines changed: 104 additions & 10 deletions

File tree

.changeset/pre.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,21 @@
2020
"@example/angular-vite-pwa": "0.0.0"
2121
},
2222
"changesets": [
23+
"all-bars-speak",
2324
"blue-lions-tease",
25+
"brown-houses-study",
2426
"busy-planets-joke",
2527
"chilly-peaches-call",
2628
"common-ads-serve",
2729
"cool-hoops-give",
30+
"eager-icons-say",
2831
"heavy-mugs-tickle",
2932
"kind-jars-lay",
3033
"lazy-clouds-exist",
34+
"lazy-rivers-cry",
3135
"lucky-rice-shop",
3236
"plenty-carrots-lead",
3337
"rotten-gifts-write",
34-
"short-corners-notice",
3538
"shy-planes-report",
3639
"slick-ideas-unite",
3740
"solid-cameras-study",

apps/relay/CHANGELOG.md

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

3+
## 1.1.2-preview.9
4+
5+
### Patch Changes
6+
7+
- 6195115: Relay access control and quota management
8+
9+
**Access Control**
10+
- Added `isOwnerAllowed` callback to control which owners can connect to the relay
11+
- Allows synchronous or asynchronous authorization checks before accepting WebSocket connections
12+
- Replaces the previous `authenticateOwner` configuration option
13+
14+
**Quota Management**
15+
- Added `isOwnerWithinQuota` callback for checking storage limits before accepting writes
16+
- Relays can now enforce per-owner storage quotas
17+
- New `ProtocolQuotaError` for quota violations
18+
- When quota is exceeded, only the affected device stops syncing - other devices continue normally
19+
- Usage is measured per owner as logical data size, excluding storage implementation overhead
20+
21+
Check the Relay example in `/apps/relay`.
22+
23+
- Updated dependencies [36af10c]
24+
- Updated dependencies [91c132c]
25+
- Updated dependencies [6195115]
26+
- Updated dependencies [13b688f]
27+
- @evolu/common@6.0.1-preview.29
28+
- @evolu/nodejs@1.0.1-preview.11
29+
330
## 1.1.2-preview.8
431

532
### Patch Changes

apps/relay/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@evolu/relay",
3-
"version": "1.1.2-preview.8",
3+
"version": "1.1.2-preview.9",
44
"private": true,
55
"type": "module",
66
"scripts": {

packages/common/CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
# @evolu/common
22

3+
## 6.0.1-preview.29
4+
5+
### Patch Changes
6+
7+
- 36af10c: Improved Array helpers
8+
9+
Evolu Array helpers for type-safe immutable operations have been improved. See [Array](https://www.evolu.dev/docs/api-reference/common/Array) docs.
10+
11+
- 91c132c: Multiton → Instances
12+
13+
Multiton has been renamed to Instances with improved API and documentation.
14+
- `createMultiton``createInstances`
15+
- `disposeInstance``delete`
16+
- Enhanced error handling with AggregateError for multiple disposal failures
17+
- Clearer documentation focusing on practical use cases (mutexes, hot reloading)
18+
19+
- 6195115: Relay access control and quota management
20+
21+
**Access Control**
22+
- Added `isOwnerAllowed` callback to control which owners can connect to the relay
23+
- Allows synchronous or asynchronous authorization checks before accepting WebSocket connections
24+
- Replaces the previous `authenticateOwner` configuration option
25+
26+
**Quota Management**
27+
- Added `isOwnerWithinQuota` callback for checking storage limits before accepting writes
28+
- Relays can now enforce per-owner storage quotas
29+
- New `ProtocolQuotaError` for quota violations
30+
- When quota is exceeded, only the affected device stops syncing - other devices continue normally
31+
- Usage is measured per owner as logical data size, excluding storage implementation overhead
32+
33+
Check the Relay example in `/apps/relay`.
34+
35+
- 13b688f: Add MaybeAsync type and isAsync type guard
36+
37+
`MaybeAsync<T>` represents values that can be either synchronous or asynchronous (`T | PromiseLike<T>`). This pattern provides performance benefits by avoiding microtask overhead for synchronous operations while maintaining composability.
38+
39+
`isAsync()` is a type guard to check if a MaybeAsync value is async, allowing conditional await only when necessary.
40+
341
## 6.0.1-preview.28
442

543
### Patch Changes

packages/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@evolu/common",
3-
"version": "6.0.1-preview.28",
3+
"version": "6.0.1-preview.29",
44
"description": "TypeScript library and local-first framework",
55
"keywords": [
66
"evolu",

packages/nodejs/CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# @evolu/nodejs
22

3+
## 1.0.1-preview.11
4+
5+
### Patch Changes
6+
7+
- 6195115: Relay access control and quota management
8+
9+
**Access Control**
10+
- Added `isOwnerAllowed` callback to control which owners can connect to the relay
11+
- Allows synchronous or asynchronous authorization checks before accepting WebSocket connections
12+
- Replaces the previous `authenticateOwner` configuration option
13+
14+
**Quota Management**
15+
- Added `isOwnerWithinQuota` callback for checking storage limits before accepting writes
16+
- Relays can now enforce per-owner storage quotas
17+
- New `ProtocolQuotaError` for quota violations
18+
- When quota is exceeded, only the affected device stops syncing - other devices continue normally
19+
- Usage is measured per owner as logical data size, excluding storage implementation overhead
20+
21+
Check the Relay example in `/apps/relay`.
22+
23+
- Updated dependencies [36af10c]
24+
- Updated dependencies [91c132c]
25+
- Updated dependencies [6195115]
26+
- Updated dependencies [13b688f]
27+
- @evolu/common@6.0.1-preview.29
28+
329
## 1.0.1-preview.10
430

531
### Patch Changes

packages/nodejs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@evolu/nodejs",
3-
"version": "1.0.1-preview.10",
3+
"version": "1.0.1-preview.11",
44
"description": "Evolu for Node.js",
55
"author": "Daniel Steigerwald <daniel@steigerwald.cz>",
66
"license": "MIT",
@@ -40,7 +40,7 @@
4040
"vitest": "^4.0.4"
4141
},
4242
"peerDependencies": {
43-
"@evolu/common": "^6.0.1-preview.28"
43+
"@evolu/common": "^6.0.1-preview.29"
4444
},
4545
"engines": {
4646
"node": ">=22.0.0"

packages/react-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"vitest": "^4.0.4"
8888
},
8989
"peerDependencies": {
90-
"@evolu/common": "^6.0.1-preview.28",
90+
"@evolu/common": "^6.0.1-preview.29",
9191
"@evolu/react": "^9.0.1-preview.6",
9292
"@op-engineering/op-sqlite": ">=12",
9393
"expo": ">=54",

packages/react-web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"vitest": "^4.0.4"
5050
},
5151
"peerDependencies": {
52-
"@evolu/common": "^6.0.1-preview.28",
52+
"@evolu/common": "^6.0.1-preview.29",
5353
"@evolu/web": "^1.0.1-preview.7",
5454
"react": ">=19",
5555
"react-dom": ">=19"

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"vitest": "^4.0.4"
4747
},
4848
"peerDependencies": {
49-
"@evolu/common": "^6.0.1-preview.28",
49+
"@evolu/common": "^6.0.1-preview.29",
5050
"react": ">=19"
5151
},
5252
"publishConfig": {

0 commit comments

Comments
 (0)