Releases: Unleash/unleash-python-sdk
Releases Β· Unleash/unleash-python-sdk
v3.5.1
v3.5.0
- (Major) Stop using the
default_valueargument in theis_enabled()method (as it can cause counter-intuitive behavior) and add deprecation warning. This argument will be removed in the next major version upgrade!- We recommend using the
fallback_functionargument instead. If you need a blanket True in case of an exception, you can pass in a lambda like:lambda x, y: True.
- We recommend using the
- (Minor) Add better logging for API errors.
- (Minor) Update requests version to v2.25.0.
v3.4.2
- (Minor) Move CI to Github Actions, add auto-publishing.
v3.4.1
- (Minor) Move CI to Github Actions, add auto-publishing.
v3.4.0
Bugfixes
- (Major) Fallback function will only be called if exception (feature flag not found, general exception) occurs when calling
is_enabled(). It will not be called on successful execution of the method.
v3.3.0
General
- (Major) Add support for variants on feature toggles.
Bugfixes
- (Minor) Fixed issue with applying custom constraints to non-standard parameters in context.
v3.2.0
General
- (Major) Allow users to supply a fallback function to customize the default value of a feature flag.
v3.1.1
Bugfixes
- Custom constraints check should check for values in the
propertiessub-property in the context as specified by Unleash context documentation.
v3.1.0
General
- (Minor) Add official-ish support for Python 3.8.
v3.0.0
- (Major) Support constraints on all default strategies.
- This is a breaking change! To update your custom strategy, please checkout the custom strategy migration guide.
- (Major) Added flexibleRollout strategy.