Update dependency @imgproxy/imgproxy-js-core to v1.9.0 - #268
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/imgproxy-imgproxy-js-core-1.x-lockfile
branch
from
September 2, 2026 22:29
c743bf5 to
1911de5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.7.0→1.9.0Release Notes
imgproxy/imgproxy-js-core (@imgproxy/imgproxy-js-core)
v1.9.0Compare Source
Minor Changes
020080d: Add support for bypass_cache and cache_tags options (imgproxy Pro). Whenbypass_cacheis set to1,tortrue, imgproxy bypasses the internal cache and does all the processing and fetching from the source image.cache_tagsaccepts a list of strings that imgproxy adds to the cache entry and the response headers. Both options are supported in processing and image info URLs. The short formsbcandctare also supported.15b7801: Add support for five new options from the updated imgproxy Usage docs.Image info options (
generateImageInfoUrl):cl) —{classify: {top_k: 3}}or{cl: {top_k: 2, class_names: ["Bus", "Person"]}}. Whentop_kis greater than zero, imgproxy classifies the image and returns the top K classes with the highest confidence scores. Class names are optional; if given, imgproxy classifies only those classes.th) —{thumb_hash: 1}. Returns the image's ThumbHash, a compact placeholder representation of the image.phash,ph) —{perceptual_hash: 1}. Returns the perceptual hash of the image, which can be used to find similar or duplicate images.Processing options (
generateUrl):c_obj, imgproxy Pro) —{crop_objects: {scale_factor: 1.2, class_names: ["face"]}}. imgproxy detects objects of the provided classes and crops the image to fit all of them.scale_factorscales the crop area relative to the detected objects:1.0crops exactly to the objects,1.2adds 20% padding. Class names are optional; if omitted, imgproxy crops to all the detected objects.ph) —{preserve_hdr: 1}. When set to1,tortrue, a high bit image remains high bit; when set to0,forfalse, it is downscaled to 8 bit. Overrides theIMGPROXY_PRESERVE_HDRconfig value.4f9ad1b: Make theGravityunion exclusive: fields belonging to one gravity variant are now typed as forbidden (?: never) on the others, so mixing fields from different variants (such as{ type: "sm", x_offset: 0 }or{ type: "no", x: 0.5 }) is a compile-time error for TypeScript users instead of only a runtime one. Runtime behavior is unchanged. TypeScript code that previously compiled while passing such invalid combinations will now fail to compile — the same combinations have always thrown at runtime.183d037: Add support for progressive_blur option (imgproxy Pro). Whensigmais greater than0, imgproxy applies a progressive Gaussian blur filter that transitions from no blur at thestartposition to the specifiedsigmaat thestopposition. The option acceptssigma, an optionaldirection(down,up,right,left, or an angle in degrees), and optionalstartandstopfloats between0and1. The short formpblis also supported.043d0b3: Add support for video_thumbnail_keyframes option (imgproxy Pro). When set to1,tortrue, imgproxy uses the latest keyframe before the requested second for video thumbnail generation, redefining theIMGPROXY_VIDEO_THUMBNAIL_KEYFRAMESconfig. The option is supported in processing and image info URLs. The short formvtkis also supported.Patch Changes
4f9ad1b: Fix optional arguments being checked for truthiness instead of presence inresize,size,watermark,watermark_size,trim,unsharp_masking,png_options,jpeg_options,colorize,monochromeandgravity. Falsy but invalid values (such asnullor an emptycolor) skipped validation and were silently rendered as omitted arguments, so{ watermark_size: { width: null, height: 100 } }producedwms::100instead of raising. Such values now raise an error, and explicitly provided0values are rendered instead of being dropped.colorize.colorandmonochrome.colorare now validated as hex colors, matchingtrim.colorandgradient.color.Also fix
jpeg_optionsrejectingprogressive: falsewhenoptimize_scanswas set tofalse. The cross-check now applies only whenoptimize_scansis actually enabled.c124469: Fixvideo_thumbnail_animationgenerating URLs containing the literal stringundefinedwhenframe_widthorframe_heightwas omitted. Both arguments are required by imgproxy and by the option's type, so they are now validated likestep,delayandframes, and a missing value raises an error instead of producing a broken URL.Fix
zoomsilently ignoring azoomvalue of0. The option was dropped before validation, so no error was raised. imgproxy requires zoom factors to be greater than0, so0is now rejected forzoom,zoom_xandzoom_y. Note that this changes the error message for non-positive values from "can't be less than 0" to "can't be less or equal than 0".a97d0ef: Fix thegradientoption dropping optional arguments explicitly set to0.color,direction,startandstopwere checked for truthiness, so{ gradient: { opacity: 0.5, stop: 0 } }producedgr:0.5and imgproxy fell back to the defaultstopof1.0instead of the requested0. The same applied tostart: 0and to adirectionangle of0. These values are now rendered explicitly, and invalid falsy values (such asnullor an emptycolor) are reported instead of being silently ignored.v1.8.0Compare Source
Minor Changes
f547c4b: Add support for blur_areas option (imgproxy Pro). Whensigmais greater than0, imgproxy applies a Gaussian blur filter to the provided areas of the resulting image. The option accepts asigmavalue and a list ofareaswithleft,top,width, andheightfloats between0and1. The short formbais also supported.f416250: Add support for thecanonical_namesparameter of theexifimage-info option. Theexifoption now also accepts an object{ enabled, canonical_names }; whencanonical_namesis1,"t", ortrue, imgproxy returns EXIF field names in a canonical form (e.g.DateTimeOriginal) instead of the human-readable form. The existing boolean-style input is still supported.887dd39: Add support for SEO-friendly filenames in generated URLs. TheURLobject passed togenerateUrl()andgenerateImageInfoUrl()now accepts an optionalfilenamefield, which is appended tobase64andencryptedURLs (seeIMGPROXY_BASE64_URL_INCLUDES_FILENAME). Thanks @YoannMa!Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.