File tree Expand file tree Collapse file tree
fern/products/sdks/overview/csharp/changelog Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## 2.35.0
2+ ** ` (fix): ` ** Fix WebSocket binary message sending. Binary messages (e.g. audio bytes) are now
3+ sent as raw bytes instead of being JSON-serialized, which caused servers to reject
4+ them with CONFIG_DENIED.
5+
6+
7+ ** ` (fix): ` ** Fix WebSocket incoming message deserialization. ` TryDeserialize ` now passes
8+ ` JsonSerializerOptions ` so the generated literal property setters correctly
9+ validate const discriminator fields (e.g. ` type: "transcript" ` vs ` type: "flushed" ` )
10+ during deserialization.
11+
12+
13+ ** ` (feat): ` ** Add forward-compatible ` UnknownMessage ` event to WebSocket clients. When the server
14+ sends an event type not recognized by the SDK, it is now dispatched to the
15+ ` UnknownMessage ` event handler (as a ` JsonElement ` ) instead of raising an exception.
16+ This allows SDKs to gracefully handle new server event types without requiring
17+ regeneration.
18+
19+
You can’t perform that action at this time.
0 commit comments