| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-03-10 | Fixed #36943 -- Preserved any exception from URLconf module in autoreloader. | varunkasyap | |
| Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | |||
| 2025-09-25 | Fixed #36434 -- Preserved unbuffered stdio (-u) in autoreloader child. | SaJH | |
| Signed-off-by: SaJH <wogur981208@gmail.com> | |||
| 2023-12-31 | Used addCleanup() in tests where appropriate. | Mariusz Felisiak | |
| 2023-08-28 | Fixed #34787 -- Fixed autoreloader crash when run from installed script on ↵ | sarahboyce | |
| Windows. | |||
| 2023-01-18 | Fixed #34233 -- Dropped support for Python 3.8 and 3.9. | Mariusz Felisiak | |
| 2022-08-11 | Refs #30213 -- Removed post-startup check for Watchman availability. | Carlton Gibson | |
| This is checked at startup in get_reloader(). The runtime check ties the implementation to Watchman excessively. | |||
| 2022-02-07 | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-09-29 | Fixed #33027 -- Made autoreloader pass -X options. | Chenyang Yan | |
| 2021-09-16 | Fixed #32365 -- Made zoneinfo the default timezone implementation. | Carlton Gibson | |
| Thanks to Adam Johnson, Aymeric Augustin, David Smith, Mariusz Felisiak, Nick Pope, and Paul Ganssle for reviews. | |||
| 2021-08-19 | Fixed #32994 -- Fixed autoreloader tests when using 'python -m'. | Jonny Park | |
| 2021-07-23 | Fixed #32913 -- Made watchman reloader tests less flaky. | Nick Pope | |
| 2021-05-26 | Fixed #32669 -- Fixed detection when started non-django modules which aren't ↵ | Moriyoshi Koizumi | |
| packages with "python -m" in autoreloader. | |||
| 2021-05-26 | Fixed #32783 -- Fixed crash of autoreloader when __main__ module doesn't ↵ | Mariusz Felisiak | |
| have __spec__ attribute. Regression in ec6d2531c59466924b645f314ac33f54470d7ac3. Thanks JonathanNickelson for the report. | |||
| 2021-05-04 | Refs #32074 -- Removed usage of deprecated Thread.setDaemon(). | Karthikeyan Singaravelan | |
| Thread.setDaemon() was deprecated in Python 3.10 and will be removed in Python 3.12. | |||
| 2021-02-10 | Fixed #32355 -- Dropped support for Python 3.6 and 3.7 | Mariusz Felisiak | |
| 2021-01-20 | Fixed isolation of utils_tests.test_autoreload tests. | Mariusz Felisiak | |
| 2021-01-18 | Fixed isolation of test_check_errors_catches_all_exceptions. | Mariusz Felisiak | |
| 2021-01-05 | Fixed #32314 -- Fixed detection when started non-django modules with "python ↵ | William Schwartz | |
| -m" in autoreloader. django.utils.autoreload.get_child_arguments() detected when Python was started with the `-m` option only for `django` module. This commit changes the logic to check __spec__, see https://docs.python.org/3/reference/import.html#main-spec Now packages can implement their own __main__ with the runserver command. | |||
| 2020-11-19 | Fixed #32202 -- Fixed autoreloader argument generation for Windows with ↵ | Carlton Gibson | |
| Python 3.7-. | |||
| 2020-11-05 | Fixed #25791 -- Implement autoreload behaviour for cached template loader. | Tom Forbes | |
| 2020-07-20 | Used context manager version of tempfile.TemporaryDirectory() in ↵ | Jon Dufresne | |
| utils_tests.test_autoreload. | |||
| 2020-07-20 | Used temporary directory in RestartWithReloaderTests.test_manage_py(). | Tom Forbes | |
| Using the current directory can cause a PermissionError. | |||
| 2020-06-18 | Fixed #31716 -- Fixed detection of console scripts in autoreloader on Windows. | Tom Forbes | |
| 2019-11-05 | Passed strict=True to Path.resolve() to enforce that the path must exist. | Jon Dufresne | |
| 2019-09-27 | Fixed #30810 -- Fixed ↵ | Pablo García | |
| WatchmanReloaderTests.test_setting_timeout_from_environment_variable test. client_timeout is an instance attribute. | |||
| 2019-08-23 | Replaced subprocess commands by run() wherever possible. | Claude Paroz | |
| 2019-07-24 | Fixed #30647 -- Fixed crash of autoreloader when extra directory cannot be ↵ | Tom Forbes | |
| resolved. | |||
| 2019-07-24 | Removed unused BaseReloader.watch_file(). | Mariusz Felisiak | |
| Unused since its introduction in c8720e7696ca41f3262d5369365cc1bd72a216ca. | |||
| 2019-07-23 | Fixed #30506 -- Fixed crash of autoreloader when path contains null characters. | Tom Forbes | |
| 2019-06-26 | Fixed #30588 -- Fixed crash of autoreloader when __main__ module doesn't ↵ | Tom Forbes | |
| have __file__ attribute. | |||
| 2019-05-29 | Fixed #30523 -- Fixed updating file modification times on seen files in ↵ | Tom Forbes | |
| auto-reloader when using StatReloader. Previously we updated the file mtimes if the file has not been seen before - i.e on the first iteration of the loop. If the mtime has been changed we triggered the notify_file_changed() method which in all cases except the translations will result in the process being terminated. To be strictly correct we need to update the mtime for either branch of the conditional. Regression in 6754bffa2b2df15a741008aa611c1bb0e8dff22b. | |||
| 2019-05-29 | Fixed #30516 -- Fixed crash of autoreloader when re-raising exceptions with ↵ | Tom Forbes | |
| custom signature. Regression in c8720e7696ca41f3262d5369365cc1bd72a216ca. | |||
| 2019-05-28 | Fixed #30479 -- Fixed detecting changes in manage.py by autoreloader when ↵ | Tom Forbes | |
| using StatReloader. Regression in c8720e7696ca41f3262d5369365cc1bd72a216ca. | |||
| 2019-04-29 | Fixed #30323 -- Fixed detecting changes by autoreloader when using StatReloader. | Tom Forbes | |
| 2019-04-26 | Fixed #30361 -- Increased the default timeout of watchman client to 5 ↵ | Jacob Green | |
| seconds and made it customizable. Made the default timeout of watchman client customizable via DJANGO_WATCHMAN_TIMEOUT environment variable. | |||
| 2019-04-24 | Fixed #30366 -- Skipped StatReloaderTests on HFS+ filesystems. | Martijn Jacobs | |
| When on MacOS High Sierra or below (<=10.13) it could be that a HFS+ filesystem is used. HFS+ has a time resolution of only one second which can be too low for some of the tests. | |||
| 2019-03-15 | Cleaned up exception message checking in some tests. | Jon Dufresne | |
| 2019-02-27 | Fixed #30215 -- Fixed autoreloader crash for modules without __spec__. | shiningfm | |
| Regression in c8720e7696ca41f3262d5369365cc1bd72a216ca. | |||
| 2019-02-11 | Fixed spelling mistakes in comments and tests. | Semen Zhydenko | |
| 2019-01-28 | Fixed #25624 -- Fixed autoreload crash with jinja2.ModuleLoader. | Tom Forbes | |
| 2019-01-13 | Fixed #27685 -- Added watchman support to the autoreloader. | Tom Forbes | |
| Removed support for pyinotify (refs #9722). | |||
| 2017-11-06 | Fixed #28501 -- Fixed "python -m django runserver" crash. | Yusuke Miyazaki | |
| 2017-11-06 | Added RestartWithReloaderTests. | Yusuke Miyazaki | |
| 2017-01-20 | Refs #23919 -- Removed django.test.mock Python 2 compatibility shim. | Tim Graham | |
| 2017-01-20 | Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage. | Tim Graham | |
| These functions do nothing on Python 3. | |||
| 2017-01-18 | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2016-12-22 | Added tests for django.utils.autoreload. | Phil Tysoe | |
| 2016-11-10 | Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings. | za | |
| 2015-08-29 | Made the autoreloader survive all exceptions. | Aymeric Augustin | |
| Refs #24704. | |||
