Commit 4f2d191
fix: relax openfeature-sdk version constraint in Optimizely provider (#133)
## Summary
The Optimizely provider's gemspec currently constrains `openfeature-sdk`
to `~> 0.4.0`, which translates to `>= 0.4.0, < 0.5.0`. However, the
`openfeature-sdk` gem is now at version **0.6.4**, making the Optimizely
provider unusable with current SDK versions.
This PR relaxes the constraint to `>= 0.4.0, < 1.0`, allowing
compatibility with all pre-1.0 releases of the SDK while still guarding
against potential breaking changes in a 1.0 release.
## Changes
-
**`providers/openfeature-optimizely-provider/openfeature-optimizely-provider.gemspec`**:
Changed `spec.add_runtime_dependency "openfeature-sdk", "~> 0.4.0"` to
`spec.add_runtime_dependency "openfeature-sdk", ">= 0.4.0", "< 1.0"`
*🤖 Jose's AI agent*
---------
Signed-off-by: Jose Colella <jose.colella@gusto.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 705e43c commit 4f2d191
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- providers/openfeature-optimizely-provider
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments