Releases: hakimel/reveal.js
Releases · hakimel/reveal.js
3.3.0
Changes:
- New default HTML files:
index.html – barebones presentation suitable to add your own content into
demo.html – example presentation where many reveal.js features are demonstrated - Add
Reveal.shuffle()
for randomizing slide order, also available through configReveal.initialize({ shuffle: true })
(#1506) - Add
data-background-video-muted
for muting background video (#1360 by @oslego) - Add
autoSlideMethod
config option for controlling how auto-slide navigates. For example, for backwards navigation you can useReveal.configure({ autoSlideMethod: Reveal.navigatePrev })
(#1437 by @der-michik) - Add four new fragment styles: fade-up, fade-down, fade-right and fade-left (#1445 by @kewitz)
- Add the grunt-cli as a dependency instead of assuming global Grunt (#1473 by @vicapow)
- Add
Reveal.VERSION
(#1451 by @SethosII) - Add table of contents to README (#1545 by @ducin)
- Multiplexing is compatible with now, deployment is as easy as
now plugin/multiplex
- The notes plugin no longer syncs changes to the overview mode
- 2x auto-slide controls for HDPI displays
- Remove unused dependencies (#1521 by @demoneaux)
- Update highlight.js to 9.0.0
- Update head.js to 1.0.3
Bug fixes:
- Fix issues with how presentations were scaled up in Safari and Edge
- Fix issue where background videos did not play on the first slide (#1376 by @alexbatista)
- Fix issue with formatting of Markdown notes (#1405 by @jetzhliu)
- Fix error where parallax backgrounds did not work in a presentation with only vertical slides (#1434 by @mikemellor11)
- Fix error when using speaker notes on a presentation with a query string in the URL (#1522 by @demoneaux)
- Fix watching of Markdown files for livereload (#1553 by @0xR)
- Fix broken overview when reveal.js is configured with percentage based width/height (#1247)
- Remove extra border in some table configurations (by @flying-sheep)
3.2.0
Changes:
- Turn on the
showNotes
option to show your speaker notes along the bottom of the presentation. Also works with PDF exports! - If
slideNumber
is turned on slide numbers will now be included in PDF exports. - Changed the format and style of slide numbers.
- Added a bower.json manifest #1067
- Use
data-prevent-swipe
to flag that swiping across an element shouldn't trigger slide navigation (more info, #951 by @Calyhre) - Accessibility: control arrows were changed from
<div>
to<button>
. - Updated all dependencies, see ef1402e
- The Multiplexing and Speaker Notes plugins have been upgraded from socket.io 0.9.x to 1.3.7.
- The server side speaker notes plugin now syncs changes from within the notes window to the main presentation window.
- We no longer use
zoom
to scale down presentations since that was causing slight shifts in text layout. Instead we're relying on transforms which always interpolate smoothly although things don't look as crisp. - The Leap Motion plugin was moved out of reveal.js core: https://github.com/gneatgeek/reveal.js-leap-motion
- The remotes.io plugin was removed.
- Updated highlight.js from 8.2 to 8.9.1
Bug fixes:
- Custom-bound
togglePause
keys can now correctly be used to resume again (#959 by @davidbanham). - Fix early access error with video backgrounds (#1310 by @teawithfruit).
- Fix an issue where the 'none' transition did not apply to vertical slides.
- Fix initial visibility of strike fragments.
- Fix an issue where the presentation background turned black in fullscreen mode.
- Fix an issue where code highlighting didn't load for Markdown-only presentations (#1225 by @gre)
- Fix an issue where printing to paper would cause text to get cut off (#1381 by @lordsutch)
- And more...
3.1.0
Changes:
- Slides can now have different in/out transitions (more info, #1106 by @jammon)
- Custom formatting support for slide numbers (more info, #965)
- Lazy loaded iframe elements now only load when the containing slide becomes visible and unload again once hidden
- GIFs now restart when they become visible
- Support for slide backgrounds in the overview mode
- Config options for controlling parallax background movement per slide (#733 by #lukekarrys)
- Simplified build script now compiles all CSS in themes folder
- Only preload last slide when we're configured to loop
- Add
data-background-loop
option (#1138 by @denehyg) - Core CSS no longer overrides text selection color
- Removed
roll-in
fragment style as it was consistently crashing Chrome (#1150)
Bug fixes:
- Fix Markdown table column alignment (#1050 by @fehmer)
- Fix view distance calculation for looped presentations
- Fix inverse progress bar navigation in RTL mode
- Fix error where Markdown slide separators did not work on some systems (#929 thanks @callahad)
- Resolve conflict which caused auto-sliding not to work on a slide with a
data-autoplay
configured media element (#1170) - Input focus inside of iframe elements no longer breaks slide layout
- And more...
3.0.0
reveal.js 3.0 changes the default style of the framework (demo). If you want to return to the old defaults please take a look at the migration guide.
Major updates:
- New default theme "black"
- New theme "white", same typography as "black" but inverse colors
- Default transition changed from 3D rotation to 2D sliding
- Presentations scale up to make better use of high resolution viewports
- Video backgrounds (more info)
- Iframe backgrounds (more info, #1029 by @lutangar)
- Lazy loading of image, iframe, video and audio (more info)
- Help overlay when pressing ? (#943 by @navateja)
- Slide content is now announced to screen readers (#854 by @mpnkhan)
- Rewritten PDF export layout, fixes a number of issues and adds support for vertical centering
- Markdown separator attributes renamed from
data-notes
anddata-vertical
todata-separator-notes
anddata-separator-vertical
.
Other updates:
- Minified files (reveal.min.js and reveal.min.css) are no longer tracked in the repo
- Core stylesheet is now precompiled using Sass
- Core stylesheet is now using autoprefixer (#1007 by @burnpanck)
- Built-in postMessage API (more info)
- The .reveal element is given a "has-light-background" or "has-dark-background" class when a per-slide background color is detected
- Speaker view
- New design
- Now works when running a presentation from file://
- Disabled slide transitions to improve main presentation performance
- Disabled auto-sliding to prevent conflicts with main presentation
- Disabled 'S' shortcut from working inside of speaker view
- New API method: getState/setState (more info)
- New API method: getProgress
- New API method: getTotalSlides (#858)
- Fragments are included in progress calculation
- highlight.js updated to 8.2, now includes all supported languages rather than a subset
- Removed transitions into and out of the overview mode
- Simplified .slides container layout, no more -50% offset on individual slide elements
- Renamed "linear" transition to "slide"
- Renamed "default" transition to "convex"
- Background images, videos and iframes are lazy loaded
- Moved content related styles out of core stylesheet into themes
- Removed Ruby dependency by switching to node-sass (#975 by @miira)
- Removed
theme
config option (#1061) - Included version of League Gothic is no longer subset (#989)
- UMD support (#869 by @ahdinosaur)
- Refreshed content in default presentation
Bug fixes:
- Invisible fragments no longer catch mouse events (#845)
- Prevent named links with non-latin characters from skipping to presentation end (#836)
data-autoplay
attribute now works on the first slide- Auto-sliding now works for fragments on last slide (#974)
- Fix issues with RTL navigation
- Fix edge cases where isFirstSlide incorrectly returned true
- Fix issue with automatically playing/pausing YouTube and Vimeo embeds
- Fix double-navigation on touch for some Android devices
- Fix calculation of fragment index when multiple fragments have the same index
- Many more...
2.6.2
2.6.1
2.6.0
Major changes:
- Parallax backgrounds (more info, example, thanks @michalsmolinski)
- Added UI for controlling auto slide playback. Appears in the bottom left and includes a visual indicator for when the slide is about to change (more info, example)
- Added support for displaying the current page number (more info, thanks @urielha)
- All configuration values can now be overridden through query parameters, for example: http://lab.hakim.se/reveal-js/?autoSlide=3000&controls=false&loop=true
Other changes:
- Unit tests are now available with ever increasing coverage, run via
grunt test
- Fixed vertical slide related bug where
isLastSlide()
incorrectly returned false - Updated highlight.js build to include all supported languages
- Fixed bug where smart links (like
.navigate-right
) did not work when controls were disabled - Updated grunt and node dependencies to current versions
- Fixed perspective of vertical slide transition in IE10
- The grunt serve task now accepts a port number, for example:
grunt server 8181
- Added contribution guidelines
- Fixed issue where keyboard controls did not work after clicking on an external link inside of a presentation and then coming back
- Added support for SVG background images
- Overview mode and progress bar are now disabled in the notes window slide previews
- Added support for per-slide vertical centering, simply add a
.center
class to the<section>
- If an iframe is embedded inside of a slide it will now receive two postMessages:
slide:start
when the slide is shown andslide:stop
when it is hidden (more info) - Videos are no longer auto-played in the note window previews
- The
data-autoslide
of a slide stack is now inherited by its vertical children - Disabled background transitions between consecutive identical
data-background
s to avoid flicker - Added convex, concave and zoom background transitions
- Refactored fragment implementation to fix multiple bugs (see #721)
- Adjusted background transition speed to match slide transitions
- When there is embedded media with
data-autoplay
set and auto-sliding is on, the auto-slide duration is increased to the duration of the media
Markdown plugin:
2.5.0
Major changes:
- MathJax plugin (more info)
- Leap Motion plugin (more info, thanks @gneatgeek)
- Added
.stretch
helper class which dynamically resizes an element to fill its parent slide (more info) - Added support for notes in external Markdown (more info, thanks @adamhepton)
Other changes:
- The framework no longer queries the DOM before
Reveal.initialize()
is called, this allows reveal.js to be loaded in the<head>
- URL hash now updates immediately, was previously delayed to account for a legacy Chrome bug
- Rolling links are now turned off by default, will be removed entirely in the long term
- Fragments on upcoming slides are no longer visible when navigating back and forth in the presentation
- Added an
none
transition setting for slide backgrounds - O key can now be used to toggle the overview mode, useful since ESC does not work in fullscreen mode
- Greatly simplified client-side notes plugin, fixes issues where fragments went out of sync
- Fixed bug that caused slideshow to break if an invalid named link was referenced
- Fixed bug with
auto-slide
on first slide (#525) - Fixed issues where past/future slides were clickable even if they weren't visible
- Optimization:
- More precise way of hiding slides that are out of view
- Configurable
viewDistance
(# of slides from current that should be hidden) - Limited view distance for mobile devices, fixes some out of memory errors
2.4.0
Major changes:
- Embedded media (
<video>
,<audio>
and YouTube<iframe
>) are now automatically played - Greatly improved RTL support
- Added
Reveal.sync()
method, update internals to match current DOM and config
Other changes:
- Fixed changing of
keyboard
,touch
,controls
andprogress
flags through usingReveal.configure
- Auto-slide now resume after overview/pause
- Added error messaging when external markdown fails to load
- Added
Reveal.avilableRoutes()
API method - It is now possible to override the transition for a specific slide (more info)
- Fixes conflict between notes and remotes plugins
- Added support for transitionSpeed config value (default/fast/slow)
- Added support for
data-transition-speed
attribute on sections (more info) getIndices
now returns anf
property for the current fragment index- Added more state backgrounds
- Broader code highlighter language support (full list in source)
- Set
data-trim
on your<code>
blocks for automatic whitespace trimming
paused when their container slide is hidden. Can also be configured to auto-play when slide is entered (more info) - Fixed bug where progress bar would not scale when the window was resized
- Fragments now reflect visually in the main presentation controls
- Added
fragment
config option for disabling all use of fragments - Showdown has been replaced with marked for GitHub flavored Markdown parsing
- HTML characters in code-blocks are automatically ecaped unless the
<code>
wrapper hasdata-noescape
- Fixes flickering linear transition in iOS
- Added setup instructions and Grunt serve task (more info)
2.3.0
Major changes:
- Presentations now scale uniformly to fit any display size (more info)
- Multiplex plugin (more info, @davidbanham)
- Support for external Markdown (more info, @webpro)
- Reveal.js can now be re-configured after initialization, example:
Reveal.configure({ center: false })
Other changes:
- Prevent keyboard navigation while presentation is paused
- Fixed header word-breaks, will now properly hyphenate
- Fixed vertical centring of slides in iOS Chrome
- Added API method
Reveal.getSlide( x, y )
for retrieving a slide by its index - Correction to notes window sometimes displaying the wrong slides
- Stop auto-slide when paused or in overview
- Added API method
Reveal.isOverview()
- Added API method
Reveal.isPaused()
- Added API method
Reveal.isFirstSlide()
- Added API method
Reveal.isLastSlide()
- Fragments order can now be set via
data-fragment-index
attributes (more info, @jaberg) - Updated to Grunt 0.4 (@boazsender)
- Fixed issue with Markdown HTML entities (@asmod3us)
- Navigation in notes window now reflects in main window
- Added
paused
andresumed
events - Fixed navigation inconsistency when first/last slide is vertical
- Two new themes: moon and solarized
- Themes are now compiled using Grunt
- Better fallback fonts
- Search plugin (@razor-1)