Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Oct 7, 2022

Updates the requirements on sanic-cors to permit the latest version.

Release notes

Sourced from sanic-cors's releases.

Compat release for Sanic v22.9.0

Quick fix for new middleware-registry behaviour on Sanic v22.9.0, fixes #64 Vary 'Origin' header will be added to any existing Vary string on response, fixes #62

Changelog

Sourced from sanic-cors's changelog.

2.2.0

  • Quick dirty fix for new middleware-registry behaviour on sanic v22.9.0, fixes #64
  • Vary 'Origin' header will be added to any existing Vary string on response, fixes #62

2.2.0b1

  • Quick dirty fix for new middleware-registry behaviour on sanic v22.9.0

2.1.0

  • Fix compatibility with Sanic-EXT v22.6.0+
  • Replace deprecated setuptools/distutils dependency with packaging

2.0.1

  • Fix constructor of CORSErrorHandler, to remove 22.6 deprecation warning. Fixes #57

2.0.0

  • Big changes for Sanic v21.12.0
  • Remove the use of Sanic-Plugin-Toolkit.
    • This plugin is simple enough that it doesn't need it
    • Sanic-Plugin-Toolkit has issues with compatibility in Sanic v21.12.0+
  • Add ability to use sanic-cors as a Sanic-Ext extension (experimental for now...)

1.0.1

  • Fix exception handler compatibility with Sanic v21.9.0
  • Bump min SPTK version requirement to v1.2.0

1.0.0

  • Replace Sanic-Plugins-Framework (SPF) with Sanic-Plugin-Toolkit (SPTK)
  • Remove python 3.6 compatibility
  • Remove Pre-Sanic-21.3 compatibility
  • If you need to use sanic <= 21.3, use the Sanic-CORS v0.10 branch

0.10.0.post3

  • Fixes another issue introduced with Sanic 19.12, where automatic_options cannot work when the router is run before the Sanic-CORS middleware

0.10.0.post2

  • Fixes the issue where the sanic asyncio server write_error routine cannot use an async Exception handler.
  • Fixes #38 (again)

0.10.0.post1

  • Fixed the errors seen in Sanic 19.12+ where the CORS exception handler could be triggered before the request context for a given request is created.
  • If on Sanic 19.9+ fallback to using the request.ctx object when request_context is not available
  • Fixes #41

0.10.0

  • Fixed catch LookupError when request context doesn't exist
  • Release 0.10.0

0.10.0.b1

... (truncated)

Commits
  • e0a7ab1 Quick dirty fix for new middleware-registry behaviour on sanic v22.9.0, fixes...
  • 1418fb3 Quick fix for new middleware finalization behaviour on sanic v22.9+
  • 6a2a330 Fix compatibility with sanic-ext >= 22.6.0 (fixes #63)
  • 618a0dd remove fallback arg from error handler. fixes #57
  • a8d4fb1 Compatibility with Sanic v21.12, remove usage of Sanic-Plugin-Toolkit
  • 2d4f40b Merge pull request #54 from tirkarthi/fix-assert
  • 536f859 Use assertEqual instead of assertEquals for Python 3.11 compatibility.
  • 8f58715 Fix compat with Sanic v21.9.0+
  • 0c51057 - Replace Sanic-Plugins-Framework (SPF) with Sanic-Plugin-Toolkit (SPTK)
  • dbb65f0 typo in last commit
  • Additional commits viewable in compare view

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)

Updates the requirements on [sanic-cors](https://github.com/ashleysommer/sanic-cors) to permit the latest version.
- [Release notes](https://github.com/ashleysommer/sanic-cors/releases)
- [Changelog](https://github.com/ashleysommer/sanic-cors/blob/master/CHANGELOG.md)
- [Commits](ashleysommer/sanic-cors@0.10.0...2.2.0)

---
updated-dependencies:
- dependency-name: sanic-cors
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Oct 7, 2022

The following labels could not be found: dependabot.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 7, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant