Skip to content

1.1.0

Compare
Choose a tag to compare
@bkeepers bkeepers released this 08 Dec 20:37
· 277 commits to main since this release
9a40d46

Flipper 1.1.0 - a "minor" update with a bunch of improvements and a couple fun surprises!

Read more about the Flipper 1.1.0 release on The Friday Deploy

Additions/Changes

  • Better read-only mode for UI (#772).
  • Allow configuring preload via a block similar to memoize (#771).
    Rails.application.configure do
      # don't preload features for /assets/* but do for everything else
      config.flipper.preload = ->(request) { !request.path.start_with?('/assets') }
    end
  • Added strict configuration to warn when accessing a feature that doesn't exist (#760, #763)
    Rails.application.configure do
      # Setting to `true` or `:raise` will raise error when a feature doesn't exist.
      # Use `:warn` to log a warning instead.
      config.flipper.strict = !Rails.env.production?
    end
  • Handle deprecation of Rack::File in Rack 3.1 (#773).
  • Human readable actor names in flipper-ui (#737).
  • Expressions are now available and considered "alpha". They are not yet documented, but you can see examples in examples/expressions.rb. Those using the flipper-active_record adapter will want to migrate the database so it can store JSON expressions (#692)
    $ rails generate migration change_flipper_gates_value_to_text
    
    change_column :flipper_gates, :value, :text
  • Allow head requests to api (#759)
  • Cloud Telemetry alpha (#775).
  • Easier statsd setup (#779).
    # You can now just do this in your configure block and it'll require the files and configure the client.
    Flipper.configure do |conf|
      conf.statsd = my_client
    end
  • Load cloud secrets from Rails credentials (#782)
    $ rails credentials:edit
    flipper:
      cloud_token: <your-cloud-token>
      cloud_sync_secret: <your-webhook-secret>

New Contributors

Full Changelog: v1.0.0...v1.1.0