Skip to content

Latest commit

 

History

History
315 lines (218 loc) · 26.5 KB

File metadata and controls

315 lines (218 loc) · 26.5 KB

BREAKING CHANGES

  • Revert the changes from v7.0.2 that modified the import of the PostCSS plugin. This was causing issues (see #1295. The PostCSS plugin should now be imported via a default import:
import purgeCSSPlugin from '@fullhuman/postcss-purgecss';

Features

  • feat: add --preserve-paths option to CLI for maintaining folder hierarchy (aa5ac9d), closes #377

Bug fixes

  • fix: for code scanning alert no. 5: Incomplete multi-character sanitization (#1403) (3f39411), closes #1403
  • fix: enhance setOptions to support both ES modules and CommonJS config exports (4ad48c4), closes #1340
  • fix: fix glob expression illegal operations on directories (#1308) (b27293f), closes #1308 #1266
  • fix: update import statements for purgeCSSPlugin in documentation and source files (e5cbce2), closes #1295
  • fix(#995): preserve relative paths in source maps (4f6c4d9), closes #995
  • fix: enhance keyframes handling to preserve animations referenced via CSS variables (076c027), closes #478

Changes (commits since v7.0.2)

  • Add French documentation for PurgeCSS guides and plugins (b9f4309)
  • fix for "Workflow does not contain permissions" (eb6d3b8)
  • fix(#995): preserve relative paths in source maps (4f6c4d9), closes #995
  • v8.0.0 (2e315a5)
  • chore: format (6c0c84e)
  • chore: format (7ad2fb7)
  • docs: add breaking changes for v7 about named export for postcss plugin (7d86fb5)
  • docs: add changelog for v7 (bafb8a1)
  • docs: add SEO enhancements and sitemap support to documentation (6505b7d)
  • docs: remove outdated TailwindCSS sponsor image (3949790)
  • docs: update sponsorship images and remove outdated link (bdf87e4)
  • docs: use named export for postcss plugin (8eb027d)
  • feat: add --preserve-paths option to CLI for maintaining folder hierarchy (aa5ac9d), closes #377
  • feat: enhance keyframes handling to preserve animations referenced via CSS variables (076c027), closes #478
  • build(deps-dev): bump @eslint/eslintrc from 3.1.0 to 3.2.0 (#1303) (8308cdb), closes #1303
  • build(deps-dev): bump @eslint/js from 9.11.1 to 9.39.0 (#1391) (2348f82), closes #1391
  • build(deps-dev): bump @rollup/plugin-typescript from 12.1.0 to 12.1.2 (#1312) (9387a9b), closes #1312
  • build(deps-dev): bump @rollup/plugin-typescript from 12.1.2 to 12.3.0 (#1407) (5902189), closes #1407
  • build(deps-dev): bump @types/glob from 8.0.0 to 9.0.0 (#1408) (aa30f0f), closes #1408
  • build(deps-dev): bump @types/jest from 29.5.13 to 29.5.14 (#1301) (cb3d1c4), closes #1301
  • build(deps-dev): bump @types/node from 22.13.0 to 25.0.3 (#1406) (ca242ee), closes #1406
  • build(deps-dev): bump @types/node from 22.8.6 to 22.13.0 (#1322) (0d9f594), closes #1322
  • build(deps-dev): bump @typescript-eslint/parser from 8.14.0 to 8.46.2 (#1390) (67b5b0c), closes #1390
  • build(deps-dev): bump @vuepress/plugin-search (#1320) (00251a7), closes #1320
  • build(deps-dev): bump @vuepress/plugin-search (#1372) (307f8d2), closes #1372
  • build(deps-dev): bump @vuepress/theme-default (#1405) (047f0ea), closes #1405
  • build(deps-dev): bump axios from 1.7.7 to 1.13.2 (#1401) (bb14e06), closes #1401
  • build(deps-dev): bump eslint from 9.39.1 to 9.39.2 (#1409) (4a24603), closes #1409
  • build(deps-dev): bump eslint-plugin-tsdoc from 0.3.0 to 0.4.0 (#1304) (447d424), closes #1304
  • build(deps-dev): bump form-data from 4.0.0 to 4.0.4 (#1374) (0853fd4), closes #1374
  • build(deps-dev): bump globals from 15.11.0 to 16.5.0 (#1393) (cfc4939), closes #1393
  • build(deps-dev): bump lodash from 4.17.21 to 4.17.23 (#1414) (f79b815), closes #1414
  • build(deps-dev): bump prettier from 3.3.3 to 3.4.2 (#1315) (504f025), closes #1315
  • build(deps-dev): bump prettier from 3.4.2 to 3.7.4 (#1413) (bb778ad), closes #1413
  • build(deps-dev): bump rollup from 4.53.3 to 4.54.0 (#1410) (14052e6), closes #1410
  • build(deps-dev): bump vuepress from 2.0.0-rc.19 to 2.0.0-rc.26 (a0bcec5)
  • build(deps-dev): update @typescript-eslint packages to version 8.48.1 (52c16f4)
  • build(deps-dev): update conventional-changelog-cli to conventional-changelog version 7.1.1 (2745ee9)
  • build(deps-dev): update conventional-changelog-cli to conventional-changelog version 7.1.1 (69d8bbb)
  • build(deps): bump actions/checkout from 4 to 6 (#1399) (f1f9930), closes #1399
  • build(deps): bump actions/setup-node from 4 to 6 (#1389) (256eea7), closes #1389
  • build(deps): bump actions/stale from 9 to 10 (#1384) (3f67275), closes #1384
  • build(deps): bump coverallsapp/github-action from 2.3.4 to 2.3.6 (#1319) (53edc4f), closes #1319
  • build(deps): bump coverallsapp/github-action from 2.3.6 to 2.3.7 (#1398) (9f760aa), closes #1398
  • build(deps): bump js-yaml, @microsoft/api-documenter and lerna (#1402) (1505cac), closes #1402
  • build(deps): bump nanoid from 3.3.7 to 3.3.8 (#1307) (5e13f33), closes #1307
  • build(deps): bump postcss from 8.5.1 to 8.5.6 (#1371) (c5b9e06), closes #1371
  • build(deps): bump postcss-selector-parser from 6.1.2 to 7.0.0 (#1306) (23cf540), closes #1306
  • build(deps): bump postcss-selector-parser from 7.0.0 to 7.1.1 (#1404) (b1f2eab), closes #1404
  • build(deps): bump tmp and inquirer (#1400) (9a05d07), closes #1400
  • build(deps): bump typescript from 5.6.3 to 5.9.3 (#1412) (0ee0b45), closes #1412
  • fix: for code scanning alert no. 5: Incomplete multi-character sanitization (#1403) (3f39411), closes #1403
  • fix: enhance setOptions to support both ES modules and CommonJS config exports (4ad48c4), closes #1340
  • fix: fix glob expression illegal operations on directories (#1308) (b27293f), closes #1308 #1266
  • fix: update import statements for purgeCSSPlugin in documentation and source files (e5cbce2), closes #1295

Bug Fixes

  • fix: fix issue where pseudo classes like :where, :not, :is were always removed at root level (89024ce), closes #1282 #978
  • build: add named export for postcss plugin (87d15b7), closes #1263

Features

  • feat(purgecss-from-pug): returns ExtractorResultDetailed instead of selectors (fb51dc6)

BREAKING CHANGES

  • PostCSS plugin should now be imported via purgeCSSPlugin
import { purgeCSSPlugin } from '@fullhuman/postcss-purgecss';
  • drop support for node 18

(2024-03-29)

6.0.0 (2024-03-29)

Bug Fixes

  • collect of used variables for changed selector (#1217) (9fbb592)
  • gulp-purgecss: move vinyl-sourcemaps-apply to deps #999 (7858b7a)

Features

(2022-09-13)

5.0.0 (2022-09-13)

Bug Fixes

  • add safelist variables to postcss-purgecss #840 (c822058)
  • gulp-purgecss: support skippedContentGlobs option #853 (b72de77)
  • Purgecss webpack plugin/only filter fix (#933) (f8e4c2c)
  • purgecss-webpack-plugin: add sourcemap support #409 (b3f73ed)
  • purgecss-webpack-plugin: export as named export as well as default (#821) (a6a2c8e)
  • wrong path import (4f3ddd0)

Features

  • add source map support #526 (f2a9c5a)
  • gulp-purgecss: add support for gulp-sourcemaps #257 (55c26d2)
  • postcss-purgecss: load options from purgecss config (4de3bd8)
  • purgecss-webpack-plugin: load config file automatically #767 (726faaa)

BREAKING CHANGES

  • purgecss-webpack-plugin: drop webpack 4 support

(2022-09-13)

4.1.0 (2021-11-28)

Bug Fixes

  • Allow Absolute Paths (#679) (15335a2)
  • css variable removed when declared in wrong order (89ece42), closes #518
  • Fix interaction with other plugins (#647) (fb08e3a)
  • grunt-purgecss: Fix plugin not ouputting all files (#723) (646e419)
  • gulp-purgecss: fix support for stream input (fd5d3bf)
  • Keep keyframe decimals for prefixed @keyframes (#749) (b804441)
  • purgecss-from-pug: class attribute with multiple values not correctly handled with pug (#678) (ba6285d), closes #677

Features

(2021-06-07)

Bug Fixes

  • Allow Absolute Paths (#679) (15335a2)
  • purgecss-from-pug: class attribute with multiple values not correctly handled with pug (#678) (ba6285d), closes #677
  • css variable removed when declared in wrong order (89ece42), closes #518
  • Fix interaction with other plugins (#647) (fb08e3a)

Features

  • add dynamicAttributes option (2f9cc65)

4.0.3 (2021-03-20)

Features

  • add dynamic attributes option (9b0fdc3), closes #588
  • add skippedContentGlobs option to webpack and gulp plugin (e3dce1a)

4.0.2 (2021-02-21)

4.0.1 (2021-02-21)

Bug Fixes

  • attribute selector with spaces being removed (418dc7e), closes #392
  • webpack plugin option blocklist types (5b029c2)

Features

  • add option blocklist to webpack plugin (#610) (0148cea)

4.0.0 (2021-01-17)

Bug Fixes

  • test: webpack test type error (c41ad27)

Features

  • postcss-purgecss: remove compatibility with postcss 7 (48ce28f), closes #488 #540

BREAKING CHANGES

  • postcss-purgecss: dropping support for postcss 7 Drop PostCSS 7 support, use @fullhuman/postcss-purgecss 3.0 with PostCSS 7.

(2020-12-15)

  • postcss-purgecss remove postcss 8 as peer dependency
  • purgecss-webpack-plugin fix backward compatibility with webpack 4

3.1 (2020-12-14)

  • PurgeCSS Update to PostCSS 8
  • postcss-purgecss Add compatibility with PostCSS 8
  • purgecss-webpack-plugin Fix deprecation warning with Webpack 5

Bug Fixes

3.0 (2020-09-06)

Features

  • CLI: add blocklist option (3961afb)
  • add blocklist option (04223f7)
  • add safelist option, replace whitelist
  • add safelist keyframes and css variables (dc59d30), closes #418 #439

(2019-11-23)

2.0.1-alpha.0 (2019-10-08)

Features

  • postcss-purgecss: add package (2b0616f)

1.4.0 (2019-09-01)

1.3.0 (2019-04-20)

  • Merged #183, adding defaultExtractor option
  • remove ignore comment once purged, issue #121

1.2.0 (2019-04-05)

  • fix issue #148, so the default extract is used for any file type that is not specified
  • Merged #167, fixing issue #166
  • Merged #176, fixing invalid json output by the CLI
  • Update dependencies
  • Update dev dependencies, including babel 7

Bug Fixes

  • package: update postcss to version 7.0.0 (3657c4d)
  • package: update postcss-selector-parser to version 6.0.0 (8dd2442)

1.0.0 (2018-05-22)

  • Merge #81, fixing #80
  • Change default extractor, does not return error for empty file anymore
  • Remove legacy option
  • Add rejected option #55
  • Add range ignore comment (purgecss start ignore and purgecss end ignore) #66

Reverts

  • Revert "adds keepChildren ability from whitelistPatterns Object[]" (c52c81b)
  • Revert "fixes style code" (2213be6)

0.20.1 (2018-03-12)

0.20.0 (2018-01-30)

  • #48, fix #41
  • New option fontFace to remove unused font-face declaration
  • Remove unused vendor-prefixed keyframes rules
  • Update dependencies

0.18.0 (2018-01-04)

  • Change default extractor regex, fixing #37
  • Update dependencies
  • Use files property in package.json: importing only necessary files.

0.16.0 (2017-12-18)

  • keyframes option set to false by default, keyframes: true causing issue with bootstrap #33
  • Update dependencies.

0.14.0 (2017-12-07)

  • Merge PR #29 by @jsnanigans: add raw for content option to pass a raw string instead of a filepath.
  • Fix incorrect logic that removes attributes selectors.
  • Update dependencies.

0.9.0 (2017-11-07)

0.8.0 (2017-10-23)

0.4.0 (2017-07-31)

0.3.0 (2017-07-23)

0.2.0 (2017-07-16)