Skip to content

Version 3.0 Migration Guide

Brent Ely edited this page Nov 8, 2019 · 11 revisions

Upgrading from v1.x/v2.x

Important Notes

There are major breaking changes in Version 3.0

Your old code will not run without updates.

Code Updates

Saving

The save() method has been removed.

Use one of these new methods instead - all of them return a Promise.

Save Methods Description
writeFile(name) browser-based apps: downloads file. node apps: uses fs to write to the local file system
write(type) returns the presentation in selected type (arraybuffer, blob, base64, and more)
stream() returns the presentation as a stream

Creating

Old Method New Method Notes
old method new method yeah

API Documents

Version 2.x Docs

[WIP] updated API docs are underway (20191105)

Clone this wiki locally