Flask-images

Latest version: v3.0.2

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

Scan your dependencies

Page 1 of 3

3.0.2

-----
- Fix a couple Python3 dict API changes.
- More forgiving USM syntax.
- `class_` passed through as image attribute.
- A bit more precision in path escaping.

3.0.1

-----
- Fix Python2 regression in HTTP error handling.

3.0.0

-----
- Python3 support.
- ValueError is raised (instead of whatever different versions of Flask/werkzeuf raise) when `mode` kwarg is specified along with `images.{mode}` route.
- Fix for changing location of functions in dependencies. (50)
- Fix If-Modified-Since which erroneously had microseconds. (37)

2.1.2

-----
- Fix for local cache not taking "enlarge" parameter into account.

2.1.1

-----
- Fix for Cache-Control header to be a string (as all headers should be).

2.1.0

-----
- Retina/HiDPI support (still alpha; the API is subject to change).
- Transformation support (still alpha; the API is subject to change).
- `url_for(..., _external=True)` works.
- `enlarge=False` will not enlarge images.
- `resized_img_attrs(...)` to calculate final width and height.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.