webpack-contrib/postcss-loader
### [`v4.2.0`](https://togithub.com/webpack-contrib/postcss-loader/blob/HEAD/CHANGELOG.md#420-httpsgithubcomwebpack-contribpostcss-loadercomparev410v420-2021-01-21)
[Compare Source](https://togithub.com/webpack-contrib/postcss-loader/compare/v4.1.0...v4.2.0)
##### Features
- added the `implementation` option ([#511](https://togithub.com/webpack-contrib/postcss-loader/issues/511)) ([deac978](https://togithub.com/webpack-contrib/postcss-loader/commit/deac9787eed614b1c445f091a2b70736a6212812))
### [`v4.1.0`](https://togithub.com/webpack-contrib/postcss-loader/blob/HEAD/CHANGELOG.md#410-httpsgithubcomwebpack-contribpostcss-loadercomparev404v410-2020-11-19)
[Compare Source](https://togithub.com/webpack-contrib/postcss-loader/compare/v4.0.4...v4.1.0)
##### Features
- partial compatibility with `postcss-cli`, added `api.env` (alias for `api.mode`) and `api.options` (contains options from the `postcssOptions` options), please look at the [example](https://togithub.com/webpack-contrib/postcss-loader#examples-of-config-files) for more details ([#498](https://togithub.com/webpack-contrib/postcss-loader/issues/498)) ([84a9c46](https://togithub.com/webpack-contrib/postcss-loader/commit/84a9c46467086df0185519ceb93bf66893af4cf2))
##### [4.0.4](https://togithub.com/webpack-contrib/postcss-loader/compare/v4.0.3...v4.0.4) (2020-10-09)
##### Chore
- update `schema-utils`
### [`v4.0.4`](https://togithub.com/webpack-contrib/postcss-loader/blob/HEAD/CHANGELOG.md#404-httpsgithubcomwebpack-contribpostcss-loadercomparev403v404-2020-10-09)
[Compare Source](https://togithub.com/webpack-contrib/postcss-loader/compare/v4.0.3...v4.0.4)
### [`v4.0.3`](https://togithub.com/webpack-contrib/postcss-loader/blob/HEAD/CHANGELOG.md#403-httpsgithubcomwebpack-contribpostcss-loadercomparev402v403-2020-10-02)
[Compare Source](https://togithub.com/webpack-contrib/postcss-loader/compare/v4.0.2...v4.0.3)
##### Bug Fixes
- PostCSS 8 plugin loading ([e1b82fe](https://togithub.com/webpack-contrib/postcss-loader/commit/e1b82feb9cc27f55953b9237708800cb8c07724e))
- error and warning messages ([#485](https://togithub.com/webpack-contrib/postcss-loader/issues/485)) ([4b44e01](https://togithub.com/webpack-contrib/postcss-loader/commit/4b44e01a323aa9d2c0965e92c1796158cb36ce5a))
##### [4.0.2](https://togithub.com/webpack-contrib/postcss-loader/compare/v4.0.1...v4.0.2) (2020-09-15)
##### Bug Fixes
- compatibility with `postcss@8` ([#479](https://togithub.com/webpack-contrib/postcss-loader/issues/479)) ([218b0f8](https://togithub.com/webpack-contrib/postcss-loader/commit/218b0f8013acfafdabea9f561d4c3d074bd2eff3))
##### [4.0.1](https://togithub.com/webpack-contrib/postcss-loader/compare/v4.0.0...v4.0.1) (2020-09-08)
##### Bug Fixes
- source map generation with the `map` option for `postcss` ([#476](https://togithub.com/webpack-contrib/postcss-loader/issues/476)) ([6babeb1](https://togithub.com/webpack-contrib/postcss-loader/commit/6babeb1d64ca1e7d3d3651cb07881e1e291fa994))
### [`v4.0.2`](https://togithub.com/webpack-contrib/postcss-loader/blob/HEAD/CHANGELOG.md#402-httpsgithubcomwebpack-contribpostcss-loadercomparev401v402-2020-09-15)
[Compare Source](https://togithub.com/webpack-contrib/postcss-loader/compare/v4.0.1...v4.0.2)
### [`v4.0.1`](https://togithub.com/webpack-contrib/postcss-loader/blob/HEAD/CHANGELOG.md#401-httpsgithubcomwebpack-contribpostcss-loadercomparev400v401-2020-09-08)
[Compare Source](https://togithub.com/webpack-contrib/postcss-loader/compare/v4.0.0...v4.0.1)
### [`v4.0.0`](https://togithub.com/webpack-contrib/postcss-loader/blob/HEAD/CHANGELOG.md#400-httpsgithubcomwebpack-contribpostcss-loadercomparev300v400-2020-09-07)
[Compare Source](https://togithub.com/webpack-contrib/postcss-loader/compare/v3.0.0...v4.0.0)
##### ⚠ BREAKING CHANGES
- minimum supported `Node.js` version is `10.13`
- minimum supported `webpack` version is `4`
- `postcss` was moved to `peerDependencies`, you need to install `postcss`
- `PostCSS` (`plugins`/`syntax`/`parser`/`stringifier`) options was moved to the `postcssOptions` option, please look at [docs](https://togithub.com/webpack-contrib/postcss-loader#postcssoptions)
- `sourceMap` default value depends on the `compiler.devtool` option
- the `inline` value was removed for the `sourceMap` option, please use `{ map: { inline: true, annotation: false } }` to achieve this
- source maps contain absolute paths in `sources`
- loader output only CSS, so you need to use `css-loader`/`file-loader`/`raw-loader` to inject code inside bundle
- `exec` option was renamed to the `execute` option
- the `config` option doesn't support `Object` type anymore, `config.path` and `config.ctx` options were removed
- argument in the config for `Function` notation (previously `config.ctx`) was changed, now it contains `{ file, mode, webpackLoaderContext }`
- loader context in the config was renamed from `webpack` to `webpackLoaderContext`
##### Features
- message API for emit assets ([#443](https://togithub.com/webpack-contrib/postcss-loader/issues/443)) ([e966ab9](https://togithub.com/webpack-contrib/postcss-loader/commit/e966ab965132ca812cb50e5eaf7df5fc2ad9c137))
- reuse AST from other loaders ([#468](https://togithub.com/webpack-contrib/postcss-loader/issues/468)) ([9b75888](https://togithub.com/webpack-contrib/postcss-loader/commit/9b75888dff4957f2ef1e94eca871e329354a9f6d))
- allows to use config and loader options together, options from the loader takes precedence over the config, the `plugins` option from the config and options are merged ([0eb5aaf](https://togithub.com/webpack-contrib/postcss-loader/commit/0eb5aaf3d49f6d5e570a3c3fdb6b201487e503c7))
- `postcssOptions` options can be `Function`
##### Bug Fixes
- compatibility with webpack@5 ([#437](https://togithub.com/webpack-contrib/postcss-loader/issues/437)) ([ed50491](https://togithub.com/webpack-contrib/postcss-loader/commit/ed504910b70b4d8b4d77084c19ad92330676433e))
- `default` export for plugins ([#465](https://togithub.com/webpack-contrib/postcss-loader/issues/465)) ([3d32c35](https://togithub.com/webpack-contrib/postcss-loader/commit/3d32c35c5c911d6bd25dc0c4b5b3cd11408632d7))
- avoid mutations of loader options and config ([#470](https://togithub.com/webpack-contrib/postcss-loader/issues/470)) ([cad6f07](https://togithub.com/webpack-contrib/postcss-loader/commit/cad6f07c7f4923e8ef69ecb402b10bbd08d09530))
- respect the `map` option from loader options and config ([#458](https://togithub.com/webpack-contrib/postcss-loader/issues/458)) ([98441ff](https://togithub.com/webpack-contrib/postcss-loader/commit/98441ff87e51b58e9322d1bebb5eefc5ba417e24))
##### Notes
- you don't need `ident` option for loader
- `Object` syntax for the `plugin` option is soft deprecated, please migrate on `Array` syntax (`plugins: ['postcss-preset-env', ['cssnano', options]]`)
### [`v3.0.0`](https://togithub.com/webpack-contrib/postcss-loader/blob/HEAD/CHANGELOG.md#300-httpsgithubcompostcsspostcss-loadercomparev216v300-2018-08-08)
[Compare Source](https://togithub.com/webpack-contrib/postcss-loader/compare/v2.1.6...v3.0.0)
##### Bug Fixes
- **index:** add ast version (`meta.ast`) ([f34954f](https://togithub.com/postcss/postcss-loader/commit/f34954f))
- **index:** emit `warnings` as an instance of `{Error}` ([8ac6fb5](https://togithub.com/postcss/postcss-loader/commit/8ac6fb5))
- **options:** improved `ValidationError` messages ([549ea08](https://togithub.com/postcss/postcss-loader/commit/549ea08))
##### Chores
- **package:** update `postcss` v6.0.0...7.0.0 (`dependencies`) ([#375](https://togithub.com/postcss/postcss-loader/issues/375)) ([daa0da8](https://togithub.com/postcss/postcss-loader/commit/daa0da8))
##### BREAKING CHANGES
- **package:** requires `node >= v6.0.0`
#### [2.1.6](https://togithub.com/postcss/postcss-loader/compare/v2.1.5...v2.1.6) (2018-07-10)
##### Bug Fixes
- **package:** config memory leak, updates `postcss-load-config` v1.2.0...2.0.0 (`dependencies`) ([0547b12](https://togithub.com/postcss/postcss-loader/commit/0547b12))
#### [2.1.5](https://togithub.com/postcss/postcss-loader/compare/v2.1.4...v2.1.5) (2018-05-04)
##### Bug Fixes
- **index:** remove `sourceMap` warning ([#361](https://togithub.com/postcss/postcss-loader/issues/361)) ([4416791](https://togithub.com/postcss/postcss-loader/commit/4416791))
#### [2.1.4](https://togithub.com/postcss/postcss-loader/compare/v2.1.3...v2.1.4) (2018-04-16)
##### Bug Fixes
- restore loader object in postcss config context ([#355](https://togithub.com/postcss/postcss-loader/issues/355)) ([2ff1735](https://togithub.com/postcss/postcss-loader/commit/2ff1735))
#### [2.1.3](https://togithub.com/postcss/postcss-loader/compare/v2.1.2...v2.1.3) (2018-03-20)
##### Bug Fixes
- **options:** revert additionalProperties changes to keep SemVer ([bd7fc38](https://togithub.com/postcss/postcss-loader/commit/bd7fc38))
#### [2.1.2](https://togithub.com/postcss/postcss-loader/compare/v2.1.1...v2.1.2) (2018-03-17)
##### Bug Fixes
- **options:** disallow additional properties and add `ident` to validation ([#346](https://togithub.com/postcss/postcss-loader/issues/346)) ([82ef553](https://togithub.com/postcss/postcss-loader/commit/82ef553))
#### [2.1.1](https://togithub.com/postcss/postcss-loader/compare/v2.1.0...v2.1.1) (2018-02-26)
##### Bug Fixes
- **index:** don't set `to` value (`options`) ([#339](https://togithub.com/postcss/postcss-loader/issues/339)) ([cdbb8b6](https://togithub.com/postcss/postcss-loader/commit/cdbb8b6))
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR contains the following updates:
^2.0.8
->^4.0.0
By merging this PR, the below issues will be automatically resolved and closed:
Release Notes
webpack-contrib/postcss-loader
### [`v4.2.0`](https://togithub.com/webpack-contrib/postcss-loader/blob/HEAD/CHANGELOG.md#420-httpsgithubcomwebpack-contribpostcss-loadercomparev410v420-2021-01-21) [Compare Source](https://togithub.com/webpack-contrib/postcss-loader/compare/v4.1.0...v4.2.0) ##### Features - added the `implementation` option ([#511](https://togithub.com/webpack-contrib/postcss-loader/issues/511)) ([deac978](https://togithub.com/webpack-contrib/postcss-loader/commit/deac9787eed614b1c445f091a2b70736a6212812)) ### [`v4.1.0`](https://togithub.com/webpack-contrib/postcss-loader/blob/HEAD/CHANGELOG.md#410-httpsgithubcomwebpack-contribpostcss-loadercomparev404v410-2020-11-19) [Compare Source](https://togithub.com/webpack-contrib/postcss-loader/compare/v4.0.4...v4.1.0) ##### Features - partial compatibility with `postcss-cli`, added `api.env` (alias for `api.mode`) and `api.options` (contains options from the `postcssOptions` options), please look at the [example](https://togithub.com/webpack-contrib/postcss-loader#examples-of-config-files) for more details ([#498](https://togithub.com/webpack-contrib/postcss-loader/issues/498)) ([84a9c46](https://togithub.com/webpack-contrib/postcss-loader/commit/84a9c46467086df0185519ceb93bf66893af4cf2)) ##### [4.0.4](https://togithub.com/webpack-contrib/postcss-loader/compare/v4.0.3...v4.0.4) (2020-10-09) ##### Chore - update `schema-utils` ### [`v4.0.4`](https://togithub.com/webpack-contrib/postcss-loader/blob/HEAD/CHANGELOG.md#404-httpsgithubcomwebpack-contribpostcss-loadercomparev403v404-2020-10-09) [Compare Source](https://togithub.com/webpack-contrib/postcss-loader/compare/v4.0.3...v4.0.4) ### [`v4.0.3`](https://togithub.com/webpack-contrib/postcss-loader/blob/HEAD/CHANGELOG.md#403-httpsgithubcomwebpack-contribpostcss-loadercomparev402v403-2020-10-02) [Compare Source](https://togithub.com/webpack-contrib/postcss-loader/compare/v4.0.2...v4.0.3) ##### Bug Fixes - PostCSS 8 plugin loading ([e1b82fe](https://togithub.com/webpack-contrib/postcss-loader/commit/e1b82feb9cc27f55953b9237708800cb8c07724e)) - error and warning messages ([#485](https://togithub.com/webpack-contrib/postcss-loader/issues/485)) ([4b44e01](https://togithub.com/webpack-contrib/postcss-loader/commit/4b44e01a323aa9d2c0965e92c1796158cb36ce5a)) ##### [4.0.2](https://togithub.com/webpack-contrib/postcss-loader/compare/v4.0.1...v4.0.2) (2020-09-15) ##### Bug Fixes - compatibility with `postcss@8` ([#479](https://togithub.com/webpack-contrib/postcss-loader/issues/479)) ([218b0f8](https://togithub.com/webpack-contrib/postcss-loader/commit/218b0f8013acfafdabea9f561d4c3d074bd2eff3)) ##### [4.0.1](https://togithub.com/webpack-contrib/postcss-loader/compare/v4.0.0...v4.0.1) (2020-09-08) ##### Bug Fixes - source map generation with the `map` option for `postcss` ([#476](https://togithub.com/webpack-contrib/postcss-loader/issues/476)) ([6babeb1](https://togithub.com/webpack-contrib/postcss-loader/commit/6babeb1d64ca1e7d3d3651cb07881e1e291fa994)) ### [`v4.0.2`](https://togithub.com/webpack-contrib/postcss-loader/blob/HEAD/CHANGELOG.md#402-httpsgithubcomwebpack-contribpostcss-loadercomparev401v402-2020-09-15) [Compare Source](https://togithub.com/webpack-contrib/postcss-loader/compare/v4.0.1...v4.0.2) ### [`v4.0.1`](https://togithub.com/webpack-contrib/postcss-loader/blob/HEAD/CHANGELOG.md#401-httpsgithubcomwebpack-contribpostcss-loadercomparev400v401-2020-09-08) [Compare Source](https://togithub.com/webpack-contrib/postcss-loader/compare/v4.0.0...v4.0.1) ### [`v4.0.0`](https://togithub.com/webpack-contrib/postcss-loader/blob/HEAD/CHANGELOG.md#400-httpsgithubcomwebpack-contribpostcss-loadercomparev300v400-2020-09-07) [Compare Source](https://togithub.com/webpack-contrib/postcss-loader/compare/v3.0.0...v4.0.0) ##### ⚠ BREAKING CHANGES - minimum supported `Node.js` version is `10.13` - minimum supported `webpack` version is `4` - `postcss` was moved to `peerDependencies`, you need to install `postcss` - `PostCSS` (`plugins`/`syntax`/`parser`/`stringifier`) options was moved to the `postcssOptions` option, please look at [docs](https://togithub.com/webpack-contrib/postcss-loader#postcssoptions) - `sourceMap` default value depends on the `compiler.devtool` option - the `inline` value was removed for the `sourceMap` option, please use `{ map: { inline: true, annotation: false } }` to achieve this - source maps contain absolute paths in `sources` - loader output only CSS, so you need to use `css-loader`/`file-loader`/`raw-loader` to inject code inside bundle - `exec` option was renamed to the `execute` option - the `config` option doesn't support `Object` type anymore, `config.path` and `config.ctx` options were removed - argument in the config for `Function` notation (previously `config.ctx`) was changed, now it contains `{ file, mode, webpackLoaderContext }` - loader context in the config was renamed from `webpack` to `webpackLoaderContext` ##### Features - message API for emit assets ([#443](https://togithub.com/webpack-contrib/postcss-loader/issues/443)) ([e966ab9](https://togithub.com/webpack-contrib/postcss-loader/commit/e966ab965132ca812cb50e5eaf7df5fc2ad9c137)) - reuse AST from other loaders ([#468](https://togithub.com/webpack-contrib/postcss-loader/issues/468)) ([9b75888](https://togithub.com/webpack-contrib/postcss-loader/commit/9b75888dff4957f2ef1e94eca871e329354a9f6d)) - allows to use config and loader options together, options from the loader takes precedence over the config, the `plugins` option from the config and options are merged ([0eb5aaf](https://togithub.com/webpack-contrib/postcss-loader/commit/0eb5aaf3d49f6d5e570a3c3fdb6b201487e503c7)) - `postcssOptions` options can be `Function` ##### Bug Fixes - compatibility with webpack@5 ([#437](https://togithub.com/webpack-contrib/postcss-loader/issues/437)) ([ed50491](https://togithub.com/webpack-contrib/postcss-loader/commit/ed504910b70b4d8b4d77084c19ad92330676433e)) - `default` export for plugins ([#465](https://togithub.com/webpack-contrib/postcss-loader/issues/465)) ([3d32c35](https://togithub.com/webpack-contrib/postcss-loader/commit/3d32c35c5c911d6bd25dc0c4b5b3cd11408632d7)) - avoid mutations of loader options and config ([#470](https://togithub.com/webpack-contrib/postcss-loader/issues/470)) ([cad6f07](https://togithub.com/webpack-contrib/postcss-loader/commit/cad6f07c7f4923e8ef69ecb402b10bbd08d09530)) - respect the `map` option from loader options and config ([#458](https://togithub.com/webpack-contrib/postcss-loader/issues/458)) ([98441ff](https://togithub.com/webpack-contrib/postcss-loader/commit/98441ff87e51b58e9322d1bebb5eefc5ba417e24)) ##### Notes - you don't need `ident` option for loader - `Object` syntax for the `plugin` option is soft deprecated, please migrate on `Array` syntax (`plugins: ['postcss-preset-env', ['cssnano', options]]`) ### [`v3.0.0`](https://togithub.com/webpack-contrib/postcss-loader/blob/HEAD/CHANGELOG.md#300-httpsgithubcompostcsspostcss-loadercomparev216v300-2018-08-08) [Compare Source](https://togithub.com/webpack-contrib/postcss-loader/compare/v2.1.6...v3.0.0) ##### Bug Fixes - **index:** add ast version (`meta.ast`) ([f34954f](https://togithub.com/postcss/postcss-loader/commit/f34954f)) - **index:** emit `warnings` as an instance of `{Error}` ([8ac6fb5](https://togithub.com/postcss/postcss-loader/commit/8ac6fb5)) - **options:** improved `ValidationError` messages ([549ea08](https://togithub.com/postcss/postcss-loader/commit/549ea08)) ##### Chores - **package:** update `postcss` v6.0.0...7.0.0 (`dependencies`) ([#375](https://togithub.com/postcss/postcss-loader/issues/375)) ([daa0da8](https://togithub.com/postcss/postcss-loader/commit/daa0da8)) ##### BREAKING CHANGES - **package:** requires `node >= v6.0.0` #### [2.1.6](https://togithub.com/postcss/postcss-loader/compare/v2.1.5...v2.1.6) (2018-07-10) ##### Bug Fixes - **package:** config memory leak, updates `postcss-load-config` v1.2.0...2.0.0 (`dependencies`) ([0547b12](https://togithub.com/postcss/postcss-loader/commit/0547b12)) #### [2.1.5](https://togithub.com/postcss/postcss-loader/compare/v2.1.4...v2.1.5) (2018-05-04) ##### Bug Fixes - **index:** remove `sourceMap` warning ([#361](https://togithub.com/postcss/postcss-loader/issues/361)) ([4416791](https://togithub.com/postcss/postcss-loader/commit/4416791)) #### [2.1.4](https://togithub.com/postcss/postcss-loader/compare/v2.1.3...v2.1.4) (2018-04-16) ##### Bug Fixes - restore loader object in postcss config context ([#355](https://togithub.com/postcss/postcss-loader/issues/355)) ([2ff1735](https://togithub.com/postcss/postcss-loader/commit/2ff1735)) #### [2.1.3](https://togithub.com/postcss/postcss-loader/compare/v2.1.2...v2.1.3) (2018-03-20) ##### Bug Fixes - **options:** revert additionalProperties changes to keep SemVer ([bd7fc38](https://togithub.com/postcss/postcss-loader/commit/bd7fc38)) #### [2.1.2](https://togithub.com/postcss/postcss-loader/compare/v2.1.1...v2.1.2) (2018-03-17) ##### Bug Fixes - **options:** disallow additional properties and add `ident` to validation ([#346](https://togithub.com/postcss/postcss-loader/issues/346)) ([82ef553](https://togithub.com/postcss/postcss-loader/commit/82ef553)) #### [2.1.1](https://togithub.com/postcss/postcss-loader/compare/v2.1.0...v2.1.1) (2018-02-26) ##### Bug Fixes - **index:** don't set `to` value (`options`) ([#339](https://togithub.com/postcss/postcss-loader/issues/339)) ([cdbb8b6](https://togithub.com/postcss/postcss-loader/commit/cdbb8b6))