Skip to content

Version 3.2.4

Compare
Choose a tag to compare
@tarsil tarsil released this 14 Jun 16:17
· 118 commits to main since this release
6d27a87

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.