Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/narrow-message-arraybufferview.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/partysync-rename-agent-connect.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/partytracks-workers-types-compat.md

This file was deleted.

2 changes: 1 addition & 1 deletion fixtures/chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": {
"nanoid": "^5.1.9",
"partyserver": "^0.4.1",
"partysocket": "^1.1.17",
"partysocket": "^1.1.18",
"react": "^19.2.5",
"react-dom": "^19.2.5"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/globe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dependencies": {
"cobe": "^2.0.1",
"partyserver": "^0.4.1",
"partysocket": "^1.1.17",
"partysocket": "^1.1.18",
"react": "^19.2.5",
"react-dom": "^19.2.5"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/hono/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"hono": "^4.12.14",
"hono-party": "^2.0.3",
"partyserver": "^0.4.1",
"partysocket": "^1.1.17",
"partysocket": "^1.1.18",
"react": "^19.2.5",
"react-dom": "^19.2.5"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/monaco-yjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"monaco-editor": "^0.55.1",
"partysocket": "^1.1.17",
"partysocket": "^1.1.18",
"y-monaco": "^0.1.6"
}
}
2 changes: 1 addition & 1 deletion fixtures/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"types": "wrangler types env.d.ts --include-runtime false"
},
"dependencies": {
"partysocket": "^1.1.17"
"partysocket": "^1.1.18"
}
}
2 changes: 1 addition & 1 deletion fixtures/partytracks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"hono": "^4.12.14",
"partytracks": "^0.0.55",
"partytracks": "^0.0.56",
"rxjs": "^7.8.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
},
"dependencies": {
"nanoid": "^5.1.9",
"partysocket": "^1.1.17"
"partysocket": "^1.1.18"
}
}
2 changes: 1 addition & 1 deletion fixtures/tldraw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"dependencies": {
"partyserver": "^0.4.1",
"partysocket": "^1.1.17",
"partysocket": "^1.1.18",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"tldraw": "^4.5.9"
Expand Down
4 changes: 2 additions & 2 deletions fixtures/todo-sync/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"nanoid": "^5.1.9",
"partyfn": "^0.1.0",
"partyserver": "^0.4.1",
"partysocket": "^1.1.17",
"partysync": "^2.0.2",
"partysocket": "^1.1.18",
"partysync": "^2.0.3",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"valibot": "^1.3.1"
Expand Down
2 changes: 1 addition & 1 deletion fixtures/video-echo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"start": "vite dev "
},
"dependencies": {
"partytracks": "^0.0.55",
"partytracks": "^0.0.56",
"react": "^19.2.5",
"react-dom": "^19.2.5"
},
Expand Down
30 changes: 15 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions packages/partysocket/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# partysocket

## 1.1.18

### Patch Changes

