Skip to content

v158.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 24 Nov 16:04

@sparticuz/chromium v158.0.0, @sparticuz/chromium-min v158.0.0

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

  • Version 158 removes the --single-process flag which allows tabs and the Blink renderer to spawn multiple processes in a Lambda container. This does affect the way fonts are rendered in Blink. (See #509 and #522 for more information)

Major Changes

  • Node 26 support
  • Switch from tar-fs to modern-tar dependency

Minor Changes

  • More EC2 changes to help get builds out faster.

The chromium-v158.0.0-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-v158.0.0-layer.${archType}.zip "s3://${bucketName}/chromiumLayers/chromium-v158.0.0-layer.${archType}.zip" && \
aws lambda publish-layer-version --layer-name chromium --description "Chromium v158.0.0" --content "S3Bucket=${bucketName},S3Key=chromiumLayers/chromium-v158.0.0-layer.${archType}.zip" --compatible-runtimes "nodejs20.x" "nodejs22.x" "nodejs24.x" "nodejs26.x" --compatible-architectures $(if [ "$archType" = "x64" ]; then echo "x86_64"; else echo "$archType"; fi)

The chromium-v158.0.0-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.

What's Changed

  • Safely test reviewed fork PRs by @Sparticuz in #510
  • Invalidate stale binary labels after a revision change by @Sparticuz in #518
  • refactor: replace tar-fs with modern-tar by @ayuhito in #505
  • Authenticate PR binary revision checks by @Sparticuz in #520
  • Support Node.js 26 on AWS Lambda by @Sparticuz in #519
  • chore: bump Chromium to 158.0.8127.36 (revision 1727472) by @github-actions[bot] in #517
  • Rebuild Lambda layers reliably and default local tests to Node.js 26 by @Sparticuz in #521
  • fix: remove --single-process from the default args by @zirkelc in #509
  • Require explicit packaging targets and refresh CI by @Sparticuz in #522

New Contributors

Full Changelog: v153.0.0...v158.0.0