Skip to content

v147.0.1

Choose a tag to compare

@github-actions github-actions released this 17 Apr 13:14
· 32 commits to master since this release

@sparticuz/chromium v147.0.1, @sparticuz/chromium-min v147.0.1

The chromium-v147.0.1-layer.ARCH.zip file may be uploaded directly as a layer in AWS Lambda using the following code

bucketName="chromiumUploadBucket" && archType="x64" && \
aws s3 cp chromium-v147.0.1-layer.${archType}.zip "s3://${bucketName}/chromiumLayers/chromium-v147.0.1-layer.${archType}.zip" && \
aws lambda publish-layer-version --layer-name chromium --description "Chromium v147.0.1" --content "S3Bucket=${bucketName},S3Key=chromiumLayers/chromium-v147.0.1-layer.${archType}.zip" --compatible-runtimes "nodejs20.x" "nodejs22.x" "nodejs24.x" --compatible-architectures $(if [ "$archType" = "x64" ]; then echo "x86_64"; else echo "$archType"; fi)

The chromium-v147.0.1-pack.ARCH.tar file may be uploaded to any https endpoint and the remote location may be used as the input variable in the chromium.executablePath(input) function.

Support this project's continued development by becoming a monthly sponsor on GitHub. Your contribution helps cover monthly maintenance costs and ensures ongoing improvements.

Breaking Changes

  • Minimum Node.js version raised to 22.17.0 — required for stable native fetch and Readable.fromWeb() stream interop, which replace the follow-redirects dependency. Node 20 reaches EOL in October 2026, and even earlier on Lambda. (The package also most likely still works with node 20)

Changes

  • Removed follow-redirects dependency — HTTP downloads now use Node's built-in fetch with Readable.fromWeb() for stream piping. Download timeout set to 300s for large files.
  • Dual ESM/CJS builds via tsup — replaced tsc build with tsup bundler. CJS consumers get a proper CommonJS build at build/cjs/index.cjs

Infrastructure

  • Replaced Ansible build system with EC2 user-data architecture — builds are now fire-and-forget: a GitHub Actions workflow launches a spot EC2 instance with a self-contained build script. The instance builds Chromium, uploads binaries to S3, and calls back to GitHub when done.
  • Visual regression testing — PRs automatically get screenshot comparisons (example.com + WebGL) across x64 and arm64, with cross-architecture diff reporting
  • Unified test workflow — single test.yml replaces separate test-x64.yml and test-arm.yml, with CJS test matrix

Full Changelog: v147.0.0...v147.0.1