-
Notifications
You must be signed in to change notification settings - Fork 2
Show deprecation warning #463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds SDK deprecation warning functionality to the FishjamClient. When a peer authenticates with the server, the server can now return deprecation status information, which the client will log appropriately based on the severity level.
Changes:
- Added deprecation warning handling in FishjamClient that logs warnings/errors when the SDK version is deprecated or unsupported
- Updated protobuf definitions to include SDK deprecation status and message in the authentication response
- Updated protoc version from v6.33.0 to v6.33.4 across all generated protobuf files
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/ts-client/src/FishjamClient.ts | Added import for deprecation status enum and logic to check and log deprecation warnings during authentication |
| packages/protobufs/fishjam/peer_notifications.ts | Added PeerMessage_SdkDeprecation interface with status enum and message field, integrated into PeerMessage_Authenticated |
| packages/protobufs/fishjam/server_notifications.ts | Updated protoc version comment from v6.33.0 to v6.33.4 |
| packages/protobufs/fishjam/notifications/shared.ts | Updated protoc version comment from v6.33.0 to v6.33.4 |
| packages/protobufs/fishjam/media_events/shared.ts | Updated protoc version comment from v6.33.0 to v6.33.4 |
| packages/protobufs/fishjam/media_events/server/server.ts | Updated protoc version comment from v6.33.0 to v6.33.4 |
| packages/protobufs/fishjam/media_events/peer/peer.ts | Updated protoc version comment from v6.33.0 to v6.33.4 |
| packages/protobufs/fishjam/agent_notifications.ts | Updated protoc version comment from v6.33.0 to v6.33.4 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Description
Describe your changes.
Motivation and Context
Why is this change required? What problem does it solve? If it fixes an open
issue, please link to the issue here.
Documentation impact
Types of changes
not work as expected)