@jimp/plugin-rotate breaking changes
@jimp/plugin-rotate 2.0.0 (November 24, 2026) is its newest release with breaking changes, 28 of them. The first: Removes rotate options that had no effect and interpolates resize modes in @jimp/plugin-rotate 2.0.0. Every breaking API change we have recorded in @jimp/plugin-rotate on npm: 28 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.3.0, released December 4, 2026. Source repository
Its 2.0.0 release requires Node.js 22 or later. Node.js end of life dates.
@jimp/plugin-rotate 2.0.0 breaking changes
- Removed
Options that did nothing were removed, and rotate's resize modes now interpolate. Stop passing removed options and check output where resize modes are used. github.com - Removed
Jimp now requires Node.js 22 or later, so Node.js 18 and 20 are no longer supported. github.com - Removed
The package now requires Node.js 22 or later. Upgrade the Node.js runtime before installing this version. github.com - Behavior changed
blur
blur rounds the radius and clamps it to 1-256. github.com - Behavior changed
circle
circle with radius 0 now means zero size. github.com - Behavior changed
color
color() with greyscale no longer uses tinycolor's HSL lightness and produces the same result as greyscale(). github.com - Behavior changed
compareHashes
compareHashes now decodes hash() output so distances match pHash(). github.com - Behavior changed
composite
Negative opacitySource and opacityDest now clamp to 0 instead of resetting to 1. github.com - Behavior changed
convolute
convolute convolves alpha by default; use preserveAlpha: true to keep alpha unchanged. github.com - Behavior changed
cover
Any invalid align now throws, and an axis with no flag is centered. github.com - Behavior changed
crop
crop clamps regions to the image and throws if nothing would remain. github.com - Behavior changed
cssColorToHex
Invalid color strings throw instead of becoming opaque black, so code relying on black fallback must change. github.com - Behavior changed
getPixelColor
NaN coordinates now throw instead of reading pixel (0, 0). github.com - Behavior changed
getPixelIndex
NaN coordinates now throw instead of reading or writing pixel (0, 0). github.com - Behavior changed
greyscale
greyscale() rounds instead of truncating, so output differs for some pixels. github.com - Behavior changed
Jimp.read
Strings that are not http(s), data or blob URLs are read as files, so code relying on fetching them must change. github.com - Behavior changed
measureText
measureText now returns the width of the widest line instead of skipping newlines. github.com - Behavior changed
measureTextHeight
measureTextHeight, vertical alignment and the cb's y now count empty lines. github.com - Behavior changed
posterize
posterize rounds to nearest levels, contrast is recentred, and threshold without autoGreyscale thresholds each channel. github.com - Behavior changed
print
Each line break starts a new line, so blank lines are printed and counted, changing output. github.com - Behavior changed
quantize
quantize now rejects colors below 1, or below 2 with rgbquant, with a clear error. github.com - Behavior changed
resize
The default resizer premultiplies alpha, changing colors next to transparent pixels. github.com - Behavior changed
rotate
rotate with a ResizeStrategy mode now interpolates the rotated pixels instead of taking the nearest pixel. github.com - Behavior changed
scanIterator
scan and scanIterator skip out-of-image pixels, and scanIterator width and height default to the rest of the image. github.com - Behavior changed
setPixelColor
Coordinates outside the image no longer paint the edge pixel; code relying on that must change. github.com - Behavior changed
threshold
threshold and otsuThreshold give different output because of the new greyscale rounding. github.com - Behavior changed
write
write() and getBuffer() options for GIF, TIFF and BMP are typed as none, and write() with a string path rejects options no format takes. github.com - Signature changed
methods
Was const methods: {rotate<I extends JimpClass>(image: I, options: RotateOptions): I;}; now const methods: {rotate<I extends JimpClass>(image: I, options: RotateOptions): I; affine<I extends JimpClass>(image: I, options: AffineOptions): I... npmjs.com
Related packages
- @jimp/plugin-blit
- @jimp/plugin-circle
- @jimp/plugin-mask
- @jimp/plugin-threshold
- @jimp/plugin-print
- @jimp/plugin-blur
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.