Here at Optimizely, we have been working hard to start 2022 with significant upgrades to our QA experience and security. We are proud to announce the release of new API methods for our Full Stack SDKs and some critical security upgrades for Python. Thank you for reading this month’s release notes, and we are excited to see all the new places and faces 2022 will bring us!
Forced Decision Methods
We’ve recently rolled out a set of new APIs for our Full Stack SDKs that will make overriding and managing user-level flags, experiments, and delivery rules even more straightforward.
These new methods extend our OptimizelyUserContext object, which previously allowed you to make flag decisions and flag events for a specific user. Now we’ve taken things up a notch!
The new methods allow you to do the following:
- setForcedDecision—Forces a user into a specific variation
- getForcedDecision—Returns the variation the user is forced into
- removeForcedDecision—Removes a user from a particular variation
- removeAllForcedDecisions—Removes a user from all forced variations
Using these “Forced Decision” methods makes it even easier to set up automated testing and QA by forcing certain User IDs into specific variations regardless of audience conditions and previously configured traffic allocations.
For more detailed information, please click on the SDK you are interested in to view the developer documentation on the Forced Decision methods:
- Android SDK
- C# SDK
- Go SDK
- Java SDK
- PHP SDK
- React SDK
- React Native SDK
- Ruby SDK
- Python SDK
- Swift SDK
Vulnerability and Python Support Upgrades
As part of Optimizely’s regular security updates and modernization of the Full Stack product, we will no longer officially support older versions of Python. These older versions do not provide secure libraries needed for the Optimizely Python SDK. For example, Python version 3.4 support has ended due to a known security vulnerability in the PyYAML library.
Optimizely supports the following versions:
- Python 3.7
- Python 3.8
- Python 3.9
- Python 3.10 and above
Developer Documentation UI Updates
Last month’s release notes announced that we are working on exciting UI changes to our developer and end-user documentation. If you visited our docs recently, you might have noticed some updates, including a completely new UI redesign. We’re happy to report that these changes are going well and will be fully released soon.
If you have any questions or feedback, feel free to email us at email@example.com! Keep on optimizing!