Skip to content

Commit

Permalink
Bump to version 2.1rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
jrief committed Nov 25, 2020
1 parent 31b33b9 commit b5c47e3
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 7 deletions.
39 changes: 33 additions & 6 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,39 @@
CHANGELOG
=========

next
====

* Add support for SVG images. They behave like normal images.
* Changed all icons to SVG.
* Increased the size of the uploaded preview image from 36x36 to 80x80 pixels.
2.1rc1 (2020-11-25)
====================

* Add support for SVG images. They now are handled by the model
``filer.imagemodels.Image`` and can be used whereever a pixel based image
was used. This includes scaling and cropping using existing thumbnailing
functionality from the
`easy-thumbnails <https://easy-thumbnails.readthedocs.io/en/latest/index.html>`_
library.
* Drop support for high resolution images and remove ``retina.js`` from project.
High resolution images are handled by the HTML standard attribute in
``<img srcset="..." ... />``.
* In model ``filer.imagemodels.Image`` change ``_width`` and ``_height`` to
Django's ``FloatFields``; this because SVG images specify their image
extensions as floats rather than integers.
* All icons for displaying folders, files (not images) have been replaced by
nicer looking SVG variants from `PaoMedia <https://paomedia.github.io/small-n-flat/>`_.
* Increase size of thumbnails in the admin backend's list view from 25x25 to
40x40 pixels.
* For local development switched to NodeJS version 14.
* Add templatetag ``file_icon`` to ``file_admin_tags.py``. It now handles the
rendering of all file types, including folders, zip-files and missing files.
* Remove pre-thumbnailing of images. Up to version 2.0, all images were scaled
immediatly after upload into many different sizes, most of which never were
used. Thumbnailing in the admin backend now is perfomerd lazily.
* Uploaded audio can be listened at in their detail view.
* Uploaded video files can be previewed in their detail view.
* Fix scaling of very wide but short images – causing a division by zero
exception: ceil height to integer.
* Add method ``exists()`` to ``MultiStorageFieldFile``, which checks if a file
exists on disk.
* Drop support of Python-3.5 (Reason: Third party requirement
`reportlabs <https://www.reportlab.com/>`_ requires Python>=3.6).


2.0.2 (2020-09-10)
Expand Down
2 changes: 1 addition & 1 deletion filer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
10. twine upload dist/django-filer-{new version}.tar.gz
"""

__version__ = '2.1.0'
__version__ = '2.1rc1'

default_app_config = 'filer.apps.FilerConfig'

0 comments on commit b5c47e3

Please sign in to comment.