- (FIX)
[email protected]
resolves rotation bug. - (FIX) Orientations for 5 & 7 were computed incorrectly.
- (FIX) Fix height calculation error for animated images.
- (ENHANCEMENT) Format (
fm
) now supportsgif
as output.
- (FIX) Rare crash fix when initializing
sharp
if invalid input.
- (FIX)
http
storage exception.
- (BREAKING)
saliency
was deprecated 2 years ago, and is now removed.
- (ENHANCEMENT)
fallback
storage option to support multi-tiered storage architectures.
- (SECURITY) Do not track "author".
- (SECURITY) All dependencies updated with latest security patches.
- (SECURITY) All dependencies updated with latest security patches.
- (CLEANUP) Removal of unused
jscs
&jshint
deps, addition ofprettier
, and updates to Travis CI config.
- (ENHANCEMENT) Default resize limits increased from 2K to 4K resolution. Default
optimized original size remains unchanged (2K), so this primarily benefits special
usage of
?useOriginal=true
. - (BUG FIX) When
?useOriginal=true
is supplied the hash will reflect this modification to permit the same operations generating unique artifacts. Primarily benefits the above enhancement.
- (ENHANCEMENT) Support for
avif
compression format, enabled by default for supporting browsers. Optimized originals will remainwebp
for the time being.
- (ENHANCEMENT) Support for
route.beforeProcess
custom handler.
- (FIX) Images rotated prior to optimized original would result in optimized losing their orientation and resulting in unpredictable orientations.
- (MINOR FIX) Support for scoped driver options. This prevents reusing the same driver across apps to avoid polluting of options. This was not a problem with most pre-existing drivers, but will make things safer.
- (ENHANCEMENT) Option to set
isteamEndpoint=true
on thehttp
storage client, allowing multiple regions to be chained together for speed and/or cost savings. This in effect permits multi-layered proxies to drastically reduce the volume of origin hits.
- (ENHANCEMENT) Sharp - Upgrade to latest Sharp (
0.25.3
). - (DEPRECATION) Saliency was always experimental. Now it's been deprecated and will be removed in future version. Warning provided at startup.
- (CHANGE)
globalAgent
- Option is still adhered to, but no longer defaults to useagentkeepalive
until explicitly provided.
- (FEATURE) Direct support for
isteamb
driver, removing the need to usehttp
proxy mode.
- (FEATURE) Full benchmark suite now available, check it out!
npm i -g image-steam-bench
- (FEATURE)
router.hqOriginalSteps
- Support for highest quality optimized originals for smaller images (400x400 by default). Will only impact newly generated OO's. - (FEATURE)
lossless
- Option to enable lossless WebP via/ll
path.
- (BREAKING)
embed
- Removal of deprecated function. - (ENHANCEMENT) Sharp - Upgrade to latest Sharp (
0.22.0
).
- (BREAKING)
background
is no longer a standalone image operation, which is not in a useful state anyway. - (FEATURE)
extend
- New operation allows extending the image. - (ENHANCEMENT)
resize.fit
- Resize now allowsfit
to be overridden. - (ENHANCEMENT)
resize.position
- Resize now allowsposition
to be overridden. - (ENHANCEMENT)
resize.background
- Permits background to be applied to resize operation when applicable. - (FIX)
+/-
on percentage dimensions is now working. Was only working on fixed (px) dimensions prior. - (FIX) Various test fixes.
- (ENHANCEMENT) HTTP Agent - Utilize a more optimized HTTP(S) agent by default, including connection reuse.
- (ENHANCEMENT) Sharp - Upgrade to latest Sharp (
0.21.0
) for greater platform support.
- (ENHANCEMENT) Crop auto-focus - Greatly improved accuracy/consistency after being trained with hundreds of thousands of data points, which also allowed for the switch to a far more efficient (~10x) saliency mode (spectral).
- (CONFIGURATION)
router.supportWebP
- WebP may not be explicitly disabled, but remains enabled by default to avoid breakages. If performance is critical, disabling this option has been known to speed up image operations by 2 to 4 times. - (FIX) Saliency - Minor fixes to enabling/disabling this feature.
- (FEATURE)
$info
command - Returns all known information about the image, including saliency (new) if available. - (FEATURE) Crop auto-focus - An experimental new feature to permit saliency-based auto-focus. Exposed by crop anchor=
auto
. - (FEATURE)
$saliency
command - An experimental new feature to permit retrieving of saliency meta data. - (FEATURE)
$saliencyMap
command - An experimental new feature to permit retrieving of saliency map. - (DEPENDENCIES)
salient-autofocus
- Required by the new saliency auto-focus feature.
- (DEPENDENCIES)
sharp
- Updated tov0.20
which requireslibvips
v8.6.1
or later.
- (CONFIGURATION)
storage.cacheArtifacts
- Caching of image artifacts may now be disabled.
- (BREAKING) Default StorageOptions - Root of
storage
options may no longer includeStorageOptions
(options supplied to storage driver), and instead must supply tostorage.defaults
instead. This is a necessary change to avoid polluting the options supplied to storage drivers. - (BREAKING) S3 Storage - Client moved to its own repo: https://github.com/asilvas/image-steam-s3
- (BREAKING) Node - Version 6 and later required.
- (PERFORMANCE)
storage.cacheTTS
&storage.cacheOptimizedTTS
- Added to support "refreshing" of stale objects in cache to avoid needless reprocessing of images in caches with time-to-live set. - (CONFIGURATION)
storage.cacheOptimized
- Added a new caching option to allow discreteStorageOptions
supplied only for optimized original caching. This permits splitting of cache for sake of replication or eviction policies. - (CONFIGURATION)
isDefaults
- Commandline argumentisDefaults
was added to allow merging of your own defaults. - (GEO)
storage.replicas
- Tunable cache replication beyond what you'd get from storage-native replication settings. Allows for more flexible architectures that span multiple regions.