---
title: "asgi-correlation-id 5.0.0 Breaking Changes on PyPI"
description: "What each asgi-correlation-id release removed, renamed or changed: 22 breaking changes in 3 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/asgi-correlation-id
last_updated: 2026-12-04
---

# 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

Latest version `5.0.1`, released June 9, 2026. [Source repository](https://github.com/snok/asgi-correlation-id)

Its 5.0.0 release requires [Python 3.10](https://since.dev/calendar/python/3.10.md) or later. [Python end of life dates](https://since.dev/calendar/python.md).

- From [4.0.0](#v-4-0-0) to [5.0.0](#v-5-0-0): 10 breaking changes in 1 version.
- From [3.0.0](#v-3-0-0) to [5.0.0](#v-5-0-0): 14 breaking changes in 2 versions.

## asgi-correlation-id 5.0.0 breaking changes

asgi-correlation-id 5.0.0, released May 31, 2026: 10 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](https://github.com/snok/asgi-correlation-id/releases/tag/v5.0.0)
- **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](https://github.com/snok/asgi-correlation-id/releases/tag/v5.0.0)
- **Removed** `asgi_correlation_id.celery_current_id`  

asgi_correlation_id.celery_current_id was removed in asgi-correlation-id 5.0.0 [pypi.org](https://pypi.org/project/asgi-correlation-id/5.0.0/)
- **Removed** `asgi_correlation_id.celery_parent_id`  

asgi_correlation_id.celery_parent_id was removed in asgi-correlation-id 5.0.0 [pypi.org](https://pypi.org/project/asgi-correlation-id/5.0.0/)
- **Removed** `asgi_correlation_id.CeleryTracingIdsFilter`  

asgi_correlation_id.CeleryTracingIdsFilter was removed in asgi-correlation-id 5.0.0 [pypi.org](https://pypi.org/project/asgi-correlation-id/5.0.0/)
- **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](https://pypi.org/project/asgi-correlation-id/5.0.0/)
- **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](https://pypi.org/project/asgi-correlation-id/5.0.0/)
- **Removed** `asgi_correlation_id.extensions.celery`  

asgi_correlation_id.extensions.celery was removed in asgi-correlation-id 5.0.0 [pypi.org](https://pypi.org/project/asgi-correlation-id/5.0.0/)
- **Removed** `asgi_correlation_id.log_filters.CeleryTracingIdsFilter`  

asgi_correlation_id.log_filters.CeleryTracingIdsFilter was removed in asgi-correlation-id 5.0.0 [pypi.org](https://pypi.org/project/asgi-correlation-id/5.0.0/)
- **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](https://github.com/snok/asgi-correlation-id/releases/tag/v5.0.0)

## asgi-correlation-id 4.0.0 breaking changes

asgi-correlation-id 4.0.0, released February 23, 2023: 4 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](https://github.com/snok/asgi-correlation-id/releases/tag/v4.0.0)
- **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](https://github.com/snok/asgi-correlation-id/releases/tag/v4.0.0)
- **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](https://pypi.org/project/asgi-correlation-id/4.0.0/)
- **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](https://pypi.org/project/asgi-correlation-id/4.0.0/)

## asgi-correlation-id 3.0.0 breaking changes

asgi-correlation-id 3.0.0, released May 18, 2022: 8 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](https://pypi.org/project/asgi-correlation-id/3.0.0/)
- **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](https://pypi.org/project/asgi-correlation-id/3.0.0/)
- **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](https://github.com/snok/asgi-correlation-id/releases/tag/v3.0.0)
- **Renamed** `asgi_correlation_id.middleware.is_valid_uuid`  

Use asgi_correlation_id.middleware.is_valid_uuid4 instead. [pypi.org](https://pypi.org/project/asgi-correlation-id/3.0.0/)
- **Behavior changed**  

A warning logger message was reworded, which could break log filters or monitoring dashboards that match its text. [github.com](https://github.com/snok/asgi-correlation-id/releases/tag/v3.0.0)
- **Configuration changed**  

The middleware settings were reworked, so existing middleware configuration may need to be updated. [github.com](https://github.com/snok/asgi-correlation-id/releases/tag/v3.0.0)
- **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](https://pypi.org/project/asgi-correlation-id/3.0.0/)
- **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](https://pypi.org/project/asgi-correlation-id/3.0.0/)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
