Skip to content

Commit 1eb112f

Browse files
committed
fix: support Workers Types v5 in PartyServer
1 parent c9ab55f commit 1eb112f

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

‎.changeset/tidy-streams-rest.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"partyserver": patch
3+
---
4+
5+
Allow `@cloudflare/workers-types` v5 as a peer dependency. PartyServer remains compatible with v4 while projects using Wrangler 4.108 and newer can install the v5 runtime types without a peer dependency conflict.

‎package-lock.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎packages/partyserver/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"nanoid": "^5.1.9"
4444
},
4545
"peerDependencies": {
46-
"@cloudflare/workers-types": "^4.20260424.1"
46+
"@cloudflare/workers-types": "^4.20260424.1 || ^5.20260703.1"
4747
},
4848
"devDependencies": {
4949
"@cloudflare/workers-types": "^4.20260426.1",

0 commit comments

Comments
 (0)