- [#374](https://github.com/cloudflare/partykit/pull/374) [`c05d86a`](https://github.com/cloudflare/partykit/commit/c05d86af9b70af41bd47fbb127acdecc3cacd2cf) Thanks [@threepointone](https://github.com/threepointone)! - Narrow the exported `Message` type from `ArrayBufferView` to `ArrayBufferView<ArrayBuffer>` so it matches the DOM `WebSocket.send()` overloads under newer `@cloudflare/workers-types` / lib.dom.d.ts, where the default `ArrayBufferView<ArrayBufferLike>` includes `SharedArrayBuffer`-backed views that `send()` does not accept. Runtime behaviour is unchanged — `WebSocket.send()` already rejected shared-buffer views at runtime.

## 1.1.17

### Patch Changes
Expand Down Expand Up @@ -325,6 +331,7 @@
### Patch Changes

- [#251](https://github.com/partykit/partykit/pull/251) [`049bcac`](https://github.com/partykit/partykit/commit/049bcac42aa49e4bddec975c63b7d7984112e450) Thanks [@threepointone](https://github.com/threepointone)! - small tweaks to `init`

- replace `process.env.PARTYKIT_HOST` with just `PARTYKIT_HOST`
- add a `tsconfig.json`
- add partykit to devDependencies in `init`
Expand All @@ -345,6 +352,7 @@
- [#211](https://github.com/partykit/partykit/pull/211) [`fffe721`](https://github.com/partykit/partykit/commit/fffe72148e5cc425e80c90b6bf180192df410080) Thanks [@threepointone](https://github.com/threepointone)! - update dependencies

- [#191](https://github.com/partykit/partykit/pull/191) [`39cf5ce`](https://github.com/partykit/partykit/commit/39cf5cebf5e699bc50ace8b6d25cd82c807e863a) Thanks [@jevakallio](https://github.com/jevakallio)! - Improve PartySocket types and React hooks API:

- Add websocket lifecycle event handlers to usePartyKit options to reduce need for effects in userland
- Allow usePartySocket to provide startClosed option to initialize without opening connection
- Fix types for PartySocket#removeEventListener
Expand Down
2 changes: 1 addition & 1 deletion packages/partysocket/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "partysocket",
"version": "1.1.17",
"version": "1.1.18",
"description": "A better WebSocket that Just Works™",
"homepage": "https://docs.partykit.io/reference/partysocket-api",
"bugs": "https://github.com/cloudflare/partykit/issues",
Expand Down
6 changes: 6 additions & 0 deletions packages/partysync/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# partysync

## 2.0.3

### Patch Changes

- [#374](https://github.com/cloudflare/partykit/pull/374) [`c05d86a`](https://github.com/cloudflare/partykit/commit/c05d86af9b70af41bd47fbb127acdecc3cacd2cf) Thanks [@threepointone](https://github.com/threepointone)! - Rename `Agent#connect(namespace, room)` to `Agent#connectTo(namespace, room)`. The base `DurableObject` class in `@cloudflare/workers-types` now declares `connect?(socket: Socket): void | Promise<void>` for TCP socket bindings, which collided with our override and produced a `TS2416` "not assignable to the same property in base type" error. The rename also better reflects the method's intent — connecting to another PartyServer by namespace + room, not accepting a TCP socket.

## 2.0.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/partysync/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "partysync",
"version": "2.0.2",
"version": "2.0.3",
"description": "",
"keywords": [
"durable-objects",
Expand Down Expand Up @@ -52,7 +52,7 @@
"@cloudflare/workers-types": "^4.20260420.1",
"partyfn": "^0.1.0",
"partyserver": "^0.4.1",
"partysocket": "^1.1.17"
"partysocket": "^1.1.18"
},
"peerDependencies": {
"@cloudflare/workers-types": "^4.20240729.0",
Expand Down
15 changes: 15 additions & 0 deletions packages/partytracks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# partytracks

## 0.0.56

### Patch Changes

- [#374](https://github.com/cloudflare/partykit/pull/374) [`c05d86a`](https://github.com/cloudflare/partykit/commit/c05d86af9b70af41bd47fbb127acdecc3cacd2cf) Thanks [@threepointone](https://github.com/threepointone)! - Fix type errors under newer `@cloudflare/workers-types` and TypeScript lib typings:

- Avoid `typeof fetch` in internal signatures — CF workers-types merges `fetch` with the `Fetcher` interface (which has `fetch()` and `connect()` methods), which doesn't match a plain fetch function. Internal helpers now use an explicit `(input, init?) => Promise<Response>` signature.
- Rename the internal `fetcher` option on `fromFetch` to `fetchImpl` to avoid colliding with CF's built-in `RequestInit.fetcher?: Fetcher | null`, which was intersected in and made the property uncallable.
- Cast `Response#json()` results (which are now typed `unknown`) before destructuring `{ sessionId }` / `{ iceServers }`.

All changes are internal; no public API changes.

## 0.0.55

### Patch Changes
Expand All @@ -20,6 +32,7 @@
- [#285](https://github.com/cloudflare/partykit/pull/285) [`9a62501`](https://github.com/cloudflare/partykit/commit/9a625016f51ba3f016e002f546a2a31e139a20db) Thanks [@third774](https://github.com/third774)! - Fix Safari compatibility by adding setSinkId feature detection to createAudioSink

The createAudioSink utility now gracefully handles browsers that don't support the setSinkId API (primarily Safari on mobile and desktop).

- Added checkSinkIdSupport helper to detect setSinkId availability
- Added isSinkIdSupported property to SinkApi interface
- Wrapped setSinkId calls with feature detection to prevent crashes
Expand Down Expand Up @@ -124,6 +137,7 @@
- [#216](https://github.com/cloudflare/partykit/pull/216) [`964a1c4`](https://github.com/cloudflare/partykit/commit/964a1c491b3206bf82dcd63f12a328477baa9896) Thanks [@third774](https://github.com/third774)! - Change useOnEmit to useObservable, and allow for error and complete callbacks

- [#216](https://github.com/cloudflare/partykit/pull/216) [`fb6adc2`](https://github.com/cloudflare/partykit/commit/fb6adc2af78b3d1027e3c145f41c9ab916b92013) Thanks [@third774](https://github.com/third774)! - - Add getMic, getCamera, and createAudioSink utils.

- Lock sessions to their initiator via a cookie w/ JWT.
- Fixed a bug where toggling a device off and on rapidly could leave it in a "stuck on" state.

Expand Down Expand Up @@ -195,6 +209,7 @@
### Patch Changes

- [#186](https://github.com/threepointone/partyserver/pull/186) [`bdfcdce`](https://github.com/threepointone/partyserver/commit/bdfcdce562f84a94ceb4bc03be133a82d8969839) Thanks [@third774](https://github.com/third774)! - - Enable sending simulcast via sendEncodings

- Change encodings$ when pushing a track to not be an observable (changing requires renegotiation anyways)

- [#186](https://github.com/threepointone/partyserver/pull/186) [`e5045fd`](https://github.com/threepointone/partyserver/commit/e5045fd052bdb8369b6cfaf54d4c619d3ac32a81) Thanks [@third774](https://github.com/third774)! - Enable pulling simulcast tracks with preferredRid
Expand Down
2 changes: 1 addition & 1 deletion packages/partytracks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "partytracks",
"version": "0.0.55",
"version": "0.0.56",
"scripts": {
"check:test": "(cd tests; vitest --no-watch)",
"prebuild": "rm -rf dist",
Expand Down
Loading