v0.11.0 - Renditions, limited
This release:
- 🤖 Got deployed to PyPi automatically through the power of GitHub Actions! Yes to automation 🎉
- 📜 Changed the license from MIT to BSD 3, for better alignment with Wagtail
- 🚀 Introduced a new settings -
GRAPPLE_ALLOWED_IMAGE_FILTERS
- which accepts a list of filters (thus renditions) that are allowed to generate. Read more about generating renditions in Wagtail docs
An example:
# settings.py
GRAPPLE_ALLOWED_IMAGE_FILTERS = [
"width-1000",
"fill-300x150|jpegquality-60",
"width-700|format-webp"
]
Many thanks to @thibaudcolas for the 🦅👀 observation!