- Made it possible to proxy script names with combined extensions
- Drop support for Python 3.7.
- Make it possible to call send_custom_event() with explicit remote_addr.
- Make it possible to render the {% plausible %} templatetag without the request object, when PLAUSIBLE_DOMAIN is set in settings. Thanks @hendi for the report. Ref #7.
- Added support for Python 3.11.
- Set timeout for upstream requests and added PLAUSIBLE_REQUEST_TIMEOUT settings option to override it. Thanks @yoshson for the contribution. PR #5.
- Added PLAUSIBLE_SCRIPT_PREFIX to make it possible override default location of the proxy script (
js/script.js
->${PLAUSIBLE_SCRIPT_PREFIX}/script.js
). Thanks @aareman for the suggestion. Ref #2.
- Added PLAUSIBLE_BASE_URL settings option to make it possible to use the project with self-hosted Plausible installations. The default value is https://plausible.io (use the cloud version.) Thanks @aareman for the contribution. PR #1.
- Made PLAUSIBLE_DOMAIN settings optional. If the value is not set, the domain name is taken from the request.
- Added more tests.
- Fixed app config
- Fixed project metadata
- First release on PyPI.