PageRenderTime 55ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

/docs/versionhistory.rst

https://bitbucket.org/jparma/apscheduler
ReStructuredText | 205 lines | 117 code | 88 blank | 0 comment | 0 complexity | 5973467cfa8199549f48ad46b665e01d MD5 | raw file
  1. Version history
  2. ===============
  3. To find out how to migrate your application from a previous version of
  4. APScheduler, see the :doc:`migration section <migration>`.
  5. 3.1.0
  6. -----
  7. * Added RethinkDB job store (contributed by Allen Sanabria)
  8. 3.0.1
  9. -----
  10. * A wider variety of target callables can now be scheduled so that the jobs are still serializable
  11. (static methods on Python 3.3+, unbound methods on all except Python 3.2)
  12. * Attempting to serialize a non-serializable Job now raises a helpful exception during serialization.
  13. Thanks to Jeremy Morgan for pointing this out.
  14. * Fixed table creation with SQLAlchemyJobStore on MySQL/InnoDB
  15. * Fixed start date getting set too far in the future with a timezone different from the local one
  16. * Fixed _run_job_error() being called with the incorrect number of arguments in most executors
  17. 3.0.0
  18. -----
  19. * Added support for timezones (special thanks to Curtis Vogt for help with this one)
  20. * Split the old Scheduler class into BlockingScheduler and BackgroundScheduler and added integration for
  21. asyncio (PEP 3156), Gevent, Tornado, Twisted and Qt event loops
  22. * Overhauled the job store system for much better scalability
  23. * Added the ability to modify, reschedule, pause and resume jobs
  24. * Dropped the Shelve job store because it could not work with the new job store system
  25. * Dropped the max_runs option and run counting of jobs since it could not be implemented reliably
  26. * Adding jobs is now done exclusively through ``add_job()`` -- the shortcuts to triggers were removed
  27. * Added the ``end_date`` parameter to cron and interval triggers
  28. * It is now possible to add a job directly to an executor without scheduling, by omitting the trigger argument
  29. * Replaced the thread pool with a pluggable executor system
  30. * Added support for running jobs in subprocesses (via the ``processpool`` executor)
  31. * Switched from nose to py.test for running unit tests
  32. 2.1.0
  33. -----
  34. * Added Redis job store
  35. * Added a "standalone" mode that runs the scheduler in the calling thread
  36. * Fixed disk synchronization in ShelveJobStore
  37. * Switched to PyPy 1.9 for PyPy compatibility testing
  38. * Dropped Python 2.4 support
  39. * Fixed SQLAlchemy 0.8 compatibility in SQLAlchemyJobStore
  40. * Various documentation improvements
  41. 2.0.3
  42. -----
  43. * The scheduler now closes the job store that is being removed, and all job stores on shutdown() by default
  44. * Added the ``last`` expression in the day field of CronTrigger (thanks rcaselli)
  45. * Raise a TypeError when fields with invalid names are passed to CronTrigger (thanks Christy O'Reilly)
  46. * Fixed the persistent.py example by shutting down the scheduler on Ctrl+C
  47. * Added PyPy 1.8 and CPython 3.3 to the test suite
  48. * Dropped PyPy 1.4 - 1.5 and CPython 3.1 from the test suite
  49. * Updated setup.cfg for compatibility with distutils2/packaging
  50. * Examples, documentation sources and unit tests are now packaged in the source distribution
  51. 2.0.2
  52. -----
  53. * Removed the unique constraint from the "name" column in the SQLAlchemy
  54. job store
  55. * Fixed output from Scheduler.print_jobs() which did not previously output
  56. a line ending at the end
  57. 2.0.1
  58. -----
  59. * Fixed cron style jobs getting wrong default values
  60. 2.0.0
  61. -----
  62. * Added configurable job stores with several persistent back-ends
  63. (shelve, SQLAlchemy and MongoDB)
  64. * Added the possibility to listen for job events (execution, error, misfire,
  65. finish) on a scheduler
  66. * Added an optional start time for cron-style jobs
  67. * Added optional job execution coalescing for situations where several
  68. executions of the job are due
  69. * Added an option to limit the maximum number of concurrenctly executing
  70. instances of the job
  71. * Allowed configuration of misfire grace times on a per-job basis
  72. * Allowed jobs to be explicitly named
  73. * All triggers now accept dates in string form (YYYY-mm-dd HH:MM:SS)
  74. * Jobs are now run in a thread pool; you can either supply your own PEP 3148
  75. compliant thread pool or let APScheduler create its own
  76. * Maximum run count can be configured for all jobs, not just those using
  77. interval-based scheduling
  78. * Fixed a v1.x design flaw that caused jobs to be executed twice when the
  79. scheduler thread was woken up while still within the allowable range of their
  80. previous execution time (issues #5, #7)
  81. * Changed defaults for cron-style jobs to be more intuitive -- it will now
  82. default to all minimum values for fields lower than the least significant
  83. explicitly defined field
  84. 1.3.1
  85. -----
  86. * Fixed time difference calculation to take into account shifts to and from
  87. daylight saving time
  88. 1.3.0
  89. -----
  90. * Added __repr__() implementations to expressions, fields, triggers, and jobs
  91. to help with debugging
  92. * Added the dump_jobs method on Scheduler, which gives a helpful listing of
  93. all jobs scheduled on it
  94. * Fixed positional weekday (3th fri etc.) expressions not working except in
  95. some edge cases (fixes #2)
  96. * Removed autogenerated API documentation for modules which are not part of
  97. the public API, as it might confuse some users
  98. .. Note:: Positional weekdays are now used with the **day** field, not
  99. **weekday**.
  100. 1.2.1
  101. -----
  102. * Fixed regression: add_cron_job() in Scheduler was creating a CronTrigger with
  103. the wrong parameters (fixes #1, #3)
  104. * Fixed: if the scheduler is restarted, clear the "stopped" flag to allow
  105. jobs to be scheduled again
  106. 1.2.0
  107. -----
  108. * Added the ``week`` option for cron schedules
  109. * Added the ``daemonic`` configuration option
  110. * Fixed a bug in cron expression lists that could cause valid firing times
  111. to be missed
  112. * Fixed unscheduling bound methods via unschedule_func()
  113. * Changed CronTrigger constructor argument names to match those in Scheduler
  114. 1.01
  115. ----
  116. * Fixed a corner case where the combination of hour and day_of_week parameters
  117. would cause incorrect timing for a cron trigger