| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-06-21 | Fixed #32859 -- Simplified compress_string() by using gzip.compress(). | Illia Volochii | |
| 2021-06-05 | Fixed #32810 -- Optimized django.utils.formats.number_format() a bit. | Mateo Radman | |
| Pre-calculate use_l10n for get_format() calls. | |||
| 2021-05-29 | Fixed typos in comments and docs. | David Sanders | |
| 2021-05-27 | Fixed #32789 -- Made feeds emit elements with no content as self-closing tags. | Mohammadreza Varasteh | |
| 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-13 | Fixed #32717 -- Fixed filtering of querysets combined with the | operator. | Simon Charette | |
| Address a long standing bug in a Where.add optimization to discard equal nodes that was surfaced by implementing equality for Lookup instances in bbf141bcdc31f1324048af9233583a523ac54c94. Thanks Shaheed Haque for the report. | |||
| 2021-05-12 | Fixed #32738 -- Deprecated django.utils.datetime_safe module. | Nick Pope | |
| 2021-05-12 | Refs #32738 -- Added sanitize_strftime_format() to replace datetime_safe. | Nick Pope | |
| 2021-05-12 | Refs #32738, Refs #29600, Refs #29595 -- Removed unused ↵ | Nick Pope | |
| django.utils.datetime_safe.time(). Unused since c72dde41e603093ab0bb12fa24fa69cfda0d35f9. | |||
| 2021-05-12 | Fixed #32366 -- Updated datetime module usage to recommended approach. | Nick Pope | |
| - Replaced datetime.utcnow() with datetime.now(). - Replaced datetime.utcfromtimestamp() with datetime.fromtimestamp(). - Replaced datetime.utctimetuple() with datetime.timetuple(). - Replaced calendar.timegm() and datetime.utctimetuple() with datetime.timestamp(). | |||
| 2021-05-12 | Fixed #32735 -- Made DateFormat.Y() return a zero-padded year. | Nick Pope | |
| 2021-05-07 | Fixed #32712 -- Deprecated django.utils.baseconv module. | Hasan Ramezani | |
| 2021-05-05 | Fixed #32479 -- Added fallbacks to subsequent language codes in translations. | Maxim Beder | |
| Thanks Claude Paroz and Nick Pope for reviews. | |||
| 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-05-04 | Refs #32074 -- Used asyncio.get_running_loop() instead of get_event_loop(). | Mariusz Felisiak | |
| Using asyncio.get_event_loop() when there is no running event loop was deprecated in Python 3.10, see https://bugs.python.org/issue39529. | |||
| 2021-05-04 | Fixed CVE-2021-31542 -- Tightened path & file name sanitation in file uploads. | Florian Apolloner | |
| 2021-05-04 | Fixed #32709 -- Corrected examples in django/utils/baseconv.py docstring. | pythonwood | |
| 2021-04-29 | Fixed capitalization of "ECMAScript" and "JavaScript". | Nick Pope | |
| 2021-04-10 | Fixed #31937 -- Eased translation of time strings in some languages. | Claude Paroz | |
| 2021-04-09 | Refs #32074 -- Removed usage of Python's deprecated distutils.version package. | Mariusz Felisiak | |
| The distutils package was formally deprecated in Python 3.10 and will be removed in Python 3.12. | |||
| 2021-04-01 | Fixed #32316 -- Deferred accessing __file__. | William Schwartz | |
| Deferred accessing the module-global variable __file__ because the Python import API does not guarantee it always exists—in particular, it does not exist in certain "frozen" environments. The following changes advanced this goal. Thanks to Carlton Gibson, Tom Forbes, Mariusz Felisiak, and Shreyas Ravi for review and feedback. | |||
| 2021-04-01 | Fixed #32610 -- Fixed get_git_changeset() on Linux. | Mariusz Felisiak | |
| shell=True is required on Windows. Unfortunately passing a sequence to subprocess.run() behaves differently on Linux, i.e. the first item specifies the command string, and any additional items are treated as additional arguments to the shell itself. https://docs.python.org/3.9/library/subprocess.html#subprocess.Popen https://docs.python.org/3.9/library/subprocess.html#converting-an-argument-sequence-to-a-string-on-windows Regression in a44d80f88e22eda24dacef48e368895ebea96635. | |||
| 2021-03-26 | Refs #32355 -- Corrected comments about Python's _NamespacePath. | William Schwartz | |
| _NamespacePath supports indexing in Python 3.8+. | |||
| 2021-03-23 | Optimized django.utils.text.capfirst(). | Nick Pope | |
| Unconditionally coercing to str type twice is expensive. | |||
| 2021-03-22 | Refs #31732 -- Fixed django.utils.inspect caching for bound methods. | Adam Johnson | |
| Thanks Alexandr Artemyev for the report, and Simon Charette for the original patch. | |||
| 2021-03-22 | Fixed #32581 -- Prevented to_locale() from corrupting locale names. | Claude Paroz | |
| 2021-03-15 | Refs #32508 -- Raised ValueError instead of using "assert" in lazy(). | Hasan Ramezani | |
| 2021-03-10 | Refs #24121 -- Added __repr__() to MiddlewareMixin and subclasses. | Jonny Park | |
| 2021-03-10 | Refs #24121 -- Added __repr__() to OrderedSet. | Nick Pope | |
| 2021-03-08 | Fixed #32517 -- Made OrderedSet reversible. | Diego Lima | |
| Refs #32516. | |||
| 2021-03-02 | Refs #21429 -- Added SimpleTestCase.assertNoLogs() on Python < 3.10. | François Freitag | |
| 2021-02-10 | Refs #32355 -- Restored PY36 and PY37 version constants. | Carlton Gibson | |
| Partially reverts ec0ff406311de88f4e2a135d784363424fe602aa. PY36 should be removed when Django 2.2 is EOL. PY37 should be removed when Django 3.2 is EOL. Thanks to Tim Graham for the report. | |||
| 2021-02-10 | Fixed #32355 -- Dropped support for Python 3.6 and 3.7 | Mariusz Felisiak | |
| 2021-02-01 | Fixed CVE-2021-3281 -- Fixed potential directory-traversal via ↵ | Mariusz Felisiak | |
| archive.extract(). Thanks Florian Apolloner, Shai Berger, and Simon Charette for reviews. Thanks Wang Baohua for the report. | |||
| 2021-01-19 | Refs #32365 -- Allowed use of non-pytz timezone implementations. | Paul Ganssle | |
| 2021-01-14 | Advanced deprecation warnings for Django 4.0. | Mariusz Felisiak | |
| 2021-01-14 | Refs #31359 -- Made get_random_string()'s length argument required. | Mariusz Felisiak | |
| Per deprecation timeline. | |||
| 2021-01-14 | Refs #26601 -- Made get_response argument required and don't accept None in ↵ | Mariusz Felisiak | |
| middleware classes. Per deprecation timeline. | |||
| 2021-01-14 | Refs #30747 -- Removed django.utils.http.is_safe_url() per deprecation timeline. | Mariusz Felisiak | |
| 2021-01-14 | Refs #27753 -- Removed django.utils.text.unescape_entities() per deprecation ↵ | Mariusz Felisiak | |
| timeline. | |||
| 2021-01-14 | Refs #15902 -- Stopped set_language() storing user's language in the session. | Mariusz Felisiak | |
| Per deprecation timeline. | |||
| 2021-01-14 | Refs #30165 -- Removed ugettext(), ugettext_lazy(), ugettext_noop(), ↵ | Mariusz Felisiak | |
| ungettext(), and ungettext_lazy() per deprecation timeline. | |||
| 2021-01-14 | Refs #27753 -- Removed django.utils.encoding.force_text() and smart_text() ↵ | Mariusz Felisiak | |
| per deprecation timeline. | |||
| 2021-01-14 | Refs #27753 -- Removed django.utils.http urllib aliases per deprecation ↵ | Mariusz Felisiak | |
| timeline. | |||
| 2021-01-13 | Refs #31358 -- Added constant for get_random_string()'s default alphabet. | Florian Apolloner | |
| 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-12-21 | Fixed #32269 -- Fixed parse_duration() for negative days in ISO 8601 format. | starryrbs | |
| 2020-12-21 | Fixed #32208 -- Allowed adding lazy() objects. | Hasan Ramezani | |
| Co-authored-by: Claude Paroz <claude@2xlibre.net> | |||
| 2020-12-14 | Added docstring to django.utils.inspect.func_accepts_kwargs(). | Adam Johnson | |
