Skip to content

Releases: marp-team/marp-cli

v4.0.3

06 Nov 17:21
Compare
Choose a tag to compare

Added

  • Allow to disable GPU use of Chrome through CHROME_DISABLE_GPU environment variable (#592, #617, #618)

v4.0.2

31 Oct 15:58
Compare
Choose a tag to compare

Fixed

  • Fix packaging script for standalone binaries (#616)

v4.0.1

31 Oct 15:41
Compare
Choose a tag to compare

Removed

  • Get rid of sharp dependency in favor of using browser in JPEG image conversion with WebDriver BiDi (#610)

Fixed

  • Disable Chrome sandbox if running CLI as root (#611, #614)

Changed

  • Upgrade dependent packages to the latest versions (#615)

v4.0.0

05 Oct 21:47
Compare
Choose a tag to compare

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)

v3.4.0

28 Oct 13:51
Compare
Choose a tag to compare

Changed

  • Upgrade Marpit to v2.6.1 (#557)
    • Added lang global directive
  • Upgrade Marp Core to v3.9.0 (#557)
  • Upgrade dependent packages to the latest versions (#557)
  • Reflect the language defined in lang global directive to <html> element (#542, #558)

Added

  • CI testing against Node.js v20 (#559)

Fixed

  • Enable PNG image transparency (#555, #556)

v3.3.1

01 Oct 16:38
Compare
Choose a tag to compare

Fixed

  • Improve stability of in-memory preview for large content (#553)
  • Accessibility: Render CLI's kind output in a specific color instead of ANSI color (#552, #554)

v3.3.0

23 Sep 20:25
Compare
Choose a tag to compare

Added

  • Support the project configuration file written in TypeScript marp.config.ts (#548, #549)
  • defineConfig helper for writing typed configuration (#549)
  • Recognize CHROME_NO_SANDBOX env to allow opt-out of the Chrome/Chromium sandbox during conversion explicitly (#543, #550)

Changed

  • Upgrade Marpit to v2.5.3 (#548)
  • Upgrade Marp Core to v3.8.1 (#548)
  • Upgrade development Node.js LTS to v18.18.0 (#547)
  • Upgrade dependent packages to the latest versions (#548)

Fixed

  • A huge document fails generating PDF/PPTX/images by net::ERR_ABORTED (#545, #551)

v3.2.1

24 Aug 12:27
Compare
Choose a tag to compare

Added

Changed

  • Replace is-docker to is-inside-container for detecting more virtualized containers (#543, #544)

v3.2.0

04 Aug 17:37
Compare
Choose a tag to compare

Changed

  • Upgrade Marp Core to v3.8.0 (#536)
    • This core is no longer depending on the global highlight.js instance, in favor of the instance-specific highlight.js that is accessible through highlightjs getter
  • Upgrade Node.js LTS (#536)
  • Upgrade dependent packages to the latest versions (#535, #536, #537)

v3.1.0

09 Jul 08:26
Compare
Choose a tag to compare

Added

  • ES Modules support for the configuration file (#534)
  • Config type definition (#534)

Changed

  • Upgrade dependent packages to the latest versions (#533)
  • Route help messages to stdout instead of stderr (#532 by @tomotargz)