Skip to content

v0.10.0

Compare
Choose a tag to compare
@jescalan jescalan released this 18 Jul 16:12
· 99 commits to master since this release

CAUTION: BREAKING RELEASE!

  • Configuration now accepts an array, an object, or a function that returns an array or object
  • Support for posthtml-load-config removed, you can load config manually just as easily
  • If passing an object to the configuration, use the plugins key instead of defaults to specify the plugins you would like to be used.
  • Now accepts parser as a parameter when using a custom parser (like sugarml)
  • Much more thorough tests, and all dependencies up to date
  • More thorough documentation, clarity and code examples in the readme

Upgrade Path

  • If you are using posthtml-load-config (autoload), you can remove it, require your plugins, and pass them in directly.
  • If you are using an object as configuration, change defaults to plugins