Skip to content

🆕 Upcoming release#6

Merged
duniul merged 1 commit into
mainfrom
changeset-release/main
May 24, 2026
Merged

🆕 Upcoming release#6
duniul merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 24, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

pixel-scale@3.0.0

Major Changes

  • BREAKING Drop CommonJS build; ship ESM only. 586b392 @duniul
  • BREAKING Validate all inputs and throw TypeError/RangeError early on invalid arguments. dcfae6a @duniul

Minor Changes

  • Export assertValidImageData for validating ImageDataLike input at runtime. dcfae6a @duniul
  • Add JSDoc/TSDoc comments to exported functions and types. 17e56c8 @duniul

Patch Changes

  • Speed up scalePixels by preallocating the output Uint8ClampedArray (up to 8x faster). 4ec81e7 @duniul
  • Speed up getPixelScale by iterating data as a Uint32Array (up to 2x faster). 830df11 @duniul
  • Add early exit in scalePixels when to equals the current scale. 9ee2a9c @duniul
  • Fix early exit in getPixelScale when only one scale is possible. 7891ae2 @duniul
  • Fix multiplyPixelScale and dividePixelScale ignoring options.from. f268072 @duniul
  • Mark the package as side-effect free for better tree-shaking. 8e68eb6 @duniul

@duniul duniul force-pushed the changeset-release/main branch from c4cf8a4 to 9257f27 Compare May 24, 2026 17:14
@duniul duniul merged commit f9a0630 into main May 24, 2026
1 check passed
@duniul duniul deleted the changeset-release/main branch May 24, 2026 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant