Skip to content

chore: prepare for 4.1.0 release #391

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

Merged
merged 2 commits into from
Jul 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Optimizely Python SDK Changelog

## 4.1.0
July 7th, 2022

### Bug Fixes
* Fix invalid datafile returned from `ProjectConfig.to_datafile` and `OptimizelyConfig.get_datafile` ([#321](https://github.com/optimizely/python-sdk/pull/321), [#384](https://github.com/optimizely/python-sdk/pull/384))

## 4.0.0
January 12th, 2022

Expand All @@ -22,10 +28,10 @@ January 12th, 2022
September 16th, 2021

### New Features
* Added new public properties to OptimizelyConfig.
* Added new public properties to OptimizelyConfig.
- sdk_key and environment_key [#338] (https://github.com/optimizely/python-sdk/pull/338)
- attributes and events [#339] (https://github.com/optimizely/python-sdk/pull/339)
- experiment_rules, delivery_rules, audiences and audiences in OptimizelyExperiment
- experiment_rules, delivery_rules, audiences and audiences in OptimizelyExperiment
- [#342] (https://github.com/optimizely/python-sdk/pull/342)
- [#351] (https://github.com/optimizely/python-sdk/pull/351/files)
* For details please refer to our documentation page:
Expand Down Expand Up @@ -150,7 +156,7 @@ October 28th, 2019
* To configure event batching, set the `batch_size` and `flush_interval` properties when initializing instance of [BatchEventProcessor](https://github.com/optimizely/python-sdk/blob/3.3.x/optimizely/event/event_processor.py#L45).
* Event batching is disabled by default. You can pass in instance of `BatchEventProcessor` when creating `Optimizely` instance to enable event batching.
* Users can subscribe to `LogEvent` notification to be notified of whenever a payload consisting of a batch of user events is handed off to the event dispatcher to send to Optimizely's backend.
* Introduced blocking timeout in `PollingConfigManager`. By default, calls to `get_config` will block for maximum of 10 seconds until config is available.
* Introduced blocking timeout in `PollingConfigManager`. By default, calls to `get_config` will block for maximum of 10 seconds until config is available.

### Bug Fixes:
* Fixed incorrect log message when numeric metric is not used. ([#217](https://github.com/optimizely/python-sdk/pull/217))
Expand Down
4 changes: 2 additions & 2 deletions optimizely/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2016-2020, Optimizely
# Copyright 2016-2020, 2022, Optimizely
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
Expand All @@ -11,5 +11,5 @@
# See the License for the specific language governing permissions and
# limitations under the License.

version_info = (4, 0, 0)
version_info = (4, 1, 0)
__version__ = '.'.join(str(v) for v in version_info)