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-ruby-server
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.1.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: launchdarkly/openfeature-ruby-server
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.2.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 10 commits
- 19 files changed
- 5 contributors
Commits on Aug 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0e109cd - Browse repository at this point
Copy the full SHA 0e109cdView commit details
Commits on Aug 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 85ee582 - Browse repository at this point
Copy the full SHA 85ee582View commit details
Commits on Feb 25, 2026
-
Configuration menu - View commit details
-
Copy full SHA for b87c555 - Browse repository at this point
Copy the full SHA b87c555View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63ffbbf - Browse repository at this point
Copy the full SHA 63ffbbfView commit details
Commits on Mar 13, 2026
-
feat: Update to 0.6.x openfeature-sdk. (#16)
**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** N/A — routine dependency update to ensure compatibility with the latest OpenFeature SDK and LaunchDarkly Server SDK. **Describe the solution you've provided** Updates the gemspec dependency constraints so the provider works with the latest releases of both SDKs: | Dependency | Before | After | Latest resolved | |---|---|---|---| | `launchdarkly-server-sdk` | `~> 8.4.0` (only 8.4.x) | `~> 8.4` (any 8.x ≥ 8.4) | 8.12.3 | | `openfeature-sdk` | `~> 0.4.0` (only 0.4.x) | `~> 0.6.0` (0.6.x) | 0.6.4 | Because `openfeature-sdk` 0.6.0 requires Ruby ≥ 3.4, the gem's `required_ruby_version` is also raised from `>= 3.1` to `>= 3.4`. The CI workflow is updated to match the new Ruby version floor: - Linux matrix: Ruby 3.1, 3.2 replaced with Ruby 3.4 - Windows job: Ruby 3.1 → 3.4 - JRuby 9.4 upgraded to JRuby 10.0 (10.0.x targets Ruby 3.4 compatibility) All 54 existing tests pass and rubocop is clean with the updated dependencies. No source code changes were required — the provider API surface used (`ResolutionDetails`, `Reason`, `ErrorCode`, `ProviderMetadata`) is unchanged between OF SDK 0.4.x and 0.6.x. End-to-end validation was also performed using the `hello-openfeature-ruby-server` app against a live LaunchDarkly environment. **Key items for review** 1. **Ruby version floor bump (3.1 → 3.4):** This is the most impactful change. It is required by `openfeature-sdk` 0.6.x and narrows the set of supported Ruby versions. 2. **JRuby 9.4 → 10.0:** JRuby 9.4 targets Ruby 3.1 and cannot satisfy `>= 3.4`. JRuby 10.0.x targets Ruby 3.4 and CI passes, but it is a relatively new release — worth a sanity check. 3. **OF SDK 0.5.0 breaking change skipped:** 0.5.0 removed `setProvider` timeout; this provider does not use that API, so no code changes needed, but worth a quick sanity check. 4. **No new tests added:** The existing test suite covers the provider interface adequately and passes against the new SDK versions. No behavioral changes are expected. **Describe alternatives you've considered** - Targeting `openfeature-sdk ~> 0.5.0` instead of `~> 0.6.0` to keep Ruby 3.1 support. This was rejected because the task requires compatibility with the *latest* OpenFeature SDK (0.6.4). **Additional context** [Devin session](https://app.devin.ai/sessions/12ec66b7d96541788de508df01607fa4) | Requested by @kinyoklion <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > Dependency and Ruby version floor bumps can introduce compatibility issues for consumers and CI coverage changes may miss regressions on older Rubies/JRuby variants. > > **Overview** > Updates the gem's runtime dependency constraints to allow newer `launchdarkly-server-sdk` 8.x (>= 8.4) and to require `openfeature-sdk` `~> 0.6.0`. > > Raises the minimum supported Ruby from `>= 3.1` to `>= 3.4` and aligns CI to test Ruby `3.4` (Linux/Windows) with JRuby updated to `jruby-10.0` (docs build still skipped on JRuby). > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 825d954. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 31e7222 - Browse repository at this point
Copy the full SHA 31e7222View commit details
Commits on Mar 30, 2026
-
chore: pin third-party GitHub Actions to commit SHAs (#18)
## Summary Pin all third-party GitHub Actions to full-length commit SHAs to prevent supply chain attacks. Addresses findings from the [`third-party-action-not-pinned-to-commit-sha`](https://github.com/launchdarkly/semgrep-rules/blob/main/github-actions/third-party-action-not-pinned-to-commit-sha.yml) Semgrep rule. ### Updates since initial revision - Version comments now use fully qualified version numbers (e.g. `# v4.4.0` instead of `# v4`) - `ruby/setup-ruby` bumped from v1.295.0 (`319994f...`) to **v1.299.0** (`3ff19f5e2baf30647122352b96108b1fbe250c64`), the latest v1 release - `googleapis/release-please-action` confirmed at **v4.4.0** (`16a9c90856f42705d54a6fda1823352bdc62cf38`), already the latest v4 release Release links for verification: - [ruby/setup-ruby v1.299.0](https://github.com/ruby/setup-ruby/releases/tag/v1.299.0) - [googleapis/release-please-action v4.4.0](https://github.com/googleapis/release-please-action/releases/tag/v4.4.0) ## Review & Testing Checklist for Human - [ ] Verify the pinned SHAs match the expected release tags using the release links above - [ ] Confirm CI passes with the updated `ruby/setup-ruby` v1.299.0 (bumped from v1.295.0) ### Notes - The `slsa-framework/slsa-github-generator` reference on line 61 of `release-please.yml` remains at `@v2.0.0` (floating tag) — this action [cannot be pinned to a commit SHA](launchdarkly/ruby-server-sdk#374 (comment)). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Low risk: changes only pin GitHub Action references to specific commits, with no functional logic changes beyond potential action version drift if the pinned SHAs differ from the floating tags. > > **Overview** > Pins third-party GitHub Actions to immutable commit SHAs to harden CI/release workflows against supply-chain tampering. > > Updates `ruby/setup-ruby@v1` usages (composite CI action, Windows CI job, and docs publish workflow) to a specific commit SHA, and similarly pins `googleapis/release-please-action@v4` in the release workflow to a specific `v4.4.0` commit. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 12e5cd3. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> Link to Devin session: https://app.devin.ai/sessions/56bd3c6eff084ef4802aaa48b08ebab6 Requested by: @kinyoklion --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: [email protected] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 84b7aca - Browse repository at this point
Copy the full SHA 84b7acaView commit details
Commits on Apr 1, 2026
-
ci: switch from SLSA provenance to actions/attest with subject-path (#19
) **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 N/A — CI-only changes, no application code or tests modified. **Related issues** Supports the org-wide migration to immutable GitHub releases. Once a release is published, it can no longer be modified, which breaks workflows that upload artifacts after release-please publishes the release. **Describe the solution you've provided** Since this repo only uses attestation (no binary/artifact uploads to the release), draft releases are **not** needed — `actions/attest@v4` stores attestations via GitHub's attestation API rather than as release assets. This PR makes the following changes: 1. **Replace SLSA with `actions/attest@v4` using `subject-path`** (both workflows): Removed the separate `release-provenance` job that used `slsa-framework/slsa-github-generator` (which uploaded `.intoto.jsonl` files as release assets via `upload-assets: true`) and replaced it with inline `actions/attest@v4` steps within the build job. Attestation uses `subject-path: 'launchdarkly-openfeature-server-sdk-*.gem'` to reference the built gem file directly on disk — no hash computation, base64 encoding, or checksums file needed. Added `attestations: write` permission. Removed `gem-hash` job output entirely. 2. **Removed hash plumbing from composite action** (`.github/actions/publish/action.yml`): Removed the `gem-hash` output and "Hash gem for provenance" step. These existed to produce base64-encoded checksums for the old SLSA generator and are no longer needed since `subject-path` lets `actions/attest@v4` read files directly from disk. 3. **Cleaned up orphaned declarations**: Removed the unused `tag` input from `manual-publish.yml` (was declared but never referenced by any step, with a stale "draft release" description). Removed orphaned `release-created` and `upload-tag-name` job outputs from `release-please.yml` — their sole consumer was the removed `release-provenance` job. 4. **`release-please-config.json`**: Reformatted `extra-files` array to multi-line — no functional changes. ### Why no draft releases? The old SLSA generator uploaded provenance files as release assets via `upload-assets: true`, which would fail under immutable releases. The new `actions/attest@v4` stores attestations in GitHub's attestation API instead — it does **not** modify the GitHub release. Since this repo has no other artifact uploads, release-please can publish directly without a draft→un-draft flow. Repos that upload actual binaries (e.g. ld-relay, cpp-sdks) still use draft releases. ### Updates since last revision - Removed unused `tag` input from `manual-publish.yml` and orphaned `release-created` / `upload-tag-name` outputs from `release-please.yml`. These were dead declarations left behind when the `release-provenance` job and draft-release machinery were removed. (Addresses Cursor Bugbot findings.) **Describe alternatives you've considered** - **Draft release pattern**: An earlier revision used draft releases with a `publish-release` job to un-draft after completion. This was simplified after determining that attestation-only repos don't need draft releases since `actions/attest@v4` doesn't modify the release. - **`subject-checksums`**: An intermediate revision decoded base64 hashes into a checksums file for `actions/attest`. This worked but was unnecessarily complex — the gem file is already on disk in the same job, so `subject-path` references it directly. **Additional context** Key review points: - [x] ~~**`tag` input is declared but unused**~~: Now resolved — the `tag` input was removed entirely. - [x] ~~**No `dry_run` guard on attestation in `manual-publish.yml`**~~: Now resolved — the attest step is gated on `!inputs.dry_run`. - [ ] **Glob pattern correctness**: Verify `subject-path: 'launchdarkly-openfeature-server-sdk-*.gem'` matches the gem produced by `gem build launchdarkly-openfeature-server-sdk.gemspec`. The publish action already uses the same pattern for `gem push`, so this should be consistent — but worth confirming. - [ ] **`releases_created` vs `release_created`**: In `release-please.yml`, the attestation step uses `steps.release.outputs.releases_created` (plural) while the original job-level output used `release_created` (singular). Both are valid release-please outputs but confirm they behave identically for this single-package repo. - [ ] **`contents: read` vs `contents: write`**: `manual-publish.yml` has `contents: read` while `release-please.yml` has `contents: write`. Verify `actions/attest@v4` does not require `contents: write`. - [ ] **Confirm `actions/attest@v4` meets compliance requirements**: This replaces `slsa-framework/slsa-github-generator`. Verify the attestation format is acceptable for your supply-chain security needs. Link to Devin session: https://app.devin.ai/sessions/7d5bda4d9dbe4ae0b950b30a50485e60 Requested by: @keelerm84
Configuration menu - View commit details
-
Copy full SHA for 59e7fd1 - Browse repository at this point
Copy the full SHA 59e7fd1View commit details
Commits on Apr 2, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 314f11e - Browse repository at this point
Copy the full SHA 314f11eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3adadfe - Browse repository at this point
Copy the full SHA 3adadfeView commit details -
chore(main): release 0.2.0 (#17)
🤖 I have created a release *beep* *boop* --- ## [0.2.0](0.1.0...0.2.0) (2026-04-02) ### Features * Update to 0.6.x openfeature-sdk. ([#16](#16)) ([31e7222](31e7222)) --- 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] > **Low Risk** > Low risk release bookkeeping only: updates version strings and release documentation without changing runtime behavior. > > **Overview** > Bumps the gem version from `0.1.0` to `0.2.0` across the release manifest and `lib/ldclient-openfeature/version.rb`. > > Updates release documentation by adding the `0.2.0` section to `CHANGELOG.md` and adjusting `PROVENANCE.md` examples to reference `0.2.0`. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit c5268a4. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=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 132afc2 - Browse repository at this point
Copy the full SHA 132afc2View 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.1.0...0.2.0