Plone.scale

Latest version: v4.1.2

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

Scan your dependencies

Page 2 of 8

4.0.0b5

--------------------

New features:


- Add support for animated GIFs reebalazs (69)

4.0.0b4

--------------------

Breaking changes:


- No longer test Plone 5.2 on 3.6 and Plone 6.0 on 3.7.
[maurits] (3637)


Bug fixes:


- Use "scale" mode as default.
This cleans up more confusion between mode and direction.
See also `plone.namedfile issue 102 <https://github.com/plone/plone.namedfile/issues/102>`_.
Previously our definition of the ``IImageScaleFactory`` interface had the deprecated ``direction="thumbnail"``.
Other parts used ``mode="contain"`` by default, which does cropping, where in Plone we are used to simple scaling almost everywhere.
[maurits] (102)

4.0.0b3

--------------------

Bug fixes:


- Fixed getting original data for a tile.
[maurits] (64)

4.0.0b2

--------------------

Bug fixes:


- Fix to ensure that when a scale that was registered using `pre_scale` is
later actually generated by `get_or_generate`, it is stored with the same
uid as the placeholder info that was stored by `pre_scale`. This avoids
an issue where the same scale was generated repeatedly.
[davisagli] (60)

4.0.0b1

--------------------

New features:


- Pre scale: store non-random uid to prepare space for a scale.
You call ``pre_scale`` to pre-register the scale with a unique id
without actually doing any scaling with Pillow.
When you later call the ``scale`` method, the scale is generated.
You can still call ``scale`` directly without first calling ``pre_scale``.
[maurits] (57)
- Mark as plone.protect's safeWrite AnnotationStorage.
Precondition for https://github.com/plone/plone.namedfile/pull/117.
[mamico] (58)


Bug fixes:


- Minor cleanup: isort, black. [maurits] (59)

4.0.0a4

--------------------

Bug fixes:


- Fix cropping when the height is not limited.
Create a square then.
Not limited means: 65000 or larger, or zero or lower.
[maurits] (53)
- Fix cleanup of scales: only throw away outdated scales of the same field.
[maurits] (55)

Page 2 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.