summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlex Grönholm <alex.gronholm@nextday.fi>2022-09-21 01:56:32 +0300
committerAlex Grönholm <alex.gronholm@nextday.fi>2022-09-21 02:40:02 +0300
commite8055bce55bb004168b5787f89091057cf1f36c7 (patch)
treec8c377a4a8301e643efc939cea86138b8d72e95d /docs
parentc5727432736b55b7d76753307f14efdb962c2edf (diff)
downloadapscheduler-e8055bce55bb004168b5787f89091057cf1f36c7.tar.gz
Merged the Worker class into AsyncScheduler
Diffstat (limited to 'docs')
-rw-r--r--docs/versionhistory.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/versionhistory.rst b/docs/versionhistory.rst
index 559ee36..e86d486 100644
--- a/docs/versionhistory.rst
+++ b/docs/versionhistory.rst
@@ -6,9 +6,11 @@ APScheduler, see the :doc:`migration section <migration>`.
**UNRELEASED**
-- **BREAKING** Workers can no longer be run independently. Instead, you can run a
- scheduler that only starts a worker but does not process schedules by passing
- ``process_schedules=False`` to the scheduler
+- **BREAKING** Workers were merged into schedulers. As the ``Worker`` and
+ ``AsyncWorker`` classes have been removed, you now need to pass
+ ``role=SchedulerRole.scheduler`` to the scheduler to prevent it from processing due
+ jobs. The worker event classes (``WorkerEvent``, ``WorkerStarted``, ``WorkerStopped``)
+ have also been removed.
- **BREAKING** The synchronous interfaces for event brokers and data stores have been
removed. Synchronous libraries can still be used to implement these services through
the use of ``anyio.to_thread.run_sync()``.