Betty-cropper

Latest version: v2.6.1

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

Scan your dependencies

Page 3 of 4

2.1.1

- Packaging/install fix

2.1.0

- Improvements to BETTY_CACHE_FLUSHER support:
- `BETTY_CACHE_FLUSHER` can either be set to a callable object or a string import path
- Flusher now passed list of string URLS instead of individual strings. This allows for more efficient callback batching logic.
- Added reference cache flusher `betty.contrib.cacheflush.cachemaster`
- `Image.clear_crops()` now includes animated files (`.../animated/original.{gif,jpg}`)
- Add optional Docker support

2.0.6

- Allow configurable "Image JS" cache time via `settings.BETTY_CACHE_IMAGEJS_SEC`. ImageJS requests are cheap but make up over 50% of current production requests, and only rarely changes on deploys.
- Increase (rarely called) "crop redireect" cache times to 1 hour, a good balance between fewer requests and not overcommitting in case this ever changes.

2.0.5

- Fixes max-width resize regression for cases other than "JPG mode=RGB". Switch to IO buffers requires passing
a `format` value since no longer a filename to auto-detect via extension.

2.0.4

- Management command `change_storage_root` uses older option format for compatibility with Django 1.7

2.0.2

- Added `settings.BETTY_CACHE_CROP_SEC` to allow configurable crop (and animated) cache times. Defaults to original `300` seconds.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.