From 35e42dc26c0ece387c97440a4b01cb7f85eb61ac Mon Sep 17 00:00:00 2001 From: Selwin Ong Date: Fri, 8 Jan 2021 13:28:50 +0700 Subject: [PATCH] Bump verstion to 0.4.0 (#93) --- README.rst | 7 +++++++ setup.py | 6 +++--- thumbnails/__init__.py | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 1ca8ed5..4f610bf 100644 --- a/README.rst +++ b/README.rst @@ -162,6 +162,13 @@ To run tests:: Changelog ========= +Version 0.4.0 (2021-01-08) +-------------------------- +* Support for Django >= 3.0. Thanks @christianciu! +* Added `pregenerated_sizes` to `ImageField` to allow thumbnails to be pregenerated on upload. Thanks @marsha97! +* Thumbnails can be generated in different formats (e.g: JPG source image to WEBP thumbnail). Thanks @yosephbernandus! + + Version 0.3.2 ------------- * Fixed another bug in `fetch_thumbnails()` bug. Thanks @marsha97! diff --git a/setup.py b/setup.py index 16d3f2f..12f9cb3 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name='django-thumbnails', - version='0.3.2', + version='0.4.0', author='Selwin Ong', author_email='selwin.ong@gmail.com', packages=['thumbnails'], @@ -14,7 +14,7 @@ zip_safe=False, include_package_data=True, package_data={'': ['README.rst']}, - install_requires=['django', 'da-vinci', 'shortuuid'], + install_requires=['django>=2.0', 'da-vinci', 'shortuuid'], classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', @@ -24,9 +24,9 @@ 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development :: Libraries :: Python Modules', ] diff --git a/thumbnails/__init__.py b/thumbnails/__init__.py index 90e9e74..f904c3a 100644 --- a/thumbnails/__init__.py +++ b/thumbnails/__init__.py @@ -1 +1 @@ -VERSION = (0, 3, 2) +VERSION = (0, 4, 0)