File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change
1
+ # 4.0.0 - 10/08/2024
2
+ ### Changed
3
+ - The ` Flag getFlag<T>(String key) ` is the new signature for the getFlag method .
4
+ - The ` func value<T>(defaultValue:T?,visitorExposed: Bool = true)->T? ` is the new signature for flag.value() method .
5
+ - Signature ` newVisitor ` method builder changed to ` VisitorBuilder newVisitor({required String visitorId, required bool hasConsented, Instance instanceType = Instance.SINGLE_INSTANCE}) ` .
6
+ - ` hasConsented ` parameter is mandatory on visitor creation instance.
7
+ - Enum SDK status ` FSSdkStatus ` has replaced ` FStatus ` .
8
+ - ` withStatusListener ` renamed to ` onSdkStatusChanged ` .
9
+
10
+ ** For further information, see [ migration] ( https://docs.developers.flagship.io/docs/flutter-migration-to-4x ) code.**
11
+
12
+ ### Added
13
+ - Flag status
14
+ - Visitor status
15
+ - ` getFlags() ` new method to get all flags in one collection as ` FSFlagCollection `
16
+ - ` FlagCollection ` is a collection of flag ` Map<String, Flag> `
17
+ ** For further information, see [ 4.0.0] ( https://docs.developers.flagship.io/docs/flutter-reference ) reference.**
18
+
19
+ ### Removed
20
+ Deprecated methods:
21
+ ```
22
+ - synchronizeModifications
23
+ - getModification
24
+ - getModificationInfo
25
+ - activateModification
26
+ - userExposed
27
+ ```
28
+
1
29
# 3.1.2 - 06/02/2024
2
30
3
31
- Bug fixes on Troubleshooting and Developer Usage hits
You can’t perform that action at this time.
0 commit comments