zooniverse / caesar

Backend automation and orchestration
https://zooniverse.github.io/caesar
Apache License 2.0
13 stars 13 forks source link

Bump flipper from 0.16.2 to 0.28.2 #1563

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps flipper from 0.16.2 to 0.28.2.

Changelog

Sourced from flipper's changelog.

0.28.2

0.28.1

Additions/Changes

0.28.0

Additions/Changes

  • 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.
    - [user, user.team, user.org].any? { |actor| Flipper.enabled?(:my_feature, actor) }
    + Flipper.enabled?(:my_feature, user, user.team, user.org)
    
  • 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|
    -   payload[:thing]
    +   payload[:actors]
    end
    

0.27.1

... (truncated)

Commits
  • aef3275 Release v0.28.2
  • ac7c459 UI: fix path to bundled assets when mapped to a prefix
  • a3cc493 Prepare for 0.28.1
  • 9d9a6cd Update changelog
  • 8a6b5c9 Merge pull request #736 from natematykiewicz/logger_performance
  • b6625ed Improve performance of color_name function in log subscriber
  • 4e31057 Merge pull request #731 from dhruvCW/bundle_bootstrap_poppler
  • 50dafc1 Update Changelog.md
  • e9d98a7 Merge pull request #726 from piperswe/rails-7.1-hash-bold
  • fc323eb remove remote source from CSP.
  • Additional commits viewable in compare view


Dependabot compatibility score

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)
dependabot[bot] commented 1 year ago

Superseded by #1564.