@jimp/plugin-threshold breaking changes
@jimp/plugin-threshold 2.0.0 (November 24, 2026) is its newest release with breaking changes, 18 of them. The first: @jimp/plugin-threshold 2.0.0 requires Node.js 22 or later. Every breaking API change we have recorded in @jimp/plugin-threshold on npm: 18 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-threshold 2.0.0 breaking changes
- Removed
Node.js 22 or later is now required; older Node.js versions are no longer supported. github.com - Behavior changed
Node.js 18 and 20 are no longer supported. Upgrade the runtime to Node.js 22 or later. github.com - Behavior changed
Threshold output for the same input can change, so re-check thresholded images after upgrading. github.com - Behavior changed
Greyscale values are rounded and color() uses the same luminance, so thresholding results can differ from 1.7.0. github.com - Behavior changed
blur
The radius is rounded and clamped to 1-256, so large or fractional radii give different output. github.com - Behavior changed
color
color with apply greyscale now matches greyscale() instead of HSL lightness, so output changes. github.com - Behavior changed
compareHashes
compareHashes now decodes hash() output so distances match pHash(), so results change. github.com - Behavior changed
composite
Negative opacitySource and opacityDest values become 0 instead of 1. github.com - Behavior changed
crop
Crop regions are clamped to the image, and crops that leave nothing throw an error. github.com - Behavior changed
cssColorToHex
Invalid color strings throw instead of becoming opaque black, so code passing bad colors must fix them. github.com - Behavior changed
greyscale
greyscale() 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, so a missing file throws. github.com - Behavior changed
posterize
Posterize now rounds to the nearest of n evenly spaced levels instead of always rounding down. github.com - Behavior changed
print
Each line break starts a new line, so blank lines are printed and counted in height and alignment. github.com - Behavior changed
rotate
Rotated pixels are interpolated with the given strategy instead of taking the nearest pixel, so output changes. github.com - Behavior changed
scanIterator
Regions are clamped to the image, and scanIterator width and height default to the rest of the image. github.com - Behavior changed
setPixelColor
Coordinates outside the image are ignored instead of changing the nearest edge pixel. github.com - Behavior changed
threshold
threshold greyscales by default, so its results change with the new rounding. github.com
Related packages
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.