Changelog¶
0.8.9¶
Misc¶
Move documentation to https://scheduler.digon.io.
Add support for Python 3.14.
Drop support for Python 3.9. (end-of-life).
0.8.8¶
Misc¶
Type hint Scheduler.once()
argsas a variadic generic tuple. (Thanks @sanurielf), PR #9Python 3.13 support.
0.8.7¶
Version bump to fix CI/CD process
0.8.6¶
Bugfix¶
Fixed misue of
tagsargument (was dict where it should have been set) and allowed to pass asIterable.
Misc¶
Fix a number of type annotations
BaseScheduleris now genericBaseJobis now genericFixed annotations for Coroutines in asyncio scheduler
Disable mypy’s strict mode for now (ignores
**kwargstyping for now)
Added type annotations into testing code
Migrate from
setup.pytopyproject.toml
0.8.5¶
Misc¶
Python 3.12 support.
Issue#18 fixed (Thanks @bshakur8 (Bhaa Shakur), PR #7)
Improved deprecation warnings (Thanks @bshakur8 (Bhaa Shakur), PR #6)
0.8.4¶
Bugfix¶
Issues#16
TypeguardAPI migration.
0.8.3¶
Misc¶
Migrate from ReadTheDocs to HostYourDocs.
Custom docs colour theme.
0.8.2¶
Misc¶
Add
CONTRIBUTING.md.Include
pre-commitconfig.
Bugfix¶
Fix deadlock bug Issue#15.
Fix displaying of DeprecationWarning for the
delayflag.
0.8.1¶
Misc¶
Python 3.11 support.
Testing¶
The library is now also tested against python version 3.11.
Update patches for other python versions.
0.8.0¶
Features¶
Catching unhandled exceptions of scheduled functions (Issue#13):
Introduced logging for unhandled exceptions.
The scheduler takes a custom logger instance as argument.
Jobs are now counting the number of unhandled exceptions.
Misc¶
Improved some exception messages.
Minor documentation corrections.
Minor README.md corrections and simplifications.
Removed deprecated Prioritization code from
util.py.
Bugfix¶
Some exception messages that previously were wrongly tested and therefore ignored. are now matched using the
matchargument inpytest.raises.Bugfix in PKGBUILD’s package() function.
0.7.4¶
Misc¶
formatting of README.md
CI file correction for coverage report
0.7.3¶
Testing¶
test_readme.pynow uses monkeypatcheddatetime.now()Tests are contained in their own modules therefore installation before testing is no longer necessary
testing requirements now include
typeguardcoverage badge should work again
Misc¶
sponsor Digon.IO added
0.7.2¶
Features¶
aliases are now supported for Scheduler.once
Misc¶
Skipping checksum in PKGBUILD (we do not know the hash in advance of pushing)
Added missing checkdepends:
python-pytest-asyncio
Documentation¶
String fixes:
function / aliasand spacesadditional alias example
corrected alias_text
tag & parameters - remove unneeded
doctest:+ELLIPSISinstructionnote added on tags
0.7.1¶
Misc¶
Bump version in PKGBUILD.
Fix image for release stage.
0.7.0¶
Features¶
Added a scheduler for asyncio under the import path
scheduler.asyncio.Scheduler.
Bugfixes¶
The deletion of an unscheduled
Jobwith thescheduler.Scheduler.delete_jobmethod raised aKeyError. This was corrected and it will now raise aSchedulerError.
Misc¶
Refactoring of the internal code structure.
New namespace conventions.
Revision of the
setup.pyfile.Revision of the README.md.
Documentation updated.
The documentation now uses the furo theme.
Deprecation warnings¶
The
delayargument used when scheduling jobs of different types will be removed in a future release.
Known issues¶
Some mypy errors arise due to implementation details regarding the inheritance of the
BaseJobandBaseScheduler.
0.6.3¶
Bugfixes¶
Fix the missing lock acquiring in the
JobTimerdescribed as bug in the issue #10.
Misc¶
Fix the version of
mistunein therequirement.txtto prevent pipeline failure (m2r2dependency, not fixed there).
0.6.2¶
API changes¶
Schedulerinstanciation andScheduler.oncearguments are now keyword only.
Features¶
Jobs can be given a string alias for identification instead of defaulting to function name.
Misc¶
Python version requirements added to
setup.py
0.6.1¶
Misc¶
Revision of the README.md for the first release on PyPI.org
0.6.0¶
Features¶
Jobs can be tagged and filtered by sets of string identifiers
API changes¶
Job:paramsrenamed tokwargsand introducedargskeyword analog toschedlibrarydelete_all_jobsreplaced and implemented withindelete_jobsWeekdayimplemented as abstract class inscheduler.trigger.coreinstead ofEnuminscheduler.util. Now withtimeattribute.Scheduler.onceandScheduler.weeklyno longer accept a tuple ofWeekday, datetime.timefor the timing argument.
Misc¶
JobrefactoringDocumentation updated
0.5.2¶
API changes¶
Extended
JobAPI byparams,skip_missinganddelay.
Misc¶
Refactoring of
schedulingfunctions using**kwargsGeneral documentation improvements
0.5.1¶
Features¶
Threading support,
scheduleris now thread safe.Added
n_threadsargument toSchedulerfor parallelJobexecution.
Misc¶
Improved examples and docs.
0.5.0¶
API changes¶
Jobbatching limited to distinct timingsJobbatching limited tominutely(),hourly(),daily()andweekly()
Bugfixes¶
Behaviour of
skip_missingadjusted
Misc¶
Improved documentation (mostly formatting)
0.4.0¶
Switched to LGPLv3 License
Features¶
Delete all scheduled
Jobs using a single command.Added
__repr__and__str__methods toJobandSchedulerExecute all scheduled
Jobs regardless of when they are scheduled.Added optional
Jobflag: Discard missed executions befor the last pending executionJobs can be passed toScheduler.__init__Jobexposes propertytzinfoJobs support astartandstopdatetimeImproved Exception handling
Extensive documentation rework
API changes¶
Completely overhauled
SchedulerAPI
Bugfixes¶
Fixed infinite recursion in
JobTimerofcalc_next_exec
Misc¶
Improved examples and docs.
Added Guides and FAQ
0.3.0¶
Features¶
Allowed parameters to be passed to the function handled by
Job
Misc¶
Improved examples and docs
Full test coverage :)
0.2.0¶
API changes¶
Switched
Schedulerargumentsmax_execandtzinfo.
Features¶
A
weight_functioncan be passed to Scheduler for customizableJobweighting.
Misc¶
Added a changelog
Revision of
setup.pyFixed readthedocs configuration
Small optimizations in
README.mdand docsREADME.mdembedded within sphinx documentation.Provide a
secrets.pyto support local PyPI cachingImproved test coverage
0.1.0¶
Initial beta release