Skip to content

v4.2.0

Compare
Choose a tag to compare
@rolodato rolodato released this 27 Mar 23:17
· 23 commits to main since this release
ac2e06e

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