Esmerald framework - Highly scalable, performant, easy to learn, easy to code and for every sizeable and complex application
MIT License
Bot releases are hidden (Show)
Published by tarsil over 1 year ago
Published by tarsil over 1 year ago
debug
parameter regression.Published by tarsil over 1 year ago
ujson
dumps parameter error.Published by tarsil over 1 year ago
Published by tarsil over 1 year ago
To make esmerald more optional and feature modular, this release brings some backwards
incompatibilities that should be addressed when moving to this version. Check out
the dcumentation for more details if this release notes doesn't cover it all.
UJSON
, UJSONResponse
, OrJSON
and ORJSONResponse
to be optional dependencies #45.ORJSONResponse
to from esmerald.responses.encoders import ORJSONResponse
#45.UJSONResponse
to from esmerald.responses.encoders import UJSONResponse
#45.OrJSON
to from esmerald.datastructures.encoders import OrJSON
#45.UJSON
to from esmerald.datastructures.encoders import UJSON
#45.pip install esmerald[schedulers]
#45.This is only applied for those who have esmerald prior to 0.11.0
.
If you already had template configurations, jwt, schedulers or all the features you need to update the imports to:
TemplateConfig:
from esmerald.config.template import TemplateConfig
JWTConfig:
from esmerald.config.jwt import JWTConfig
Scheduler class is now imported directly from asyncz
:
from asyncz.schedulers import AsyncIOScheduler # for the Scheduler class
from asyncz.contrib.esmerald.decorator import scheduler # for the decorator
Optionally, you can simply run pip install esmerald[all]
Published by tarsil over 1 year ago
Template
now accepts an extra alternative_template
for the cases of raising TemplateNotFound #44.handle_status_code
internal functionality as it is no longer used.handler
type for Gateway and WebsocketGateway.Published by tarsil over 1 year ago
DirectInjects
object for the direct dependency injection without using Inject and dependencies
from the handler #42.Published by tarsil over 1 year ago
Published by tarsil over 1 year ago
File
and Form
params to Esmerald.Injects
as parameter function.ArbitraryHashableBaseModel
to handle the Inject
with arbitrary types.scheduler_class
is now a property in the EsmeraldSettings. This allows to override fieldssettings
parameter from RequestSettingsMiddleware.Published by tarsil almost 2 years ago
settings
property that can be accessed upon the installationlicense
reference upon instantiation from the settings.Published by tarsil almost 2 years ago
Published by tarsil almost 2 years ago
Published by tarsil almost 2 years ago
JWTAuthMiddleware
from esmerald.contrib.auth.tortoise.middleware
raising exceptionVoid
.Published by tarsil almost 2 years ago
Published by tarsil almost 2 years ago
Published by tarsil almost 2 years ago
Published by tarsil almost 2 years ago
Published by tarsil almost 2 years ago
APScheduler
in favour of Asyncz.If you are using the @scheduler
with the func
and identifier
params, please check the documentation to understand how to upgrade to the new scheduler. It is almost the same but with some minor changes to the parameters
Published by tarsil almost 2 years ago
BaseModelExtra
parser removing repetition of code across transformers.Published by tarsil almost 2 years ago