django-cors-headers breaking changes
django-cors-headers 4.0.0 (May 12, 2023) is its newest release with breaking changes, 6 of them. The first: Removed corsheaders.conf.Settings.CORS_REPLACE_HTTPS_REFERER. Every breaking API change we have recorded in django-cors-headers on PyPI: 6 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.9.0, released September 18, 2025.
Packages on PyPI run on Python. Python end of life dates.
django-cors-headers 4.0.0 breaking changes
- Removed
corsheaders.conf.Settings.CORS_REPLACE_HTTPS_REFERER
The setting was removed; use the CSRF_TRUSTED_ORIGINS Django setting instead to make CSRF checks pass for CORS requests. pypi.org - Removed
corsheaders.middleware.CorsMiddleware.process_request
CorsMiddleware.process_request was removed in django-cors-headers 4.0.0 pypi.org - Removed
corsheaders.middleware.CorsMiddleware.process_response
CorsMiddleware.process_response was removed in django-cors-headers 4.0.0 pypi.org - Removed
corsheaders.middleware.CorsMiddleware.process_view
CorsMiddleware.process_view was removed in django-cors-headers 4.0.0 pypi.org - Removed
corsheaders.middleware.CorsPostCsrfMiddleware
The middleware was removed; use the CSRF_TRUSTED_ORIGINS Django setting instead to make CSRF checks pass for CORS requests. pypi.org - Signature changed
corsheaders.middleware.CorsMiddleware
Was class CorsMiddleware(MiddlewareMixin); now class CorsMiddleware. 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.