-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SDKS-7830] flag sets #44
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
2.0.0 (Dec XX, 2023) | ||
- Updated @splitsoftware/splitio-browserjs package to version 0.13.0 | ||
- Updated the minimum Angular version to match Angular's support up to date. Breaking change version is regarding the Angular minimum version update, there are no breaking changes to Split's plugin API or functionality itself. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would check other CHANGES.txt files if there is a format for breaking change, something like: |
||
- Added support for Flag Sets on the SDK, which enables grouping feature flags and interacting with the group rather than individually (more details in our documentation): | ||
- Added new variations of the get treatment methods to support evaluating flags in given flag set/s. | ||
- getTreatmentsByFlagSet and getTreatmentsByFlagSets | ||
- getTreatmentsWithConfigByFlagSets and getTreatmentsWithConfigByFlagSets | ||
- Added a new optional Split Filter configuration option. This allows the SDK and Split services to only synchronize the flags in the specified flag sets, avoiding unused or unwanted flags from being synced on the SDK instance, bringing all the benefits from a reduced payload. | ||
- Added `sets` property to the `SplitView` object returned by the `split` and `splits` methods of the SDK manager to expose flag sets on flag views. | ||
- Added `defaultTreatment` property to the `SplitView` object returned by the `split` and `splits` methods of the SDK manager (Related to issue https://github.com/splitio/javascript-commons/issues/225). | ||
|
||
1.0.2 (May 16, 2023) | ||
- Updated terminology on the SDKs codebase to be more aligned with current standard without causing a breaking change. The core change is the term split for feature flag on things like logs and JSDocs tags. | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,20 +3,22 @@ export const mockedFeatureFlagView = [ | |
'changeNumber': 0, | ||
'configs': {}, | ||
'killed': false, | ||
'name': | ||
'test_split', | ||
'name': 'test_split', | ||
'trafficType': 'localhost', | ||
'treatments': ['on'] | ||
'treatments': ['on'], | ||
'defaultTreatment': 'control', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is just a mock, but |
||
'sets': [] | ||
}, | ||
{ | ||
'changeNumber': 0, | ||
'configs': { | ||
'off': '{"bannerText":"Click here."}' | ||
}, | ||
'killed': false, | ||
'name': | ||
'test_split2', | ||
'name': 'test_split2', | ||
'trafficType': 'localhost', | ||
'treatments': ['off'] | ||
'treatments': ['off'], | ||
'defaultTreatment': 'control', | ||
'sets': [] | ||
} | ||
]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't forget to add an item for flag sets (either here or in a different PR). Also other updates like
defaultTreatment
in SplitView, etc.