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.
Security:
- Upgrade
certifito v2023.7.22 to resolve security vulnerability with the e-Tugra root SSL certificate (https://groups.google.com/a/mozilla.org/g/dev-security-policy/c/C-HrP1SEq1A has further details)
Changed:
- Test against
aws_xray_sdkrelease up to v2.12.0 - Test functionality in
AsyncContextinaws_xray_sdk, including fix in v2.10.0 - Upgrade
poetryto v1.5.1, and update development-time dependencies to use dependency groups.
Changed:
- Test support for python v3.11 and upgrade some dependencies. No code changes.
Changed:
- Removed explicit support for Python 3.6. Releases of
xraysinkare no longer tested against Python 3.6, and are not marked as compatible with Python 3.6 forpoetry/pip.
Changed:
- Fallback to "localhost" in middleware if the
Hostheader is not supplied. (h/t @mroswald)
Changed:
- Updated minimum supported Python version from v3.6.0 to v3.6.2. This was caused by updating the minimum versions of the libraries we test against.
Release was cancelled due to issues with CI and publishing. See v1.5.1 instead.
Fixed:
- Update test code to work with latest versions of everything.
Fixed:
KeyError: 'entities'when using customAsyncContext.
Changed:
@xray_task_async()can be used for functions that are started from within an existing X-Ray segment.
Added:
- Custom
AsyncContextclass as a drop-in replacement for the context fromaws_xray_sdkthat behaves incorrectly when creating an asyncio task.
Changed:
@xray_task_async()can be used to decorate methods and classmethods.@xray_task_async()can set the path component of the synthetic URL.
Added:
set_xray_log_group()process-level configuration function (non-async).
Changed:
- Handle
remote-addrheader as source of client IP for middleware.
Added:
@xray_task_async()decorator for starting a traced background task.