Skip to content

Version 3.7.1

Choose a tag to compare

@tarsil tarsil released this 04 Apr 17:15
· 162 commits to main since this release
340a97a

!!! Warning
This release introduces some import changes as part of the ongoing internal restructure of Esmerald.
This will be done in different phases during different releasing but you can already see the Changed
section to understand where the new imports must be done. Very likely that you won't need to do this but
those serve as a reference.

Added

  • When using Requires and a callable is not passed, Esmerald will generate a lambda callable automatically.

  • New [experimental](https://esmerald.dev/experimental/ documentation section with the new features that are being tested.

  • New gRPC documentation section with the new gRPC functionality.

  • New wrap_middleware from esmerald.utils.middleware. This serves as alternative when setting up a middleware
    which also allows the fully module naming to be passed.

  • New [Learning and Examples](https://esmerald.dev/guides/ section. This section will be growing in time and will help newcomers
    to understand a bit more about Esmerald.

    from esmerald.utils.middleware import wrap_middleware

Experimental

  • GRPC - Support for GRPC endpoints and introduction to the newly GrpcGateway wrapper. This functionality
    is experimental to test in the next releases. If successful, it will be marked as final.

Fixed

  • Bump Pydantic internal version to 2.11+.

Changed

The following must be updated if you are using any of these.

This is now part of the phase migration of modules to make them more consistent and easier to use.

  • esmerald.datastructures is now esmerald.core.datastructures.
  • esmerald.caches is now esmerald.core.caches.
  • esmerald.config is now esmerald.core.config.
  • esmerald.interceptors is now esmerald.core.interceptors.
  • esmerald.transformers is now esmerald.core.transformers.