unstale

npm / fast-average-color

fast-average-color

What changed in fast-average-color 9, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.

1 breaking1 behavior and defaults6 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

fast-average-color 98 changes

Breaking changes 1

  • Validates step as a positive safe integer; invalid values, including 0 and NaN, now throw during pixel processing instead of silently falling back to 1 or producing incorrect results.

    9.6.0release notes

Behavior and default changes 1

  • Recognizes HTML images, videos, and canvases across windows and iframes using their object tags.

    9.6.0release notes

Fixes and other changes 6

  • Preserves the original processing error instead of replacing it with a generic CORS error, and logs each error once.

    9.6.0release notes

  • Preserves the original processing error instead of replacing it with a generic CORS error, and logs each error once.

    9.6.0release notes

  • Disables image smoothing after resizing the canvas so the setting is preserved during color sampling.

    9.6.0release notes

  • Uses display dimensions to calculate average color and avoid sampling only part of a frame when display and coded sizes differ.

    9.6.0release notes

  • Fixed the image loading completion check.

    9.5.2release notes

  • Fixed binding of the event handler for images.

    9.5.1release notes