Skip to content

Release v1.7.1

Latest

Choose a tag to compare

@github-actions github-actions released this 15 Oct 09:31

1.7.0 was tagged but never reached npm, so this is the first published release with the 1.7.0 changes below.

Changed

  • Releases are published through npm trusted publishing: the release workflow authenticates with GitHub's OIDC token instead of a long-lived npm token, publishes with provenance, and runs the test suite before publishing.

Fixed

  • Extraction of large photos was sometimes 3x slower: the per-pixel warp loop sat inside one large function, so V8 had to optimize it mid-run through on-stack replacement and threw that code away at the end of every row (83 deoptimizations in 15 extractions of a 12 MP photo). On unlucky runs it stayed slow for the whole image, about 1 second instead of 300ms. Each output row is now sampled by its own small function, which V8 optimizes normally (2 deoptimizations). Output is bit-identical.

Installation

npm install scanic@1.7.1

Or via CDN:

<script src="https://unpkg.com/scanic@1.7.1/dist/scanic.js"></script>

What's Changed

  • ci: bump github/codeql-action from 4.37.6 to 4.38.2 by @dependabot[bot] in #39
  • chore: bump the dev-dependencies group with 10 updates by @dependabot[bot] in #40
  • ci: bump github/codeql-action from 4.38.2 to 4.38.3 by @dependabot[bot] in #41

Full Changelog: v1.7.0...v1.7.1