Skip to content

Latest commit

 

History

History
991 lines (562 loc) · 41.1 KB

CHANGELOG.md

File metadata and controls

991 lines (562 loc) · 41.1 KB

Change Log

[Unreleased]

v4.0.0 - 2024-09-09

Important

The new slide container styles, block container and safe centering, produce breaking changes to existing slide layouts. (#382)

If you are using the built-in theme that contents are vertically centered (or the custom theme that depends on such themes), you can tweak the style in Markdown or the custom theme to get back the previous flex container.

  • For default and uncover theme:

    <style>
      section {
        display: flex;
      }
    </style>
  • For gaia theme's lead class:

    <style>
      section.lead {
        display: flex;
      }
    </style>

Breaking

  • Drop support against end-of-lifed Node.js versions (v16 and earlier), and now v18+ are required (#359)
  • The slide container of built-in themes became the block element and adopted safe centering (#372, #382)

Added

  • Transform emojis up to Unicode 15.1 into Twemoji images (#380)

Changed

  • Upgrade Marpit to v3.1.1 (#378)
    • Bump markdown-it to v14.1.0, and follow the latest spec of CommonMark 0.31.2
    • Support for CSS nesting (cssNesting constructor option)
  • Use simpler CSS minification when minifyCSS option is enabled (#381)
  • Relax HTML allowlist: Allowed a lot of HTML elements and attributes by default (#301, #383)
  • Make the image background transparent in default theme (#196, #371, #386)
  • Upgrade development Node.js to v20 LTS (#359)
  • Upgrade dependent packages to the latest version (#380)
  • Switch package manager from yarn to npm (#379)
  • Migrate ESLint config to Flat config (#385)

Fixed

  • Suppress uncaught DOMException error while upgrading <marp-pre> Web Component elements in Firefox (#370, #384)

v3.9.0 - 2023-10-15

Added

Changed

  • Upgrade Marpit to v2.6.1 (#358)
    • Added cssContainerQuery constructor option
    • Added lang global directive and constructor option
  • Slightly changed the color scheme of default theme to match as the current GitHub style (#358)
  • Upgrade Node.js and dependent packages to the latest version (#358)

v3.8.1 - 2023-09-11

Changed

Fixed

  • Regression: Auto-scaling for KaTeX block is always enabled regardless of @auto-scaling theme metadata (#353, #354)

v3.8.0 - 2023-08-01

Added

  • highlightjs getter, to access the generated highlight.js instance per Marp Core instances (#350)

Changed

  • Marp Core instance is no longer using the shared highlight.js instance (#350)
  • Upgrade Node.js and dependent packages to the latest version (#351)

v3.7.0 - 2023-06-09

Changed

  • Upgrade Marpit to v2.5.0 (#342)
    • Added paginate: skip and paginate: hold
  • Upgrade Node.js and dependent packages to the latest version (#345)

Fixed

  • Regression: Not working emoji.twemoji.base constructor option (#343, #344)

v3.6.0 - 2023-04-01

Added

  • Assign auto-generated slug to id attribute of each headings (#299, #338)
  • slug constructor option (#338)

Changed

  • Upgrade Node.js and dependent packages (#336)
  • Use @twemoji/api package instead of twemoji (#337)

v3.5.0 - 2023-02-18

Changed

  • Upgrade marpit-svg-polyfill to v2.1.0 (#329)
  • Upgrade Node.js and dependencies (#331)

Deprecated

  • An observer() function exported by @marp-team/marp-core/browser, which was actually designed for internal (#330)

v3.4.2 - 2023-01-08

Fixed

  • Patch KaTeX style to fix visibility of some math symbol in Chromium-flavored browsers (#326)

Changed

  • Upgrade Node and dependent packages (#327)

v3.4.1 - 2022-12-24

Changed

  • Bundle external modules used by emoji plugin (#323)
  • Upgrade dependent packages to the latest version (#325)

v3.4.0 - 2022-11-19

Added

  • Test against Node.js 18 LTS (#318)

Changed

  • Change CDN for Twemoji images from default to jsDelivr (#320, #321)
  • Upgrade Marpit to v2.4.2 (#318)
  • Upgrade development Node.js and dependent packages (#318)

Removed

  • Test against no longer supported Node.js 12 (#318)

v3.3.3 - 2022-09-08

Fixed

  • Prebundle PostCSS plugins for minifyCSS option, to fix incompatibility with ESM (#314, #315)

v3.3.2 - 2022-08-12

Fixed

  • Flush display of <marp-auto-scaling> only when resized the scaling wrapper (#313)

v3.3.1 - 2022-08-11

Fixed

  • Apply workaround for vanished <marp-auto-scaling> in Chrome 105+ (#312)

v3.3.0 - 2022-08-11

Changed

  • Upgrade Marpit to v2.4.0 (#310)
    • anchor constructor option for slide anchor customization
  • Upgrade dependent packages to the latest version (#310)
  • Replace Google Fonts in gaia theme to Bunny Fonts (#311)

v3.2.1 - 2022-06-05

Fixed

  • Decrease specificity of highlight.js classes for default theme (#304, #307)
  • Apply hydration for custom elements whenever calling browser script (#305)
  • An empty auto-scaling component becomes unnecessary bigger (#306)

v3.2.0 - 2022-05-21

Changed

v3.1.2 - 2022-04-24

Fixed

  • Make compatible with a patched markdown-it-emoji (#294)

v3.1.1 - 2022-04-12

Changed

  • Upgrade Marpit to v2.2.4 (#291)
    • Fixed: Scoped style does not style pseudo elements section::before and section::after in advanced background
  • Upgrade marpit-svg-polyfill to v2.0.0 (#291)
  • Upgrade dependent packages to the latest version (#291)

v3.1.0 - 2022-03-29

Added

  • Transform Unicode 14.0 emojis into images (#289)

Fixed

  • Disable thickening MathJax strokes in print media (#287, #290)

Changed

  • Upgrade Marpit to v2.2.3 (#289)
  • Upgrade Node and dependent packages to the latest version (#289)

v3.0.2 - 2022-01-23

Fixed

  • Refactor auto scaling component (#276)
  • Preserve HTML comments within html block (#282)

Changed

  • Upgrade Marpit to v2.2.2 (#281)
  • Upgrade dependent packages to the latest version (#281)

v3.0.1 - 2022-01-08

Changed

  • Upgrade Marpit to v2.2.1 (#275)
  • Upgrade dependent packages to the latest version (#275)

v3.0.0 - 2021-11-22

⚡️ Breaking

  • Dropped Node 10 support and now requires the latest version of Node.js v12 and later (#260, #266)
  • Changed the default library for math typesetting from KaTeX to MathJax (#159, #236, #271)

Added

  • Auto-scaling for code block in uncover theme (#263)
  • Allow color customization through CSS variables in default theme (#209, #266)

Changed

  • Web Components based new auto scaling (#96, #248, #263)
  • Match color schemes for default theme to the latest GitHub (#266)
  • Adopt ::where() selector to class variants for making styles overridable (#244, #267)
  • Disable autolink for URL text that has no http(s):// protocol (#268)

History of versions older than v3

v2.4.2 - 2022-04-24

Fixed

  • Make compatible with a patched markdown-it-emoji (#294)

v2.4.1 - 2022-04-12

Changed

  • Upgrade Marpit to v2.2.4 (#291)
    • Fixed: Scoped style does not style pseudo elements section::before and section::after in advanced background
  • Upgrade marpit-svg-polyfill to v2.0.0 (#291)
  • Upgrade dependent packages to the latest version (#291)

v2.4.0 - 2022-03-29

Added

  • Transform Unicode 14.0 emojis into images (#289)

Fixed

  • Disable thickening MathJax strokes in print media (#287, #290)

Changed

  • Upgrade Marpit to v2.2.3 (#289)
  • Upgrade Node and dependent packages to the latest version (#289)

v2.3.2 - 2022-01-23

Fixed

  • Preserve HTML comments within html block (#282)

Changed

  • Upgrade Marpit to v2.2.2 (#281)
  • Upgrade dependent packages to the latest version (#281)

v2.3.1 - 2022-01-08

Changed

  • Upgrade Marpit to v2.2.1 (#275)
  • Upgrade dependent packages to the latest version (#275)

v2.3.0 - 2021-11-22

Changed

v2.2.0 - 2021-10-29

Changed

  • Upgrade Marpit to v2.1.2 (#262)
  • Upgrade dependent packages to the latest version (#262)
  • Update default theme to match styles into the latest GitHub's light color scheme (#262)

v2.1.1 - 2021-08-14

Fixed

  • Define the default 16:9 size preset to built-in themes (#250)

Changed

  • Upgrade Marpit to v2.1.1 (#253)
  • Upgrade dependent packages to the latest version (#253)

v2.1.0 - 2021-07-19

Added

  • math global directive for switching math typesetting library in current Markdown (#243, #246)

Changed

  • Upgrade dependent packages to the latest version (#241)

Deprecated

  • End-of-Lifed Node.js 10 support (Still can use but no longer tested) (#241)

v2.0.3 - 2021-05-17

Fixed

  • Fitting header with single emoji has unexpected zoom animation (#232, #233)

Changed

  • Upgrade dependent packages to the latest version (#234)

v2.0.2 - 2021-05-08

Fixed

  • Fix to work markdown.typographer option (#228)

Changed

  • Upgrade dependent packages to the latest version (#229)

v2.0.1 - 2021-04-27

Changed

  • Upgrade Marpit to v2.0.1 (#225)
  • Upgrade dependent packages to the latest version (#225)

v2.0.0 - 2021-04-24

Added

  • Allow color customization through CSS variables in Gaia and Uncover theme (#209, #221)

May break appearance of existing presentation if you have a slide with custom style.

Changed

  • Upgrade Marpit to v2.0.0 (#220)
  • Upgrade Node LTS and dependent packages to the latest version (#222)

v1.5.0 - 2021-04-02

Fixed

  • Fixed a deprecation warning of highlight.js (#219)

Changed

  • Upgrade Node LTS and dependent packages to the latest version (#219)

v1.4.3 - 2021-02-11

Fixed

  • KaTeX does not be rendered together with header/footer (#214, #215)

v1.4.2 - 2021-02-07

Changed

v1.4.1 - 2021-02-06

Fixed

  • KaTeX: Persist defined global macro between math renderings (#212)
  • MathJax: Prevent leaking defined macro between Markdown renderings (#212)

Changed

  • Upgrade Marpit to v1.6.4 (#210)
  • Upgrade dependent packages to the latest version (#210)
  • Rename master branch into main (#211)

v1.4.0 - 2020-12-05

Breaking

  • Stopped auto-detection of syntax highlight for code block (#202, #205)

Added

  • Support more emoji shorthands (#203)

Changed

  • Use Node 14 LTS for development (#203)
  • Upgrade Marpit to v1.6.3 (#203)
  • Upgrade dependent packages to the latest version (#203)

Removed

  • observer() with boolean argument in @marp-team/marp-core/browser (#204)

v1.3.0 - 2020-08-18

Changed

  • Upgrade Marpit SVG polyfill to v1.7.0 (#184, #185)
  • Update browser script to make changeable the target root (#185)
  • Upgrade dependent packages to the latest version (#186)

Deprecated

  • observer() with boolean argument from @marp-team/marp-core/browser has been deprecated in favor of the usage of the option object (#185)

v1.2.2 - 2020-07-18

Added

  • Setup GitHub Dependabot for marp-team packages (#172)

Changed

v1.2.1 - 2020-07-09

Added

  • Test against Node 14 (#171)

Changed

  • Upgrade Marpit SVG polyfill to v1.4.0 (#170)
  • Upgrade development Node LTS and dependent packages to the latest version (#170)
  • Migrate from TSLint to ESLint (#169)

v1.2.0 - 2020-06-08

Added

  • Transform Unicode 13.0 emojis into SVG images (#167)
  • Add MathJax v3 support to math plugin (#164, #165 by @tani, #166)
  • Add sandbox directory to make easy to develop core (#157)

Changed

  • Upgrade Marpit to v1.6.2 and Marpit SVG polyfill to v1.3.0 (#167)
  • Upgrade dependent packages to the latest version (#167)

v1.1.1 - 2020-04-18

Changed

  • Upgrade Marpit to v1.5.2 (#156)
  • Upgrade dependent packages to the latest version (#154, #156)

v1.1.0 - 2020-03-15

Changed

  • Upgrade Marpit to v1.5.1 (#153)
  • Upgrade Node and dependent packages to the latest version (#153)

v1.0.1 - 2020-01-17

Fixed

  • v1.0.0 throws "z is not a function" (#146, #147)

v1.0.0 - 2020-01-13

Breaking

  • Marp Core requires Node >= 10 (#143)

Added

  • Expose selected size as data-size attribute (#135, #144)

Changed

  • Upgrade Marpit to v1.5.0 (#142)
  • Update community health files (#133)
  • Upgrade Node and dependent packages to the latest version (#138, #143)

Removed

  • EOL Node 8 is no longer supported (#143)
  • Remove deprecated Marp.ready() (Use @marp-team/marp-core/browser entrypoint) (#145)

v0.15.2 - 2019-11-18

Fixed

  • Fix visual regression by moving script position to after closing section (#131)

Changed

  • Upgrade dependent packages to the latest version (#130)

v0.15.1 - 2019-11-06

Changed

  • Upgrade Marpit to v1.4.2 (#126)
  • Upgrade dependent packages to the latest version (#126)

Removed

  • Remove dollar prefix plugin for obsolated syntax (#127)

v0.15.0 - 2019-11-05

Added

Fixed

  • Fix type definition for browser to export default func (#120)

Changed

  • Upgrade Node for development to v12 LTS (#125)
  • Upgrade dependent packages to the latest version (#125)

v0.14.0 - 2019-10-19

Added

  • Inject the inline helper script for browser into rendered Markdown automatically (#115)
  • Add script constructor option (#115)

Changed

  • Upgrade Marpit to v1.4.1 (#113)
  • Upgrade dependent packages to the latest version (#109, #113)
  • Apply font-display: swap to Google Fonts in gaia theme (#114)
  • Define word-wrap css property as break-word in gaia and uncover theme (#108, #119)
  • Reduce inconsistency about html option between Marp Core and markdown-it option (#111, #117)

Deprecated

  • Marp.ready() had deprecated in favor of new entrypoint @marp-team/marp-core/browser (#115)

Removed

  • Remove unused inline web font from default theme (#116)

v0.13.1 - 2019-09-13

Fixed

  • Fix dollar prefix option to support size directive (#107)

v0.13.0 - 2019-09-12

Added

  • Add minifyCSS option (#103)
  • Add dollarPrefixForGlobalDirectives option (not for users) (#104)

Fixed

  • Optimize default theme CSS by removing .markdown-body selector on build time (#106)

Changed

  • Update CircleCI configuration to use v2.1 (#101)
  • Upgrade Marpit to v1.4.0 (#105)
  • Upgrade Node and dependent packages to the latest version (#105)

v0.12.1 - 2019-08-23

Changed

  • Upgrade Marpit to v1.3.2 (#100)
  • Upgrade dependent packages to the latest version (#100)

v0.12.0 - 2019-07-13

Changed

  • Upgrade Marpit to v1.3.0 and Marpit SVG polyfill to v1.1.1 (#97, #99)
  • Upgrade Node and dependent packages to the latest version (#97)

v0.11.0 - 2019-06-24

Added

  • size global directive and @size theme metadata to get easier way for using 4:3 deck in built-in theme (#91, #94)

v0.10.2 - 2019-06-21

Fixed

  • Improve bundle size of script for browser to be about one fifth (#93)

v0.10.1 - 2019-06-17

Changed

  • Upgrade Marpit to v1.2.0 and Marpit SVG polyfill to v1.0.0 (#92)
  • Upgrade Node and dependent packages to the latest version (#92)

v0.10.0 - 2019-06-03

Changed

  • Upgrade Marpit to v1.1.0 (#89)
  • Upgrade dependent packages to the latest version (#89)

v0.9.0 - 2019-05-06

Breaking

  • Marp Core requires Node >= 8.

Added

  • Shorthand for text color by image syntax, from Marpit v1 (#87)
  • Test with Node 12 (Erbium) (#87)
  • Automate GitHub release (#87)

Fixed

  • Improve rendering compatibility of uncover theme's pagination in PDF.js (#84, #86)

Changed

  • Upgrade Marpit to v1 (#87)
  • Swap Sass compiler from node-sass to Dart Sass (#87)

Removed

  • Remove unnecessary dependency of markdown-it (#88)

v0.8.0 - 2019-04-08

Breaking

  • Change auto-scaling features to require enabling by @auto-scaling metadata of theme CSS explicitly (#72, #81)

Changed

  • Upgrade Marpit to v0.9.2 (#80, #82)
  • Upgrade dependent packages to the latest version (#82)

Removed

  • Deprecated twemojiBase option (#80)

v0.7.1 - 2019-03-20

Fixed

  • Fix incorrect scaling in WebKit browser with custom zoom factor, by updating @marp-team/marpit-svg-polyfill to v0.3.0 (#79)

v0.7.0 - 2019-03-13

Added

Changed

  • Upgrade Node and dependent packages to the latest (#76)
  • Output warning when used deprecated twemojiBase option (#77)

v0.6.2 - 2019-03-09

Changed

  • Use markdown-it's html option instead of Marp Core option to sanitize HTML (#74)
  • Upgrade dependent packages to the latest (#75)

v0.6.1 - 2019-02-13

Removed

  • Remove dependency to PostCSS (#71)

Changed

  • Upgrade dependent packages to the latest (#73)

v0.6.0 - 2019-02-04

Added

  • Allow using twemoji via PNG by added emoji.twemoji.ext option (#67)
  • Support custom sanitizer for HTML attributes within allowlist (#68)
  • Add usage of multiple classes in Gaia theme (#69)

Fixed

  • Fix over-sanitized attributes with HTML allowlist (#68)

Changed

  • Normalize known self-closing HTML elements with xhtmlOut: true (#66)
  • Upgrade Node and dependent packages to the latest (#70)

Deprecated

  • emoji.twemojiBase option has soft-deprecated in favor of emoji.twemoji.base (#67)

v0.5.2 - 2019-01-31

Changed

  • Upgrade dependent packages to latest version, includes Marpit v0.7.0 (#63)
  • Support an enhanced Marpit enable state (#64)

v0.5.1 - 2019-01-26

Changed

v0.5.0 - 2019-01-20

Added

  • Colored <strong> element in headings for highlighting (#59)
  • Support env option and htmlAsArray env in render(), from Marpit v0.6.0 (#61)

Fixed

  • Prevent showing scrollbar in code block (#60)
  • Use the real compiled Sass in test (#61)

Changed

  • Upgrade dependent packages to latest version (#61)

v0.4.1 - 2018-12-31

Fixed

  • Fix incorrect scaling in Marpit SVG polyfill (#58)

v0.4.0 - 2018-12-29

Added

Changed

v0.3.1 - 2018-12-23

Changed

v0.3.0 - 2018-12-02

Added

Fixed

  • Fix incorrect accessibility of members in Marp (#51, #53)

Changed

  • Upgrade Node and dependent packages to latest version (#52)
  • Run yarn audit while running CI / publish processes (#52)

v0.2.1 - 2018-11-24

Security

  • Upgrade dependent packages to prevent the malicious attack in dependencies (#50)

v0.2.0 - 2018-11-21

Added

  • Support the scoped inline style through <style scoped> from Marpit v0.3.0 (#49)

Fixed

Changed

  • Upgrade dependent packages to latest version (#49)

v0.1.0 - 2018-11-06

Breaking

  • No longer work with Node v6.14.2 and v6.14.3 (#45)

Added

Fixed

  • Force reflow on updated fitting elements in Edge (#43)

Changed

  • Support Node 10.x and use its LTS for development (#44)
  • Upgrade dependent packages to latest version (#45)

v0.0.12 - 2018-10-13

Added

  • Support collecting HTML comments for presenter notes, from Marpit v0.2.0 (#39)
  • Provide CJS version bundle for browser (#41)
  • Add observe argument into functions for browser to allow controlling observation frames (#41)

Fixed

  • Add yarn resolutions to flatten katex to prevent double-bundling (#40)
  • Prevent reflow by calling setAttribute in browser context only if value is updated (#41)

Changed

  • Update license author to marp-team (#38)
  • Upgrade dependent packages to latest version (#42)

v0.0.11 - 2018-10-09

Fixed

  • Fix fitting header regression with broken comment traversing (#37)

v0.0.10 - 2018-10-05

Added

  • Add CI test against Node v6 Boron Maintenance LTS (#35)

Changed

  • Update code style to use for-of loop instead of iterate functions if possible (#34)
  • Upgrade dependent packages to latest, includes marp-team/marpit v0.1.3 (#36)

v0.0.9 - 2018-09-20

Changed

v0.0.8 - 2018-09-18

Changed

v0.0.7 - 2018-09-15

Added

  • Support auto scaling for math block (#30)

Changed

  • Upgrade Node LTS and dependent packages (#31)

v0.0.6 - 2018-09-06

Fixed

v0.0.5 - 2018-09-02

Added

  • Support HTML allowlisting (#26)

Fixed

  • Apply color directive to heading of default theme (#28)

Changed

v0.0.4 - 2018-08-29

Added

  • Support auto scaling of code block and fence (for default / gaia theme) (#23, #25)

Changed

  • Upgrade dependencies to latest (#24)

v0.0.3 - 2018-08-22

Added

  • Add a separated bundle of Marp.ready() for browser (#21)

Fixed

  • Fix fitting header's size on printing (#22)

v0.0.2 - 2018-08-19

Added

  • Support fitting header (#17)
  • Add uncover theme (#18)
  • Add emoji support with twemoji (#19)

Fixed

  • Reduce bundle size by stopping to resolve dependencies (#15)

Changed

  • Upgrade dependencies to latest (#16)

v0.0.1 - 2018-08-10

  • Initial release.