v0.10.0
⛔ 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 ofdefaults
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
toplugins