Skip to content

v2.0.0 - Johnny JSTransformer

Latest

Choose a tag to compare

@RyanZim RyanZim released this 22 Mar 23:42
· 35 commits to master since this release

This is our 8th release, codenamed Johnny JSTransformer.

We've switched from consolidate.js to JSTransformer for template engine support, added support for a config file, and more! 🎉

Breaking Changes

  • Removed _draft support and the --dev CLI flag d19239a
  • Changed the JS API to use Promises instead of callbacks a229f5d
  • Switched from consolidate.js to JSTransformer 92aa818
    • Can't set template engine options in _defaults files
  • _path doesn't include the original file extension, use _ext if you need it e394b0c

New Features

  • Can configure template engines in onessg.config.js b3078c2
  • onessg now makes _ext available to templates e394b0c

Other Changes