| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-06-26 | Fixed #30588 -- Fixed crash of autoreloader when __main__ module doesn't ↵ | Tom Forbes | |
| have __file__ attribute. | |||
| 2019-06-24 | Simplified handling of non-existent paths in autoreloader with ↵ | Tom Forbes | |
| Path.resolve(strict=True). | |||
| 2019-06-20 | Fixed #30451 -- Added ASGI handler and coroutine-safety. | Andrew Godwin | |
| This adds an ASGI handler, asgi.py file for the default project layout, a few async utilities and adds async-safety to many parts of Django. | |||
| 2019-06-11 | Fixed #27486 -- Fixed Python 3.7 DeprecationWarning in intword and ↵ | Jon Dufresne | |
| filesizeformat filters. intword and filesizeformat passed floats to ngettext() which is deprecated in Python 3.7. The rationale for this warning is documented in BPO-28692: https://bugs.python.org/issue28692. For filesizeformat, the filesize value is expected to be an int -- it fills %d string formatting placeholders. It was likely coerced to a float to ensure floating point division on Python 2. Python 3 always does floating point division, so coerce to an int instead of a float to fix the warning. For intword, the number may contain a decimal component. In English, a decimal component makes the noun plural. A helper function, round_away_from_one(), was added to convert the float to an integer that is appropriate for ngettext(). | |||
| 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-05-27 | Refs #30485 -- Avoided unnecessary instance checks in urlencode. | Simon Charette | |
| Given doseq defaults to False it should avoid an unnecessary instance check in most cases. | |||
| 2019-05-24 | Fixed #30485 -- Adjusted django.utils.http.urlencode for doseq=False case. | Johan Lübcke | |
| 2019-05-22 | Fixed #30498 -- Fixed proxy class caching in lazy(). | Ran Benita | |
| lazy() should prepare the proxy class only once (the first time it's used) not on every call. Regression in b4e76f30d12bfa8a53cc297c60055c6f4629cc4c. | |||
| 2019-05-20 | Fixed #27635 -- Used secrets module in django.utils.crypto. | Nick Pope | |
| 2019-05-20 | Refs #27635 -- Removed fallback when SystemRandom() isn't available that ↵ | Nick Pope | |
| doesn't work. Fallback was untested and likely never triggered. | |||
| 2019-05-15 | Refs #27685 -- Logged unexpected Watchman autoreloader errors. | Daniel Hahler | |
| 2019-05-08 | Refs #27753 -- Deprecated django.utils.text.unescape_entities(). | Jon Dufresne | |
| The function was undocumented and only required for compatibility with Python 2. Code should use Python's html.unescape() that was added in Python 3.4. | |||
| 2019-05-03 | Ignored pywatchman.SocketTimeout in Watchman autoreloader. | Daniel Hahler | |
| Bumped minimum supported pywatchman version to 1.2.0. These exceptions don't require checking a server status. | |||
| 2019-04-29 | Fixed #30323 -- Fixed detecting changes by autoreloader when using StatReloader. | Tom Forbes | |
| 2019-04-29 | Refs #30323 -- Prevented crash of autoreloader when ↵ | Tom Forbes | |
| get_resolver().urlconf_module raising an exception. | |||
| 2019-04-29 | Refs #30323 -- Simplified utils.autoreload.ensure_echo_on(). | 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-25 | Fixed #30399 -- Changed django.utils.html.escape()/urlize() to use ↵ | Jon Dufresne | |
| html.escape()/unescape(). | |||
| 2019-04-13 | Fixed #30363 -- Do not use exponential notation for small decimal numbers. | Sjoerd Job Postmus | |
| In 9cc6a60040b0f64f8ea066dd215176d4bd16621d a security patch was introduced to prevent allocating large segments of memory when a very large or very small decimal number was to be formatted. As a side-effect, there was a change in formatting of small decimal numbers even when the `decimal_pos` argument was provided, which meant that reasonable small decimal numbers (above 1e-199) would be formatted as `0.00`, while smaller decimal numbers (under 1e-200) would be formatted as `1e-200`. | |||
| 2019-03-28 | Fixed "byte string" typo in various docs and comments. | Mariusz Felisiak | |
| 2019-02-27 | Fixed #30215 -- Fixed autoreloader crash for modules without __spec__. | shiningfm | |
| Regression in c8720e7696ca41f3262d5369365cc1bd72a216ca. | |||
| 2019-02-25 | Refs #27685 -- Removed "watchman unavailable" message. | Tom Forbes | |
| 2019-02-25 | Refs #30179 -- Moved topological sort functions to django.utils. | Matthias Kestenholz | |
| 2019-02-23 | Fixed #30141 -- Fixed parse_duration() for some negative durations. | Seunghun Lee | |
| 2019-02-14 | Refs #15902 -- Deprecated storing user's language in the session. | Claude Paroz | |
| 2019-02-11 | Fixed CVE-2019-6975 -- Fixed memory exhaustion in utils.numberformat.format(). | Carlton Gibson | |
| Thanks Sjoerd Job Postmus for the report and initial patch. Thanks Michael Manfre, Tim Graham, and Florian Apolloner for review. | |||
| 2019-02-09 | Removed unneeded list() calls in sorted() argument. | Sergey Fedoseev | |
| 2019-02-08 | Fixed #30165 -- Deprecated ugettext(), ugettext_lazy(), ugettext_noop(), ↵ | Jon Dufresne | |
| ungettext(), and ungettext_lazy(). | |||
| 2019-02-06 | Refs #27753 -- Favored SafeString over SafeText. | Tim Graham | |
| 2019-02-06 | Refs #27753 -- Deprecated django.utils.encoding.force_text() and smart_text(). | Tim Graham | |
| 2019-02-06 | Refs #27753 -- Favored force/smart_str() over force/smart_text(). | Aymeric Augustin | |
| 2019-02-06 | Fixed #30159 -- Removed unneeded use of OrderedDict. | Nick Pope | |
| Dicts preserve order since Python 3.6. | |||
| 2019-02-05 | Refs #27753 -- Removed django.utils.safestring.SafeBytes. | Tim Graham | |
| 2019-02-05 | Refs #27753 -- Removed django.utils.functional.curry(). | Tim Graham | |
| 2019-02-05 | Refs #27753 -- Removed django.utils.decorators.ContextDecorator alias. | Tim Graham | |
| 2019-02-05 | Refs #27753 -- Removed django.utils.six. | Tim Graham | |
| 2019-02-05 | Refs #27753 -- Removed django.utils._os.abspathu(), upath(), and npath(). | Tim Graham | |
| 2019-02-05 | Refs #27753 -- Removed django.utils.decorators.available_attrs(). | Tim Graham | |
| 2019-02-05 | Refs #27753 -- Removed django.utils.lru_cache. | Tim Graham | |
| 2019-02-04 | Refs #27753 -- Deprecated django.utils.http urllib aliases. | Tim Graham | |
| 2019-01-31 | Fixed #30147 -- Simplified directory creation with os.makedirs(..., ↵ | Jon Dufresne | |
| exist_ok=True). | |||
| 2019-01-30 | Fixed #30116 -- Dropped support for Python 3.5. | Tim Graham | |
| 2019-01-28 | Fixed #25624 -- Fixed autoreload crash with jinja2.ModuleLoader. | Tom Forbes | |
| 2019-01-28 | Fixed #30137 -- Replaced OSError aliases with the canonical OSError. | Jon Dufresne | |
| Used more specific errors (e.g. FileExistsError) as appropriate. | |||
| 2019-01-19 | Removed redundant period in Watchman unavailable message. | Tom Forbes | |
| 2019-01-17 | Advanced deprecation warnings for Django 3.0. | Tim Graham | |
| 2019-01-17 | Refs #28965 -- Removed utils.http.cookie_date() per deprecation timeline. | Tim Graham | |
| 2019-01-16 | Fixed #20147 -- Added HttpRequest.headers. | Santiago Basulto | |
