Deprecated
Planned for the next major
Naming and unit inconsistencies that cannot be fixed without breaking existing decks (tracked in issue #29). Non-breaking halves of these have already shipped:
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
Version 2.0.0 included a cleanup of the API surface and may break existing code. In most cases a search-and-replace of the renamed option names resolves the breakage.
Although the changes primarily affect cosmetic properties, 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 camelCase across all methods:
font_facerenamed tofontFacefont_sizerenamed tofontSizeline_dashrenamed tolineDashline_headrenamed tolineHeadline_sizerenamed tolineSizeline_tailrenamed tolineTail
Options deprecated in early 1.0 versions:
marginPtrenamed tomargin
Node Users
require('pptxgenjs-plus')no longer returns a singleton instancepptx = new PptxGenJS()will create a single, unique instance- Advantage: This simplifies creating multiple presentations - see Issue #83 for details.