Skip to content

Update Sendspin Party to sendspin-js 6.0.0 - #326

Merged
maximmaxim345 merged 2 commits into
mainfrom
chore/sendspin-party-sendspin-js-6
Nov 23, 2026
Merged

maximmaxim345 merged 2 commits into
mainfrom
chore/sendspin-party-sendspin-js-6

Conversation

@maximmaxim345

@maximmaxim345 maximmaxim345 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

What does this implement/fix?

Sendspin Party now loads sendspin-js 6.0.0, the release for Sendspin 1.0.0-rc1.

The page passes the new url option instead of baseUrl. It also calls destroy() when it drops a player, since disconnect() now keeps the audio output open.

Related issue (if applicable):

Types of changes

  • Bugfix (non-breaking change which fixes an issue): bugfix
  • New feature (non-breaking change which adds functionality): new-feature
  • Enhancement to an existing feature: enhancement
  • Breaking change (changes CLI options, settings, hooks or the protocol in a way that is not backwards compatible): breaking-change
  • Refactor (no behavior change): refactor
  • Documentation only: documentation
  • Maintenance / chore: maintenance
  • CI / workflow change: ci
  • Dependencies bump: dependencies

Tested with Chromium on macOS and Chromium on Android playing together in sync against sendspin serve --demo, and in headless Chromium with and without --allow-unencrypted.

@maximmaxim345
maximmaxim345 requested an adaptive review from Copilot November 23, 2026 09:42
@github-actions github-actions Bot added the dependencies Bumps dependencies label Nov 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are blocking the Sendspin SDK update.

No open issues 🎉

What changed in this PR

Updates Sendspin Party to sendspin-js 6.0.0 for compatibility with Sendspin 1.0.0-rc1.

Changes:

  • Replaces baseUrl with url, using an explicit WebSocket endpoint.
  • Uses destroy() when discarding players to release audio resources.
  • Bumps the app script’s cache version so browsers load the update.
File Description
sendspin/​serve/​web/​index.html Updates the app script cache version from 10 to 11.
sendspin/​serve/​web/​app.js Upgrades the SDK import, connection URL option, and player cleanup calls.

Review effort: Balanced (adaptive)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The start flow still omits the required directly awaited audio unlock before connection, leaving playback broken on Android and Safari.

1 open issue

Review effort: Lite (adaptive)

Comment thread sendspin/serve/web/app.js Resolved
@maximmaxim345
maximmaxim345 marked this pull request as ready for review November 23, 2026 10:40
@maximmaxim345
maximmaxim345 merged commit 016689d into main Nov 23, 2026
5 checks passed
@maximmaxim345
maximmaxim345 deleted the chore/sendspin-party-sendspin-js-6 branch November 23, 2026 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Bumps dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants