Skip to content

Releases: dymmond/esmerald

Version 3.2.4

14 Jun 16:17
6d27a87
Compare
Choose a tag to compare

Added

!!! danger
This new version deprecates an old style declaring the scheduler for Esmerald.
There is a new SchedulerConfig.

  • New SchedulerConfig interface for Esmerald schedulers and
    custom schedulers.
  • New AsynczConfig that implements the configuration for Asyncz scheduler.
  • New scheduler_config parameter to Esmerald and EsmeraldAPISettings.

Changed

  • Deprecate scheduler_class, scheduler_configurations and scheduler_tasks
    in favour of the new SchedulerConfig approach.
  • Deprecate the use of the EsmeraldScheduler.
  • Creation of multilingual documentation by @DJWOMS in #339

Breaking changes

You must update the imports to be:

From:

from asyncz.contrib.esmerald.decorator import scheduler

To:

from esmerald.contrib.schedulers.asyncz.decorator import scheduler

Check the documentation about the Scheduler, handlers and the SchedulerConfig to
see how to update your current project to the new version with the minimum disruption.

This change should not break existing functionality, instead, its just an update to make it more modular.
There is an example how to simply use this.

Fixed

  • Added missing options --settings into the runserver directive.

Version 3.2.3

06 Jun 09:17
f89f105
Compare
Choose a tag to compare

Changed

  • EsmeraldScheduler integration with Asyncz is not assembled before the configuration of the routing,
    allowing multiple events to be triggered without overriding.

Version 3.2.2

04 Jun 18:02
129ccaa
Compare
Choose a tag to compare

These changes were missed from the version 3.2.1

Changed

  • Updated the default scheduler class to be in the configuration.
  • Internal Dispatcher implemented for the routing and response handlers update.

Version 3.2.1

04 Jun 10:33
4b9413e
Compare
Choose a tag to compare

Changed

  • Context is not inheriting directly from Lilya.

Fixed

  • The default scheduler_class internal settings validation.

Version 3.2.0

21 May 19:21
0c5d4b3
Compare
Choose a tag to compare

Added

  • settings_module also supports import as string.
  • New encoders to Esmerald settings and instance parameters.
  • New register_encoder encoder in any Esmerald and ChildEsmerald instances.
  • New encoders to Esmerald responses. This allows to use any Response as ASGI application.
    with unique custom encoders.
  • Encoders documentation.

Changed

  • Internal refactor of the classmethods of the TransformerModel. The class methods
    are now normal python functions.
  • Unifying the transformers in the signature model.
  • Rename EsmeraldSignature to SignatureModel.

Version 3.1.5

09 May 11:25
880d493
Compare
Choose a tag to compare

Added

This change was supposed to be shipped in the version 3.1.4 but it missed the release.

  • Printing the stack trace when an Esmerald application is in debug=True providing a deeper
    level of understanding the source of the errors.

Version 3.1.4

09 May 11:25
7c92fd5
Compare
Choose a tag to compare

Fixed

  • AsyncExitMiddleware raising exception.
  • OpenAPI error when generating the parameters with dependencies.
  • OpenAPI security schemes.

Version 3.1.3

02 May 11:05
8f402a2
Compare
Choose a tag to compare

Changed

  • Internal support for hatch and removed the need for a Makefile.
  • Internals for Directives. #308 by @devkral.
  • Documentation references and refinements #311 by @paolodina.
  • WSGIMiddleware is now pointing to Lilya.

Version 3.1.2

11 Apr 16:58
b16806b
Compare
Choose a tag to compare

Fixed

  • Regression with typing_extensions.

Version 3.1.1

10 Apr 19:02
40f93a8
Compare
Choose a tag to compare

Added

  • --with-basic-controller flag in createapp directive. #PR 284 by @tarsil.

Changed

  • Documentation improvements.

Fixed

  • Typo in the create project directive urls file descripton.
  • operation_id being generated to include the class based view name when coming from class based views handlers. #PR 289 by @tarsil.