Esmerald

Latest version: v3.2.5

Safety actively analyzes 638452 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 15

2.7.1

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`.

2.7.0

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

Added

- New [createdeployment](https://esmerald.dev/directives/directives#create-deployment) 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.

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

2.4.3

Fixed

- OpenAPI `contact` it was not parsing properly on transformation.
- Rename `include` attribute from `Param` (base) and call `include_in_schema`.
- Missing `nest_asyncio` dependency when using `esmerald shell`.

2.4.2

Changed

- Pin starlette version to `0.32.0.post1`

Page 4 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.