All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
8.2.1 (2026-02-15)
8.2.0 (2025-09-01)
- update
jitifrom v1 to v2 (9c74974)
8.1.1 (2024-02-28)
- respect
defaultwhen loading postcss esm configs (52d8050)
8.1.0 (2024-01-30)
8.0.0 (2024-01-16)
7.3.4 (2023-12-27)
7.3.3 (2023-06-10)
- perf: avoid using
klonafor postcss options (#658) (e754c3f) - bug with loading configurations after updating
cosmiconfigto version 8.2 (684d265)
7.3.2 (2023-05-28)
7.3.1 (2023-05-26)
- warning and error serialization (65748ec)
7.3.0 (2023-04-28)
7.2.4 (2023-04-04)
7.2.3 (2023-04-03)
7.2.2 (2023-04-03)
7.2.1 (2023-04-03)
7.2.0 (2023-04-03)
7.1.0 (2023-03-16)
7.0.2 (2022-11-29)
7.0.1 (2022-07-11)
7.0.0 (2022-05-18)
- minimum supported
Node.jsversion is14.15.0
6.2.1 (2021-11-26)
6.2.0 (2021-10-13)
6.1.1 (2021-07-01)
- do not swallow exception from postcss (2eec42b)
6.1.0 (2021-06-10)
- allow
Stringvalue for the "implementation" option (0d342b1)
6.0.0 (2021-06-10)
- minimum supported
Node.jsversion is12.13.0(#526)
- check postcss as project dependency (570db67)
5.3.0 (2021-05-14)
5.2.0 (2021-03-11)
5.1.0 (2021-03-05)
- added support for registering
context,buildandmissingdependencies (#518) (9ce4972), please read docs
5.0.0 (2021-02-02)
- minimum supported
webpackversion is5
4.2.0 (2021-01-21)
4.1.0 (2020-11-19)
- partial compatibility with
postcss-cli, addedapi.env(alias forapi.mode) andapi.options(contains options from thepostcssOptionsoptions), please look at the example for more details (#498) (84a9c46)
4.0.4 (2020-10-09)
- update
schema-utils
4.0.3 (2020-10-02)
4.0.2 (2020-09-15)
4.0.1 (2020-09-08)
4.0.0 (2020-09-07)
- minimum supported
Node.jsversion is10.13 - minimum supported
webpackversion is4 postcsswas moved topeerDependencies, you need to installpostcssPostCSS(plugins/syntax/parser/stringifier) options was moved to thepostcssOptionsoption, please look at docssourceMapdefault value depends on thecompiler.devtooloption- the
inlinevalue was removed for thesourceMapoption, 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-loaderto inject code inside bundle execoption was renamed to theexecuteoption- the
configoption doesn't supportObjecttype anymore,config.pathandconfig.ctxoptions were removed - argument in the config for
Functionnotation (previouslyconfig.ctx) was changed, now it contains{ file, mode, webpackLoaderContext } - loader context in the config was renamed from
webpacktowebpackLoaderContext
- message API for emit assets (#443) (e966ab9)
- reuse AST from other loaders (#468) (9b75888)
- allows to use config and loader options together, options from the loader takes precedence over the config, the
pluginsoption from the config and options are merged (0eb5aaf) postcssOptionsoptions can beFunction
- compatibility with webpack@5 (#437) (ed50491)
defaultexport for plugins (#465) (3d32c35)- avoid mutations of loader options and config (#470) (cad6f07)
- respect the
mapoption from loader options and config (#458) (98441ff)
- you don't need
identoption for loader Objectsyntax for thepluginoption is soft deprecated, please migrate onArraysyntax (plugins: ['postcss-preset-env', ['cssnano', options]])
3.0.0 (2018-08-08)
- index: add ast version (
meta.ast) (f34954f) - index: emit
warningsas an instance of{Error}(8ac6fb5) - options: improved
ValidationErrormessages (549ea08)
- package: requires
node >= v6.0.0
2.1.6 (2018-07-10)
- package: config memory leak, updates
postcss-load-configv1.2.0...2.0.0 (dependencies) (0547b12)
2.1.5 (2018-05-04)
2.1.4 (2018-04-16)
2.1.3 (2018-03-20)
- options: revert additionalProperties changes to keep SemVer (bd7fc38)
2.1.2 (2018-03-17)
2.1.1 (2018-02-26)
2.1.0 (2018-02-02)
- index: pass AST (
result.root) && Messages (result.messages) as metadata to other loaders (#322) (56232e7)
2.0.10 (2018-01-03)
2.0.9 (2017-11-24)
2.0.8 (2017-10-14)
- lib/options: handle
{Object}return (options.plugins) (#301) (df010a7) - schema: allow to pass an
{Object}(options.syntax/options.stringifier) (#300) (58e9996)
2.0.7 (2017-10-10)
- sanitizing
fromandtooptions (postcss.config.js) (#260) (753dea7) - index: runaway promise (#269) (8df20ce)
2.0.6 (2017-06-14)
- allow to pass an
{Object}(options.parser) (#257) (4974607) - misspelling in warnings (#237) (adcbb2e)
- index: simplify config loading behaviour (#259) (b313478)
2.0.5 (2017-05-10)
- regression with
options.plugins{Function}(webpack.config.js) (#229) (dca52a9)
2.0.4 (2017-05-10)
- index:
postcss.config.jsnot resolved correctly (options.config) (faaeee4) - index: update validation schema, better warning message (4f20c99)
2.0.3 (2017-05-09)
- index: don't fail on 'sourceMap: false' && emit a warning instead, when previous map found (
options.sourceMap) (159b66a)
2.0.2 (2017-05-09)
- index: 'No PostCSS Config found' (
options.config) (#215) (e764761)
2.0.1 (2017-05-08)
- index: 'Cannot create property
prevon booleanfalse' (options.sourceMap) (c4f0064)
2.0.0 (2017-05-08)
- Remove
postcss-loader-before-processingwarning (by Michael Ciniawsky).
- Fix deprecated warning (by Xiaoyu Zhai).
- Fix conflict with CLI
--configargument (by EGOIST).
- Allow object in syntax options, not only path for require (by Jeff Escalante).
- Watch
postcss.config.jsfor changes (by Michael Ciniawsky).
- Fix relative
configparameter resolving (by Simen Bekkhus).
- Add
configparameter (by sainthkh).
- Fix
thisin options function (by Jeff Escalante).
- PostCSS common config could be placed to subdirs.
- Add webpack instance to PostCSS common config context.
- Add common PostCSS config support (by Mateusz Derks).
- Add Webpack 2 support with
pluginsquery option (by Izaak Schroeder). - Add
dependencymessage support. - Rewrite docs (by Michael Ciniawsky).
- Add
execparameter (by Neal Granger).
- Add CSS syntax highlight to syntax error code frame.
- Fix Promise API (by Daniel Haus).
- Add
postcss-loader-before-processingwebpack event (by Jan Nicklas).
- Better syntax error message (by Andrey Popp).
- Add
sourceMapparameter to force inline maps (by 雪狼).
- Fix plugin in simple array config.
- Allow to pass syntax, parser or stringifier as function (by Jeff Escalante).
- Fix source map support (by Andrew Bradley).
- Fix resource path.
- Add postcss-js support (by Simon Degraeve).
- Added argument with webpack instance to plugins callback (by Maxime Thirouin).
- Use PostCSS 5.0.
- Remove
safeparameter. Use Safe Parser. - Add
syntax,parserandstringifierparameters.
- Fix string source map support (by Jan Nicklas).
- Set plugins by function for hot reload support (by Stefano Brilli).
- Fix error on empty PostCSS config.
- Better check for
CssSyntaxError.
- Fixed invalid sourcemap exception (by Richard Willis).
- Use only Promise API to catch PostCSS errors.
- Add PostCSS asynchronous API support.
- Fix source map support (by Richard Willis).
- Add warnings API support.
- Better output for CSS syntax errors.
- Use PostCSS 4.0.
- Use PostCSS 3.0.
- Initial release.