Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump django-cors-headers from 3.14.0 to 4.0.0 in /requirements #13133

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 15, 2023

Bumps django-cors-headers from 3.14.0 to 4.0.0.

Changelog

Sourced from django-cors-headers's changelog.

4.0.0 (2023-05-12)

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

    Thanks to Issac Kelly in PR [#745](https://github.com/adamchainz/django-cors-headers/issues/745) <https://github.com/adamchainz/django-cors-headers/pull/745>__ and jjurgens0 in PR [#833](https://github.com/adamchainz/django-cors-headers/issues/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 [#842](https://github.com/adamchainz/django-cors-headers/issues/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.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [django-cors-headers](https://github.com/adamchainz/django-cors-headers) from 3.14.0 to 4.0.0.
- [Changelog](https://github.com/adamchainz/django-cors-headers/blob/main/CHANGELOG.rst)
- [Commits](adamchainz/django-cors-headers@3.14.0...4.0.0)

---
updated-dependencies:
- dependency-name: django-cors-headers
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added Backend Server stuff yo dependencies Pull requests that update a dependency file labels May 15, 2023
stevejalim added a commit to stevejalim/bedrock that referenced this pull request May 17, 2023
Resolves mozilla#13150 - Bump boto3 from 1.26.123 to 1.26.135 in /requirements
Resolves mozilla#13152 - Bump sentry-sdk from 1.21.1 to 1.23.0 in /requirements
Resolves mozilla#13135 - Bump pygithub from 1.58.1 to 1.58.2 in /requirements
Resolves mozilla#13133 - Bump django-cors-headers from 3.14.0 to 4.0.0 in /requirements
Resolves mozilla#13099 - Bump sphinx from 6.2.0 to 6.2.1 in /requirements
Resolves mozilla#13097 - Bump requests from 2.29.0 to 2.30.0 in /requirements
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 17, 2023

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

1 similar comment
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 17, 2023

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/requirements/django-cors-headers-4.0.0 branch May 17, 2023 14:16
stevejalim added a commit to reemhamz/bedrock that referenced this pull request May 18, 2023
Resolves mozilla#13150 - Bump boto3 from 1.26.123 to 1.26.135 in /requirements
Resolves mozilla#13152 - Bump sentry-sdk from 1.21.1 to 1.23.0 in /requirements
Resolves mozilla#13135 - Bump pygithub from 1.58.1 to 1.58.2 in /requirements
Resolves mozilla#13133 - Bump django-cors-headers from 3.14.0 to 4.0.0 in /requirements
Resolves mozilla#13099 - Bump sphinx from 6.2.0 to 6.2.1 in /requirements
Resolves mozilla#13097 - Bump requests from 2.29.0 to 2.30.0 in /requirements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Server stuff yo dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants