Repository navigation
What's Changed
Features
- Added
Client(only_presets=True)to generate URLs for servers running
withIMGPROXY_ONLY_PRESETS. AcceptsPresetoptions with an optional
Format, serialized as a source suffix. Also available in Django client
settings, #198 - Added customizable
TransformSerializer,PresetsSerializer,
OptionSerializer, andSourceSerializercomponents for path
serialization, #198 - Support Python 3.12
typealiases, alias chains, and generic aliases
in dataclass variant declarations, #179 KeywordOptionResolver.from_kwarg()now preserves the input value type
in itsScalarOptionreturn annotation, #138
Breaking changes
PathSerializernow requires theonly_presetskeyword-only argument.
PassFalseto retain normal processing option serialization, and update
custom path serializer constructors to accept it. Direct calls now also
requiretransform; passNonefor no transformation, #198- Moved
KeywordOptionsandKeywordOptionResolverfrom
imgproxykit.keyword_optionstoimgproxykit.transform.
Update imports to use the new module;imgproxykit.keyword_options
has been removed, #138
New Contributors
- @rise11hx-cmyk made their first contribution in #179
Full Changelog: v0.6.0...v0.7.0