Esmerald framework - Highly scalable, performant, easy to learn, easy to code and for every sizeable and complex application
MIT License
Published by tarsil about 1 year ago
OpenAPIConfig
documentation.v1
. Esmerald prior to version 2.0 is no longer supported.Factory
. #179 by @tarsil.security
was not working as intended.Published by tarsil about 1 year ago
Published by tarsil about 1 year ago
has_permission
on Permissions.email-validator
error being thrown from openapi-schemas-pydantic
requirement.Published by tarsil about 1 year ago
esmerald
client operates internally.Gateway
or HTTPHandler
. When a middlewarePublished by tarsil about 1 year ago
from esmerald.exception_handlers import value_error_handler
./docs/elements
.add_include()
that wasn't generating signature models upon import.Published by tarsil over 1 year ago
This addition was supposed to go in the release 2.0.2 but somehow it was missed in the merge of
the pull requests. It is not a bug fix but instead is a simple new
directive that can be useful for those who like using the command-line.
It is important to understand that this support won't be available on releases of Esmerald
1.X.
Published by tarsil over 1 year ago
esmerald.params
with current defaults.File
to Body
as it is a subclass.strict
and max_digits
esmerald params esmerald.params
.example
as OpenAPI 3.10 supports examples
. Use examples instead of example
.File
and Form
from esmerald.params
now accept annotation
.UploadFile
as single and list now being parsed as a model.Published by tarsil over 1 year ago
This is a small fix into the parser of lists for the OpenAPI specification.
Published by tarsil over 1 year ago
!!! Warning
When upgrading Esmerald to version 2, this also means the use of Pydantic 2.0 at its core as well as corresponsing technologies
already updated to version 2 of Pydantic (Saffier, Asyncz...).
If you still wish to continue to use Pydantic 1 with Esmerald, it is recommended to use Esmerald prior to version 2.0 which it will
be maintained for a shor period but we strongly recommend to always use the latest version.
validator
and root_validator
to field_validator
and model_validator
.params
reflect the new Pydantic FieldInfo.Published by tarsil over 1 year ago
pydantic_factories
in favour of pyfactories
.scripts/format
to scripts/lint
for consistency.get_hasher
from contrib fixed with the return value of the algorithm.Published by tarsil over 1 year ago
Published by tarsil over 1 year ago
Published by tarsil over 1 year ago
Published by tarsil over 1 year ago
run
directive does not find custom directive properly.Published by tarsil over 1 year ago
Published by tarsil over 1 year ago
management
package in favour of directives
. #83.esmerald-admin
. Now you can simply call esmerald
with the same directivesesmerald createproject <NAME>
esmerald createpapp <NAME>
Published by tarsil over 1 year ago
Published by tarsil over 1 year ago
ChildEsmerald now supports the parent which means it can share middlewares and interceptors
across main application and children.
!!! Note
Prior to version 0.16.0, sharing resources between Esmerald and ChildEsmerald was not allowed
and it needed to be treated as completely isolated application. In the version 0.16.0 you can
still isolate them but you can also share resources.
Published by tarsil over 1 year ago
Esmerald Pluggables #60.
This is the feature for the esmerald ecosystem that allows you to create plugins and extensions for any application
as well as distribute them as installable packages.
New add_child_esmerald allowing adding via function, ChildEsmerald #61.
Add child esmeralds via functions once the application is created and dynamically.
Published by tarsil over 1 year ago
base_user
and middleware
support for Saffier with Esmerald.