Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: dymmond/ravyn

Version 3.0.0

25 Mar 10:25
be3e27e

Choose a tag to compare

Changed

  • Moved from beta v3 version to the official v3 of Esmerald fully supporting Lilya.

Version 3.0.0b2

12 Mar 17:11
d18e321

Choose a tag to compare

Added

  • Allow the use from lilya.middleware import Middleware as alternative to DefineMiddleware,

Changed

  • Cleaned the ServerErrorMiddleware from the lilya import.

Version 3.0.0b1

12 Mar 14:02
11f8976

Choose a tag to compare

!!! 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 Lilya and drop Starlette.

Changed

  • CSRFConfig cookie_secure renamed to secure.
  • CSRFConfig httponly renamed to httponly.
  • CSRFConfig cookie_samesite renamed to samesite.
  • CSRFConfig cookie_domain renamed to domain.
  • CSRFConfig cookie_secure renamed to secure.
  • Removed support for the BasicMiddleware as 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 PlainTextResponse was renamed to PlainText.

Version 2.7.4

07 Mar 19:05
7b2e9d6

Choose a tag to compare

Fixed

  • WSGIMiddleware optional was being called in the core middlewares.

Version 2.7.3

06 Mar 10:28
0483272

Choose a tag to compare

Added

  • Allowing app to load as a string as alternative to an object inside the Include

Changed

  • Internal code for lazy objects.
  • Make a2wsgi optional for WSGIMiddleware.
  • httpx is now only a depedency for testing.
  • Cleared some core dependencies.

Version 2.7.2

04 Feb 23:23
e023a6c

Choose a tag to compare

Changed

  • Security update for python multipart.
  • Update minimum Starlette requirement.

Version 2.7.1

23 Jan 19:20
38e8fb6

Choose a tag to compare

Added

  • settings_module as replacement for settings_config.
  • Deprecation warning for settings_config in favour of settings_module parameter.

Changed

  • Added improvements to the scaffold generated by esmerald createproject in 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

19 Jan 11:03
d3afc06

Choose a tag to compare

Changed

  • Token.decode() is now a classmethod. This allows to subclass the Token and add extra fields into the model
    allowing operations like encode() with extra claims. This can be useful for situations like claiming a refresh or access token.
  • 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

16 Jan 17:08
1c81a00

Choose a tag to compare

Added

  • New createdeployment directive allowing
    the generation of deployment scaffolds for any Esmerald project.

Changed

  • Added requirements to the createproject directive generating the minimum requirements
    for an Esmerald project.

Fixed

  • BaseAuthentication for self.app when its of the type of HTTPHandler and WebSocketHandler.

Version 2.5.0

11 Jan 15:26
e423737

Choose a tag to compare

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 Middleware object.
  • Internal testing to reflect the new way of the Include to be compliant with the ASGI spec.