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.3 #1564

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps flipper from 0.16.2 to 0.28.3.

Changelog

Sourced from flipper's changelog.

0.28.3

  • 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

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|
    

... (truncated)

Commits
  • 3363e51 Release 0.28.3
  • 32b26d7 Update changelog
  • 41341b5 Remove sync interval from cloud config sync
  • 45ef4ab Avoid any possibility of sync writing back to remote
  • 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
  • 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

Looks like flipper is updatable in another way, so this is no longer needed.