Changelog

All notable changes to this project will be documented in this file.
See Conventional Commits opens in a new tab for commit guidelines.

6.3.0

18 Aug 2022

Features

  • fix result log.originalLength (994b27d)

6.2.0

12 Aug 2022

Features

6.1.22

4 Aug 2022

🔧 Fixed

  • export Opts and Res types (398a7d1)

6.1.18

13 Jul 2022

🔧 Fixed

  • fix a bug where selectors ending with colon were misinterpreted (f279a19)

6.1.14

18 Apr 2022

🔧 Fixed

6.1.8

11 Jan 2022

🔧 Fixed

  • add safeguards against inputs containing excessive whitespace (4694257), closes #35

6.1.0

4 Nov 2021

Features

  • extend opts.whitelist to match against the whole chunk (52855ad), closes #27

6.0.0

9 Sept 2021

Features

💥 BREAKING CHANGES

  • programs now are in ES Modules and won’t work with Common JS require()

5.1.0

24 May 2021

Features

  • config file based major bump blacklisting (e15f9bb)

5.0.15

11 Apr 2021

Reverts

  • Revert “chore: setup refresh” (23cf206)

5.0.14

4 Apr 2021

🔧 Fixed

5.0.7

7 Mar 2021

🔧 Fixed

  • correct the name of the package in the throw messages (2d1ad58)

5.0.1

28 Jan 2021

🔧 Fixed

  • add testStats to npmignore (f3c84e9)

5.0.0

23 Jan 2021

Features

💥 BREAKING CHANGES

  • Now you must consume like import { comb } from …

4.1.0

11 Dec 2020

Features

  • leave quote-less attributes intact, don’t try to restore quotes (cf591db)

4.0.5

9 Dec 2020

🔧 Fixed

  • correct the typo in the log.timeTakenInMilliseconds (ddc2dec)

4.0.0

28 Nov 2020

Accidental version bump during migration to SourceHut. Sorry about that.

3.10.6

2 Nov 2020

🔧 Fixed

  • interpret id= or class= in URLs as text (547cf93), closes #45

3.10.0

15 Sept 2020

Features

  • leave the trailing line break condition as it comes in, unless it’s excessive (trim then) (f2dee90), closes #40

3.9.20

8 Aug 2020

🔧 Fixed

  • fix a bug with consecutive style tags ignored first class’ first char (758ea97), closes #36

3.9.17

24 May 2020

🔧 Fixed

  • stop removing class or id without following equals, completely (for now) (c07cce5), closes #27

3.9.0

26 Jan 2020

Features

  • improvements to algorithm when class is joined with a known ESP tag (366c13b)

3.8.0

17 Sept 2019

🔧 Fixed

  • correctly recognise single and double apostrophes within the text, outside tags (5f7f428)

Features

  • recognise single-double-single/double-single-double quotes within attr values (3eeaf1e)

3.7.1

11 Sept 2019

🔧 Fixed

  • remove leading spaces in cleaned like class=” zz” and tighten up class/id recognition (a900e4e)

3.7.0

4 Sept 2019

Features

  • recognise bracket notation (ce0a0b1)

3.6.0

24 Aug 2019

Features

  • support quoteless attributes that come out of other minifiers (9129fad)

3.5.0

8 Aug 2019

Features

  • support for liquid template engine double curlies as CSS style values in head CSS (819df36)

3.4.0

29 Jun 2019

Features

  • Add perf measurement, comparing and recording (44f7a9e)

3.3.0

25 Jun 2019

Features

  • Output object’s new keys countBeforeCleaning and countAfterCleaning (55b13e7)
  • Uglification legend does not mention entries which were not uglified because of being whitelisted (b6bacfc)

3.2.0

21 Jun 2019

Features

  • opts.removeCSSComments (b848d1c)
  • Uglification based on class/id characters but not class/id position in the reference array (c839977)

3.1.0

18 Jun 2019

Features

  • If uglification was turned on, output legend under log.uglified (805ce2d)
  • opts.reportProgressFunc (f5935fb)
  • opts.reportProgressFuncFrom and opts.reportProgressFuncTo (8734cc5)

3.0.0

1 Jun 2019

Features

  • Change the default export to { comb } instead of function exported as default (3db706e)

💥 BREAKING CHANGES

  • Now you must consume importing or requiring { comb } instead of assigning to any variable you like as before

2.0.10

22 Mar 2019

🔧 Fixed

  • The comma bug where unused chunk was sandwiched by used chunks (cb6fa4c)

1.2.8

26 Feb 2019

🔧 Fixed

  • Empty media queries in tight scenarios not being removed completely (d4f1d8e)

1.2.7

10 Feb 2019

🔧 Fixed

  • Fix the Create New Issue URLs (c5ee4a6)

1.2.0

20 Jan 2019
  • Various documentation and setup tweaks after we migrated to monorepo
  • Setup refresh: updated dependencies and all config files using automated tools

1.0.0

15 Dec 2018
  • Renaming email-remove-unused-css to email-comb and resetting versions to 1.0.0