Deprecated
Version 3.0 Breaking Changes
Please see the Version 3.0 Migration Guide
pptx.colorsis deprecated - usepptx.SchemeColorpptx.chartsis deprecated - usepptx.ChartTypepptx.shapesis deprecated - usepptx.ShapeType
Version 2.0 Breaking Changes
Please note that version 2.0.0 enabled some much needed cleanup, but may break your previous code... (however, a quick search-and-replace will fix any issues).
While the changes may only impact cosmetic properties, it's recommended you test your solutions thoroughly before upgrading PptxGenJS to the 2.0 version.
All Users
The library getVersion() method is now a property: version
Option names are now caseCase across all methods:
font_facerenamed tofontFacefont_sizerenamed tofontSizeline_dashrenamed tolineDashline_headrenamed tolineHeadline_sizerenamed tolineSizeline_tailrenamed tolineTail
Options deprecated in early 1.0 versions (hopefully nobody still uses these):
marginPtrenamed tomargin
Node Users
require('pptxgenjs')no longer returns a singleton instancepptx = new PptxGenJS()will create a single, unique instance- Advantage: Creating multiple presentations is much easier now - see Issue #83 for more).