diff --git a/CHANGELOG.txt b/CHANGELOG.txt index ae7d223d1a..def73cf140 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -5,6 +5,7 @@ Changelog ~~~~~~~~~~~~~~~~ * The `Document` model can now be overridden using the new `WAGTAILDOCS_DOCUMENT_MODEL` setting (Alex Gleason) + * Wagtail no longer depends on django-compressor * Snippets now support a custom `edit_handler` property (Mikalai Radchuk) * Date/time pickers now respect the locale's 'first day of week' setting (Peter Quade) * Refactored the way forms are constructed for the page editor, to allow custom forms to be used diff --git a/docs/releases/1.4.rst b/docs/releases/1.4.rst index 5bb2ce1d39..2b331032eb 100644 --- a/docs/releases/1.4.rst +++ b/docs/releases/1.4.rst @@ -16,6 +16,13 @@ Custom document models The ``Document`` model can now be overridden using the new ``WAGTAILDOCS_DOCUMENT_MODEL`` setting. This works in the same way that ``WAGTAILIMAGES_IMAGE_MODEL`` works for ``Image``. + +Removed django-compressor dependency +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Wagtail no longer depends on the `django-compressor `_ library. While we highly recommend compressing and bundling the CSS and Javascript on your sites, using django-compressor places additional installation and configuration demands on the developer, so this has now been made optional. + + Minor features ~~~~~~~~~~~~~~ @@ -44,3 +51,8 @@ Bug fixes Upgrade considerations ====================== + +Removal of django-compressor +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +As Wagtail no longer installs django-compressor automatically as a dependency, you may need to make changes to your site's configuration when upgrading. If your project is actively using django-compressor (that is, your site templates contain ``{% compress %}`` tags), you should ensure that your project's requirements explicitly include django-compressor, rather than indirectly relying on Wagtail to install it. If you are not actively using django-compressor on your site, you should update your settings file to remove the line ``'compressor'`` from ``INSTALLED_APPS``, and remove ``'compressor.finders.CompressorFinder'`` from ``STATICFILES_FINDERS``.