klen / py-frameworks-bench

Another benchmark for some python frameworks
https://klen.github.io/py-frameworks-bench/
MIT License
709 stars 85 forks source link

build(deps): bump sanic from 21.3.4 to 21.6.0 in /frameworks #80

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 3 years ago

Bumps sanic from 21.3.4 to 21.6.0.

Release notes

Sourced from sanic's releases.

Version 21.6.0

Features

  • #2094 Add response.eof() method for closing a stream in a handler
  • #2097 Allow case-insensitive HTTP Upgrade header
  • #2104 Explicit usage of CIMultiDict getters
  • #2109 Consistent use of error loggers
  • #2114 New client_ip access of connection info instance
  • #2119 Alternatate classes on instantiation for Config and Sanic.ctx
  • #2133 Implement new version of AST router
    • Proper differentiation between alpha and string param types
    • Adds a slug param type, example: <foo:slug>
    • Deprecates <foo:string> in favor of <foo:str>
    • Deprecates <foo:number> in favor of <foo:float>
    • Adds a route.uri accessor
  • #2136 CLI improvements with new optional params
  • #2137 Add version_prefix to URL builders
  • #2140 Event autoregistration with EVENT_AUTOREGISTER
  • #2146, #2147 Require stricter names on Sanic() and Blueprint()
  • #2150 Infinitely reusable and nestable Blueprint and BlueprintGroup
  • #2154 Upgrade websockets dependency to min version
  • #2155 Allow for maximum header sizes to be increased: REQUEST_MAX_HEADER_SIZE
  • #2157 Allow app factory pattern in CLI
  • #2165 Change HTTP methods to enums
  • #2167 Allow auto-reloading on additional directories
  • #2168 Add simple HTTP server to CLI
  • #2170 Additional methods for attaching HTTPMethodView

Bugfixes

  • #2091 Fix UserWarning in ASGI mode for missing __slots__
  • #2099 Fix static request handler logging exception on 404
  • #2110 Fix request.args.pop removes parameters inconsistently
  • #2107 Fix type hinting for load_env
  • #2127 Make sure ASGI ws subprotocols is a list
  • #2128 Fix issue where Blueprint exception handlers do not consistently route to proper handler

Deprecations and Removals

  • #2156 Remove config value REQUEST_BUFFER_QUEUE_SIZE
  • #2170 CompositionView deprecated and marked for removal in 21.12
  • #2172 Deprecate StreamingHTTPResponse

Developer infrastructure

  • #2149 Remove Travis CI in favor of GitHub Actions

Improved Documentation

  • #2164 Fix typo in documentation
  • #2100 Remove documentation for non-existent arguments
Changelog

Sourced from sanic's changelog.

Version 21.6.0

Features


  • [#2094](https://github.com/sanic-org/sanic/issues/2094) <https://github.com/sanic-org/sanic/pull/2094>_ Add response.eof() method for closing a stream in a handler

  • [#2097](https://github.com/sanic-org/sanic/issues/2097) <https://github.com/sanic-org/sanic/pull/2097>_ Allow case-insensitive HTTP Upgrade header

  • [#2104](https://github.com/sanic-org/sanic/issues/2104) <https://github.com/sanic-org/sanic/pull/2104>_ Explicit usage of CIMultiDict getters

  • [#2109](https://github.com/sanic-org/sanic/issues/2109) <https://github.com/sanic-org/sanic/pull/2109>_ Consistent use of error loggers

  • [#2114](https://github.com/sanic-org/sanic/issues/2114) <https://github.com/sanic-org/sanic/pull/2114>_ New client_ip access of connection info instance

  • [#2119](https://github.com/sanic-org/sanic/issues/2119) <https://github.com/sanic-org/sanic/pull/2119>_ Alternatate classes on instantiation for Config and Sanic.ctx

  • [#2133](https://github.com/sanic-org/sanic/issues/2133) <https://github.com/sanic-org/sanic/pull/2133>_ Implement new version of AST router

    • Proper differentiation between alpha and string param types
    • Adds a slug param type, example: <foo:slug>
    • Deprecates <foo:string> in favor of <foo:str>
    • Deprecates <foo:number> in favor of <foo:float>
    • Adds a route.uri accessor
  • [#2136](https://github.com/sanic-org/sanic/issues/2136) <https://github.com/sanic-org/sanic/pull/2136>_ CLI improvements with new optional params

  • [#2137](https://github.com/sanic-org/sanic/issues/2137) <https://github.com/sanic-org/sanic/pull/2137>_ Add version_prefix to URL builders

  • [#2140](https://github.com/sanic-org/sanic/issues/2140) <https://github.com/sanic-org/sanic/pull/2140>_ Event autoregistration with EVENT_AUTOREGISTER

  • [#2146](https://github.com/sanic-org/sanic/issues/2146) <https://github.com/sanic-org/sanic/pull/2146>, [#2147](https://github.com/sanic-org/sanic/issues/2147) <https://github.com/sanic-org/sanic/pull/2147> Require stricter names on Sanic() and Blueprint()

  • [#2150](https://github.com/sanic-org/sanic/issues/2150) <https://github.com/sanic-org/sanic/pull/2150>_ Infinitely reusable and nestable Blueprint and BlueprintGroup

  • [#2154](https://github.com/sanic-org/sanic/issues/2154) <https://github.com/sanic-org/sanic/pull/2154>_ Upgrade websockets dependency to min version

  • [#2155](https://github.com/sanic-org/sanic/issues/2155) <https://github.com/sanic-org/sanic/pull/2155>_ Allow for maximum header sizes to be increased: REQUEST_MAX_HEADER_SIZE

  • [#2157](https://github.com/sanic-org/sanic/issues/2157) <https://github.com/sanic-org/sanic/pull/2157>_ Allow app factory pattern in CLI

  • [#2165](https://github.com/sanic-org/sanic/issues/2165) <https://github.com/sanic-org/sanic/pull/2165>_ Change HTTP methods to enums

  • [#2167](https://github.com/sanic-org/sanic/issues/2167) <https://github.com/sanic-org/sanic/pull/2167>_ Allow auto-reloading on additional directories

  • [#2168](https://github.com/sanic-org/sanic/issues/2168) <https://github.com/sanic-org/sanic/pull/2168>_ Add simple HTTP server to CLI

  • [#2170](https://github.com/sanic-org/sanic/issues/2170) <https://github.com/sanic-org/sanic/pull/2170>_ Additional methods for attaching HTTPMethodView

... (truncated)

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)