v. 4.0
This is major version which will drop compatibility with old Python and Django versions.
- Supported Python versions are: 2.7, 3.3, 3.4, 3.5
- Supported Django Versions are: 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.10, 1.11
Upgrading from 3.x
Except from dropping support from older Python and Django versions there are no major changes in the API and most users will do not need to change anything in their code in order to upgrade from 3.x to 4.0. Still you can look down for Backward incompatible changes
Changes since 3.3
Full changelog 3.3...4.0
Highlights
- Add support for Django 1.10 and 1.11
- Move
imagekit.templatetags.compat
outside ofimagekit.templatetags
(Fixes #330, #331 and #352) - Include the test suite in the sourcetarball but do not install it. It can be used
by distribution packages during build time (#363) - Various tests improvements:
- honor
post_save
's update_fields and only fire thesource_saved
signal when needed (#390) - Close the file only if it has been opened locally (Fixes #404)
- autodiscover works with
AppConfig
(#412) - Add wheels support (#411)
- Do not try south modelinspector when not needed (Fixes #408)
- Improve caching (Fixes #399 #402)
Backward incompatible changes
Most of the changes probably will not affect you but still there are changes that can affect you:
- If you import something from
imagekit.templatetags.compat
(it's internal API and you should not import anything from there) then you need to fix your imports because this module is now moved toimagekit.compat
- If you have set
IMAGEKIT_CACHE_BACKEND
and rely onTIMEOUT
defined there it will no longer use that value. Now by default in production (whenDEBUG = False
) timeout will beNone
which means forever. If you want to change this value you need to setIMAGEKIT_CACHE_TIMEOUT