Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions openfeature-provider/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## openfeature/v0.2.0
Comment thread
greptile-apps[bot] marked this conversation as resolved.
Outdated

- Dispatch on `SelectedVariant#fallback_reason` so `MISSING_CONTEXT_KEY`,
`NO_ROLLOUT_MATCH`, and `BACKEND_ERROR` map to distinct OpenFeature
responses instead of every fallback collapsing to `FLAG_NOT_FOUND`.
Requires `mixpanel-ruby >= 3.3.0`.

## [openfeature/v0.1.0](https://github.com/mixpanel/mixpanel-ruby/tree/openfeature/v0.1.0) (2026-05-13)

Initial release of the Mixpanel OpenFeature provider for Ruby.
2 changes: 1 addition & 1 deletion openfeature-provider/lib/mixpanel/openfeature/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Mixpanel
module OpenFeature
VERSION = '0.1.0'
VERSION = '0.2.0'
end
end
9 changes: 8 additions & 1 deletion openfeature-provider/mixpanel-ruby-openfeature.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,14 @@ Gem::Specification.new do |spec|
spec.require_paths = ['lib']

spec.add_runtime_dependency 'openfeature-sdk', '~> 0.5'
spec.add_runtime_dependency 'mixpanel-ruby', '~> 3.1'
# SDK-126: pinned to `~> 3.3` because the wrapper's provider.rb calls
# `SelectedVariant#fallback_reason`, which was introduced in the
# SDK-79 merge and will ship in the next mixpanel-ruby release
# (3.3.0). Any earlier 3.x release lacks that method and would raise
# NoMethodError on every evaluation. Do NOT loosen this constraint
# unless the mixpanel-ruby version being permitted also exposes
# fallback_reason.
spec.add_runtime_dependency 'mixpanel-ruby', '~> 3.3'

spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'simplecov'
Expand Down
Loading