Esmerald

Latest version: v3.2.5

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

Scan your dependencies

Page 10 of 15

0.9.0

Not secure
Added

- `DirectInjects` object for the direct dependency injection without using Inject and `dependencies` from the handler [42](https://github.com/dymmond/esmerald/pull/42).

Fixed

- `include_in_schema` on a Gateway level for OpenAPI specification [42](https://github.com/dymmond/esmerald/pull/42).
- `redirect_slashes` when instantiating an Esmerald/ChildEsmerald application wasn't
validating the value properly.
- TemplateNotFound raised when a template is not found [42](https://github.com/dymmond/esmerald/pull/42).
- jinja2 Environment to have autoescape by default [43](https://github.com/dymmond/esmerald/pull/43).

0.8.1

Not secure
Added

- Added Template and Redirect to app imports.
This was supposed to go in the release 0.8.0 but somehow it was missed.

0.8.0

Not secure
Added

- New `File` and `Form` params to Esmerald.
- Add new `Injects` as parameter function.
- Add new `ArbitraryHashableBaseModel` to handle the `Inject` with arbitrary types.
- Add new [settings_config](https://esmerald.dymmond.com/applications/settings.md#the-settings_config) parameter. [40](https://github.com/dymmond/esmerald/pull/40).

Changed

- Removed unused internal parameters for old functions.
- `scheduler_class` is now a property in the EsmeraldSettings. This allows to override fields
without issues.
- Deprecate `settings` parameter from RequestSettingsMiddleware.

Fixed

- Error messages being thrown.
- Fix `enable_openapi` boolean for ChildEsmerald and submodules and `include_in_schema` for Include [37](https://github.com/dymmond/esmerald/pull/37)
- Fix types for OpenAPI for applications that are subclasses of Esmerald or ChildEsmerald [38](https://github.com/dymmond/esmerald/pull/38)

0.7.0

Not secure
Added

- New [RequestSettingsMiddleware](https://esmerald.dymmond,com/middleware/middleware.md#requestsettingsmiddleware) allowing accessing the settings of the application
from the request.
- Settings resolution for the whole application [30](https://github.com/dymmond/esmerald/issues/30).

Changed

- Request now has a `settings` property that can be accessed upon the installation
of the [RequestSettingsMiddleware](https://esmerald.dymmond,com/middleware/middleware.md#requestsettingsmiddleware).

Fixed

- `license` reference upon instantiation from the settings.

0.6.2

Not secure
Changed

- Add support for kwargs in the Dao and AsyncDAO [28](https://github.com/dymmond/esmerald/issues/28)

Fixed

- Mypy References for the Gateway and WebsocketGateway being added to the handler.
- Refences to the Esmerald types.

0.6.1

Not secure
Changed

- Include now supports its own middleware handling and loading.

Fixed

- JWT Token encoding and decoding
- JWT middleware handling the headers

Page 10 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.