Django-imagekit

Latest version: v5.0.0

Safety actively analyzes 619401 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

4.1.0

This is feature release. Add support for new Python and Django versions.
- Supported Python versions are: 2.7, 3.6, 3.7, 3.8, 3.9, 3.10
- Supported Django versions are: 1.8, 1.11, 2.2, 3.1, 3.2

4.0.2

It's a bugfix release. It includes:

- Fix: do not leak open files
- Fix `ImageCacheFile.__repr__` to not send signals
- Fix `generateimages` management command to work for Django 1.10+
- Fix using specs directly in `ProcessedImageField`
- Documentation fixes

4.0.1

It's a bugfix release. It includes:

- Fix performance regression for Django >= 1.7 in ImageKit 4.0 (417)
- Documentations fixes (414, 415)

Full changelog https://github.com/matthewwithanm/django-imagekit/compare/4.0...4.0.1

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**

3.3

Full changelog https://github.com/matthewwithanm/django-imagekit/compare/3.3...4.0

Highlights
- Add support for Django 1.10 and 1.11
- Move `imagekit.templatetags.compat` outside of `imagekit.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:
- Replace Lenna image in tests with a truly free alternative (364)
- Tests no longer leave junk (Fixes 382)
- honor `post_save`'s update_fields and only fire the `source_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 to `imagekit.compat`
- If you have set `IMAGEKIT_CACHE_BACKEND` and rely on `TIMEOUT` defined there it will no longer use that value. Now by default in production (when `DEBUG = False`) timeout will be `None` which means **forever**. If you want to change this value you need to set `IMAGEKIT_CACHE_TIMEOUT`

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.