Skip to content

Commit 6a3c582

Browse files
committed
update changelog
1 parent 0a933c0 commit 6a3c582

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
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+
129
# 3.1.2 - 06/02/2024
230

331
- Bug fixes on Troubleshooting and Developer Usage hits

0 commit comments

Comments
 (0)