v0.8.0 for obs-websocket v4.9.1
What's Changed
-
Add configurable underlying dialer and request header options. (#25)
- New client options:
WithDialer(x *websocket.Dialer)
andWithRequestHeader(x http.Header)
.
- New client options:
-
Improve error handling and general client enhancements. (#24)
- The client errors out if it doesn't receive a response from the server after a certain timeout; configurable via the new
WithResponseTimeout(x time.Duration)
option. (8d28d35) - Don't panic on unrecognized messages in the OBS eventing loop, e.g. when used against a server version like v5. (8ac3b76)
- Broadcast events from OBS are now maintained in order, i.e. the oldest events are now purged if they haven't yet already been consumed, to make room for the latest. (87fc692)
- Gracefully handle the rare case of an eventing issue happening before authentication occurs, e.g. our event loop failed parsing a raw message from the server for whatever reason. (f5a9289)
- The client errors out if it doesn't receive a response from the server after a certain timeout; configurable via the new
-
Remove the vendor directory because this isn't big enterprise. (#26)
-
Use three-valued boolean values (
*bool
s) in request bodies. (#29 #30)- Otherwise, there's no way to tell the difference between a false value and an unset value for things. See #27 for issue context.
Full Changelog: v0.7.0...v0.8.0