Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Update dependency django-cors-headers to v4 #394

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 15, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
django-cors-headers (changelog) ==3.14.0 -> ==4.6.0 age adoption passing confidence

Release Notes

adamchainz/django-cors-headers (django-cors-headers)

v4.6.0

Compare Source

  • Drop Django 3.2 to 4.1 support.

v4.5.0

Compare Source

  • Drop Python 3.8 support.

  • Support Python 3.13.

v4.4.0

Compare Source

  • Support Django 5.1.

v4.3.1

Compare Source

  • Fixed ASGI compatibility on Python 3.12.

    Thanks to Adrian Capitanu for the report in Issue #&#8203;908 <https://github.com/adamchainz/django-cors-headers/issues/908>__ and Rooyal in PR #&#8203;911 <https://github.com/adamchainz/django-cors-headers/pull/911>__.

v4.3.0

Compare Source

  • Avoid adding the access-control-allow-credentials header to unallowed responses.

    Thanks to Adam Romanek in PR #&#8203;888 <https://github.com/adamchainz/django-cors-headers/pull/888>__.

  • Support Django 5.0.

v4.2.0

Compare Source

  • Drop Python 3.7 support.

v4.1.0

Compare Source

  • Support Python 3.12.

v4.0.0

Compare Source

  • Add CORS_ALLOW_PRIVATE_NETWORK setting, which enables support for the Local Network Access draft specification.

    Thanks to Issac Kelly in PR #&#8203;745 <https://github.com/adamchainz/django-cors-headers/pull/745>__ and jjurgens0 in PR #&#8203;833 <https://github.com/adamchainz/django-cors-headers/pull/833>__.

  • Remove three headers from the default "accept list": accept-encoding, dnt, and origin.
    These are Forbidden header names <https://developer.mozilla.org/en-US/docs/Glossary/Forbidden_header_name>__, which means requests JavaScript can never set them.
    Consequently, allowing them via CORS has no effect.

    Thanks to jub0bs for the report in Issue #&#8203;842 <https://github.com/adamchainz/django-cors-headers/issues/842>__.

  • Drop the CORS_REPLACE_HTTPS_REFERER setting and CorsPostCsrfMiddleware.
    Since Django 1.9, the CSRF_TRUSTED_ORIGINS setting has been the preferred solution to making CSRF checks pass for CORS requests.
    The removed setting and middleware only existed as a workaround for Django versions before 1.9.

  • Add async support to the middleware, reducing overhead on async views.


Configuration

📅 Schedule: Branch creation - "before 9am,after 3pm on monday through thursday,after 3am on saturday,on sunday" in timezone Europe/Oslo, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/django-cors-headers-4.x branch from 0b3be7b to 06b0e1d Compare June 17, 2023 13:45
@renovate renovate bot force-pushed the renovate/django-cors-headers-4.x branch 2 times, most recently from ce2cd0a to d646ae1 Compare July 14, 2023 22:54
@renovate renovate bot force-pushed the renovate/django-cors-headers-4.x branch 2 times, most recently from 422dfa8 to 2790831 Compare September 14, 2023 03:13
@renovate renovate bot force-pushed the renovate/django-cors-headers-4.x branch from 2790831 to 7ed7cf7 Compare September 20, 2023 19:19
@renovate renovate bot force-pushed the renovate/django-cors-headers-4.x branch 2 times, most recently from 5f25d6f to 5cbae5d Compare October 21, 2023 04:06
@renovate renovate bot force-pushed the renovate/django-cors-headers-4.x branch from 5cbae5d to f5b8045 Compare October 26, 2023 22:11
@renovate renovate bot force-pushed the renovate/django-cors-headers-4.x branch 2 times, most recently from acdc2c9 to 800b0ea Compare November 17, 2023 18:02
@renovate renovate bot force-pushed the renovate/django-cors-headers-4.x branch from 800b0ea to 1a54273 Compare November 24, 2023 01:37
@renovate renovate bot force-pushed the renovate/django-cors-headers-4.x branch 2 times, most recently from 592bfd3 to 9dbc349 Compare December 15, 2023 10:13
@renovate renovate bot force-pushed the renovate/django-cors-headers-4.x branch from 9dbc349 to 46c42da Compare December 26, 2023 03:23
@renovate renovate bot force-pushed the renovate/django-cors-headers-4.x branch from 46c42da to 47860ec Compare June 22, 2024 18:33
@renovate renovate bot force-pushed the renovate/django-cors-headers-4.x branch from 47860ec to 0f05db0 Compare October 15, 2024 09:45
@renovate renovate bot force-pushed the renovate/django-cors-headers-4.x branch from 0f05db0 to 6eb85c8 Compare November 1, 2024 13:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants