reveal.js v4.1.0 Release Notes

Release Date: 2020-10-12 // over 3 years ago
  • ๐Ÿ”„ Changes

    • ๐Ÿ†• New: Add data-visibility="hidden" to a slide to hide it from view. Docs & examples
    • ๐Ÿ†• New: Add the r-fit-text class to make a text node grow to be as large as possible without overflowing the slide. Docs & examples
    • ๐Ÿ”ง The configured slide width/height is now exposed as CSS variables (--slide-width/--slide-height).
    • The shuffle config option now shuffles vertical slides as well.
    • All themes now invert the text color based on the current slide background color.
    • ๐Ÿ“ฆ Include /css and /js in npm package.

    ๐Ÿ›  Fixes

    • Don't append #/ to the URL on first slide.
    • Don't fill the progress bar when there's only one slide in a deck
    • Correct slide count when using data-visibility="uncounted" (#2675)

Previous changes from v4.0.2

  • ๐Ÿ”„ Changes

    • ๐Ÿ— Enables caching for JavaScript builds, making subsequent builds ~50% faster.
    • In auto-sliding presentations, the data-autoslide attribute now takes precedence over automatic detection of <video> durations.
    • โœ‚ Remove overzealous reset styles when printing to PDF.
    • ๐Ÿ”ง Reveal.configure and Reveal.isReady are now available in the pre-initialized reveal.js API, to match v3.x behavior.
    • ๐Ÿฑ Switches to serving demo presentation assets from a CDN.

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fixes polyfills and adds IE 11 support.
    • ๐Ÿ›  Fixes the progress bar direction in right-to-left mode.