From 7feafd79a481216cdd85b4828e749fc5efacb8db Mon Sep 17 00:00:00 2001 From: Matthew Stell Date: Tue, 24 Jun 2025 07:27:52 +0100 Subject: Fixed #35846 -- Ensured consistent path ordering in 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. --- docs/releases/6.0.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/releases/6.0.txt b/docs/releases/6.0.txt index 2e3e52444a..29912027ff 100644 --- a/docs/releases/6.0.txt +++ b/docs/releases/6.0.txt @@ -154,7 +154,9 @@ Minor features :mod:`django.contrib.staticfiles` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -* ... +* :class:`~django.contrib.staticfiles.storage.ManifestStaticFilesStorage` now + ensures consistent path ordering in manifest files, making them more + reproducible and reducing unnecessary diffs. :mod:`django.contrib.syndication` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- cgit v1.3