Release Notes
1.7.55
π Bug Fixes
- api: fixes a regression that prevented
giffiles from being used as sources
1.7.54
π Bug Fixes
- api: fixes a regression with
refit-coverdimensions
1.7.53
π Bug Fixes
- api: makes
refitmargins entirely accurate even with a mix of pixels and percentages - api: fixes a bug that prevented video handling when the first frame timestamp was not close to zero
π Features
- api: makes it possible to scale watermarks through path configuration
- api: makes it possible to prevent upscaling of images through path configuration
- api: adds
colorizetransformation - api: adds
nooptransformation - api: enables alpha masking through path configuration
1.7.52
π Features
- api: adds
refit-insidetransformation - api:
refitis now an alias ofrefit-coverfor consistency - api: adds anchoring to
covertransformation - api: makes border handling much more consistent even when the end product falls outside the bounds of the original image
π Bug Fixes
- api: fixes a bug that prevented flipping a video when dimensions were not even
- script: fixes a bug that prevented globally configured
classfrom starting with the letters
1.7.49
- api: adds non-media assets filtering through path configuration
- api: adds referrer filtering through path configuration
1.7.48
- api: now takes video rotate metadata into account
- api: makes sure previews are not indexed by search engines
1.7.47
π Bug Fixes
- api: fixes a regression with
refitmargins
1.7.46
π Features
- api: adds
downloadtransformation
π Bug Fixes
- api: takes video aspect-ratio metadata into account
1.7.45
π Bug Fixes
- api: upgrades libwebp to neuter zero-day vulnerability
1.7.44
π Bug Fixes
- api: prevents crashes when using
refitandbackground=removeon videos
1.7.43
π Bug Fixes
- api: fixes a bad interaction between anchors and the
focustransformation
1.7.42
π Features
- api: adds
blurhashoutput
1.7.39
π Features
- api: adds video slicing transformations (
from,toandduration) - api: adds background removal through
background=remove
1.7.38
π Bug Fixes
- script: fixes a regression that made compound shortcuts (
contain-max,contain-min, etc) unusable
1.7.35
π Bug Fixes
- api: fixes a regression that had quality simply ignored for videos
1.7.34
π Bug Fixes
- api: fallback images now have much shorter cache retention
π Features
- api: optimizes performance of AI-related transformations for multiple variants of the same source media
- api: optimizes previews generation
- api: changes quality interpolation based on output format so that quality scale is more cohesive throughout all formats
1.7.33
π Bug Fixes
- api: ensures non-media assets have a proper
cache-controlheader
1.7.32
π Bug Fixes
- api: stops trusting master images colorspace-related metadata, sometimes they just lie and make our image-processing choke
1.7.31
π Bug Fixes
- api: filters out source media
content-security-policyheader so that it does not break svg-based outputs client-side
1.7.29
π Bug Fixes
- api: prevents
focus=autofrom ending out of bounds in certain situations following acrop - script: a regression prevented multiple backgrounds from being handled properly
1.7.28
π Bug Fixes
- script: a regression prevented the
pathoption from being taken into consideration when generating URLs
1.7.27
π Features
- script: media path can now be specified using the
media:andvideo:protocols in addition toimage:
1.7.25
π Features
- admin: limits of master media in both bytes and pixels can be overridden
- admin/api: adds encrypted paths to manipulate arbitrary URLs
- script:
data-twic-srcnow accepts fully qualified TwicPics URLs
π Bug Fixes
- api: makes
insidetruely chainable - api:
turnis now compatible withinside - script: properly detects implicit dimensions even when
widthand/orheightattributes are set - script: more search engine bots will trigger
data-twic-bot
1.7.24
π Features
- api: adds
insidetransformation which works similarly tocontainbut with added borders - api: adds
bordertransformation to set color ofinsideborders - api: adds
achromatopsia,deuteranopia,protanopiaandtritanopiaexperimental color blindness filters - api: adds anchors as possible
focusvalues (left,bottom-right, etc) - script: adds
data-twic-intrinsicto limit the number of variants and prevent upscaling
1.7.18
π Features
- api: adds
blankoutput to create lightweight, empty versions of images
1.7.16
π Features
- script: ensures
stepis always at minimum 100 pixels for videos
1.7.13
π Bug Fixes
- script: dynamic style changes are taken into account more eagerly
π Features
- api: adds support for
h265andvp9output video codecs - script: adds
data-twic-eagermarker to bypass lazy loading on a per-element basis
1.7.12
π Bug Fixes
- script: now properly detects shadow roots
1.7.11
π Features
- admin: removes watermark modes
noneandtile - admin: removes watermark
dprproperty - api: deprecates
dprtransformation - api: adds debug transformation
- script: adds debug mode
π Bug Fixes
- script:
stepnow limits upscales to 10% which enhances visuals for smaller images
1.7.9
π Bug Fixes
- script: stops using IntersectionObserver on browsers that implement it poorly
1.7.8
π Bug Fixes
- api: ensures fallbacks are not kept in the CDN for more than 30 minutes
1.7.7
π Bug Fixes
- api:
flipandturnshould no longer create stretched results
1.7.6
π Features
- script: adds
data-twic-botas an alternative todata-twic-transformfor Google and Bing bots - script: adds
pathconfiguration so that prepending srcs for an entire page is not a chore anymore
1.7.5
π Bug Fixes
- admin/api: fixes a bug in format handling when a default manipulation was set
1.7.4
π Features
- admin: video can be enabled on a path basis
- api: adds
imageoutput so that extracting an image from a video can leverage webp support detection
π Bug Fixes
- api: fixes an issue where image with transparent background could be slightly degraded
- api: fixes
refitsyntax so as to be compatible with attribute splitting - api:
turn=leftandturn=rightwere inadvertendly switched - script: ensures multiple values in
data-twic-focus,data-twic-stepanddata-twic-transformdo not break srcs and posters
1.7.3
π Bug Fixes
- api: fixes
meancoloroutput - api: properly issues a
403response rather than a500response when a bad token was used - script: fixes a bug in Safari with image elements that had a
titleattribute
1.7.2
π Bug Fixes
- api: exif orientation was not properly taken into account when resizing
1.7.0
π Features
- api: adds video src handling
- api: adds
flipandturntransformations
1.6.20
π Bug Fixes
- script: fixes a bug in older Safaris when CSS returned
autoas a size
1.6.19
π Features
- api: adds
refittransformation
π Bug Fixes
- script: fixes flickering issues (image changing size continously)
1.6.18
π Features
- api: adds support for video element poster attribute using
data-twic-poster-*attributes - api: adds generic attributes shared amongst src, background and poster:
data-twic-focus,data-twic-stepanddata-twic-transform
1.6.16
π Features
- api: adds
maincolor,meancolorandpreviewoutputs
1.6.15
π Bug Fixes
- api: rounds crops much more reliably and gracefully handles subpixel crops
1.6.14
π Features
- script: adds
data-twic-*attributes as an alternative to using a class - script: makes script configurable through query string
1.6.13
π Bug Fixes
- api: fixes lost focus when cropping with no origin
- api: fixes a rare but nasty bug when cropping with origin
1.6.12
π Bug Fixes
- api: fixes a crash on save with CMYK JPEGs
1.6.11
π Features
- api: properly blends multiple background colors
π Bug Fixes
- api: stops checking origin SSL certificates
- api: fixes color parsing
1.6.10
π Features
- api:
booleanexpressions can be specified with more keywords
1.6.8
π Features
- api: adds possibility to specify alpha in color using short or long hexa for short/long hexa colors (like
fff8orf0a5d142)
π Bug Fixes
- api: fixes subpixel resizing
1.6.3
π Bug Fixes
- api: re-enables CORS (was broken by a typo)
- api: fixes bad extract area error for watermarks
- api: fixes artefacts around translucency edges when resizing
- script: properly detects detached elements to avoid nasty exception
1.6.2
π Bug Fixes
- api: fixes token-based sources
1.6.1
π Bug Fixes
- script: fixes bad sizing of flex elements
1.6.0
π Features
- admin: adds watermarking
- admin: adds fallback support in case of 4xx errors
- api: overall performance boost
- api: much enhanced
focus=auto - api: introduces
focus=faces - api: adds heif and avif support
π Bug Fixes
- script: much better dimension computations across the board
1.5.10
π Bug Fixes
- script: properly estimates auto dimensions for
loading=lazyimages
1.5.9
π Bug Fixes
- script: properly compute
bottomandright
1.5.8
π Bug Fixes
- admin:
Accept-Encodingcan be overidden from path configuration
1.5.7
π Features
- api: adds
Timing-Allow-Originto CORS headers - script: ensures minimum support for gimped/older browsers (like SlimBoat)
π Bug Fixes
- script: properly determines min/max width when parent is inline
1.5.6
π Features
- api: accepts corrupted images and transform them anyway
- api: sets CORS headers wide open
1.5.4
π Bug Fixes
- script: fixes parent sizing computation
- script: fixes auto dimensions detection
- script: fixes multiple backgrounds for all supported browsers
1.5.3
π Bug Fixes
- script: avoids intermittent race condition between DOM readyness and getting anticipation value
1.5.2
π Bug Fixes
- script: fixes readyState check for old IEs so that the script can be dynamically inserted during DOM parsing and actually work
1.5.0
π Features
- api: adds math functions
- api: much enhanced
focus=auto - api: outputs 8-bits pngs by default and introduces
truecolortransformation - script: now supports
max-width,max-height,min-width, andmin-height
π Bug Fixes
- api: fixes grammar so that expressions like
max=-x615are valid as they should - api: properly handles ICC profiles
- script: handles cases of floating containers not having proper sizing
- script: properly cleans up DOM-attached data
1.4.0
π Features
- script: adds
anticipationconfig
π Bug Fixes
- api: fixes random
crop outsideerrors - api: properly follows origin server redirections
1.3.0
π Features
- api: adds new query-based syntax
- api: adds
x-twicpics-sourceandx-twicpics-qualityresponse headers
π Bug Fixes
- api: issues a
502response rather than a422reponse when source image size is too large - api: ensures consistent
varyfor both 200 and 304 responses - api: removes TwicPics user agent for requests to the origin server
- script: fixes
falseURLs in background transformations when a background has a transformation but no size
1.2.11
π Bug Fixes
- api: forwards
404and410responses
1.2.10
π Features
- api: issues
504responses when origin server times out
1.2.8
π Features
- api: adds support for
Save-DataandECTheaders
π Bug Fixes
- api: rationalizes headers management from and to the origin
1.2.7
π Features
- api: adds
zoomtransformation
π Bug Fixes
- api: makes cover with ratio consistent with cover with pixels
1.2.4
π Bug Fixes
- api: removes trailing double quotes from
access-control-allow-methods
1.2.3
π Bug Fixes
- api: allows WebP as an input format
1.2.2
π Bug Fixes
- api: lets animated gifs pass through as is
1.2.1
π Bug Fixes
- api: gzips scripts