Repository navigation
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: launchdarkly/openfeature-python-server
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.8.3
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: launchdarkly/openfeature-python-server
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.9.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 3 commits
- 10 files changed
- 4 contributors
Commits on Oct 28, 2026
-
fix!: Use None rather than zero for indefinite initialization waiting (…
…#64) Aligns `start_wait` with the OpenFeature provider spec (OFP), which requires a distinct non-duration value to request indefinite initialization waiting. - `start_wait=None` now requests an indefinite wait: the constructor does not block and `initialize` waits until the data source becomes valid or fails permanently. - `start_wait=0` no longer waits indefinitely; it waits nowhere, so `initialize` reports a failed initialization unless the client is already ready, and readiness is observed through provider events. - Positive values are unchanged: the constructor bounds the wait and `initialize` returns immediately with whatever the outcome is. - Breaking for anyone relying on `0` meaning "wait forever". **Requirements** - [x] I have added test coverage for new or changed functionality - [x] I have followed the repository's [pull request submission guidelines](../blob/main/CONTRIBUTING.md#submitting-pull-requests) - [x] I have validated my changes against all supported platform versions **Related issues** None. <details> <summary>Implementation details</summary> OFP requires that a positive start wait bound total construction plus initialization, that zero wait nowhere, and that indefinite waiting avoid construction-time blocking and instead wait during `initialize`. Previously zero was overloaded to mean indefinite, leaving no way to express "no waiting at all". `None` is now passed to `LDClient` as a zero construction wait, with the waiting performed in `initialize` against the data source status listener. Testing: `make test` (88 tests) and `make lint` (mypy) pass. New tests cover the zero and indefinite cases, including that the constructor does not block when `None` is given. </details> Link to Devin session: https://app.devin.ai/sessions/1fd3fcbfe79f482e8b58be29e8df2ffb Open in Devin Desktop: https://app.devin.ai/desktop/session/1fd3fcbfe79f482e8b58be29e8df2ffb?variant=devin Requested by: @kinyoklion [SDK-3285](https://launchdarkly.atlassian.net/browse/SDK-3285) <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Overview** > **Breaking change:** `start_wait` now matches the OpenFeature provider contract instead of overloading `0` for “wait forever.” > > `start_wait=None` means indefinite waiting only inside `initialize` (constructor passes `0` to `LDClient` so it does not block). `start_wait=0` means no waiting anywhere—`initialize` fails immediately unless the client is already ready, and later readiness is surfaced via provider events. Positive values are unchanged. > > Provider lifecycle updates track `ProviderStatus`, register data-source listeners before the readiness check, suppress duplicate events during initialization, and still emit `PROVIDER_READY` if the data source becomes valid after a failed init. README marks initialization fully supported; tests add `DelayedReadyDataSource` and cases for zero vs `None` and post-failure ready events. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 9dc4c47. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> [SDK-3285]: https://launchdarkly.atlassian.net/browse/SDK-3285?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ --------- Signed-off-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8bff7b3 - Browse repository at this point
Copy the full SHA 8bff7b3View commit details -
chore: bump minor rather than major for pre-1.0 breaking changes (#73)
Adds `bump-minor-pre-major: true` to the release-please config, matching the Ruby provider repo's configuration. **Why:** release-please's default versioning strategy escalates a breaking change to a major bump even below 1.0.0. The `fix!:` in #64 therefore retitled the open release PR #72 to **1.0.0** instead of **0.9.0**. Crossing to 1.0 should be a deliberate GA decision, not a side effect of a missing config flag. **Effect:** merging this PR triggers a release-please run, which will recompute #72 to 0.9.0 (a `Release-As: 0.9.0` override has also been added to #64's body as a belt-and-suspenders measure — both mechanisms agree). The changelog is unchanged and the release remains flagged as breaking. With this flag, pre-1.0 breaking changes bump the minor (0.x → 0.(x+1)) going forward. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Overview** > Adds **`bump-minor-pre-major`: true** to `release-please-config.json` so release-please treats breaking changes as **minor** bumps while the package is still below **1.0.0**, instead of jumping to **1.0.0** by default. > > This aligns versioning with the Ruby provider repo and keeps a deliberate **1.0.0** GA cut separate from conventional-commit breaking changes (e.g. retitling an in-flight release PR from **1.0.0** to **0.9.0** without changing the breaking changelog content). > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit ae994ba. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
Configuration menu - View commit details
-
Copy full SHA for 12a4288 - Browse repository at this point
Copy the full SHA 12a4288View commit details -
chore(main): release 0.9.0 (#72)
🤖 I have created a release *beep* *boop* --- ## [0.9.0](0.8.3...0.9.0) (2026-10-28) ### ⚠ BREAKING CHANGES * Use None rather than zero for indefinite initialization waiting ([#64](#64)) ### Bug Fixes * Use None rather than zero for indefinite initialization waiting ([#64](#64)) ([8bff7b3](8bff7b3)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Overview** > This **Release Please** PR cuts **0.9.0** by bumping the version everywhere it is published (`pyproject.toml`, `ld_openfeature/version.py`, Sphinx `docs/conf.py`, and `.release-please-manifest.json`) and adding the **0.9.0** section to `CHANGELOG.md`. > > The release notes call out a **breaking change** from [#64](#64): **`LaunchDarklyProvider`'s `start_wait` now uses `None` for indefinite initialization waiting**, not `0`. Callers who relied on `start_wait=0` to block until ready must pass **`None`** instead; **`0`** now means no wait in the constructor (same as documented for `LDClient`). > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 4ca60d1. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ebf6be5 - Browse repository at this point
Copy the full SHA ebf6be5View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 0.8.3...0.9.0