Skip to content

v4.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Oct 21:47
· 39 commits to main since this release

Important

See also https://github.com/orgs/marp-team/discussions/533 about new changes in Marp Core.

⚡️ Breaking

  • End-of-Lifed Node.js 16 is no longer supported, and required Node.js 18 and later (#591)
  • Upgrade Marp Core to v4.0.0 (#591)
    • The slide container of built-in themes became the block element and adopted safe centering
    • Relax HTML allowlist: Allowed a lot of HTML elements and attributes by default
  • The container image is now based on Debian instead of Alpine (#608)

Added

  • Initial support for Firefox / WebDriver BiDi protocol during conversion (#565, #597)
  • --browser and some related options to control the browser for conversion (#603)
  • Find Chrome and Edge from the host Windows as a fallback when WSL 2 networking is mirrored mode (#604)
  • --debug (-d) option to CLI interface (#599)
  • Publish the container image to GitHub Container Registry (#578, #608)
  • CI testing against Node.js v22 (#591)

Changed

  • Upgrade Marpit to v3.1.1 (#591)
    • Support for CSS nesting
  • Use the new headless mode of Chrome while converting by default (#593)
    • You can get back to the old headless mode by setting PUPPETEER_HEADLESS_MODE=old env.
  • Upgrade development Node.js LTS to v20.17.0 (#591)
  • Upgrade dependent packages to the latest versions (#591, #598)
  • Migrate ESLint config to flat config (#606)
  • Switch package manager from yarn to npm (#607)

Fixed

  • The browser sometimes cannot launch due to profile's singleton lock (#589, #591)
  • Make silence some deprecation warnings in Node.js v22 (#574, #576, #591)