v4.2.0
What's Changed
feat: Realtime improvements by @rolodato in #154
The goroutine created when using WithRealtime
that handles the SSE connection no longer panics. The SDK will now retry fetching the initial environment if it fails.
If a realtime connection cannot be established, the SDK will now retry using exponential backoff with jitter.
Added WithPolling
, which can be used together with WithRealtime
. This enables polling in addition to receiving updates over SSE.
The SDK now uses slog
for logging. A custom slog
logger can be provided with the new option WithSlogLogger
. All HTTP requests, responses, durations, errors and failures are now debug logged. Many log messages were improved.
Full Changelog: v4.1.0...v4.2.0