Updated cloud config to ensure that poll adapter ONLY syncs from cloud to local adapter (and never back to cloud). Shouldn't affect anyone other than making things more safe if an incorrect response is received from the cloud poll endpoint. (jnunemaker/flipper#740)
0.28.2
Additions/Changes
UI: fix path to bundled assets when mounted in another Rack app (jnunemaker/flipper#742)
Allow multiple actors for Flipper.enabled?. Improves performance of feature flags for multiple actors and simplifies code for users of flipper. This likely breaks things for anyone using Flipper internal classes related to actors, but that isn't likely you so you should be fine.
If you currently use actor.thing in a group, you'll need to change it to actor.actor.
- Flipper.register(:our_group) do |actor|
- actor.thing.is_a?(OurClassName)
- end
+ Flipper.register(:our_group) do |actor|
+ actor.actor.is_a?(OurClassName)
+ end
If you currently use context.thing in a group or elsewhere, you'll need to change it to context.actors.
- Flipper.register(:our_group) do |actor, context|
- context.thing.is_a?(OurClassName)
- end
+ Flipper.register(:our_group) do |actor, context|
+ context.actors.any? { |actor| actor.is_a?(OurClassName) }
+ end
Deprecations
:thing in enabled? instrumentation payload. Use :actors instead.
ActiveSupport::Notifications.subscribe('enabled?.feature_operation.flipper') do |name, start, finish, id, payload|
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps flipper from 0.16.2 to 0.28.3.
Changelog
Sourced from flipper's changelog.
... (truncated)
Commits
3363e51
Release 0.28.332b26d7
Update changelog41341b5
Remove sync interval from cloud config sync45ef4ab
Avoid any possibility of sync writing back to remoteaef3275
Release v0.28.2ac7c459
UI: fix path to bundled assets when mapped to a prefixa3cc493
Prepare for 0.28.19d9a6cd
Update changelog8a6b5c9
Merge pull request #736 from natematykiewicz/logger_performanceb6625ed
Improve performance ofcolor_name
function in log subscriberDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)