Breaking Changes:
- Drop Flutter 2 support
Features:
- Support transient identities and traits
Other:
- Integrate
flagsmith_core
andflagsmith_storage_sharedpreferences
- Minor unit test improvements
- Change the base url to https://edge.api.flagsmith.com/api/v1/
- Realtime flags
- trait/value: Add support for int,float, bool and string
- Upgrade flagsmith_core
- Upgrade dio
- Github Workflows improvements
- Upgrade rxdart dependency
- Only call analytics if there are feature evaluations to track
- Expose
reload
option on all methods for retrieving flag information for a user - Fix
updateTraits
method following move to edge (which deprecated/traits/bulk/
endpoint)
- Update default URL to Edge API.
- Refactor to rely on https://github.com/Flagsmith/flagsmith-flutter-core
Features:
- new function getCachedFeatureFlagValue
- adding analytics test, refac. of api request
Fixes:
- cancel timer on close
- reloading of caches
Features:
Fixes:
- adding support for flutter web with pana score
- storage was moved to the separate package
- flagsmith_core is a new package with models and storage implementation
- persistent storage is available as custom package flagsmith_storage_sharedpreferences
Fixes:
- removing isolate
Fixes:
- adding support for flutter web
Breaking Changes:
- removing async update from constructor (anti-pattern)
- removing FlagsmithException(type) and replacing with
- FlagsmithApiException
- FlagsmithConfigException
- FlagsmithFormatException
- FlagsmithException
Features:
- response conversion in isolate
- adding json_serializable dependency
- support for
- fixing InMemoryStorage return values instead of exceptions
- fixing update caches
- fixing name conversion
- adding missing tests
- first official null-safety release of Flagsmith SDK for Flutter
- expose Dio client
FlagsmithClient.client
- remove reliance on
type
attribute of feature - minor fixes to example app
- FeatureUser replaced by Identity model
- new Trait function for create / bulk
- fixing example app
- init version of nullsafety version
- remove reliance on type attribute of feature
- minor fixes to example app
- minor update
Bullet train client is Flagsmith
- rebranding to Flagsmith
isDebug
logs exceptions to console with prefix Flagsmith:.
Client:
- adding
client.loading
stream [loading] [loaded] for detection api request state - adding
FlagsmithClient({ bool update = false})
for update from api directly after init - adding async init
FlagsmithClient.init({FlagsmithConfig config = const FlagsmithConfig(),@required String apiKey,List<Flag> seeds,bool update = false})
- adding
Flag.seed(String featureName, {bool enabled, String value})
Config:
- adding
caches
with default valuefalse
- adding caches to client and new
bool hasCachedFeatureFlag(String featureName, {FeatureUser user})
- fix getFeatureFlagValue
- replace imports for using models in integration tests
- fixing seed function
- extending default values for timeouts
- adding new attr to config
isSelfSigned
for overriding self-signed cert issues
- adding support for streams from storage
- breaking change in storing values
- implementing equatable
- config: new isDebug attr for toggle logging to console
- rxdart range
- minor fixes
- securing storages
- change persistent storage
- changing config attributes for storage
- minor fixes
- added missing initial value field in Feature
- dependency package
- path as a parameter in Persistent storage
- removed freezed from library
- removed dio logging interceptor
- removed builder
- fixing persistent storage
- full page example
- switch to pedantic
- Reading from InMemoryStorage
- Added persistent storage
- Handling errors with custom Exception
- fixing freezed issue
- Reading from InMemoryStorage
- Added persistent storage
- Handling errors with custom Exception
- fixing freezed issue
- Fixing readme
- Fixing dartfm
- Fixing control_flow_in_finally
- Fixing flutter web support
- Updated readme
- Added unit tests
- Fixed user and traits
- TODO: Describe the initial release.