---
title: "@jimp/plugin-cover 2.0.0 Breaking Changes on npm | Since.dev"
description: "What each @jimp/plugin-cover release removed, renamed or changed: 26 breaking changes in 1 version on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@jimp/plugin-cover
last_updated: 2026-12-04
---

# @jimp/plugin-cover breaking changes

@jimp/plugin-cover 2.0.0 (November 24, 2026) is its newest release with breaking changes, 26 of them. The first: @jimp/plugin-cover 2.0.0 requires Node.js 22 or later. Every breaking API change we have recorded in @jimp/plugin-cover on npm: 26 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

Latest version `2.3.0`, released December 4, 2026. [Source repository](https://github.com/jimp-dev/jimp)

Its 2.0.0 release requires [Node.js 22](https://since.dev/calendar/nodejs/22.md) or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

## @jimp/plugin-cover 2.0.0 breaking changes

@jimp/plugin-cover 2.0.0, released November 24, 2026: 26 breaking changes.

- **Removed**  

The package now requires Node.js 22 or later. Upgrade the Node.js runtime before using this version. [github.com](https://github.com/jimp-dev/jimp/releases/tag/v2.0.0)
- **Behavior changed**  

Node.js 18 and 20 are no longer supported; upgrade the runtime to Node.js 22 or later. [github.com](https://github.com/jimp-dev/jimp/commit/79600e9104cc157c9d0ed35a139f0e3c7ae27982)
- **Behavior changed**  

The cover and contain alignment was changed as a breaking fix. Code that relies on the previous alignment output should be checked and updated. [github.com](https://github.com/jimp-dev/jimp/releases/tag/v2.0.0)
- **Behavior changed** `blur`  

The blur radius is rounded and clamped to 1-256, which changes output for some radii. [github.com](https://github.com/jimp-dev/jimp/commit/ef51d3c0c4df5191adee01924aa5407e187280c6)
- **Behavior changed** `color`  

The greyscale action in color() now uses the same luminance as greyscale() instead of HSL lightness. [github.com](https://github.com/jimp-dev/jimp/commit/4f6db79f3e4827d2175cd10de49b1f9a6b865e97)
- **Behavior changed** `compareHashes`  

Distances now match pHash() values, so compareHashes results can change. [github.com](https://github.com/jimp-dev/jimp/commit/ef51d3c0c4df5191adee01924aa5407e187280c6)
- **Behavior changed** `composite`  

Negative opacitySource or opacityDest now clamp to 0 instead of resetting to 1. [github.com](https://github.com/jimp-dev/jimp/commit/0cb5a2ce680cf8a7ae62cf8306ba98510168dc25)
- **Behavior changed** `contain`  

Any invalid align value now throws, and an axis with no flag is centered. [github.com](https://github.com/jimp-dev/jimp/commit/ef51d3c0c4df5191adee01924aa5407e187280c6)
- **Behavior changed** `contrast`  

Contrast output changes, and contrast(-1) now gives 128. [github.com](https://github.com/jimp-dev/jimp/commit/3e3fe83a4b8ca6b1c87ca269ec912cfdecc3b73d)
- **Behavior changed** `cover`  

Any invalid align value now throws, and an axis with no flag is centered. [github.com](https://github.com/jimp-dev/jimp/commit/ef51d3c0c4df5191adee01924aa5407e187280c6)
- **Behavior changed** `crop`  

Crop regions are clamped to the image and crop throws if nothing is left. [github.com](https://github.com/jimp-dev/jimp/commit/d734c83632f3dc7683cf8226131bfcaab59389ef)
- **Behavior changed** `cssColorToHex`  

Invalid color strings throw instead of becoming opaque black, so code relying on that must be fixed. [github.com](https://github.com/jimp-dev/jimp/commit/6270626dfc31235ecd73ff22933c47344b1215aa)
- **Behavior changed** `getBuffer`  

Passing encode options when writing or encoding GIF, TIFF or BMP no longer type-checks. [github.com](https://github.com/jimp-dev/jimp/commit/0cb5a2ce680cf8a7ae62cf8306ba98510168dc25)
- **Behavior changed** `getPixelColor`  

getPixelColor now throws for NaN coordinates instead of reading pixel (0, 0). [github.com](https://github.com/jimp-dev/jimp/commit/fad50e2935d09f9994dc0eb68da0aaac30f29b8c)
- **Behavior changed** `greyscale`  

Greyscale output changes for many grey levels; re-check stored outputs that depend on it. [github.com](https://github.com/jimp-dev/jimp/commit/4f6db79f3e4827d2175cd10de49b1f9a6b865e97)
- **Behavior changed** `Jimp.read`  

Strings that are not http, https, data or blob URLs are read as files, so missing files throw ENOENT. [github.com](https://github.com/jimp-dev/jimp/commit/0cb5a2ce680cf8a7ae62cf8306ba98510168dc25)
- **Behavior changed** `measureText`  

Newlines no longer skip lines; the result is the width of the widest line. [github.com](https://github.com/jimp-dev/jimp/commit/11538769cea8b8a74185c727435d85bd7b5967c0)
- **Behavior changed** `posterize`  

Posterize now rounds to the nearest of n levels instead of always rounding down. [github.com](https://github.com/jimp-dev/jimp/commit/3e3fe83a4b8ca6b1c87ca269ec912cfdecc3b73d)
- **Behavior changed** `print`  

Each line break starts a new line, so blank lines print and count toward height. [github.com](https://github.com/jimp-dev/jimp/commit/8f1f4ca4ca6df27f097bf5794728dd1ec9983583)
- **Behavior changed** `quantize`  

Quantize now throws a clear error for colors below 1, or below 2 with rgbquant. [github.com](https://github.com/jimp-dev/jimp/commit/3e3fe83a4b8ca6b1c87ca269ec912cfdecc3b73d)
- **Behavior changed** `resize`  

Resized colours next to transparent pixels change, so outputs may differ. [github.com](https://github.com/jimp-dev/jimp/commit/ef51d3c0c4df5191adee01924aa5407e187280c6)
- **Behavior changed** `rotate`  

Rotated pixels are interpolated with the given strategy instead of taking the nearest pixel. [github.com](https://github.com/jimp-dev/jimp/commit/deb4c2b7ab0aee2d773324df1430d1c9a2fc8134)
- **Behavior changed** `scan`  

Regions outside the image are clamped, so scan skips pixels beyond the bitmap. [github.com](https://github.com/jimp-dev/jimp/commit/d734c83632f3dc7683cf8226131bfcaab59389ef)
- **Behavior changed** `scanIterator`  

Width and height now default to the rest of the image, and only in-image pixels are visited. [github.com](https://github.com/jimp-dev/jimp/commit/d734c83632f3dc7683cf8226131bfcaab59389ef)
- **Behavior changed** `setPixelColor`  

Writes outside the image now do nothing instead of painting the edge pixel. [github.com](https://github.com/jimp-dev/jimp/commit/fad50e2935d09f9994dc0eb68da0aaac30f29b8c)
- **Behavior changed** `threshold`  

Each colour channel is thresholded on its own instead of greying the image from red. [github.com](https://github.com/jimp-dev/jimp/commit/3e3fe83a4b8ca6b1c87ca269ec912cfdecc3b73d)

## Related packages

- [@jimp/plugin-blit](https://since.dev/packages/npm/@jimp/plugin-blit.md)
- [@jimp/plugin-circle](https://since.dev/packages/npm/@jimp/plugin-circle.md)
- [@jimp/plugin-mask](https://since.dev/packages/npm/@jimp/plugin-mask.md)
- [@jimp/plugin-threshold](https://since.dev/packages/npm/@jimp/plugin-threshold.md)
- [@jimp/plugin-print](https://since.dev/packages/npm/@jimp/plugin-print.md)
- [@jimp/plugin-blur](https://since.dev/packages/npm/@jimp/plugin-blur.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
