Skip to content

Commit 29452a7

Browse files
committed
Update changelog for instrumenter change
1 parent b995c12 commit 29452a7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Changelog.md

+11
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
### Additions/Changes
44

55
* Added failsafe adapter (https://github.com/jnunemaker/flipper/pull/626)
6+
* Deprecate `instrumenter:` option everywhere in favor of global config. If you are manually configuring the instrumenter, you will need to update your configuration:
7+
```diff
8+
# config/initializers/flipper.rb
9+
Flipper.configure do |config|
10+
config.adapter do
11+
- Flipper::Adapters::Instrumented.new(my_adapter, instrumenter: MyInstrumenter)
12+
+ Flipper::Adapters::Instrumented.new(my_adapter)
13+
end
14+
+ config.instrumenter MyInstrumenter
15+
end
16+
```
617

718
## 0.24.1
819

0 commit comments

Comments
 (0)