* Mon Jan 06 2020 Tomá? Chvátal <tchvatal@suse.com>
- Update to 2.4 release:
* support for newer django releases
- Drop merged patch:
* pr_956.patch
* Mon Jan 06 2020 Tomá? Chvátal <tchvatal@suse.com>
- Rename to django-compressor to match up pypi name
* Sat Sep 14 2019 John Vandenberg <jayvdb@gmail.com>
- Add pr_956.patch to fix tests to use sys.executable
* Mon Jun 03 2019 Tomá? Chvátal <tchvatal@suse.com>
- Update to 2.3 release:
- 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)
- Drop merged patch compressor-django2.patch
* Fri Jan 04 2019 Jan Engelhardt <jengelh@inai.de>
- Use noun phrase for summary.
* Thu Jan 03 2019 Tomá? Chvátal <tchvatal@suse.com>
- Add patch to build with django 2.0:
* compressor-django2.patch
* Thu Jan 03 2019 Tomá? Chvátal <tchvatal@suse.com>
- Add missing dependencies
* Tue Dec 11 2018 Tomá? Chvátal <tchvatal@suse.com>
- Enable testsuite (currently failing)
* Wed Nov 15 2017 buschmann23@opensuse.org
- update to 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
- spec file
+ convert to single spec file
* Wed Aug 16 2017 dmueller@suse.com
- update to 2.1.1
* Wed Feb 22 2017 sbrabec@suse.com
- Update to version 2.1:
* Add Django 1.10 compatibility
* Add support for inheritance using a variable in offline
compression
* Fix recursion error with offline compression when extending
templates with the same name
* Fix UnicodeDecodeError when using CompilerFilter and caching
* Fix CssAbsoluteFilter changing double quotes to single quotes,
breaking SVG
* Wed Jul 06 2016 dmueller@suse.com
- update to 2.0:
- Add Django 1.9 compatibility
- Remove official support for Django 1.4 and 1.7
- Add official support for Python 3.5
- Remove official support for Python 2.6
- Remove support for coffin and jingo
- Fix Jinja2 compatibility for Django 1.8+
- Stop bundling vendored versions of rcssmin and rjsmin, make them proper dependencies
- Remove support for CSSTidy
- Remove support for beautifulsoup 3.
- Replace cssmin by csscompressor (cssmin is still available for backwards-compatibility but points to rcssmin)
* Fri May 20 2016 aplanas@suse.com
- update to 1.6
- Upgrade rcssmin and rjsmin
- Apply CssAbsoluteFilter to precompiled css even when compression is disabled
- Add optional caching to CompilerFilter to avoid re-compiling unchanged files
- Fix various deprecation warnings on Django 1.7 / 1.8
- Fix TemplateFilter
- Fix double-rendering bug with sekizai extension
- Fix debug mode using destination directory instead of staticfiles finders first
- Removed some silent exception catching in compress command
* Sat Jul 25 2015 seife+obs@b1-systems.com
- fix non-suse build by conditionalizing "Suggests" tags
* Thu Jul 23 2015 dmueller@suse.com
- update to 1.5:
- Fix compress command and run automated tests for Django 1.8
- Fix Django 1.8 warnings
- Handle TypeError from import_module
- Fix reading UTF-8 files which have BOM
- Fix incompatibility with Windows (shell_quote is not supported)
- Run automated tests on Django 1.7
- Ignore non-existent {{ block.super }} in offline compression instead of raising AttributeError
- Support for clean-css
- Fix link markup
- Add support for COMPRESS_CSS_HASHING_METHOD = None
- Remove compatibility with old 'staticfiles' app
- In compress command, use get_template() instead of opening template files manually, fixing compatibility issues
- Fix FilterBase so that does not override self.type for subclasses if filter_type is not specified at init
- Remove unnecessary filename and existence checks in CssAbsoluteFilter
* Thu Jun 26 2014 dmueller@suse.com
- update to 1.4:
- Added Python 3 compatibility.
- Added compatibility with Django 1.6.x.
- Fixed compatibility with html5lib 1.0.
- Added offline compression for Jinja2 with Jingo and Coffin integration.
- Improved support for template inheritance in offline compression.
- Made offline compression avoid compressing the same block multiple times.
- Added a ``testenv`` target in the Makefile to make it easier to set up the
test environment.
- Allowed data-uri filter to handle external/protocol-relative references.
- Made ``CssCompressor`` class easier to extend.
- Added support for explictly stating the block being ended.
- Added rcssmin and updated rjsmin.
- Removed implicit requirement on BeautifulSoup.
- Made GzipCompressorFileStorage set access and modified times to the same time
as the corresponding base file.
- Defaulted to using django's simplejson, if present.
- Fixed CompilerFilter to always output Unicode strings.
- Fixed windows line endings in offline compression.
* Thu Oct 24 2013 speilicke@suse.com
- Require python-setuptools instead of distribute (upstreams merged)
* Mon May 13 2013 dmueller@suse.com
- update to 1.3:
- *Backward incompatible changes*
- Dropped support for Python 2.5. Removed ``any`` and ``walk`` compatibility
functions in ``compressor.utils``.
- Removed compatibility with Django 1.2 for default values of some settings:
- :attr:`~COMPRESS_ROOT` no longer uses ``MEDIA_ROOT`` if ``STATIC_ROOT`` is
not defined. It expects ``STATIC_ROOT`` to be defined instead.
- :attr:`~COMPRESS_URL` no longer uses ``MEDIA_URL`` if ``STATIC_URL`` is
not defined. It expects ``STATIC_URL`` to be defined instead.
- :attr:`~COMPRESS_CACHE_BACKEND` no longer uses ``CACHE_BACKEND`` and simply
defaults to ``default``.
- Added precompiler class support. This enables you to write custom precompilers
with Python logic in them instead of just relying on executables.
- Made CssAbsoluteFilter smarter: it now handles URLs with hash fragments or
querystring correctly. In addition, it now leaves alone fragment-only URLs.
- Removed a ``fsync()`` call in ``CompilerFilter`` to improve performance.
We already called ``self.infile.flush()`` so that call was not necessary.
- Added an extension to provide django-sekizai support.
See :ref:`django-sekizai Support <django-sekizai_support>` for more
information.
- Fixed a ``DeprecationWarning`` regarding the use of ``django.utils.hashcompat``
- Updated bundled ``rjsmin.py`` to fix some JavaScript compression errors.
* Wed Nov 28 2012 saschpe@suse.de
- Add suggestions for useful additions:
+ python-beautifulsoup
+ python-html5lib
+ python-lxml
+ python-slimit
* Mon Nov 26 2012 cfarrell@suse.com
- license update: MIT and BSD-3-Clause and Apache-2.0