Django-imagefield

Latest version: v0.21.0

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

Scan your dependencies

Page 1 of 4

0.21

~~~~~~~~~~~~~~~~~

- Documented the ``preview`` spec used in the preview widget.
- Started masquerading our custom model fields as default Django image and char
fields. This is expected to create migrations if you're already using the
fields.

0.20

~~~~~~~~~~~~~~~~~

- Added support for setting ``IMAGEFIELD_AUTOGENERATE = False``. Previously,
only ``True`` or an iterable were supported.
- Dropped compatibility with Python 3.8 and 3.9.
- Added Python 3.13.
- Excluded Pillow 11.0.0 from the list of supported Pillow versions, see
`8535 <https://github.com/python-pillow/Pillow/issues/8530>`__.

0.19

~~~~~~~~~~~~~~~~~

- Updated the pre-commit configuration, switched to biomejs.
- Started using a process pool to process images in parallel in
``process_imagefields``.
- Added Django 5.1rc1 to the CI, removed 4.1 (3.2 is still there).
- Attached signal handlers to model subclasses as well, so that proxy models
are supported too.

0.18

~~~~~~~~~~~~~~~~~

- Added Python 3.12, Django 5.0.
- Added an easy way to reduce the possibility of filename collisions.
Unfortunately, the hashing scheme used by default has bad uniqueness
properties. It's recommended to add ``IMAGEFIELD_BIN_DEPTH = 2`` to your
settings and regenerate all processed images, for example using
``process_imagefields --all``. The default may change in the future. For now
nothing changes, so there's no compatibility concerns.

0.17

~~~~~~~~~~~~~~~~~

- Added a force-WEBP spec.
- Added Django 4.1 and 4.2, Python 3.11.
- Dropped Django 4.0 from the CI (3.2 is still in there).
- Switched to hatch and ruff.
- Added globbing support to the ``process_imagefields`` management command.

0.16

~~~~~~~~~~~~~~~~~~~~

.. _0.16: https://github.com/matthiask/django-imagefield/compare/0.15...0.16

- Raised the minimum Pillow version to 9.0.
- Avoided a deprecation warning by using the ``PIL.Image.Resampling`` enum.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.