@jimp/plugin-mask breaking changes
@jimp/plugin-mask 2.0.0 (November 24, 2026) is its newest release with breaking changes, 21 of them. The first: @jimp/plugin-mask 2.0.0 requires Node.js 22 or later. Every breaking API change we have recorded in @jimp/plugin-mask on npm: 21 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-mask 2.0.0 breaking changes
- Removed
Jimp now requires Node.js 22 or later; upgrade the Node.js runtime before using this version. github.com - Behavior changed
Colour masks now use GIMP's luminance, respect the mask's alpha and round results, so output pixels can differ from earlier versions. github.com - Behavior changed
color
color with the greyscale action now uses luminance, not HSL lightness, so output changes. github.com - Behavior changed
compareHashes
Distances returned by compareHashes change for existing hashes. github.com - Behavior changed
composite
Negative opacitySource or opacityDest values now become 0 instead of 1. github.com - Behavior changed
contrast
Contrast output changes; contrast(-1) now gives 128. github.com - Behavior changed
cover
Invalid align values now throw, and an axis with no flag is centered. github.com - Behavior changed
crop
Out-of-bounds crop rectangles are clamped, and crop throws when nothing remains. github.com - Behavior changed
cssColorToHex
Bad color strings throw an Invalid color error instead of becoming opaque black; fix any invalid color inputs. github.com - Behavior changed
greyscale
greyscale now rounds instead of truncating, so some grey levels differ from before. github.com - Behavior changed
Jimp.read
Strings that are not http, https, data or blob URLs are read as files; use a URL form for remote images. github.com - Behavior changed
posterize
Output changes, and the level count is rounded and clamped to 2-256. github.com - Behavior changed
print
Every line break now starts a line, so blank lines print and count toward height; line counts change. github.com - Behavior changed
quantize
Quantize now throws a clear error for too few colors; pass at least 1, or 2 for rgbquant. github.com - Behavior changed
resize
Colors next to transparent pixels are no longer darkened, so resize output changes. github.com - Behavior changed
rotate
Rotated output now uses the chosen ResizeStrategy interpolation instead of nearest pixel, so results differ. github.com - Behavior changed
scanIterator
Regions are clamped to the image; scanIterator width and height now default to the rest of the image. github.com - Behavior changed
setPixelColor
Writes outside the image no longer paint the edge pixel; they do nothing. NaN coordinates now throw. github.com - Behavior changed
threshold
threshold greyscales by default, so its output differs from earlier versions. github.com - Behavior changed
write
GIF, TIFF and BMP write and getBuffer options are now none, and write with a string path rejects unsupported options. github.com - Configuration changed
The package now requires Node.js 22 or later, so upgrade Node.js before updating to this version. github.com
Related packages
- @jimp/plugin-blit
- @jimp/plugin-circle
- @jimp/plugin-threshold
- @jimp/plugin-print
- @jimp/plugin-blur
- @jimp/types
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.