Django-compressor

Latest version: v4.4

Safety actively analyzes 625786 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

3.1

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

`Full list of changes from v3.0 <https://github.com/django-compressor/django-compressor/compare/3.0...3.1>`_

- Fix error with verbose offline compression when COMPRESS_OFFLINE_CONTEXT is a generator

3.0

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

`Full list of changes from v2.4.1 <https://github.com/django-compressor/django-compressor/compare/2.4.1...3.0>`_

- Officially support Python 3.9 and 3.10 as well as Django 3.1, 3.2 and 4.0
- Drop support for Django 1.11, 2.1 and 3.0
- Drop support for Python 2.x and 3.4
- Fix compatibility with Jinja 3.x
- Require django-sekizai 2.0 for django-sekizai extension
- Make template compression in compress command threaded to improve performance
- Correctly handle relative paths in ``extends`` tags (979)
- Enable ``rCSSMinFilter`` by default (888)
- Fix various deprecation warnings
- Add ability to pass a logger to various classes & methods
- Removed deprecated ``COMPRESS_JS_FILTERS`` and ``COMPRESS_CSS_FILTERS`` settings
- Fix offline compression race condition, which could result in incomplete manifest

2.4.1

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

`Full list of changes from v2.4 <https://github.com/django-compressor/django-compressor/compare/2.4...2.4.1>`_

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

2.4

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

`Full list of changes from v2.3 <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 list of changes from v2.2 <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)

2.2

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

`Full list of changes from v2.1.1 <https://github.com/django-compressor/django-compressor/compare/2.1.1...2.2>`_

- Switch from MD5 to SHA256 for hashes generation.

- Add Django 1.11 compatibility

- Various compatibility fixes for Python 3.6 and Django 1.8

- Made OfflineGenerationError easier to debug

- Drop support for Python 3.2

- Add new CssRelativeFilter which works like CssAbsoluteFilter but outputs relative URLs.

- Fix URL CssAbsoluteFilter URL detection

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.