github flippercloud/flipper v1.1.0
1.1.0

latest releases: v1.3.1, v1.3.0, v1.3.0.pre...
11 months ago

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>

Don't miss a new flipper release

NewReleases is sending notifications on new releases.