Upgrade sharp to version 0.32.0 #188
Closed
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.
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ sharp (^0.28.2 → ^0.32.0) · Repo
Commits
See the full diff on Github. The new version differs by 58 commits:
Release v0.32.0Docs: clarify resize reduction/enlargement options refer to scalingDocs: use only first year of copyright to match codeTrim space from end of libvips error messagesDocs: update performance results, include PNG-based taskTests: bump benchmark depsDocs: tile-based output requires libgsfDocs: ensure parameters are indexed as they now appear in a tableUpgrade to libvips v8.14.2Tests: tile-based output optional, will require custom libvipsDocs: add open graph title and imageBump tsd dep to pick up TypeScript 5 improvementsTests: reduce CPU cost of RGBA linear test, ~2s fasterDocs: changelog and refresh for #3583Add support to normalise for lower and upper percentiles (#3583)Docs: how to provide new integrity values for custom binariesDocs: fix sharp_binary_host example by adding version (#3568)Docs: clarify metadata ignores chained opsBump devDepsDocs: add note about API Gateway integrationWrap all async JS callbacks, help avoid possible race #3569Ensure clahe op uses random read, simplify validationEnsure all source code files contain SPDX licenceDocs: clarify formats that support multi-page/animDocs: clarify that paths are relative to process working dirDocs: refresh search indexDocs: changelog and credit for #3556Add support to extend for extendWith, allows copy/mirror/repeat (#3556)Bump depsTests: use native fs.rm instead of rimrafAdd ignoreIcc input option to ignore embedded ICC profilemacOS: use 10.13 as minimum to match prebuilt libvipsDocs: changelog for #3548Add support for ArrayBuffer input (#3548)Docs: clarify supported bit depth for AVIF images (#3541)Prefer integer (un)premultiply for faster RGBA resizePrefer integer (un)premultiply for faster RGBA resizeTest: update benchmark dependenciesTypes: changes/additions relating to new v0.32.0 featuresDocs: add a couple of missing params/propsExpose own version as sharp.versions.sharp #3471Respect fastShrinkOnLoad option for WebP input #3516Docs: fastShrinkOnLoad can round-down when auto-scalingDocs: remove Heroku install sectionDocs: changelog and help for TypeScript defs #3369 #3370Include and publish TypeScript definitions (#3370)Docs: changelog and doc refresh for #3470Add coords to output when using attention based crop (#3470)Unpin node-addon-api, cast CallbackInfo access to size_tPin node-addon-api to workaround possible bug in 5.1.0Switch to sequential read as default where possibleReduce sharpen op max sigma from 10000 to 10 #3521Docs: switch to well-maintained jsdoc2md for JSDoc parsingBump devDepsDocs: add note about use of fastShrinkOnLoad with resize kernelInstall: log Rosetta detection, improve related docsTests: remove ICC profile from CIELAB fixture (#3510)Upgrade to libvips v8.14.0-rc1Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase.All Depfu comment commands