Skip to content

@flags-sdk/openfeature@0.1.3

Choose a tag to compare

@github-actions github-actions released this 13 Aug 19:37
· 7 commits to main since this release
a427635

Patch Changes

  • #474 2dfc85c Thanks @dferber90! - Retry initialization after a failed attempt

    Previously a rejected init() was cached forever, so a single transient failure (e.g. a connect error during a cold start) made every later flag evaluation replay that same error for the rest of the process' lifetime, without ever dialing the provider again.

    The rejected attempt is now discarded so the next evaluation retries, while concurrent callers still share a single in-flight attempt. Failures reported by the provider as PROVIDER_FATAL — irrecoverable ones such as invalid credentials or configuration — remain cached, since retrying them cannot succeed.