Releases: dymmond/ravyn
Releases · dymmond/ravyn
Version 3.0.0
Changed
- Moved from beta v3 version to the official v3 of Esmerald fully supporting Lilya.
Version 3.0.0b2
Added
- Allow the use
from lilya.middleware import Middlewareas alternative toDefineMiddleware,
Changed
- Cleaned the
ServerErrorMiddlewarefrom the lilya import.
Version 3.0.0b1
!!! Warning
This is a major release and it will be under the the version 3 of Esmerald.
You should not be affected but in case you are, please report any issues
so we can correct it.
Added
- Support for
Lilyaand dropStarlette.
Changed
CSRFConfigcookie_securerenamed tosecure.CSRFConfighttponlyrenamed tohttponly.CSRFConfigcookie_samesiterenamed tosamesite.CSRFConfigcookie_domainrenamed todomain.CSRFConfigcookie_securerenamed tosecure.- Removed support for the
BasicMiddlewareas this can be imported from any other ASGI application.
Internal
In the past, Middleware was being used but with the introduction of Lilya, now is DefineMiddleware that
is applied.
from lilya.middleware import DefineMiddleware- The
PlainTextResponsewas renamed toPlainText.
Version 2.7.4
Fixed
WSGIMiddlewareoptional was being called in the core middlewares.
Version 2.7.3
Added
- Allowing
appto load as a string as alternative to an object inside the Include
Changed
- Internal code for lazy objects.
- Make
a2wsgioptional forWSGIMiddleware. httpxis now only a depedency for testing.- Cleared some core dependencies.
Version 2.7.2
Changed
- Security update for python multipart.
- Update minimum Starlette requirement.
Version 2.7.1
Added
settings_moduleas replacement forsettings_config.- Deprecation warning for
settings_configin favour ofsettings_moduleparameter.
Changed
- Added improvements to the scaffold generated by
esmerald createprojectin the tests. - Added extra origin type for when a MsgSpec Struct is passed in the payload of a handler.
Fixed
- OpenAPI Tags not loading from top down if handler had
tags=None. - TestClient to allow passing pluggables inside
create_client.
Version 2.7.0
Changed
Token.decode()is now aclassmethod. This allows to subclass theTokenand add extra fields into the model
allowing operations likeencode()with extra claims. This can be useful for situations like claiming arefreshoraccesstoken.- Internal handlers decorators are now wrapped in a function decorator. This does not affect anything but allows more control over the middleware
calls to async ASGI applications.
Fixed
- OpenAPI when overriding the response for the default status codes of the handlers.
2.6.0
Added
- New createdeployment directive allowing
the generation of deployment scaffolds for any Esmerald project.
Changed
- Added
requirementsto thecreateprojectdirective generating the minimum requirements
for an Esmerald project.
Fixed
BaseAuthenticationforself.appwhen its of the type of HTTPHandler and WebSocketHandler.
Version 2.5.0
Changed
- Upgraded internal dependencies.
- The internals for the middleware are now delegated to Starlette directly.
- Middlewares of Gateway and WebSocket Gateways are now delegated to Starlette.
Fixed
- Internals to be compliant with new version of Starlette.
- Building middleware stack for the
Middlewareobject. - Internal testing to reflect the new way of the
Includeto be compliant with the ASGI spec.