UNPKG

@imgproxy/imgproxy-js-core

Version:

imgproxy-js-core package is designed to be used as part of framework-specific packages and plugins.

39 lines (27 loc) 2.1 kB
# @imgproxy/imgproxy-js-core ## 1.3.0 ### Minor Changes - 1cc5d45: Add [Calc hashsums](https://docs.imgproxy.net/usage/getting_info#calc-hashsums) info option - 3f7b58e: Add support for [colorize](https://docs.imgproxy.net/usage/processing#colorize) option - e16c19e: Add [monochrome](https://docs.imgproxy.net/usage/processing#monochrome) and [duotone](https://docs.imgproxy.net/usage/processing#duotone) options - 3179557: Add support for numeric direction value in [gradient](https://docs.imgproxy.net/usage/processing#gradient) option - 1beb7e1: Add [Video thumbnail tile](https://docs.imgproxy.net/usage/processing#video-thumbnail-tile) option ## 1.2.0 ### Minor Changes - df3940d: - Add `ch` (chessboard order) position to `watermark` option. - Add `watermark_rotate` option. - d1a2acf: Add support for `onlyPresets` setting to generate [presets-only urls](https://docs.imgproxy.net/usage/presets#only-presets) - c11cdad: Add `smart_subsample` to `webp_options` - db5b6e8: Add support for [video_thumbnail_animation property](https://docs.imgproxy.net/usage/processing#video-thumbnail-animation) - a00418c: Add support for objw mode for [gravity option](https://docs.imgproxy.net/usage/processing#gravity) ## 1.1.0 ### Minor Changes - ff6f48e: Add support for [objects_position](https://docs.imgproxy.net/usage/processing#objects-position) url option ### Patch Changes - fdbe7d0: Add a validation rule that `unsharpMasking.weight` should be greater than 0 - fdbe7d0: Fix handling of 0 values for the `adjust` option. Previously `contrast:0` was incorrectly coded as `contrast:` with default value 1 - 2807d74: Fix typo in `adjust` option: Rename `ajust` to `adjust` and its shorthand counterpart `aj` to `a` - fdbe7d0: Make sure that 0 is treated the same for short and long option names - c885b5c: Fix padding option to not omit `0` values when serializing to imgproxy URL. Thanks @sevrai! - 0f7023b: Add `types` field to package.json exports map. Fixes typescript not being able to import types. Thanks @stefanprobst! - fdbe7d0: Fix handling of 0 values for `autoquality` option