| 1 |
.. :changelog: |
| 2 |
|
| 3 |
History |
| 4 |
------- |
| 5 |
|
| 6 |
1.2.2 (2024-05-25) |
| 7 |
++++++++++++++++++ |
| 8 |
|
| 9 |
- Fix bugs in cross-timezone scheduling (#601, #602, #604, #623) |
| 10 |
- Add support for python 3.12 (#606) |
| 11 |
- Remove dependency on old mock (#622) Thanks @a-detiste! |
| 12 |
|
| 13 |
|
| 14 |
1.2.1 (2023-11-01) |
| 15 |
++++++++++++++++++ |
| 16 |
|
| 17 |
- Fix bug where schedule was off when using .at with timezone (#583) Thanks @AnezeR! |
| 18 |
|
| 19 |
|
| 20 |
1.2.0 (2023-04-10) |
| 21 |
++++++++++++++++++ |
| 22 |
|
| 23 |
- Dropped support for Python 3.6, add support for Python 3.10 and 3.11. |
| 24 |
- Add timezone support for .at(). See #517. Thanks @chrimaho! |
| 25 |
- Get next run by tag (#463) Thanks @jweijers! |
| 26 |
- Add py.typed file. See #521. Thanks @Akuli! |
| 27 |
|
| 28 |
- Fix the re pattern of the 'days'. See #506 Thanks @sunpro108! |
| 29 |
- Fix test_until_time failure when run early. See #563. Thanks @emollier! |
| 30 |
- Fix crash repr on partially constructed job. See #569. Thanks @CPickens42! |
| 31 |
- Code cleanup and modernization. See #567, #536. Thanks @masa-08 and @SergBobrovsky! |
| 32 |
- Documentation improvements and fix typos. See #469, #479, #493, #519, #520. Thanks to @NaelsonDouglas, @chrimaho, @rudSarkar |
| 33 |
|
| 34 |
1.1.0 (2021-04-09) |
| 35 |
++++++++++++++++++ |
| 36 |
|
| 37 |
- Added @repeat() decorator. See #148. Thanks @rhagenaars! |
| 38 |
- Added execute .until(). See #195. Thanks @fredthomsen! |
| 39 |
- Added job retrieval filtered by tags using get_jobs('tag'). See #419. Thanks @skenvy! |
| 40 |
- Added type annotations. See #427. Thanks @martinthoma! |
| 41 |
|
| 42 |
- Bugfix: str() of job when there is no __name__. See #430. Thanks @biggerfisch! |
| 43 |
- Improved error messages. See #280, #439. Thanks @connorskees and @sosolidkk! |
| 44 |
- Improved logging. See #193. Thanks @zcking! |
| 45 |
- Documentation improvements and fix typos. See #424, #435, #436, #453, #437, #448. Thanks @ebllg! |
| 46 |
|
| 47 |
1.0.0 (2021-01-20) |
| 48 |
++++++++++++++++++ |
| 49 |
|
| 50 |
Depending on your configuration, the following bugfixes might change schedule's behaviour: |
| 51 |
|
| 52 |
- Fix: idle_seconds crashes when no jobs are scheduled. See #401. Thanks @yoonghm! |
| 53 |
- Fix: day.at('HH:MM:SS') where HMS=now+10s doesn't run today. See #331. Thanks @qmorek! |
| 54 |
- Fix: hour.at('MM:SS'), the seconds are set to 00. See #290. Thanks @eladbi! |
| 55 |
- Fix: Long-running jobs skip a day when they finish in the next day #404. Thanks @4379711! |
| 56 |
|
| 57 |
Other changes: |
| 58 |
|
| 59 |
- Dropped Python 2.7 and 3.5 support, added 3.8 and 3.9 support. See #409 |
| 60 |
- Fix RecursionError when the job is passed to the do function as an arg. See #190. Thanks @connorskees! |
| 61 |
- Fix DeprecationWarning of 'collections'. See #296. Thanks @gaguirregabiria! |
| 62 |
- Replaced Travis with Github Actions for automated testing |
| 63 |
- Revamp and extend documentation. See #395 |
| 64 |
- Improved tests. Thanks @connorskees and @Jamim! |
| 65 |
- Changed log messages to DEBUG level. Thanks @aisk! |
| 66 |
|
| 67 |
|
| 68 |
0.6.0 (2019-01-20) |
| 69 |
++++++++++++++++++ |
| 70 |
|
| 71 |
- Make at() accept timestamps with 1 second precision (#267). Thanks @NathanWailes! |
| 72 |
- Introduce proper exception hierarchy (#271). Thanks @ConnorSkees! |
| 73 |
|
| 74 |
|
| 75 |
0.5.0 (2017-11-16) |
| 76 |
++++++++++++++++++ |
| 77 |
|
| 78 |
- Keep partially scheduled jobs from breaking the scheduler (#125) |
| 79 |
- Add support for random intervals (Thanks @grampajoe and @gilbsgilbs) |
| 80 |
|
| 81 |
|
| 82 |
0.4.3 (2017-06-10) |
| 83 |
++++++++++++++++++ |
| 84 |
|
| 85 |
- Improve docs & clean up docstrings |
| 86 |
|
| 87 |
|
| 88 |
0.4.2 (2016-11-29) |
| 89 |
++++++++++++++++++ |
| 90 |
|
| 91 |
- Publish to PyPI as a universal (py2/py3) wheel |
| 92 |
|
| 93 |
|
| 94 |
0.4.0 (2016-11-28) |
| 95 |
++++++++++++++++++ |
| 96 |
|
| 97 |
- Add proper HTML (Sphinx) docs available at https://schedule.readthedocs.io/ |
| 98 |
- CI builds now run against Python 2.7 and 3.5 (3.3 and 3.4 should work fine but are untested) |
| 99 |
- Fixed an issue with ``run_all()`` and having more than one job that deletes itself in the same iteration. Thanks @alaingilbert. |
| 100 |
- Add ability to tag jobs and to cancel jobs by tag. Thanks @Zerrossetto. |
| 101 |
- Improve schedule docs. Thanks @Zerrossetto. |
| 102 |
- Additional docs fixes by @fkromer and @yetingsky. |
| 103 |
|
| 104 |
0.3.2 (2015-07-02) |
| 105 |
++++++++++++++++++ |
| 106 |
|
| 107 |
- Fixed issues where scheduling a job with a functools.partial as the job function fails. Thanks @dylwhich. |
| 108 |
- Fixed an issue where scheduling a job to run every >= 2 days would cause the initial execution to happen one day early. Thanks @WoLfulus for identifying this and providing a fix. |
| 109 |
- Added a FAQ item to describe how to schedule a job that runs only once. |
| 110 |
|
| 111 |
0.3.1 (2014-09-03) |
| 112 |
++++++++++++++++++ |
| 113 |
|
| 114 |
- Fixed an issue with unicode handling in setup.py that was causing trouble on Python 3 and Debian (https://github.com/dbader/schedule/issues/27). Thanks to @waghanza for reporting it. |
| 115 |
- Added an FAQ item to describe how to deal with job functions that throw exceptions. Thanks @mplewis. |
| 116 |
|
| 117 |
0.3.0 (2014-06-14) |
| 118 |
++++++++++++++++++ |
| 119 |
|
| 120 |
- Added support for scheduling jobs on specific weekdays. Example: ``schedule.every().tuesday.do(job)`` or ``schedule.every().wednesday.at("13:15").do(job)`` (Thanks @abultman.) |
| 121 |
- Run tests against Python 2.7 and 3.4. Python 3.3 should continue to work but we're not actively testing it on CI anymore. |
| 122 |
|
| 123 |
0.2.1 (2013-11-20) |
| 124 |
++++++++++++++++++ |
| 125 |
|
| 126 |
- Fixed history (no code changes). |
| 127 |
|
| 128 |
0.2.0 (2013-11-09) |
| 129 |
++++++++++++++++++ |
| 130 |
|
| 131 |
- This release introduces two new features in a backwards compatible way: |
| 132 |
- Allow jobs to cancel repeated execution: Jobs can be cancelled by calling ``schedule.cancel_job()`` or by returning ``schedule.CancelJob`` from the job function. (Thanks to @cfrco and @matrixise.) |
| 133 |
- Updated ``at_time()`` to allow running jobs at a particular time every hour. Example: ``every().hour.at(':15').do(job)`` will run ``job`` 15 minutes after every full hour. (Thanks @mattss.) |
| 134 |
- Refactored unit tests to mock ``datetime`` in a cleaner way. (Thanks @matts.) |
| 135 |
|
| 136 |
0.1.11 (2013-07-30) |
| 137 |
+++++++++++++++++++ |
| 138 |
|
| 139 |
- Fixed an issue with ``next_run()`` throwing a ``ValueError`` exception when the job queue is empty. Thanks to @dpagano for pointing this out and thanks to @mrhwick for quickly providing a fix. |
| 140 |
|
| 141 |
0.1.10 (2013-06-07) |
| 142 |
+++++++++++++++++++ |
| 143 |
|
| 144 |
- Fixed issue with ``at_time`` jobs not running on the same day the job is created (Thanks to @mattss) |
| 145 |
|
| 146 |
0.1.9 (2013-05-27) |
| 147 |
++++++++++++++++++ |
| 148 |
|
| 149 |
- Added ``schedule.next_run()`` |
| 150 |
- Added ``schedule.idle_seconds()`` |
| 151 |
- Args passed into ``do()`` are forwarded to the job function at call time |
| 152 |
- Increased test coverage to 100% |
| 153 |
|
| 154 |
|
| 155 |
0.1.8 (2013-05-21) |
| 156 |
++++++++++++++++++ |
| 157 |
|
| 158 |
- Changed default ``delay_seconds`` for ``schedule.run_all()`` to 0 (from 60) |
| 159 |
- Increased test coverage |
| 160 |
|
| 161 |
0.1.7 (2013-05-20) |
| 162 |
++++++++++++++++++ |
| 163 |
|
| 164 |
- API change: renamed ``schedule.run_all_jobs()`` to ``schedule.run_all()`` |
| 165 |
- API change: renamed ``schedule.run_pending_jobs()`` to ``schedule.run_pending()`` |
| 166 |
- API change: renamed ``schedule.clear_all_jobs()`` to ``schedule.clear()`` |
| 167 |
- Added ``schedule.jobs`` |
| 168 |
|
| 169 |
0.1.6 (2013-05-20) |
| 170 |
++++++++++++++++++ |
| 171 |
|
| 172 |
- Fix packaging |
| 173 |
- README fixes |
| 174 |
|
| 175 |
0.1.4 (2013-05-20) |
| 176 |
++++++++++++++++++ |
| 177 |
|
| 178 |
- API change: renamed ``schedule.tick()`` to ``schedule.run_pending_jobs()`` |
| 179 |
- Updated README and ``setup.py`` packaging |
| 180 |
|
| 181 |
0.1.0 (2013-05-19) |
| 182 |
++++++++++++++++++ |
| 183 |
|
| 184 |
- Initial release |