@jimp/plugin-print breaking changes
@jimp/plugin-print 2.0.0 (November 24, 2026) is its newest release with breaking changes, 29 of them. The first: @jimp/plugin-print 2.0.0 requires Node.js 22 or later. Every breaking API change we have recorded in @jimp/plugin-print on npm: 29 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-print 2.0.0 breaking changes
- Removed
Jimp now requires Node.js 22 or later; Node.js 18 and 20 are no longer supported. github.com - Removed
colorSpace
The colorSpace option has been removed from the wasm encoders and throws if passed. github.com - Behavior changed
Text is now aligned when no maxWidth is given, and newlines are measured differently, so printed positions may change. github.com - Behavior changed
Users must run Node.js 22 or newer to use this release; older Node.js versions are no longer supported. github.com - Behavior changed
Blank lines in text passed to print are now kept in the output instead of being dropped, so existing layouts may shift. github.com - Behavior changed
alignmentY
alignmentY without maxHeight now aligns within the image below y instead of being ignored. github.com - Behavior changed
blur
blur rounds the radius and clamps it to 1-256, so large or fractional radii give different output. github.com - Behavior changed
color
The greyscale action in color() now uses the same luminance as greyscale() instead of tinycolor's HSL lightness. github.com - Behavior changed
compareHashes
compareHashes decodes hash() output so distances match pHash(), changing returned values. github.com - Behavior changed
composite
Negative opacitySource and opacityDest values now clamp to 0 instead of resetting to 1. github.com - Behavior changed
contain
contain throws for any invalid align value and centers an axis with no flag. github.com - Behavior changed
contrast
contrast now scales around 127.5 with symmetric rounding, so output changes and contrast(-1) gives 128. github.com - Behavior changed
cover
cover throws for any invalid align value and centers an axis with no flag. github.com - Behavior changed
crop
crop clamps its rectangle to the image and throws if nothing would be left. github.com - Behavior changed
cssColorToHex
Strings that cannot be parsed as CSS colors throw an error instead of becoming opaque black. github.com - Behavior changed
getPixelIndex
getPixelIndex, getPixelColor and setPixelColor now throw for NaN coordinates instead of reading pixel (0, 0). github.com - Behavior changed
greyscale
greyscale output changes for some grey levels because luminance is now rounded to the nearest integer. github.com - Behavior changed
Jimp.read
In Node, strings that are not http, https, data or blob URLs are read as files, so a missing file throws ENOENT. github.com - Behavior changed
measureText
measureText returns the width of the widest line instead of skipping newlines. github.com - Behavior changed
posterize
posterize now rounds to the nearest of n evenly spaced levels instead of always rounding down, so output changes. github.com - Behavior changed
print
Every line break starts a new line, so blank lines are printed and counted instead of collapsed. github.com - Behavior changed
resize
The default resizer premultiplies alpha, so colors next to transparent pixels no longer darken. github.com - Behavior changed
rotate
rotate with a ResizeStrategy mode now interpolates with that strategy instead of taking the nearest pixel. github.com - Behavior changed
scanIterator
scanIterator only visits pixels inside the image, and its width and height default to the rest of the image. github.com - Behavior changed
setPixelColor
setPixelColor outside the image no longer paints the edge pixel; it does nothing. github.com - Behavior changed
threshold
With autoGreyscale false, each color channel is thresholded on its own instead of greying the image from red. github.com - Signature changed
load-font:loadFont
Was function loadFont(file: string): Promise<{chars: Record<string, import("./types.js").BmCharacter>; kernings: Record<string, import("./types.js").BmKerning>; pages: ({bitmap: import("@jimp/types").Bitmap; background: number; formats... npmjs.com - Signature changed
measureTextHeight
Was function measureTextHeight(font: BmFont, text: string, maxWidth: number): number; now function measureTextHeight(font: BmFont, text: string, maxWidth?: number): number function measureTextHeight(font: VectorFont, text: string... npmjs.com - Signature changed
methods
Was const methods: {print<I extends JimpClass>(image: I, {font, ...options}: PrintOptions & {font: BmFont<I>;}): I;}; now const methods: {print<I extends JimpClass>(image: I, options: PrintOptions & PrintFontOptions<I>): I;}. npmjs.com
Related packages
- @jimp/plugin-blit
- @jimp/plugin-circle
- @jimp/plugin-mask
- @jimp/plugin-threshold
- @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.