Skip to content

docs: update spectrum-ts documentation for v4.0.0#85

Closed
photon-action-bot[bot] wants to merge 1 commit into
mainfrom
docs/update-spectrum-ts-v4.0.0
Closed

docs: update spectrum-ts documentation for v4.0.0#85
photon-action-bot[bot] wants to merge 1 commit into
mainfrom
docs/update-spectrum-ts-v4.0.0

Conversation

@photon-action-bot

@photon-action-bot photon-action-bot Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Documentation Update: spectrum-ts v4.0.0

This PR updates documentation for spectrum-ts based on the v4.0.0 release.

Release Notes

Breaking Changes

Streaming Fusor now uses WebSockets instead of gRPC. If you customized the streaming endpoint, replace SPECTRUM_FUSOR_GRPC_URL / endpoint with SPECTRUM_FUSOR_WS_URL / websocketEndpoint.

Streaming mode now needs a runtime with a global WebSocket, such as Bun, Node 22+, browsers, or edge workers. Webhook-only apps are not affected.

New Features

app.messages now connects over Fusor’s fusor.v1.json WebSocket protocol, keeping the same message pipeline while making streaming easier to run outside gRPC-heavy environments. ✨

The Fusor docs now include the WebSocket protocol details, including init frames, replies, heartbeats, close codes, auth, and reconnect behavior.

Improvement

Removed the gRPC client dependencies from spectrum-ts, which makes the package lighter and avoids gRPC tooling for streaming users.

The new stream client handles heartbeats, reconnect backoff, token refresh after auth failures, and only sends replies when Fusor asks for one.


Version: 4.0.0


🤖 This PR was auto-generated by Claude Code via the update-docs action in buildspace.


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

@mintlify

mintlify Bot commented Jun 12, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
Photon 🟡 Building Jun 12, 2026, 3:50 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@github-actions

Copy link
Copy Markdown
Contributor

Superseded by #87 which targets a newer version.

@github-actions github-actions Bot closed this Jun 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants