asgi-correlation-id breaking changes
asgi-correlation-id 5.0.0 (May 31, 2026) is its newest release with breaking changes, 10 of them. The first: asgi-correlation-id 5.0.0 requires Python 3.10 or later. Every breaking API change we have recorded in asgi-correlation-id on PyPI: 22 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 5.0.1, released June 9, 2026. Source repository
Its 5.0.0 release requires Python 3.10 or later. Python end of life dates.
- From 4.0.0 to 5.0.0: 10 breaking changes in 1 version.
- From 3.0.0 to 5.0.0: 14 breaking changes in 2 versions.
asgi-correlation-id 5.0.0 breaking changes
- Removed
Python versions older than 3.10 are no longer supported. Users on those versions must upgrade Python before using this release. github.com - Removed
The Celery extension and all related public API were removed. Users relying on it must follow the README instructions for integrating with Celery. github.com - Removed
asgi_correlation_id.celery_current_id
asgi_correlation_id.celery_current_id was removed in asgi-correlation-id 5.0.0 pypi.org - Removed
asgi_correlation_id.celery_parent_id
asgi_correlation_id.celery_parent_id was removed in asgi-correlation-id 5.0.0 pypi.org - Removed
asgi_correlation_id.CeleryTracingIdsFilter
asgi_correlation_id.CeleryTracingIdsFilter was removed in asgi-correlation-id 5.0.0 pypi.org - Removed
asgi_correlation_id.context.celery_current_id
asgi_correlation_id.context.celery_current_id was removed in asgi-correlation-id 5.0.0 pypi.org - Removed
asgi_correlation_id.context.celery_parent_id
asgi_correlation_id.context.celery_parent_id was removed in asgi-correlation-id 5.0.0 pypi.org - Removed
asgi_correlation_id.extensions.celery
asgi_correlation_id.extensions.celery was removed in asgi-correlation-id 5.0.0 pypi.org - Removed
asgi_correlation_id.log_filters.CeleryTracingIdsFilter
asgi_correlation_id.log_filters.CeleryTracingIdsFilter was removed in asgi-correlation-id 5.0.0 pypi.org - Behavior changed
The default validator was loosened to accept any parseable UUID-format string, including nginx request IDs and OpenTelemetry trace IDs. Users relying on strict UUID v4 validation must pass a custom validator to restore the old behavior. github.com
asgi-correlation-id 4.0.0 breaking changes
- Removed
Access-Control-Expose-Headers
The package no longer adds the Access-Control-Expose-Headers header to outgoing responses. If your app needs it, reconfigure your CORS middleware as described in the README's CORS section. github.com - Default changed
update_request_header
update_request_header now defaults to True instead of False. Pass update_request_header=False explicitly if you want the previous behavior. github.com - Signature changed
asgi_correlation_id.CorrelationIdMiddleware.__init__
Was def __init__(self, app: ASGIApp, header_name: str = 'X-Request-ID', update_request_header: bool = False, generator: Callable[[], str] = lambda: uuid4().hex, validator: Optional[Callable[[str], bool]] = is_valid_uuid4, transformer... pypi.org - Signature changed
asgi_correlation_id.middleware.CorrelationIdMiddleware.__init__
Was def __init__(self, app: ASGIApp, header_name: str = 'X-Request-ID', update_request_header: bool = False, generator: Callable[[], str] = lambda: uuid4().hex, validator: Optional[Callable[[str], bool]] = is_valid_uuid4, transformer... pypi.org
asgi-correlation-id 3.0.0 breaking changes
- Removed
asgi_correlation_id.CorrelationIdMiddleware.validate_header_as_uuid
CorrelationIdMiddleware.validate_header_as_uuid was removed in asgi-correlation-id 3.0.0 pypi.org - Removed
asgi_correlation_id.middleware.CorrelationIdMiddleware.validate_header_as_uuid
CorrelationIdMiddleware.validate_header_as_uuid was removed in asgi-correlation-id 3.0.0 pypi.org - Removed
validate_header_as_uuid
The validate_header_as_uuid argument was removed. Users with validate_header_as_uuid=False should pass validator=None instead, and otherwise remove the argument. github.com - Renamed
asgi_correlation_id.middleware.is_valid_uuid
Use asgi_correlation_id.middleware.is_valid_uuid4 instead. pypi.org - Behavior changed
A warning logger message was reworded, which could break log filters or monitoring dashboards that match its text. github.com - Configuration changed
The middleware settings were reworked, so existing middleware configuration may need to be updated. github.com - Signature changed
asgi_correlation_id.CorrelationIdMiddleware.__init__
Was def __init__(self, app: ASGIApp, header_name: str = 'X-Request-ID', validate_header_as_uuid: bool = True) -> None; now def __init__(self, app: ASGIApp, header_name: str = 'X-Request-ID', generator: Callable[[], str] = lambda... pypi.org - Signature changed
asgi_correlation_id.middleware.CorrelationIdMiddleware.__init__
Was def __init__(self, app: ASGIApp, header_name: str = 'X-Request-ID', validate_header_as_uuid: bool = True) -> None; now def __init__(self, app: ASGIApp, header_name: str = 'X-Request-ID', generator: Callable[[], str] = lambda... pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.