Skip to content

Releases: RyanZim/onessg

v2.0.0 - Johnny JSTransformer

Choose a tag to compare

@RyanZim RyanZim released this 22 Mar 23:42

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

v1.2.0

Choose a tag to compare

@RyanZim RyanZim released this 13 Jan 18:37

This is our 7th release.

New Features

  • You can now use the _path local in your templates for access to the current filename being processed. 3c69f29

Other Changes

  • _defaults.json doesn't have to be strict valid JSON. 82480e5
  • Refactored some internals.

v1.1.0

Choose a tag to compare

@RyanZim RyanZim released this 12 Nov 00:08

This is our 6th release. Highlights include drafts, improved performance, and better docs.

New Features

  • You can now mark pages as drafts by setting _draft: true in your front-matter. c0e8141

Other Changes

  • Refactored the internals to use ES6 features supported by Node.js v4+, including porting to promises.
  • Added caching of file reading & processing.
  • Refactored _defaults file loading to use async methods. 7665aee
  • Rewrote tests. 537bcab
  • Overhauled docs.
  • Updated dependencies.

v1.0.0 - Aaron Ace

Choose a tag to compare

@RyanZim RyanZim released this 15 Sep 17:16

This is our 5th release, codenamed Aaron Ace.

🎉 v1.0.0 is here! 🎉

We've done an extensive overhaul of the internals, refactored the tests, switched to gray-matter for front-matter parsing, and more!

Breaking Changes

  • Use gray-matter for front-matter parsing. This should only affect a few users. 4b117d0
  • The (undocumented) JS API has changed. 57124d8

New Features

  • More types of front-matter supported 4b117d0

Bugfixes

  • Fix inaccurate error message adfdc73

Other Changes

  • Rewrote the internals.
  • _defaults files are now loaded in parallel. 095c379
  • Updated docs.
  • Refactored tests and added more of them.
  • Updated devDependencies (@greenkeeperio-bot)

v0.3.1

Choose a tag to compare

@RyanZim RyanZim released this 29 Aug 13:27

Bugfixes

  • Fix bug in handling of --src containing multiple slashes.

Other changes

v0.3.0 - Mary Markdown

Choose a tag to compare

@RyanZim RyanZim released this 19 Aug 14:56

This is our third release, codenamed Mary Markdown.

Breaking Changes

  • The required --engine (-e) flag has been removed in favor of a mandatory positional argument. a27e773
  • The (undocumented) JS API has changed. 60c2474
  • .md and .markdown files in src/ are now compiled as well as .html files. f851cf9

New Features

Bugfixes

  • Directory names ending in .html do not throw errors d7979e9

Other changes

v0.2.0 - Danny Defaults

Choose a tag to compare

@RyanZim RyanZim released this 08 Aug 15:27

This is our second release, codenamed Danny Defaults.

New Features

  • Set defaults for front-matter in _defaults.yaml (or _defaults.json) file

Bugfixes

  • Subdirectories in src/ were not handled correctly in v0.1.0

Other Changes

  • Added Test Suite
  • Better Docs

v0.1.0 - First Release

Choose a tag to compare

@RyanZim RyanZim released this 27 Jul 13:13

During this pre-v1.0.0 stage, we promise not to break backwards-compatiblity in a PATCH version bump.