What's Changed
sorl-thumbnail is moving out of Jazzband, which is closing, and into
https://github.com/mariocesar/sorl-thumbnail. Thank you to Jazzband and to
everyone who kept the project alive there for nine years. ❤️ (#827)
- Added
densityandauthenticateoptions to the convert engine, passed
ahead of the source so PDFs rasterize at a given DPI and encrypted PDFs can
be read, per call instead of globally throughTHUMBNAIL_CONVERT. Errors
from a call carrying a password omit the command line and stderr (#783, #640) - The convert engine now raises
EngineErrorwhenidentifyreports no
image size, instead of crashing withAttributeError(#640) - Added an engine
prepare(image, options)hook, called before the source
is sized, for options that change how it is read - The
thumbnailtemplate tag now raisesTemplateSyntaxErrorwhen the
source or geometry is missing, instead ofIndexErroror compiling a tag
that fails at render (#720) ImageFile.serialize_storageresolves the storage alias by instance instead
of returning the first alias with the same backend class, andImageFile.key
includes that alias for storages other thandefaultand
THUMBNAIL_STORAGE. Same-named files on same-class storages no longer share
a thumbnail (#806)- The docs build again on Read the Docs and with current setuptools. The new
docsextra installs what is needed to build them (#823) - Added a drawing of how a thumbnail request is served to the operation docs (#714)
New Contributors
- @johnwaghorn made their first contribution in #816
- @bogusdeck made their first contribution in #818
- @Kayvan-Zahiri made their first contribution in #819
Full Changelog: 13.1.0...13.2.0