Skip to content

Conversation

@depfu
Copy link
Contributor

@depfu depfu bot commented Mar 18, 2021

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ clean-css (4.2.3 → 5.1.1) · Repo · Changelog

Release Notes

5.1.1 (from changelog)

  • Fixed issue #1156 - invalid hsl/hsla validation in level 2 optimizations.

5.1.0 (from changelog)

  • Fixes stripping '%' from inside color functions.
  • Improves tokenization speed by ~30%.
  • Fixed issue #1143 - some missing level 1 value optimizations.

5.0.1 (from changelog)

  • Fixed issue #1139 - overriding & merging properties without canOverride set.

5.0.0 (from changelog)

  • Adds a way process input files without bundling it into one big output file.
  • Adds level 1 and level 2 optimization plugins.
  • Disables URL rebasing by default.
  • Disables URL unquoting by default.
  • Drops support for Node.js 6 & 8 to support last 3 Node.js releases: 10, 12, and 14.
  • Fixed issue #889 - whitelisted level 1 optimizations.
  • Fixed issue #975 - incorrect block name optimization.
  • Fixed issue #1009 - whitespace around comments.
  • Fixed issue #1021 - allow one- and two-letter property names.
  • Fixed issue #1022 - merging into shorthands new property positioning.
  • Fixed issue #1032 - wrong order of merged shorthands with inherit.
  • Fixed issue #1043 - calc fallback removed within other function.
  • Fixed issue #1045 - non-standard protocol-less URL first slash removed.
  • Fixed issue #1050 - correctly keeps default animation duration if delay is also set.
  • Fixed issue #1053 - treats calc() as first class width value.
  • Fixed issue #1055 - supports 4- and 8-character hex with alpha color notation.
  • Fixed issue #1057 - level 2 optimizations and quoted font family name.
  • Fixed issue #1059 - animation time units as CSS expressions.
  • Fixed issue #1060 - variable removed when shorthand's only value.
  • Fixed issue #1062 - wrong optimization of CSS pseudo-classes with selector list.
  • Fixed issue #1073 - adds support for non-standard rpx units.
  • Fixed issue #1075 - media merging and variables.
  • Fixed issue #1087 - allow units with any case.
  • Fixed issue #1088 - building source maps with source preserved via comments.
  • Fixed issue #1090 - edge case in merging for border and border-image.
  • Fixed issue #1103 - don't allow merging longhand into unset shorthand.
  • Fixed issue #1115 - incorrect multiplex longhand into shorthand merging.
  • Fixed issue #1117 - don't change zero values inside min, max, and clamp functions.
  • Fixed issue #1122 - don't wrap data URI in single quotes.
  • Fixed issue #1125 - quotes stripped from withing @supports clause.
  • Fixed issue #1128 - take variables into account when reordering properties.
  • Fixed issue #1132 - vendor-prefixed classes inside :not().
  • Reworks all level 1 optimizations to conform to plugin style.

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot force-pushed the depfu/update/yarn/clean-css-5.1.1 branch from 5673a5b to 32a742e Compare March 19, 2021 22:16
@codecov-io
Copy link

Codecov Report

Merging #3778 (32a742e) into master (5e45e8e) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3778   +/-   ##
=======================================
  Coverage   93.34%   93.34%           
=======================================
  Files         178      178           
  Lines        1849     1849           
  Branches      332      332           
=======================================
  Hits         1726     1726           
  Misses        105      105           
  Partials       18       18           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5e45e8e...32a742e. Read the comment docs.

@adamwathan adamwathan merged commit 0c52547 into master Mar 30, 2021
@adamwathan adamwathan deleted the depfu/update/yarn/clean-css-5.1.1 branch March 30, 2021 15:01
adamwathan pushed a commit that referenced this pull request May 7, 2021
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants