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

pip prod(deps): bump blacksheep from 1.2.7 to 2.0.7 #1373

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 11, 2024

Bumps blacksheep from 1.2.7 to 2.0.7.

Release notes

Sourced from blacksheep's releases.

v2.0.7

  • Fixes bug #38, to support properly list[T] and tuple[T] when defining query string parameters. Reported by @​ranggakd.
  • Passes annotated origin type to build OpenAPI docs (#475), by @​tyzhnenko.
  • Fixes #481, disabling signal handling by default to avoid negative side effects. Handling signals is now opt-in and can be achieved using the env variable APP_SIGNAL_HANDLER=1. The is_stopping function is modified to work only when the option is enabled. Issue reported by @​netanel-haber.
  • Upgrades black version and format files accordingly.

v2.0.6

  • Adds built-in support for Server-Sent events.
  • Adds a function to detect when the server process is terminating because it received a SIGINT or a SIGTERM command (from blacksheep.server.process import is_stopping).
  • Adds support for request handler normalization for methods defined as asynchronous generators. This feature is enabled by default only for ServerSentEvents, but can be configured for user defined types.
  • Raises exception when the default router is used to register routes, but not associated to an application object. Fixes #470.

Refer to the BlackSheep documentation and to the examples repository for more information on server-sent events support.

v2.0.5

  • Fixes #466, regression introduced in 2.0.4 when using sub-routers, reported by @​ruancan.

v2.0.4

  • Adds a is_disconnected() method to the Request class, similar to the one available in Starlette, which answers if the ASGI server published an http.disconnected message for a request. Feature requested by @​netanel-haber in #452.
  • Makes the receive callable of the ASGI request accessible to Python code, through the existing ASGIContent class. The receive property was already included in contents.pyi file and it was wrong to keep receive private for Cython code.
  • Removes consts.pxi because it used a deprecated Cython feature.
  • Upgrades the versions of Hypercorn and uvicorn for integration tests.
  • Removes the unused "active" property defined in the Response class.
  • Fixes #455, reported by @​Klavionik. This error caused the WebSocket handler to erroneously return an instance of BlackSheep response to the underlying ASGI server, causing an error to be logged in the console.
  • Updates type annotations in the Application class code to be more explicit about the fact that certain methods must return None (return in call is used to interrupt code execution and not to return objects).
  • Improves the normalization logic to not normalize the output for WebSocket requests (as ASGI servers do not allow controlling the response for WebSocket handshake requests).
  • Improves the normalization logic to not normalize request handlers that are valid as they are, as asynchronous functions with a single parameter annotated as Request or WebSocket.
  • Fixes #421 reported by @​mohd-akram, causing handled exceptions to be logged like unhandled, when defining exception handlers using subclasses.
  • Removes wrong type annotations in two functions in blacksheep.utils.

v2.0.3

  • Fixes #450, about missing Access-Control-Allow-Credentials response header in CORS responses after successful pre-flight requests. Reported by @​waweber

v2.0.2

v2.0.1

  • Fixes #441 causing the refresh_token endpoint for OpenID Connect integrations to not work when authentication is required by default.
  • Fixes #427, handling WebSocket errors according to ASGI specification.
  • Fixes #443, raising a detailed exception when more than one application is sharing the same instance of Router

... (truncated)

Changelog

Sourced from blacksheep's changelog.

[2.0.7] - 2024-02-17 🌷

  • Fixes bug #38, to support properly list[T] and tuple[T] when defining query string parameters. Reported by @​ranggakd.
  • Passes annotated origin type to build OpenAPI docs (#475), by @​tyzhnenko.
  • Fixes #481, disabling signal handling by default to avoid negative side effects. Handling signals is now opt-in and can be achieved using the env variable APP_SIGNAL_HANDLER=1. The is_stopping function is modified to work only when the option is enabled. Issue reported by @​netanel-haber.
  • Upgrades black version and format files accordingly.

[2.0.6] - 2024-01-17 🇰🇷 ❤️

  • Adds built-in support for Server-Sent events.
  • Adds a function to detect when the server process is terminating because it received a SIGINT or a SIGTERM command (from blacksheep.server.process import is_stopping).
  • Adds support for request handler normalization for methods defined as asynchronous generators. This feature is enabled by default only for ServerSentEvents, but can be configured for user defined types.
  • Raises exception when the default router is used to register routes, but not associated to an application object. Fixes #470.

Refer to the BlackSheep documentation and to the examples repository for more information on server-sent events support.

[2.0.5] - 2024-01-12 🥧

  • Fixes #466, regression introduced in 2.0.4 when using sub-routers, reported by @​ruancan.

[2.0.4] - 2023-12-31 🎆

  • Adds a is_disconnected() method to the Request class, similar to the one available in Starlette, which answers if the ASGI server published an http.disconnected message for a request. Feature requested by @​netanel-haber in #452.
  • Makes the receive callable of the ASGI request accessible to Python code, through the existing ASGIContent class. The receive property was already included in contents.pyi file and it was wrong to keep receive private for Cython code.
  • Removes consts.pxi because it used a deprecated Cython feature.
  • Upgrades the versions of Hypercorn and uvicorn for integration tests.
  • Removes the unused "active" property defined in the Response class.
  • Fixes #455, reported by @​Klavionik. This error caused the WebSocket handler to erroneously return an instance of BlackSheep response to the underlying ASGI server, causing an error to be logged in the console.
  • Updates type annotations in the Application class code to be more explicit about the fact that certain methods must return None (return in call is

... (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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [blacksheep](https://github.com/Neoteroi/BlackSheep) from 1.2.7 to 2.0.7.
- [Release notes](https://github.com/Neoteroi/BlackSheep/releases)
- [Changelog](https://github.com/Neoteroi/BlackSheep/blob/main/CHANGELOG.md)
- [Commits](Neoteroi/BlackSheep@v1.2.7...v2.0.7)

---
updated-dependencies:
- dependency-name: blacksheep
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Apr 11, 2024
@dependabot dependabot bot requested a review from abhinavsingh April 11, 2024 04:48
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 11, 2024

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/blacksheep-2.0.7 branch April 11, 2024 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant