Skip to content

v4.0.0-alpha.2

Choose a tag to compare

@github-actions github-actions released this 17 May 17:16
· 57 commits to main since this release

Summary

Release meta

Released on: 2026-05-17
Released by: github-actions[bot]
Published by: GitHub

Logs: full diff

Changelog

Improvements

  • AbstractBlock#findBy() now accepts a callback as its first argument — findBy(callback) is equivalent to findBy({}, callback)

Bug Fixes

  • Fix SVG interactive option being silently ignored in UNSAFE and SAFE modes — the check now correctly allows all safe modes below SECURE, aligning with the Ruby reference implementation
  • Add CJS type declarations (types/index.d.cts) for TypeScript consumers using moduleResolution: Node16 — exposed via the require condition in the exports map so the compiler no longer rejects the entry point under require()

Infrastructure

  • Replace deprecated create-release and upload-release-asset GitHub Actions with the gh CLI in the release workflow