Skip to content

Releases: flippercloud/flipper

1.3.0

17 Apr 15:54
90372a0
Compare
Choose a tag to compare

Read more about Flipper 1.3.0 on The Friday Deploy

What's Changed

New Contributors

Sponsors

A big thanks to @PagerTree and @kdaigle for being monthly sponsors.
If your company uses Flipper, and Flipper Cloud is not a good fit, consider becoming a sponsor to invest in the software your business depends on and to help us make Flipper sustainable.

Full Changelog: v1.2.2...v1.3.0

1.2.2

29 Jan 18:21
dd54868
Compare
Choose a tag to compare

What's Changed

  • Fix issue where CLI would fail with uninitialized constant Flipper::CLI::IRB by @bkeepers in #824
  • Fix setup for RSpec by @bkeepers in #827

Full Changelog: v1.2.1...v1.2.2

v1.2.1

15 Jan 18:20
2c9386d
Compare
Choose a tag to compare

What's Changed

  • Check existence of RSpec.configure for test helpers by @pat in #816
  • Ensure Rspec uses new memory adapter for each example by @bkeepers in #819

New Contributors

  • @pat made their first contribution in #816

Full Changelog: v1.2.0...v1.2.1

1.2.0

11 Jan 18:51
374040f
Compare
Choose a tag to compare

Read more about the Flipper 1.2.0 release on The Friday Deploy

What's Changed

New Contributors

Full Changelog: v1.1.2...v1.2.0

1.1.2

12 Dec 14:37
727d3fb
Compare
Choose a tag to compare

Bug Fixes

  • Fix ActiveRecord adapter when table doesn't exist (#786).
  • Fix ActiveRecord adapter when using MySQL with expressions (#790)
  • Fix an error where the Rails integration in Flipper::Engine was not properly delegating a class method to the instance (#788)

Additions/Changes

  • Added $ rails generate flipper:update to generate necessary schema migrations (#787)

Full Changelog: v1.1.1...v1.1.2

1.1.1

12 Dec 14:14
Compare
Choose a tag to compare

Bug Fixes

  • Whoops! Anyone not using flipper-active_record would hit a missing require because of our fancy gemspecs (#785).

Full Changelog: v1.1.0...v1.1.1

1.1.0

08 Dec 20:37
9a40d46
Compare
Choose a tag to compare

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

1.0.0 - One Point Oh!

23 Aug 17:59
7439f4d
Compare
Choose a tag to compare

This release is more than just a version number. Read more about this release and the future of Flipper.

Additions/Changes

  • ui, api: Allow Rack 3 (#670)
  • cloud: The flipper-cloud gem has been merged into the flipper and no longer needs to be added separately. Configure cloud by setting the FLIPPER_CLOUD_TOKEN environment variable. (#743)
      # Gemfile
      gem 'flipper'
    - gem 'flipper-cloud'

Breaking Changes

  • Removed bool, actors, time, actor, percentage_of_actors, and percentage_of_time methods on Flipper and Flipper::DSL. They are rarely if ever used and conflict with some upcoming features. If you are using them, you can migrate via a search and replace like so:
    • Change Flipper.bool => Flipper::Types::Boolean.new
    • Change Flipper.boolean => Flipper::Types::Boolean.new
    • Change Flipper.actor => Flipper::Types::Actor.new
    • Change Flipper.percentage_of_actors => Flipper::Types::PercentageOfActors.new
    • Change Flipper.actors => Flipper::Types::PercentageOfActors.new
    • Change Flipper.percentage_of_time => Flipper::Types::PercentageOfTime.new
    • Change Flipper.time => Flipper::Types::PercentageOfTime.new

Become a Sponsor

If your company uses Flipper and wants to help us make it better, consider becoming a sponsor.