Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Upgrade clean-css: 4.2.3 → 5.1.3 (major) #1151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

depfu[bot]
Copy link

@depfu depfu bot commented Jun 26, 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.3) · Repo · Changelog

Release Notes

5.1.3 (from changelog)

  • Fixed issue #1160 - keep zero units when inside multiple functions.
  • Fixed issue #1161 - extra whitespace in URLs.
  • Fixed issue #1166 - incorrect compoment splitting when empty multiplex part.

5.1.2 (from changelog)

  • Fixed issue #996 - space removed from pseudo classes.

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant