Skip to content

fix(deps): update dependency blacksheep to >=2.2,<2.3 #8418

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 28, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
blacksheep >=2.1,<2.2 -> >=2.2,<2.3 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

Neoteroi/BlackSheep (blacksheep)

v2.2.0

Compare Source

  • Fix #​533. A feature
    that was requested several times in the past!
    Add support for delegating
    the generation of OpenAPI schemas for types to external libraries and
    completely relies on schemas generated by Pydantic when working with
    pydantic.BaseModel.
  • Add support for handling Pydantic
    dataclasses when
    generating OpenAPI documentation.
  • Add the possibility to control the Serializer class used to generate the
    dict object of the OpenAPI Specification and to serialize it to JSON
    and YAML. This grants the user full control over the OpenAPI
    Specification, and enables more scenarios as users can modify the
    specification object comfortably and as they need. To use, pass a
    serializer parameter to the OpenAPIHandler's constructor.
  • Generates OpenAPI Specification with version 3.1.0 instead of 3.0.3.
  • Update essentials-openapi dependency to version >=1.2.0.
  • Fix #​541. Correct the
    type hint for the Jinja loader to use the abstract interface BaseLoader.
  • Fix #​517. Add support
    for any HTTP method when writing HTTP requests, not only for the most common
    methods.
  • Fix #​529. Add missing
    Jinja2 dependency in the full package.
  • Fix type annotation in messages.pyi, by @​bymoye.
  • Add support for mapping types in OpenAPI Documentation, by @​tyzhnenko.
  • Improve blacksheep/server/normalization.py to bind any subclass of
    Identity using the request.user rather than just User and Identity
    exactly, by @​bymoye.
  • Add new UI provider for OpenAPI Documentation, for Scalar
    UI
    , by @​arthurbrenno and @​bymoye.
  • Correct the ReDocUIProvider to support a custom favicon.
  • Fix #​538. The
    Application object can now use both Type keys and int keys when
    applying the default Not Found exception handler and the Internal Server
    Error
    exception handler.
  • BREAKING CHANGE. When an unhandled exception occurs, user-defined
    exception handlers for Internal Server Error status now always receive an
    instance of InternalServerError class, containing a reference to the source
    exception. Previously, user-defined internal server error handlers would
    erroneously receive any type of unhandled exception. If you defined your
    own exception handler for InternalServerError or for 500 status and you
    applied logic based on the type of the unhandled exception, update the code
    to read the source unhandled exception from exc.source_error.
  • BREAKING CHANGE. Fix bug that would prevent show_error_details from
    working as intended when a user-defined InternalServerError exception
    handlers was defined. When show_error_details is enabled, any unhandled
    exception is handled by the code that produces the HTML document with error
    details and the stack trace of the error, even if the user configured an
    exception handler for internal server errors (using 500 or
    InternalServerError as keys). This is a breaking change if you made the
    mistake of running a production application with show_error_details
    enabled, and exception details are hidden using a custom 500 exception
    handler.
  • Improve type annotations for get_files_to_serve and
    get_files_list_html_response.
  • The TextBinder is made a subclass of BodyBinder. This is correct and
    enables validation of handler signature and better generation of OpenAPI
    documentation. This binder was always about reading the request body as plain
    text.
  • Modify pyproject.toml to specify requires-python = ">=3.8" instead of
    requires-python = ">=3.7".
  • Update the error message of the AmbiguousMethodSignatureError to make it
    clearer and offer a better user experience.
  • Update the default message of the InternalServerError class to be Internal
    Server Error
    instead of Internal server error..

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from waghanza as a code owner April 28, 2025 23:35
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.

0 participants