Merge branch 'main' of github.com:jazzband/django-avatar

This commit is contained in:
Johannes Wilm 2022-08-11 08:49:50 +02:00
commit 8e086472d4

View file

@ -3,14 +3,14 @@ Changelog
* Unreleased
* Added Django 3.2, 4.0 and 4.1 support.
* Removed Django 1.7, 1.8, 1.9, 1.10, 1.11, 2.0, 2.1, 2.2 and 3.0 support.
* Removed Django 1.9, 1.10, 1.11, 2.0, 2.1, 2.2 and 3.0 support.
* Added Python 3.9 and 3.10 support.
* Removed Python 2.7, 3.4 and 3.5 support.
* Made ``"PNG"`` the default value for ``AVATAR_THUMB_FORMAT`` (Set to ``"JPEG"`` to obtain previous behavior).
* Made ``False`` the default value for ``AVATAR_EXPOSE_USERNAMES`` (Set to ``True`` to obtain previous behavior).
* Don't leak usernames through image alt-tags when ``AVATAR_EXPOSE_USERNAMES`` is `False`.
* New setting ``AVATAR_THUMB_MODES``. Default is `['RGB', 'RGBA']`.
* Use original file as thumbnail if thumbnail creation failed.
* New setting ``AVATAR_THUMB_MODES``. Default is ``['RGB', 'RGBA']``.
* Use original image as thumbnail if thumbnail creation failed but image saving succeeds.
* Add farsi translation.
* Introduce black and flake8 linting