Icard/angular-clarity-master(work.../node_modules/postcss-loader/CHANGELOG.md

22 KiB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

7.3.3 (2023-06-10)

Bug Fixes

  • perf: avoid using klona for postcss options (#658) (e754c3f)
  • bug with loading configurations after updating cosmiconfig to version 8.2 (684d265)

7.3.2 (2023-05-28)

Bug Fixes

  • use cause to keep original errors and warnings (#655) (e8873f4)

7.3.1 (2023-05-26)

Bug Fixes

  • warning and error serialization (65748ec)

7.3.0 (2023-04-28)

Features

  • use jiti for typescript configurations (#649) (8b876fa)

7.2.4 (2023-04-04)

Bug Fixes

7.2.3 (2023-04-03)

Bug Fixes

7.2.2 (2023-04-03)

Bug Fixes

7.2.1 (2023-04-03)

Bug Fixes

7.2.0 (2023-04-03)

Features

  • add support for TypeScript based configs (#632) (c6b5def)

7.1.0 (2023-03-16)

Features

7.0.2 (2022-11-29)

Bug Fixes

  • support ESM version of postcss.config.js and postcss.config.mjs (#614) (955085f)

7.0.1 (2022-07-11)

Bug Fixes

  • unexpected failing on CSS syntax error (#593) (888d72e)

7.0.0 (2022-05-18)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 14.15.0

6.2.1 (2021-11-26)

Bug Fixes

6.2.0 (2021-10-13)

Features

6.1.1 (2021-07-01)

Bug Fixes

  • do not swallow exception from postcss (2eec42b)

6.1.0 (2021-06-10)

Features

  • allow String value for the "implementation" option (0d342b1)

6.0.0 (2021-06-10)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 12.13.0 (#526)

Bug Fixes

  • check postcss as project dependency (570db67)

5.3.0 (2021-05-14)

Features

  • add support for dir-dependency message type (#524) (91dea60)

5.2.0 (2021-03-11)

Features

  • support ecma modules for the 'parser', 'stringifier' and 'syntax' options (#519) (cc69754)

5.1.0 (2021-03-05)

Features

  • added support for registering context, build and missing dependencies (#518) (9ce4972), please read docs

5.0.0 (2021-02-02)

⚠ BREAKING CHANGES

  • minimum supported webpack version is 5

4.2.0 (2021-01-21)

Features

4.1.0 (2020-11-19)

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 for more details (#498) (84a9c46)

4.0.4 (2020-10-09)

Chore

  • update schema-utils

4.0.3 (2020-10-02)

Bug Fixes

4.0.2 (2020-09-15)

Bug Fixes

4.0.1 (2020-09-08)

Bug Fixes

  • source map generation with the map option for postcss (#476) (6babeb1)

4.0.0 (2020-09-07)

⚠ 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
  • 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) (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 plugins option from the config and options are merged (0eb5aaf)
  • postcssOptions options can be Function

Bug Fixes

  • compatibility with webpack@5 (#437) (ed50491)
  • default export for plugins (#465) (3d32c35)
  • avoid mutations of loader options and config (#470) (cad6f07)
  • respect the map option from loader options and config (#458) (98441ff)

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]])

3.0.0 (2018-08-08)

Bug Fixes

  • index: add ast version (meta.ast) (f34954f)
  • index: emit warnings as an instance of {Error} (8ac6fb5)
  • options: improved ValidationError messages (549ea08)

Chores

  • package: update postcss v6.0.0...7.0.0 (dependencies) (#375) (daa0da8)

BREAKING CHANGES

  • package: requires node >= v6.0.0

2.1.6 (2018-07-10)

Bug Fixes

  • package: config memory leak, updates postcss-load-config v1.2.0...2.0.0 (dependencies) (0547b12)

2.1.5 (2018-05-04)

Bug Fixes

2.1.4 (2018-04-16)

Bug Fixes

  • restore loader object in postcss config context (#355) (2ff1735)

2.1.3 (2018-03-20)

Bug Fixes

  • options: revert additionalProperties changes to keep SemVer (bd7fc38)

2.1.2 (2018-03-17)

Bug Fixes

  • options: disallow additional properties and add ident to validation (#346) (82ef553)

2.1.1 (2018-02-26)

Bug Fixes

2.1.0 (2018-02-02)

Bug Fixes

  • index: continue watching after dependency {Error} (#332) (a8921cc)

Features

  • index: pass AST (result.root) && Messages (result.messages) as metadata to other loaders (#322) (56232e7)

2.0.10 (2018-01-03)

Bug Fixes

  • index: copy loader options before modifying (#326) (61ff03c)

2.0.9 (2017-11-24)

Bug Fixes

2.0.8 (2017-10-14)

Bug Fixes

  • 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)

Bug Fixes

2.0.6 (2017-06-14)

Bug Fixes

2.0.5 (2017-05-10)

Bug Fixes

  • regression with options.plugins {Function} (webpack.config.js) (#229) (dca52a9)

2.0.4 (2017-05-10)

Bug Fixes

  • index: postcss.config.js not resolved correctly (options.config) (faaeee4)
  • index: update validation schema, better warning message (4f20c99)

2.0.3 (2017-05-09)

Bug Fixes

  • index: don't fail on 'sourceMap: false' && emit a warning instead, when previous map found (options.sourceMap) (159b66a)

2.0.2 (2017-05-09)

Bug Fixes

  • index: 'No PostCSS Config found' (options.config) (#215) (e764761)

2.0.1 (2017-05-08)

Bug Fixes

  • index: 'Cannot create property prev on boolean false' (options.sourceMap) (c4f0064)

2.0.0 (2017-05-08)

Features

  • index: add ctx, ctx.file, ctx.options (0dceb2c)
  • index: add options validation (2b76df8)

1.3.3

  • Remove postcss-loader-before-processing warning (by Michael Ciniawsky).

1.3.2

  • Fix deprecated warning (by Xiaoyu Zhai).

1.3.1

  • Fix conflict with CLI --config argument (by EGOIST).

1.3

  • Allow object in syntax options, not only path for require (by Jeff Escalante).

1.2.2

  • Watch postcss.config.js for changes (by Michael Ciniawsky).

1.2.1

  • Fix relative config parameter resolving (by Simen Bekkhus).

1.2

  • Add config parameter (by sainthkh).

1.1.1

  • Fix this in options function (by Jeff Escalante).

1.1

  • PostCSS common config could be placed to subdirs.
  • Add webpack instance to PostCSS common config context.

1.0

  • Add common PostCSS config support (by Mateusz Derks).
  • Add Webpack 2 support with plugins query option (by Izaak Schroeder).
  • Add dependency message support.
  • Rewrite docs (by Michael Ciniawsky).

0.13

  • Add exec parameter (by Neal Granger).

0.12

  • Add CSS syntax highlight to syntax error code frame.

0.11.1

  • Fix Promise API (by Daniel Haus).

0.11

  • Add postcss-loader-before-processing webpack event (by Jan Nicklas).

0.10.1

  • Better syntax error message (by Andrey Popp).

0.10.0

  • Add sourceMap parameter to force inline maps (by 雪狼).

0.9.1

  • Fix plugin in simple array config.

0.9

  • Allow to pass syntax, parser or stringifier as function (by Jeff Escalante).

0.8.2

  • Fix source map support (by Andrew Bradley).

0.8.1

  • Fix resource path.

0.8

  • Add postcss-js support (by Simon Degraeve).

0.7

  • Added argument with webpack instance to plugins callback (by Maxime Thirouin).

0.6

  • Use PostCSS 5.0.
  • Remove safe parameter. Use Safe Parser.
  • Add syntax, parser and stringifier parameters.

0.5.1

  • Fix string source map support (by Jan Nicklas).

0.5.0

  • Set plugins by function for hot reload support (by Stefano Brilli).

0.4.4

  • Fix error on empty PostCSS config.

0.4.3

  • Better check for CssSyntaxError.

0.4.2

  • Fixed invalid sourcemap exception (by Richard Willis).

0.4.1

  • Use only Promise API to catch PostCSS errors.

0.4

  • Add PostCSS asynchronous API support.
  • Fix source map support (by Richard Willis).
  • Add warnings API support.
  • Better output for CSS syntax errors.

0.3

  • Use PostCSS 4.0.

0.2

  • Use PostCSS 3.0.

0.1

  • Initial release.