- Fix require in flipper-active_record (flippercloud#437)
- Allow shorthand block notation on group types (flippercloud#406)
- Relax active record/support constraints to support Rails 6 (flippercloud#409)
- Allow disabling fun (flippercloud#413)
- Include thing_value in payload of Instrumented#enable and #disable (flippercloud#417)
- Replace Erubis with Erubi (flippercloud#407)
- Allow customizing Rack::Protection middleware list (flippercloud#385)
- Allow setting write_timeout for ruby 2.6+ (flippercloud#433)
- Drop support for Ruby 2.1, 2.2, and 2.3 (https://github.com/jnunemaker/flipper/commit/cf58982e70de5e6963b018ceced4f36a275f5b5d)
- Add support for Ruby 2.6 (https://github.com/jnunemaker/flipper/commit/57888311449ec81184d3d47ba9ae5cb1ad4a2f45)
- Remove support for Rails 3.2 (https://github.com/jnunemaker/flipper/commit/177c48c4edf51d4e411e7c673e30e06d1c66fb40)
- Add write_timeout for flipper http adapter for ruby 2.6+ (flippercloud#433)
- Relax moneta version to allow for < 1.2 (flippercloud#434).
- Improve active record idempotency (flippercloud#436).
- Allow customizing add actor placeholder text (https://github.com/jnunemaker/flipper/commit/5faa1e9cf66b68f8227d2f8408fb448a14676c45)
- Bump rollout redis dependency to < 5 (flippercloud#403)
- Bump redis dependency to < 5 (flippercloud#401)
- Bump sequel dependency to < 6 (flippercloud#399 and https://github.com/jnunemaker/flipper/commit/edc767e69b4ce8daead9801f38e0e8bf6b238765)
- Add actors API endpoint (flippercloud#372).
- Fix rack body proxy require for those using flipper without rack (flippercloud#376).
- Unescapes feature_name in FeatureNameFromRoute (flippercloud#377).
- Replace delete_all with destroy_all in ActiveRecord adapter (flippercloud#395)
- Target correct bootstrap breakpoints in flipper UI (flippercloud#396)
- Support slashes in feature names (flippercloud#362).
- Re-order gates for improved performance in some cases (flippercloud#370).
- Add Feature#exist?, DSL#exist? and Flipper#exist? (flippercloud#371).
- Move Flipper::UI configuration options to Flipper::UI::Configuration (flippercloud#345).
- Bug fix in adapter synchronizing and switched DSL#import to use Synchronizer (flippercloud#347).
- Fix AR adapter table name prefix/suffix bug (flippercloud#350).
- Allow feature names to end with "features" in UI (flippercloud#353).
- Changed sync_interval to be seconds instead of milliseconds.
- Update PStore adapter to allow setting thread_safe option (flippercloud#334).
- Update Flipper::UI to Bootstrap 4 (flippercloud#336).
- Add Flipper::UI configuration to add a banner with customizeable text and background color (flippercloud#337).
- Add sync adapter (flippercloud#341).
- Make cloud use sync adapter (flippercloud#342). This makes local flipper operations resilient to cloud failures.
- Improvements/fixes/examples for rollout adapter (flippercloud#332).
- Added rollout adapter documentation (flippercloud#328).
- Fixed ActiveRecord and Sequel adapters to include disabled features for
get_all
(flippercloud#327).
- Added Flipper.instance= writer method for explicitly setting the default instance (flippercloud#309).
- Added Flipper::UI configuration instance for changing text and things (flippercloud#306).
- Delegate memoize= and memoizing? for Flipper and Flipper::DSL (flippercloud#310).
- Fixed error when enabling the same group or actor more than once (flippercloud#313).
- Fixed redis cache adapter key (and thus cache misses) (flippercloud#325).
- Added Rollout adapter to make it easy to import rollout data into Flipper (flippercloud#319).
- Relaxed redis gem dependency constraint to allow redis-rb 4 (flippercloud#317).
- Added configuration option for Flipper::UI to disable feature removal (flippercloud#322).
- Set flipper from env for API and UI (flippercloud#223 and flippercloud#229). It is documented, but now the memoizing middleware requires that the SetupEnv middleware is used first, unless you are configuring a Flipper default instance.
- Drop support for Ruby 2.0 as it is end of lined (https://github.com/jnunemaker/flipper/commit/c2c81ed89938155ce91acb5173ac38580f630e3d).
- Allow unregistered groups (flippercloud#244). Only break in compatibility is that previously unregistered groups could not be enabled and now they can be.
- Removed support for metriks (flippercloud#291).
- Use primary keys with sequel adapter (flippercloud#210). Should be backwards compatible, but if you want it to work this way you will need to migrate your database to the new schema.
- Add redis cache adapter (flippercloud#211).
- Finish API and HTTP adapter that speaks to API.
- Add flipper cloud adapter (flippercloud#249). Nothing to see here yet, but good stuff soon. ;)
- Add importing (flippercloud#251).
- Added Adapter#get_all to allow for more efficient preload_all (flippercloud#255).
- Added :unless option to Flipper::Middleware::Memoizer to allow skipping memoization and preloading for certain requests.
- Made it possible to instrument Flipper::Cloud (https://github.com/jnunemaker/flipper/commit/4b10e4d807772202f63881f5e2c00d11ac58481f).
- Made it possible to wrap Http adapter when using Flipper::Cloud (https://github.com/jnunemaker/flipper/commit/4b10e4d807772202f63881f5e2c00d11ac58481f).
- Instrument get_multi in instrumented adapter (https://github.com/jnunemaker/flipper/commit/951d25c5ce07d3b56b0b2337adf5f6bcbe4050e7).
- Allow instrumenting Flipper::Cloud http adapter (flippercloud#253).
- Add DSL#preload_all and Adapter#get_all to allow for making even more efficient loading of features (flippercloud#255).
- Allow setting debug output of http adapter (flippercloud#256 and flippercloud#258).
- Allow setting env key for middleware (flippercloud#259).
- Added ActiveSupport cache store adapter for use with Rails.cache (flippercloud#265 and flippercloud#297).
- Added support for up to 3 decimal places in percentage based rollouts (flippercloud#274).
- Removed Flipper::GroupNotRegistered error as it is now unused (flippercloud#270).
- Added get_all to all adapters (flippercloud#298).
- Added support for Rails 5.1 (flippercloud#299).
- Added Flipper default instance generation (flippercloud#279).
- Add Adapter#get_multi to allow for efficient loading of more than one feature at a time (flippercloud#198)
- Add DSL#preload for efficiently loading several features at once using get_mutli (flippercloud#198)
- Add :preload and :preload_all options to memoizer as a way of efficiently loading several features for a request in one network call instead of N where N is the number of features checked (flippercloud#198)
- Strip whitespace out of feature/actor/group values posted by UI (flippercloud#205)
- Fix bug with dalli adapter where deleting a feature using the UI or API was not clearing the cache in the dalli adapter which meant the feature would continue to use whatever cached enabled state was present until the TTL was hit (1cd96f6)
- Change cache keys for dalli adapter. Backwards compatible in that it will just repopulate new keys on first check with this version, but old keys are not expired, so if you used the default ttl of 0, you'll have to expire them on your own. The primary reason for the change was safer namespacing of the cache keys to avoid collisions.
- Add docker compose support for contributing
- Add sequel adapter
- Show confirmation dialog when deleting a feature in flipper-ui
- Added feature check context (flippercloud#158)
- Do not use mass assignment for active record adapter (flippercloud#171)
- Several documentation improvements
- Make Flipper::UI.app.inspect return a String (flippercloud#176)
- changes boolean gate route to api/v1/features/boolean (flippercloud#175)
- add api v1 percentage_of_actors endpoint (flippercloud#179)
- add api v1 percentage_of_time endpoint (flippercloud#180)
- add api v1 actors gate endpoint (flippercloud#181)
- wait for activesupport to tell us when active record is loaded for active record adapter (flippercloud#192)
- GET /api/v1/features
- POST /api/v1/features - add feature endpoint
- rack-protection 2.0.0 support
- pretty rake output
- bump flipper-active_record to officially support rails 5
- Moves SharedAdapterTests module to Flipper::Test::SharedAdapterTests to avoid clobbering anything top level in apps that use Flipper
- Memoizable, Instrumented and OperationLogger now delegate any missing methods to the original adapter. This was lost with the removal of the official decorator in 0.8, but is actually useful functionality for these "wrapping" adapters.
- Instrumenting adapters is now off by default. Use Flipper::Adapters::Instrumented.new(adapter) to instrument adapters and maintain the old functionality.
- Added dalli cache adapter (flippercloud#132)
- removed Flipper::Decorator and Flipper::Adapters::Decorator in favor of just calling methods on wrapped adapter
- fix bug where certain versions of AR left off quotes for key column which caused issues with MySQL flippercloud#120
- fix bug where AR would store multiple gate values for percentage gates for each enable/disable and then nondeterministically pick one on read (flippercloud#122 and flippercloud#124)
- added readonly adapter (flippercloud#111)
- flipper groups now match for truthy values rather than explicitly only true (flippercloud#110)
- removed gate operation instrumentation (https://github.com/jnunemaker/flipper/commit/32f14ed1fb25c64961b23c6be3dc6773143a06c8); I don't think it was useful and never found myself instrumenting it in reality
- initial implementation of flipper api - very limited functionality right now (get/delete feature, boolean gate for feature) but more is on the way
- made it easy to remove a feature (flippercloud#126)
- add minitest shared tests for adapters that work the same as the shared specs for rspec (flippercloud#127)
- support for rails 5 beta/ rack 2 alpha
- fix uninitialized constant in rails generators
- fix adapter test for clear to ensure that feature is not deleted, only gates
- Add missing migration file to gemspec for flipper-active_record
- Add Flipper ActiveRecord adapter
- Add Flipper::UI.application_breadcrumb_href for setting breadcrumb back to original app from Flipper UI
- Fix bug where features with names that match static file routes were incorrectly routing to the file action (flippercloud#80)
- Added Flipper.groups and Flipper.group_names
- Changed percentage_of_random to percentage_of_time
- Added enable/disable convenience methods for all gates (enable_group, enable_actor, enable_percentage_of_actors, enable_percentage_of_time)
- Added value convenience methods (boolean_value, groups_value, actors_value, etc.)
- Added Feature#gate_values for getting typecast adapter gate values
- Added Feature#enabled_gates and #disabled_gates for getting the gates that are enabled/disabled for the feature
- Remove Feature#description
- Added Flipper::Adapters::PStore
- Moved memoizable decorator to instance variable storage from class level thread local stuff. Now not thread safe, but we can make a thread safe version later.
UI
- Totally new. Works like a charm.
Mongo
- Updated to latest driver (~> 2.0)
- Minor bug fixes
- Added Flipper.group_exists?
- Added statsd support for instrumentation.
- No longer use #id for detecting actors. You must now define #flipper_id on anything that you would like to behave as an actor.
- Strings are now used instead of Integers for Actor identifiers. More flexible and the only reason I used Integers was to do modulo for percentage of actors. Since percentage of actors now uses hashing, integer is no longer needed.
- Easy integration of instrumentation with AS::Notifications or anything similar.
- A bunch of stuff around inspecting and getting names/descriptions out of things to more easily figure out what is going on.
- Percentage of actors hash is now also seeded with feature name so the same actors don't get all features instantly.