Releases: flippercloud/flipper
v1.3.1
What's Changed
- Remove redundant deletion of feature gate in Flipper::Adapters::ActiveRecord#set. by @khiet in #862
- Fix: Respect Rails defaults in an initializer by delaying loading ActiveRecord adapter until framework is loaded by @pbstriker38 in #832
- Address soft deprecation of
ActiveRecord::Base.connection
by @joshuay03 in #869 - Avoid active record poisoned transaction with postgres by @jnunemaker in #881
New Contributors
- @khiet made their first contribution in #862
- @joshuay03 made their first contribution in #869
Full Changelog: v1.3.0...v1.3.1
1.3.0
Read more about Flipper 1.3.0 on The Friday Deploy
What's Changed
- Add a default limit of 100 actors per feature. See docs to customize - by @bkeepers in #847
- UI: Update to use Bootstrap 5 by @bkeepers in #851
- UI: Replace breadcrumbs with configurable nav by @bkeepers in #853
- Add base class for wrapping another adapter by @bkeepers in #846
- Support Rack 3 by @danielmorrison in #828
- Cloud: Enable telemetry by default by @jnunemaker in #836
- Cloud: Add telemetry shutdown header by @jnunemaker in #850
- Cloud: Adjust minimum poll and sleep interval - by @jnunemaker in #841
- Add ActiveRecord validations to mirror table NOT NULL constraint by @tmaier in #859
- CLI: Use provided stdout/stderr streams by @bkeepers in #838
- API Perf - Features#get by @jnunemaker in #843
- Micro optimization for
#features
on ActiveRecord adapter by @bkeepers in #844 - Cache Improvements by @jnunemaker in #848
- Refactor shared adapter test by @bkeepers in #854
- Fix tests by @pbstriker38 in #833
- Fail specs if any output by @bkeepers in #834
New Contributors
- @danielmorrison made their first contribution in #828
- @pbstriker38 made their first contribution in #833
- @tmaier made their first contribution in #859
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
v1.2.1
1.2.0
Read more about the Flipper 1.2.0 release on The Friday Deploy
What's Changed
- UI: show badges for new releases and deprecations by @bkeepers in #791
- A new CLI by @bkeepers in #630
- Add
rails generate flipper:setup
to configure Flipper and Cloud by @bkeepers in #804 - Add compression to API by @jnunemaker in #794
- Add
flipper/test_help.rb
to automatically configure Flipper in tests/specs. by @bkeepers in #808 - Standardize Headers by @jnunemaker in #796
- Use Sanitize on actor_names by @bryszard in #810
- Use top level sequel to qualify table and column name by @jnunemaker in #802
- Relax moneta version by @jnunemaker in #803
- Add Ruby 3.3 to build matrix by @bkeepers in #799
- Fix: Define default_strict_value before it's called by @bedgerotto in #793
- Fix for setting
config.flipper.strict = true
by @bkeepers in #797 - Disable strict in tests for now by @bkeepers in #814
- Documentation misnomers by @dpep in #812
- Add confirmation dialog before disabling a flipper by @jmikhail in #813
New Contributors
- @bedgerotto made their first contribution in #793
- @bryszard made their first contribution in #810
- @jmikhail made their first contribution in #813
Full Changelog: v1.1.2...v1.2.0
1.1.2
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
1.1.0
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
- @RicardoTrindade made their first contribution in #745
- @jevin made their first contribution in #737
- @czj made their first contribution in #773
- @radar made their first contribution in #772
Full Changelog: v1.0.0...v1.1.0
1.0.0 - One Point Oh!
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 theflipper
and no longer needs to be added separately. Configure cloud by setting theFLIPPER_CLOUD_TOKEN
environment variable. (#743)# Gemfile gem 'flipper' - gem 'flipper-cloud'
Breaking Changes
- Removed
bool
,actors
,time
,actor
,percentage_of_actors
, andpercentage_of_time
methods onFlipper
andFlipper::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
- Change
Become a Sponsor
If your company uses Flipper and wants to help us make it better, consider becoming a sponsor.