diff --git a/CHANGELOG.md b/CHANGELOG.md index 6787540..341c444 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,204 +2,190 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [6.0](https://github.com/postcss/postcss-load-config/compare/v5.1.0...v6.0.0) (2024-06-02) + +### BREAKING CHANGES + +- Now you need to install `yaml` dependency to use `.postcssrc.yml` config ([#261](https://github.com/postcss/postcss-load-config/pull/261)) + ## [5.1.0](https://github.com/postcss/postcss-load-config/compare/v5.0.3...v5.1.0) (2024-05-01) ### Features -* Allow to use `tsx` for TypeScript support ([#260](https://github.com/postcss/postcss-load-config/pull/260)) +- Allow to use `tsx` for TypeScript support ([#260](https://github.com/postcss/postcss-load-config/pull/260)) ## [5.0.3](https://github.com/postcss/postcss-load-config/compare/v5.0.2...v5.0.3) (2024-02-08) ### Bug Fixes -* Fixed update of ESM configs ([#259](https://github.com/postcss/postcss-load-config/pull/259)) +- Fixed update of ESM configs ([#259](https://github.com/postcss/postcss-load-config/pull/259)) ## [5.0.2](https://github.com/postcss/postcss-load-config/compare/v5.0.1...v5.0.2) (2023-05-23) ### Bug Fixes -* Fixed `__require` name conflict ([#257](https://github.com/postcss/postcss-load-config/pull/257)) +- Fixed `__require` name conflict ([#257](https://github.com/postcss/postcss-load-config/pull/257)) ## [5.0.1](https://github.com/postcss/postcss-load-config/compare/v5.0.0...v5.0.1) (2023-05-23) ### Bug Fixes -* Fixed Windows support ([#256](https://github.com/postcss/postcss-load-config/pull/256)) +- Fixed Windows support ([#256](https://github.com/postcss/postcss-load-config/pull/256)) ## [5.0](https://github.com/postcss/postcss-load-config/compare/v4.0.2...v5.0.0) (2023-11-20) ### Features -* Added ESM support for TypeScript config ([#249](https://github.com/postcss/postcss-load-config/pull/249)) -* Added ESM and TypeScript plugins support from JSON config ([#254](https://github.com/postcss/postcss-load-config/pull/254)) +- Added ESM support for TypeScript config ([#249](https://github.com/postcss/postcss-load-config/pull/249)) +- Added ESM and TypeScript plugins support from JSON config ([#254](https://github.com/postcss/postcss-load-config/pull/254)) ### BREAKING CHANGES -* Dropped Node.js 16 & 14 support. +- Dropped Node.js 16 & 14 support. ## [4.0.2](https://github.com/postcss/postcss-load-config/compare/v4.0.1...v4.0.2) (2023-11-20) ### Bug Fixes -* **src/index:** added support for `.cts` files ([#252](https://github.com/postcss/postcss-load-config/pull/252)) -* **deps:** updated `lilconfig` ([#253](https://github.com/postcss/postcss-load-config/pull/253)) +- **src/index:** added support for `.cts` files ([#252](https://github.com/postcss/postcss-load-config/pull/252)) +- **deps:** updated `lilconfig` ([#253](https://github.com/postcss/postcss-load-config/pull/253)) ## [4.0.1](https://github.com/postcss/postcss-load-config/compare/v4.0.0...v4.0.1) (2022-05-31) ### Bug Fixes -* **src/index:** Fixed Windows support ([#238](https://github.com/postcss/postcss-load-config/pull/238)) +- **src/index:** Fixed Windows support ([#238](https://github.com/postcss/postcss-load-config/pull/238)) ## [4.0](https://github.com/postcss/postcss-load-config/compare/v3.1.4...v4.0.0) (2022-05-23) ### Features -* Added support for ESM configs ([#234](https://github.com/postcss/postcss-load-config/pull/234)) +- Added support for ESM configs ([#234](https://github.com/postcss/postcss-load-config/pull/234)) ### BREAKING CHANGES -* Dropped sync API. -* Dropped Node.js 12 & 10 support. +- Dropped sync API. +- Dropped Node.js 12 & 10 support. ## [3.1.4](https://github.com/postcss/postcss-load-config/compare/v3.1.3...v3.1.4) (2022-03-29) ### Bug Fixes -* **deps:** Add `postcss` to optional peer dependencies to fix types ([#233](https://github.com/postcss/postcss-load-config/pull/233)) +- **deps:** Add `postcss` to optional peer dependencies to fix types ([#233](https://github.com/postcss/postcss-load-config/pull/233)) ## [3.1.3](https://github.com/postcss/postcss-load-config/compare/v3.1.2...v3.1.3) (2022-01-02) ### Bug Fixes -* **src/index:** Fix root path calculation for resolving relative path to plugins ([#231](https://github.com/postcss/postcss-load-config/pull/231)) +- **src/index:** Fix root path calculation for resolving relative path to plugins ([#231](https://github.com/postcss/postcss-load-config/pull/231)) ## [3.1.2](https://github.com/postcss/postcss-load-config/compare/v3.1.1...v3.1.2) (2022-01-02) ### Bug Fixes -* **src/index:** Load plugins from PostCSS config location instead of current working directory ([#229](https://github.com/postcss/postcss-load-config/pull/229)) +- **src/index:** Load plugins from PostCSS config location instead of current working directory ([#229](https://github.com/postcss/postcss-load-config/pull/229)) ## [3.1.1](https://github.com/postcss/postcss-load-config/compare/v3.1.0...v3.1.1) (2022-01-02) ### Bug Fixes -* **deps:** Reduce dependencies by dropping `import-cwd` ([#227](https://github.com/postcss/postcss-load-config/pull/227)) - +- **deps:** Reduce dependencies by dropping `import-cwd` ([#227](https://github.com/postcss/postcss-load-config/pull/227)) ## [3.1.0](https://github.com/postcss/postcss-load-config/compare/v3.0.1...v3.1.0) (2021-06-14) ### Features -* Add `.cjs` config support ([#218](https://github.com/postcss/postcss-load-config/pull/218)) -* Add `.ts` config support ([#218](https://github.com/postcss/postcss-load-config/pull/218)) - +- Add `.cjs` config support ([#218](https://github.com/postcss/postcss-load-config/pull/218)) +- Add `.ts` config support ([#218](https://github.com/postcss/postcss-load-config/pull/218)) ### Bug Fixes -* **deps:** Reduce dependencies by moving from `cosmiconfig` to `lilconfig` - +- **deps:** Reduce dependencies by moving from `cosmiconfig` to `lilconfig` ## [3.0.1](https://github.com/postcss/postcss-load-config/compare/v3.0.0...v3.0.1) (2021-02-07) ### Features -* **src/index:** Add type definition ([#211](https://github.com/postcss/postcss-load-config/pull/211)) - +- **src/index:** Add type definition ([#211](https://github.com/postcss/postcss-load-config/pull/211)) ## [3.0.0](https://github.com/postcss/postcss-load-config/compare/v2.1.2...v3.0.0) (2020-09-26) ### Features -* **src/index:** Add `.cjs` config support. - +- **src/index:** Add `.cjs` config support. ### BREAKING CHANGES -* **package:** requires `node >= v10.0.0` +- **package:** requires `node >= v10.0.0` ## [2.1.2](https://github.com/michael-ciniawsky/postcss-load-config/compare/v2.1.1...v2.1.2) (2020-09-26) - ### Bug Fixes -* **package:** Add funding links. +- **package:** Add funding links. ## [2.1.1](https://github.com/michael-ciniawsky/postcss-load-config/compare/v2.1.0...v2.1.1) (2020-09-17) - ### Bug Fixes -* **plugins:** fix PostCSS 8 plugin support ([#177](https://github.com/michael-ciniawsky/postcss-load-config/issues/202)) - +- **plugins:** fix PostCSS 8 plugin support ([#177](https://github.com/michael-ciniawsky/postcss-load-config/issues/202)) ## [2.1.0](https://github.com/michael-ciniawsky/postcss-load-config/compare/v2.0.0...v2.1.0) (2019-06-10) - ### Bug Fixes -* **plugins:** add `undefined` to plugin `options` check ([#177](https://github.com/michael-ciniawsky/postcss-load-config/issues/177)) ([4349ea9](https://github.com/michael-ciniawsky/postcss-load-config/commit/4349ea9)) - +- **plugins:** add `undefined` to plugin `options` check ([#177](https://github.com/michael-ciniawsky/postcss-load-config/issues/177)) ([4349ea9](https://github.com/michael-ciniawsky/postcss-load-config/commit/4349ea9)) ### Features -* **src/index:** support synchronous config loading (`rc.sync`) ([f230d40](https://github.com/michael-ciniawsky/postcss-load-config/commit/f230d40)) - - +- **src/index:** support synchronous config loading (`rc.sync`) ([f230d40](https://github.com/michael-ciniawsky/postcss-load-config/commit/f230d40)) -# [2.0.0](https://github.com/michael-ciniawsky/postcss-load-config/compare/v1.2.0...v2.0.0) (2018-07-10) +# [2.0.0](https://github.com/michael-ciniawsky/postcss-load-config/compare/v1.2.0...v2.0.0) (2018-07-10) ### Bug Fixes -* **package:** `require-from-string` memory leak, updates `cosmiconfig` v2.1.0...4.0.0 (`dependencies`) ([17f9621](https://github.com/michael-ciniawsky/postcss-load-config/commit/17f9621)) -* **src/index.js:** clone the config `{Object}` on assignment instead of mutating it ([8669a90](https://github.com/michael-ciniawsky/postcss-load-config/commit/8669a90)) - +- **package:** `require-from-string` memory leak, updates `cosmiconfig` v2.1.0...4.0.0 (`dependencies`) ([17f9621](https://github.com/michael-ciniawsky/postcss-load-config/commit/17f9621)) +- **src/index.js:** clone the config `{Object}` on assignment instead of mutating it ([8669a90](https://github.com/michael-ciniawsky/postcss-load-config/commit/8669a90)) ### Features -* **src:** load plugins from the current working directory ([9745bf0](https://github.com/michael-ciniawsky/postcss-load-config/commit/9745bf0)) -* **src:** show config file in `err.message` ([4baff47](https://github.com/michael-ciniawsky/postcss-load-config/commit/4baff47)) - +- **src:** load plugins from the current working directory ([9745bf0](https://github.com/michael-ciniawsky/postcss-load-config/commit/9745bf0)) +- **src:** show config file in `err.message` ([4baff47](https://github.com/michael-ciniawsky/postcss-load-config/commit/4baff47)) ### BREAKING CHANGES -* **package:** requires `node >= v4.0.0` -* **package:** removes `argv` option (`options.argv`) -* **package:** removes `--config` parsing - - +- **package:** requires `node >= v4.0.0` +- **package:** removes `argv` option (`options.argv`) +- **package:** removes `--config` parsing -# [1.2.0](https://github.com/michael-ciniawsky/postcss-load-config/compare/v1.1.0...v1.2.0) (2017-02-13) +# [1.2.0](https://github.com/michael-ciniawsky/postcss-load-config/compare/v1.1.0...v1.2.0) (2017-02-13) ### Features -* **index:** allow extensions for .postcssrc ([0d3bf35](https://github.com/michael-ciniawsky/postcss-load-config/commit/0d3bf35)) - - +- **index:** allow extensions for .postcssrc ([0d3bf35](https://github.com/michael-ciniawsky/postcss-load-config/commit/0d3bf35)) -# [1.1.0](https://github.com/michael-ciniawsky/postcss-load-config/compare/v1.0.0...v1.1.0) (2017-01-11) +# [1.1.0](https://github.com/michael-ciniawsky/postcss-load-config/compare/v1.0.0...v1.1.0) (2017-01-11) ### Features -* **index:** config.file, improve error handling ([a6c32fd](https://github.com/michael-ciniawsky/postcss-load-config/commit/a6c32fd)) - - +- **index:** config.file, improve error handling ([a6c32fd](https://github.com/michael-ciniawsky/postcss-load-config/commit/a6c32fd)) -# [1.0.0]((https://github.com/michael-ciniawsky/postcss-load-config/compare/v1.0.0-rc...1.0.0)) (2016-10-27) +# [1.0.0](<(https://github.com/michael-ciniawsky/postcss-load-config/compare/v1.0.0-rc...1.0.0)>) (2016-10-27) ### Bug Fixes -* **index:** behavior when config loading fails ([b549bc6](https://github.com/michael-ciniawsky/postcss-load-config/commit/b549bc6)), closes [#26](https://github.com/michael-ciniawsky/postcss-load-config/issues/26) -* **index:** set NODE_ENV when undefined ([b24501c](https://github.com/michael-ciniawsky/postcss-load-config/commit/b24501c)) -* **index:** support node v0.12 ([0bbfa94](https://github.com/michael-ciniawsky/postcss-load-config/commit/0bbfa94)) +- **index:** behavior when config loading fails ([b549bc6](https://github.com/michael-ciniawsky/postcss-load-config/commit/b549bc6)), closes [#26](https://github.com/michael-ciniawsky/postcss-load-config/issues/26) +- **index:** set NODE_ENV when undefined ([b24501c](https://github.com/michael-ciniawsky/postcss-load-config/commit/b24501c)) +- **index:** support node v0.12 ([0bbfa94](https://github.com/michael-ciniawsky/postcss-load-config/commit/0bbfa94)) ### Features -* **index:** function support, jsdoc, cleanups ([a78c580](https://github.com/michael-ciniawsky/postcss-load-config/commit/a78c580)) +- **index:** function support, jsdoc, cleanups ([a78c580](https://github.com/michael-ciniawsky/postcss-load-config/commit/a78c580)) diff --git a/package.json b/package.json index 12b797c..326d85a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "postcss-load-config", - "version": "5.1.0", + "version": "6.0.0", "description": "Autoload Config for PostCSS", "main": "src/index.js", "types": "src/index.d.ts",