| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-03-06 | Fixed #36968 -- Improved error message when collectstatic can't find a ↵ | James Bligh | |
| referenced file. | |||
| 2026-03-04 | Fixed #21080 -- Ignored urls inside comments during collectstatic. | James Bligh | |
| Thanks Mariusz Felisiak for the review. Co-authored-by: Nathan Gaberel <nathan@gnab.fr> | |||
| 2025-07-23 | Refs #36500 -- Rewrapped long docstrings and block comments via a script. | django-bot | |
| Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505. | |||
| 2025-07-01 | Fixed #35846 -- Ensured consistent path ordering in ↵ | Matthew Stell | |
| ManifestStaticFilesStorage manifest files. This change reuses the existing sorting of `hashed_files` in `ManifestStaticFilesStorage.save_manifest` to also store a sorted `paths` mapping in the manifest file. This ensures stable manifest output that does not change unnecessarily. | |||
| 2025-05-16 | Fixed #36348 -- Fixed handling multiple nested url()s in ↵ | Samuel Cormier-Iijima | |
| ManifestStaticFilesStorage. Signed-off-by: Samuel Cormier-Iijima <samuel@cormier-iijima.com> | |||
| 2024-08-30 | Fixed #35669 -- Improved max post-process passes exceeded error message in ↵ | SaJH | |
| HashedFilesMixin. Signed-off-by: SaJH <wogur981208@gmail.com> | |||
| 2024-08-07 | Fixed #35553 -- Handled import*as in HashedFilesMixin. | Farhan | |
| 2024-02-28 | Fixed #29022 -- Fixed handling protocol-relative URLs in ↵ | Adam Zapletal | |
| ManifestStaticFilesStorage when STATIC_URL is set to /. | |||
| 2023-08-02 | Removed unneeded escapes in regexes. | Mariusz Felisiak | |
| Special characters lose their special meaning inside sets of characters. "-" lose its special meaning if it's placed as the first or last character. Follow up to 7c6b66383da5f9a67142334cd2ed2d769739e8f1. | |||
| 2023-04-21 | Fixed #34496 -- Fixed handling source maps with data URI in ↵ | Hielke Walinga | |
| ManifestStaticFilesStorage. Regression in 781b44240a06f0c868254f40f36ce46c927f56d1. | |||
| 2023-03-18 | Fixed #34322 -- Made ES module support to ManifestStaticFilesStorage optional. | Mariusz Felisiak | |
| Co-authored-by: Author: Claude Paroz <claude@2xlibre.net> | |||
| 2023-03-12 | Fixed #34407 -- Reported filename when decoding fails in collectstatic's ↵ | Claude Paroz | |
| post_process. | |||
| 2023-01-18 | Refs #34233 -- Used str.removeprefix()/removesuffix(). | Mariusz Felisiak | |
| 2023-01-18 | Fixed #34233 -- Dropped support for Python 3.8 and 3.9. | Mariusz Felisiak | |
| 2023-01-12 | Refs #26029 -- Deprecated DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings. | Jarosław Wygoda | |
| 2023-01-02 | Fixed #34235 -- Added ManifestFilesMixin.manifest_hash attribute. | Florian Apolloner | |
| This adds ManifestFilesMixin.manifest_hash attribute exposing a "hash" of the full manifest. This allows applications to determine when their static files have changed. | |||
| 2022-12-07 | Fixed #32319 -- Added ES module support to ManifestStaticFilesStorage. | James Bligh | |
| Co-authored-by: James Bligh <james.bligh@silvercloudhealth.com> | |||
| 2022-06-23 | Made HashedFilesMixin ignore URLs without a path. | Florian Apolloner | |
| 2022-03-04 | Refs #33446 -- Allowed variable whitespace in CSS source map references. | Adam Johnson | |
| Follow up to dc8bb35e39388d41b1f38b6c5d0181224e075f16. The Webpack default is to output CSS source map comments like `/*# sourceMappingURL=main.css.map*/`. Also, Chromium allows tabs. | |||
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2022-01-18 | Fixed #33446 -- Added CSS source map support to ManifestStaticFilesStorage. | Adam Johnson | |
| 2021-11-05 | Fixed #33253 -- Reverted "Fixed #32319 -- Added ES module support to ↵ | Mariusz Felisiak | |
| ManifestStaticFilesStorage." This reverts commit 91e21836f667c784a8a63ab1f18d81f553e679cb. `export` and `import` directives have several syntax variants and not all of them were properly covered. Thanks Hervé Le Roy for the report. | |||
| 2021-11-04 | Fixed #33237 -- Fixed detecting source maps in ManifestStaticFilesStorage ↵ | Carlton Gibson | |
| for multiline files. Switched regex to multiline mode in order to match per-line, rather than against the whole file. Thanks to Joseph Abrahams for the report. Regression in 781b44240a06f0c868254f40f36ce46c927f56d1. | |||
| 2021-10-12 | Fixed #28401 -- Allowed hashlib.md5() calls to work with FIPS kernels. | Ade Lee | |
| md5 is not an approved algorithm in FIPS mode, and trying to instantiate a hashlib.md5() will fail when the system is running in FIPS mode. md5 is allowed when in a non-security context. There is a plan to add a keyword parameter (usedforsecurity) to hashlib.md5() to annotate whether or not the instance is being used in a security context. In the case where it is not, the instantiation of md5 will be allowed. See https://bugs.python.org/issue9216 for more details. Some downstream python versions already support this parameter. To support these versions, a new encapsulation of md5() has been added. This encapsulation will pass through the usedforsecurity parameter in the case where the parameter is supported, and strip it if it is not. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2021-08-05 | Fixed #27590 -- Allowed customizing a manifest file storage in ↵ | Jarosław Wygoda | |
| ManifestFilesMixin. | |||
| 2021-06-07 | Fixed #32716 -- Fixed ManifestStaticFilesStorage crash when ↵ | aryabartar | |
| max_post_process_passes is 0. | |||
| 2021-05-31 | Fixed #32319 -- Added ES module support to ManifestStaticFilesStorage. | Gildardo Adrian Maravilla Jacome | |
| 2021-05-31 | Refs #32319 -- Changed HashedFilesMixin to use named groups in patterns. | Gildardo Adrian Maravilla Jacome | |
| 2021-04-02 | Fixed #32383 -- Added source map support to ManifestStaticFilesStorage. | Adam Johnson | |
| 2021-02-26 | Fixed #28607 -- Prevented duplicates in HashedFilesMixin post-processing ↵ | Jacob Walls | |
| results. Thanks Ed Morley for the implementation idea. | |||
| 2020-04-28 | Fixed #31517 -- Fixed HashedFilesMixin.hashed_name() if hash of the file is ↵ | Richard Campen | |
| None. | |||
| 2019-09-27 | Fixed #30802 -- Prevented manifest creation when running collectstatic in ↵ | pablo | |
| dry run mode. | |||
| 2019-09-10 | Refs #28606 -- Removed CachedStaticFilesStorage per deprecation timeline. | Mariusz Felisiak | |
| 2019-09-10 | Refs #29817 -- Removed settings.FILE_CHARSET per deprecation timeline. | Mariusz Felisiak | |
| 2019-08-02 | Fixed #30599 -- Prevented ManifestFilesMixin.read_manifest() from silencing ↵ | zeyneloz | |
| errors other than FileNotFoundError. | |||
| 2019-06-03 | Fixed #28604 -- Prevented ManifestStaticFilesStorage from leaving ↵ | Nathan Gaberel | |
| intermediate files. | |||
| 2019-02-06 | Fixed #30159 -- Removed unneeded use of OrderedDict. | Nick Pope | |
| Dicts preserve order since Python 3.6. | |||
| 2019-01-28 | Fixed #30137 -- Replaced OSError aliases with the canonical OSError. | Jon Dufresne | |
| Used more specific errors (e.g. FileExistsError) as appropriate. | |||
| 2018-10-27 | Fixed #28606 -- Deprecated CachedStaticFilesStorage. | Tim Graham | |
| 2018-10-05 | Refs #27795 -- Removed force_bytes() usage in contrib/staticfiles/storage.py. | Jon Dufresne | |
| 2018-01-12 | Fixed #28996 -- Simplified some boolean constructs and removed trivial ↵ | Дилян Палаузов | |
| continue statements. | |||
| 2018-01-03 | Fixed #28982 -- Simplified code with and/or. | Дилян Палаузов | |
| 2017-09-25 | Refs #27857 -- Replaced json.loads() ValueError exception catching with ↵ | Tim Graham | |
| JSONDecodeError. | |||
| 2017-05-27 | Fixed #28249 -- Removed unnecessary dict.keys() calls. | Jon Dufresne | |
| iter(dict) is equivalent to iter(dict.keys()). | |||
| 2017-03-04 | Refs #27795 -- Removed unneeded force_text calls | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-02-23 | Refs #23919 -- Used yield from. | Vytis Banaitis | |
| 2017-02-09 | Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode(). | Tim Graham | |
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Removed most of remaining six usage | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
