openbikesensor / portal

OpenBikeSensor data collection portal
GNU Lesser General Public License v3.0
37 stars 17 forks source link

Update sanic-cors requirement from ~=2.0.1 to ~=2.2.0 in /api #326

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

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)
  • See full diff 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)
sonarcloud[bot] commented 1 year ago

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
0.0% 0.0% Duplication

dependabot[bot] commented 1 year ago

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.

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