diff --git a/.changeset/many-toys-run.md b/.changeset/many-toys-run.md deleted file mode 100644 index 507eb85c..00000000 --- a/.changeset/many-toys-run.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -"partytracks": patch ---- - -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 -- Audio now plays through default output on unsupported browsers with a helpful console warning -- Applications can check audioSink.isSinkIdSupported to conditionally render device selection UI - -This is a backward-compatible change that fixes crashes reported in #276. diff --git a/fixtures/partytracks/CHANGELOG.md b/fixtures/partytracks/CHANGELOG.md index 72d06ad0..6587bffb 100644 --- a/fixtures/partytracks/CHANGELOG.md +++ b/fixtures/partytracks/CHANGELOG.md @@ -1,5 +1,12 @@ # @partyserver/fixture-partytracks +## 0.0.27 + +### Patch Changes + +- Updated dependencies [[`9a62501`](https://github.com/cloudflare/partykit/commit/9a625016f51ba3f016e002f546a2a31e139a20db)]: + - partytracks@0.0.53 + ## 0.0.26 ### Patch Changes diff --git a/fixtures/partytracks/package.json b/fixtures/partytracks/package.json index 11b53d97..d1b79409 100644 --- a/fixtures/partytracks/package.json +++ b/fixtures/partytracks/package.json @@ -1,7 +1,7 @@ { "name": "@partyserver/fixture-partytracks", "private": true, - "version": "0.0.26", + "version": "0.0.27", "type": "module", "scripts": { "start": "vite dev", @@ -9,7 +9,7 @@ }, "dependencies": { "hono": "^4.9.8", - "partytracks": "^0.0.52", + "partytracks": "^0.0.53", "rxjs": "^7.8.2" }, "devDependencies": { diff --git a/package-lock.json b/package-lock.json index e14e241f..5acba6b8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -217,10 +217,10 @@ }, "fixtures/partytracks": { "name": "@partyserver/fixture-partytracks", - "version": "0.0.26", + "version": "0.0.27", "dependencies": { "hono": "^4.9.8", - "partytracks": "^0.0.52", + "partytracks": "^0.0.53", "rxjs": "^7.8.2" }, "devDependencies": { @@ -18839,7 +18839,7 @@ } }, "packages/partytracks": { - "version": "0.0.52", + "version": "0.0.53", "license": "ISC", "dependencies": { "cookie": "^1.0.2", diff --git a/packages/partytracks/CHANGELOG.md b/packages/partytracks/CHANGELOG.md index 0e658c72..db956c0b 100644 --- a/packages/partytracks/CHANGELOG.md +++ b/packages/partytracks/CHANGELOG.md @@ -1,5 +1,20 @@ # partytracks +## 0.0.53 + +### Patch Changes + +- [#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 + - Audio now plays through default output on unsupported browsers with a helpful console warning + - Applications can check audioSink.isSinkIdSupported to conditionally render device selection UI + + This is a backward-compatible change that fixes crashes reported in #276. + ## 0.0.52 ### Patch Changes diff --git a/packages/partytracks/package.json b/packages/partytracks/package.json index 09da3731..147f8d86 100644 --- a/packages/partytracks/package.json +++ b/packages/partytracks/package.json @@ -1,6 +1,6 @@ { "name": "partytracks", - "version": "0.0.52", + "version": "0.0.53", "scripts": { "check:test": "(cd tests; vitest --no-watch)", "prebuild": "rm -rf dist",