fix(deps): update dependency blacksheep to >=2.2,<2.3 #8418
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
>=2.1,<2.2
->>=2.2,<2.3
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
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
.dataclasses when
generating OpenAPI documentation.
Serializer
class used to generate thedict 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 theOpenAPIHandler
's constructor.3.1.0
instead of3.0.3
.essentials-openapi
dependency to version>=1.2.0
.type hint for the Jinja loader to use the abstract interface
BaseLoader
.for any HTTP method when writing HTTP requests, not only for the most common
methods.
Jinja2 dependency in the
full
package.messages.pyi
, by @bymoye.blacksheep/server/normalization.py
to bind any subclass ofIdentity
using therequest.user
rather than justUser
andIdentity
exactly, by @bymoye.
UI, by @arthurbrenno and @bymoye.
ReDocUIProvider
to support a customfavicon
.Application
object can now use bothType
keys andint
keys whenapplying the default Not Found exception handler and the Internal Server
Error exception handler.
exception handlers for Internal Server Error status now always receive an
instance of
InternalServerError
class, containing a reference to the sourceexception. 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
.show_error_details
fromworking as intended when a user-defined
InternalServerError
exceptionhandlers was defined. When
show_error_details
is enabled, any unhandledexception 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.
get_files_to_serve
andget_files_list_html_response
.TextBinder
is made a subclass of BodyBinder. This is correct andenables validation of handler signature and better generation of OpenAPI
documentation. This binder was always about reading the request body as plain
text.
pyproject.toml
to specifyrequires-python = ">=3.8"
instead ofrequires-python = ">=3.7"
.AmbiguousMethodSignatureError
to make itclearer and offer a better user experience.
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.
This PR was generated by Mend Renovate. View the repository job log.