You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.**WebSocket Library Upgrade**: The SDK upgraded to `websockets>=12.0`, which introduced some internal changes to connection handling.
893
+
894
+
2.**Parameter Name Changes**:
895
+
-**Sync connections**: Continue to use `additional_headers` parameter
896
+
-**Async connections**: Now use `extra_headers` parameter (changed from `additional_headers`)
897
+
898
+
3.**Keep Alive Control Messages**: The keep alive functionality itself remains unchanged - you still send `KeepAlive` control messages using the `send_control()` method.
899
+
900
+
4.**Connection Management**: The underlying WebSocket connection management has been updated to use the newer websockets library API, but the public interface for keep alive remains the same.
901
+
860
902
## Breaking Changes Summary
861
903
862
904
### Major Changes
863
905
864
906
1.**Authentication**: New access token support with environment variable `DEEPGRAM_TOKEN`
865
907
2.**API structure**: Flattened method names and cleaner parameter passing
866
908
3.**WebSocket API**: Complete redesign with context managers and typed message objects
867
-
4.**Type safety**: Enhanced type annotations and response objects
868
-
5.**Error handling**: Improved error types and handling
909
+
4.**WebSocket Keep Alive**: Managed via control messages, no longer an automatic thing via config
910
+
5.**Type safety**: Enhanced type annotations and response objects
911
+
6.**Error handling**: Improved error types and handling
0 commit comments