All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.6 - 2021-10-27
0.5 - 2021-09-30
0.4 - 2021-07-20
- Rewritten the docs in the readme for improved clarity.
0.3.1 - 2021-07-08
- API endpoints no longer give CSRF errors when authenticated users visit an A/B testing page
- Fixed incorrect cookie name causing wrong variant to be served to participants
0.3 - 2021-07-08
- Support for Wagtail 2.13, and Django 3.2
- Add a HTTPS redirect in Cloudflare worker
- The tracking code has been moved into JavaScript to reduce the number of false-positives caused by bots
- The Cloudflare worker has been massively simplified
Following the installation guide, add the new URL pattern into your urls.py
(note this is a separate URL to the one used by the old Cloudflare worker).
And add the tracking script HTML tag to your base template
Before deploying the update to 0.3, you must first update the code to match the latest version in the readme. Note that your A/B tests will temporarily stop working, but this shouldn't have any other impact on your site. They should start working again once you've deployed 0.3.
Remove the following URL pattern from your urls.py
(note this is not the same pattern we added in the previous step!):
url(r'^abtestingapi/', include(ab_testing_api)),
And the following setting is no longer required, remove it if you have it in your settings:
WAGTAIL_AB_TESTING = {
'MODE': 'external',
}