Releases: growthbook/growthbook-flutter
3.8.0
Desription
StickyBucketAssignments is a Flutter package designed to manage sticky bucket assignments efficiently in your Growthbook experiments. It provides a set of utility functions to retrieve and process sticky bucket assignments based on various attributes and conditions.
-
Features:
- Retrieve sticky bucket assignments based on experiment attributes.
- Handle fallback attributes and hash attributes gracefully.
- Safely manage null values and prevent errors.
-
Usage:
The package exposes a static method getStickyBucketAssignments()
that takes in the necessary parameters such as context, experiment attributes, and attribute overrides. It returns a map containing the sticky bucket assignments, allowing you to seamlessly integrate Growthbook experiments into your Flutter application.
3.7.0
Merge pull request #11 from growthbook/feature/remote-eval
This release prioritizes remote evaluation, focusing on optimizing the retrieval process of sticky bucket assignments, enhancing error handling mechanisms, and introducing new features to provide greater flexibility in assignment management.
3.6.0
Desription
-
Version 3.6.0+0
- the onInitializationFailure callback. This callback allows users to define custom behavior in case of initialization failure, providing greater flexibility and control over the initialization process.
-
In version 3.5.0+0
-
Generating Padded Version Strings: This feature enhances version string generation by padding version numbers with zeros, ensuring consistent formatting and easier comparison.
-
Extension StringComparison: The addition of StringComparison extension facilitates lexicographic comparison of strings, offering a more convenient and expressive way to handle string comparisons.
-
Sticky Bucket Logic: Introducing sticky bucket logic improves performance and efficiency in bucket-based operations, enhancing the overall reliability and robustness of the application.
-
3.4.0
SSE
We're excited to announce a new feature in our application: Background Sync via SSE Connection. This enhancement ensures a seamless, continuous data synchronization experience for users through Server-Sent Events (SSE) technology
3.3.0
Desription
-
Cache Manager
- The application now includes a cache manager that optimizes performance by caching frequently accessed data from the GrowthBook SDK.
- This cache manager reduces network requests and speeds up data retrieval, resulting in a smoother user experience.
- Cached data is automatically refreshed when new data is available, ensuring that the application always uses the latest information.
-
Refresh Handler
- A refresh handler has been implemented to listen for updates to feature flag data from the GrowthBook SDK.
- When the refresh handler detects new updates, it triggers a data refresh to keep the application up-to-date with the latest feature flag values.
- This handler ensures that changes in feature flags are quickly reflected in the application, allowing for real-time adaptability.
3.2.0
3.1.0
Description:
This release (v3.1.0) of Growthbook Flutter brings several updates and enhancements aimed at improving functionality and user experience. Below is a summary of the key changes included in this version:
-
v0.2.1
- Incorporated Test Case for Null HashAttribute:
- Introduced a new test case to handle scenarios where an experiment's hashAttribute is null, ensuring comprehensive coverage of potential conditions
- Enforced a new test case to manage instances where an experiment's coverage is set to 0, ensuring robust handling of edge cases.
- Add featureId to ExperimentResult Object:
- ExperimentResult object by incorporating featureId, enriching the dataset for improved analysis and tracking capabilities.
- sse client
- added support streaming update
- prepareFeaturesData optimization
- attribute and hashVersion nullable at GBFilter
- Add test case for when an experiment's hashAttribute is null
-
v0.2.2
- Add test case for when an experiment's hashAttribute is an integer
-
v0.2.3
- Implemented Test Case for Zero Coverage
- Add test case for when an experiment's coverage is set to 0
-
v0.4.0
- New hashVersion, ranges, meta, filters, seed, name, and phase properties of Experiments
-
v0.4.1
- hash function now returns null instead of -1 when an invalid hashVersion is specified
-
v0.4.2
- Add test cases when targeting condition value is null
- added decrypt function and set of test cases
-
v0.5.0
- Add support for new version string comparison operators ($veq, $vne, $vgt, $vgte, $vlt, $vlte) and new paddedVersionString helper function
- New isIn helper function for conditions, plus new evalCondition test cases for $in and $nin operators when attribute is an array
-
v0.5.1
- Add 2 new test cases for matching on a $groups array attribute
-
v0.5.2
- Add 3 new test cases for comparison operators to handle more edge cases
- setEncryptedFeatures method
- Integrated CI/CD functionality, enhancing security and automation in the development pipeline