| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-09-18 | Refs #26029 -- Removed DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings. | Mariusz Felisiak | |
| This also removes django.core.files.storage.get_storage_class(). Per deprecation timeline. | |||
| 2023-09-18 | Refs #33199 -- Removed support for passing positional arguments to ↵ | Mariusz Felisiak | |
| Signer/TimestampSigner. Per deprecation timeline. | |||
| 2023-09-11 | Fixed #34752 -- Fixed handling ASGI http.disconnect for streaming responses. | Sam Toyer | |
| 2023-09-11 | Fixed #34642 -- Added File.open() support for *args and **kwargs. | Yves Weissig | |
| 2023-09-03 | Refs #34768 -- Ignored lack of just_fix_windows_console() for colorama < 0.4.6. | Mariusz Felisiak | |
| 2023-09-01 | Fixed #34778 -- Avoided importing modules in startapp/startproject. | Jacob Walls | |
| 2023-09-01 | Fixed #34768 -- Avoided initializing colorama on non-Windows platforms. | Sulabh Katila | |
| 2023-08-19 | Fixed #34779 -- Avoided unnecessary selection of non-nullable m2m fields ↵ | Juan Alvarez | |
| without natural keys during serialization. By using `select_related(None)` instead of `select_related()`, the unnecessary joins are completely avoided. Note that the current tests already covers the change, when the field is not `null=True`. Regression in f9936deed1ff13b20e18bd9ca2b0750b52706b6c. | |||
| 2023-07-27 | Simplified call_command() calls. | Nick Pope | |
| 2023-07-17 | Refs #34118 -- Improved sanitize_address() error message for tuple with ↵ | Mariusz Felisiak | |
| empty strings. | |||
| 2023-07-03 | Fixed CVE-2023-36053 -- Prevented potential ReDoS in EmailValidator and ↵ | Mariusz Felisiak | |
| URLValidator. Thanks Seokchan Yoon for reports. | |||
| 2023-06-28 | Fixed #34681 -- Optimized memcache_key_warnings(). | Adam Johnson | |
| 2023-06-16 | Fixed #34473 -- Fixed step validation for form fields with non-zero minimum ↵ | Jacob Rief | |
| value. | |||
| 2023-06-04 | Fixed #34620 -- Fixed serialization crash on m2m fields without natural keys ↵ | Mariusz Felisiak | |
| when base querysets use select_related(). Regression in 19e0587ee596debf77540d6a08ccb6507e60b6a7. Thanks Martin Svoboda for the report. | |||
| 2023-05-22 | Fixed #34587 -- Allowed customizing table name normalization in inspectdb ↵ | Andrii Kohut | |
| command. | |||
| 2023-05-17 | Fixed #34568 -- Made makemigrations --update respect --name option. | Mariusz Felisiak | |
| Thanks David Sanders for the report. | |||
| 2023-05-04 | Fixed #34535 -- Fixed SQLite dbshell crash on pathlib.Path when handling ↵ | Jan Pieter Waagmeester | |
| CommandError. Regression in 5b884d45ac5b76234eca614d90c83b347294c332. | |||
| 2023-04-13 | Fixed typo in ManagementUtility.autocomplete()'s docstring. | Vitor [Bux]baum | |
| 2023-04-12 | Fixed #34484, Refs #34482 -- Reverted "Fixed #29186 -- Fixed pickling ↵ | Mariusz Felisiak | |
| HttpRequest and subclasses." This reverts commit 6220c445c40a6a7f4d442de8bde2628346153963. Thanks Adam Johnson and Márton Salomváry for reports. | |||
| 2023-04-12 | Fixed #27505 -- Allowed customizing Paginator's error messages. | Marcelo Galigniana | |
| 2023-04-12 | Fixed #34394 -- Added FORCE_SCRIPT_NAME handling to ASGIRequest. | sarahboyce | |
| Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2023-04-03 | Fixed #33738 -- Allowed handling ASGI http.disconnect in long-lived requests. | th3nn3ss | |
| 2023-03-20 | Fixed some typos in comments, docstrings, and tests. | Liyang Zhang | |
| 2023-03-14 | Improved connection clean-up for SMTP backend. | Carlton Gibson | |
| 2023-03-07 | Fixed #32172 -- Adapted signals to allow async handlers. | Jon Janzen | |
| co-authored-by: kozzztik <kozzztik@mail.ru> co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> | |||
| 2023-03-06 | Fixed #34386 -- Made SMTP backend load default system root CA certificates ↵ | Dmitriy Sintsov | |
| by default. Regression in 2848e5d0ce5cf3c31fe87525536093b21d570f69. | |||
| 2023-02-14 | Fixed CVE-2023-24580 -- Prevented DoS with too many uploaded files. | Markus Holtermann | |
| Thanks to Jakob Ackermann for the report. | |||
| 2023-02-10 | Fixed #32813 -- Made runserver display port after binding. | Dhanush | |
| Thanks Florian Apolloner for the review. | |||
| 2023-02-03 | Fixed #34259 -- Passed called_from_command_line to command subparsers. | Adam Johnson | |
| 2023-02-01 | Refs #33476 -- Applied Black's 2023 stable style. | David Smith | |
| Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0 | |||
| 2023-01-27 | Fixed #28054 -- Made runserver not return response body for HEAD requests. | Sarah Boyce | |
| Co-authored-by: jannschu <jannik.schuerg@posteo.de> | |||
| 2023-01-26 | Fixed #34294 -- Protected django.core.files.locks against argtypes ↵ | Simon Sawicki | |
| redefinition on Windows. | |||
| 2023-01-18 | Refs #34233 -- Used @functools.cache. | Nick Pope | |
| Python 3.9+ supports @functools.cache as an alias for @functools.lru_cache(maxsize=None). | |||
| 2023-01-18 | Refs #34233 -- Used str.removeprefix()/removesuffix(). | Mariusz Felisiak | |
| 2023-01-18 | Refs #34233 -- Used aiter() and anext(). | Nick Pope | |
| Available since Python 3.10. | |||
| 2023-01-18 | Fixed #34233 -- Dropped support for Python 3.8 and 3.9. | Mariusz Felisiak | |
| 2023-01-17 | Refs #29708 -- Removed PickleSerializer per deprecation timeline. | Mariusz Felisiak | |
| 2023-01-12 | Refs #26029 -- Deprecated DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings. | Jarosław Wygoda | |
| 2023-01-12 | Fixed #26029 -- Allowed configuring custom file storage backends. | Jarosław Wygoda | |
| 2023-01-10 | Fixed #34110 -- Added in-memory file storage. | Francesco Panico | |
| Thanks Paolo Melchiorre, Carlton Gibson, and Mariusz Felisiak for reviews. | |||
| 2023-01-05 | Fixed #33865 -- Optimized LimitedStream wrapper. | Nick Pope | |
| The current implementation of LimitedStream is slow because .read() performs an extra copy into a buffer and .readline() performs two extra copies. The stream being wrapped is already typically a BytesIO object so this is unnecessary. This implementation has largely been untouched for 12 years and, inspired by a simpler implementation in werkzeug, it was possible to achieve the following performance improvement: LimitedStream.read() (single line): Mean +- std dev: [bench_limitedstream-main] 286 ns +- 6 ns -> [bench_limitedstream-patch] 227 ns +- 6 ns: 1.26x faster LimitedStream.readline() (single line): Mean +- std dev: [bench_limitedstream-main] 507 ns +- 11 ns -> [bench_limitedstream-patch] 232 ns +- 8 ns: 2.18x faster LimitedStream.read(8192) (single line): Mean +- std dev: [bench_limitedstream-main] 360 ns +- 8 ns -> [bench_limitedstream-patch] 297 ns +- 6 ns: 1.21x faster LimitedStream.readline(8192) (single line): Mean +- std dev: [bench_limitedstream-main] 602 ns +- 10 ns -> [bench_limitedstream-patch] 305 ns +- 10 ns: 1.98x faster LimitedStream.read() (multiple lines): Mean +- std dev: [bench_limitedstream-main] 290 ns +- 5 ns -> [bench_limitedstream-patch] 236 ns +- 6 ns: 1.23x faster LimitedStream.readline() (multiple lines): Mean +- std dev: [bench_limitedstream-main] 517 ns +- 19 ns -> [bench_limitedstream-patch] 239 ns +- 7 ns: 2.16x faster LimitedStream.read(8192) (multiple lines): Mean +- std dev: [bench_limitedstream-main] 363 ns +- 8 ns -> [bench_limitedstream-patch] 311 ns +- 11 ns: 1.17x faster LimitedStream.readline(8192) (multiple lines): Mean +- std dev: [bench_limitedstream-main] 601 ns +- 12 ns -> [bench_limitedstream-patch] 308 ns +- 7 ns: 1.95x faster Geometric mean: 1.59x faster | |||
| 2022-12-28 | Fixed #14094 -- Added support for unlimited CharField on PostgreSQL. | Adrian Torres | |
| Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2022-12-28 | Fixed #18468 -- Added support for comments on columns and tables. | kimsoungryoul | |
| Thanks Jared Chung, Tom Carrick, David Smith, Nick Pope, and Mariusz Felisiak for reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Nick Pope <nick@nickpope.me.uk> | |||
| 2022-12-22 | Fixed #33735 -- Added async support to StreamingHttpResponse. | Carlton Gibson | |
| Thanks to Florian Vazelle for initial exploratory work, and to Nick Pope and Mariusz Felisiak for review. | |||
| 2022-12-20 | Refs #34118 -- Adopted asgiref coroutine detection shims. | Carlton Gibson | |
| Thanks to Mariusz Felisiak for review. | |||
| 2022-12-16 | Fixed #34212 -- Made RedisCacheClient.incr() use write connection. | Leo | |
| Co-authored-by: Sin-Woo Bang <sinwoobang@gmail.com> | |||
| 2022-12-15 | Fixed #33308 -- Added support for psycopg version 3. | Daniele Varrazzo | |
| Thanks Simon Charette, Tim Graham, and Adam Johnson for reviews. Co-authored-by: Florian Apolloner <florian@apolloner.eu> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2022-12-13 | Fixed #34209 -- Prevented FileBasedCache.has_key() crash caused by a race ↵ | Marti Raudsepp | |
| condition. | |||
| 2022-12-09 | Fixed #33199 -- Deprecated passing positional arguments to ↵ | SirAbhi13 | |
| Signer/TimestampSigner. Thanks Jacob Walls for the implementation idea. | |||
| 2022-12-08 | Made inspectdb used Cursor.description.display_size for CharFields' max_length. | Mariusz Felisiak | |
| internal_size is size for fixed-size types not for char types. | |||
