Closed kp-cat closed 1 year ago
Base: 99.56% // Head: 99.50% // Decreases project coverage by -0.06%
:warning:
Coverage data is based on head (
54b9290
) compared to base (9b09bf4
). Patch coverage: 99.76% of modified lines in pull request are covered.:exclamation: Current head 54b9290 differs from pull request most recent head 717f126. Consider uploading reports for the commit 717f126 to get more accurate results
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
SonarCloud Quality Gate failed.
0 Bugs
0 Vulnerabilities
0 Security Hotspots
20 Code Smells
No Coverage information
4.3% Duplication
Describe the purpose of your pull request
Added
set_default_user(user)
/clear_default_user()
methods to set / remove a default user object used when there's no user passed toget_value()
/get_all_values()
/get_variation_id()
/get_all_variation_ids()
methods.set_offline()
/set_online()
methods to indicate whether the SDK is allowed to make HTTP calls or not. In 'offline' mode the SDK works from the cache only.on_ready()
/on_config_changed()
/on_flag_evaluated()
/on_error()
hooks. Subscription is possible on client initialization options and on thehooks
property ofConfigCatClient
.get_value_details()
method to retrieve evaluation details along with the feature flag / setting value. It returns the same details that is passed toon_flag_evaluated()
on each evaluation.get_all_value_details()
methodChanged
force_refresh()
method now returns with a result object to indicate whether the refresh succeeded or not.create_client()
functions are deprecated. Create the ConfigCat Client as a Singleton object withConfigCatClient.get()
instead.ConfigService
for config fetching.get_variation_id()
andget_all_variation_ids()
methods in favor ofget_value_details()
andget_all_value_details()
.Requirement checklist (only if applicable)