Skip to content

Conversation

@pyup-bot
Copy link
Collaborator

This PR updates django-compressor from 2.2 to 2.4.1.

Changelog

2.4.1

-----------------

`Full Changelog <https://github.com/django-compressor/django-compressor/compare/2.4...2.4.1>`_

- Raise proper ``DeprecationWarning`` for ``COMPRESS_FILTERS`` and ``COMPRESS_CSS_FILTERS``

2.4

-----------------

`Full Changelog <https://github.com/django-compressor/django-compressor/compare/2.3...2.4>`_

- Add support for Django 3.0 (950, 967)
- Officially support Python 3.8 (967)
- Add better support for JS strict mode and validation (952)
- Add support for rel=preload (951)
- Add support for Calmjs (957)

Note: in 2.3, a new setting ``COMPRESS_FILTERS`` has been introduced that combines the existing ``COMPRESS_CSS_FILTERS`` and ``COMPRESS_JS_FILTERS``. The latter are now deprecated. See `the docs <https://django-compressor.readthedocs.io/en/stable/settings/#django.conf.settings.COMPRESS_FILTERS>`_ on how to use the new setting, the conversion is straightforward.

2.3

-----------------

`Full Changelog <https://github.com/django-compressor/django-compressor/compare/2.2...2.3>`_

- Drop support for Django 1.8, 1.9 and 1.10
- Add support for Django 2.1 and 2.2, as well as Python 3.7
- Update all dependencies. This required minor code changes, you might need to update some optional dependencies if you use any
- Allow the mixed use of JS/CSS in Sekizai's templatetags ``{% addtoblock "js" %}`` and ``{% addtoblock "css" %}`` (891)
- Allow the implementation of new types other than css and js. (900)
- Update jinja2 extension to behave similar to the django tag (899)
- Fix crash in offline compression when child nodelist is None, again (605)
- Support STATIC_URL and COMPRESS_URL being string-like objects
- Improve compress command memory usage (870)
- Ensure generated file always contains a base name (775)
- Add BrotliCompressorFileStorage (867)
Links

@codecov
Copy link

codecov bot commented Apr 18, 2021

Codecov Report

❗ No coverage uploaded for pull request base (master@1bae2b7). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #365   +/-   ##
=========================================
  Coverage          ?   98.85%           
=========================================
  Files             ?       35           
  Lines             ?      522           
  Branches          ?        0           
=========================================
  Hits              ?      516           
  Misses            ?        6           
  Partials          ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1bae2b7...13b62f7. Read the comment docs.

@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #466

@pyup-bot pyup-bot closed this Dec 12, 2021
@upy upy deleted the pyup-update-django-compressor-2.2-to-2.4.1 branch December 12, 2021 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants