# Change Log All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). ## [2.0.0] - 2022-01-12 *The major version has to be released because of vulnerability in PostCSS (see [#165])* ### Changed - Support optional dependencies [#168] (`minifyUrl`, ` minifyJs`, `removeUnusedCss`, `minifyCss`). *This might be a breaking change for you*. Check the docs: https://github.com/posthtml/htmlnano/pull/168/files - Disable `mergeScripts` & `mergeStyles` in the safe preset [#170]. ## [1.1.1] - 2021-09-19 This version fixes fatal errors introduced in [1.1.0]. ## [1.1.0] - 2021-09-19 *This version contains fatal errors. Please use [1.1.1] instead.* ### Added - Collapse missing value default attribute in `removeRedundantAttributes` [#158]. - New `normalizeAttributeValues` module to normalize casing of attribute values [#163]. - Custom matcher for `removeComments` [#156]. ### Changed - Remove more empty attributes in `removeEmptyAttributes` [#161]. - Enhance collapse whitespace in `collapseWhitespace` [#145]. - `minifyJs` and `minifyUrls` enhancement [#159]. - Enhance attribute collapse whitespace in `collapseAttributeWhitespace` [#157]. ## [1.0.1] - 2021-09-11 ### Added - Support of [@novaatwarren/uncss](https://github.com/novaatwarren/uncss) fork [#154] ### Changed - SVGO plugins configuration [#153] ## [1.0.0] - 2021-04-17 After more than 4 years of development, it's time to release a stable [1.0.0](https://github.com/posthtml/htmlnano/releases/tag/1.0.0) version 🎉 It doesn't contain anything new from the previous [0.2.9](https://github.com/posthtml/htmlnano/releases/tag/0.2.9) release. We just did a major upgrade of two dependencies: [PurgeCSS](https://purgecss.com/) and [SVGO](https://github.com/svg/svgo), which changed their config format. Thus we have to do a major release of `htmlnano`. You can safely upgrade to `htmlnano@1.0.0` if you don't pass any config to `minifySvg` or `removeUnusedCss` (while used with PurgeCSS) modules. Otherwise, you have to adapt the config according to the new [PurgeCSS@3](https://github.com/FullHuman/purgecss/releases/tag/v3.0.0) and [SVGO@2](https://github.com/svg/svgo/releases/tag/v2.0.0) config format. ## [0.2.9] - 2021-04-11 ### Added - `minifyConditionalComment` support `` [#125]. - Minify JS within `