Update dependency autoprefixer to v9.8.8 - autoclosed #3415
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
9.4.7
->9.8.8
Release Notes
postcss/autoprefixer (autoprefixer)
v9.8.8
Compare Source
nanocolors
withpicocolors
.v9.8.7
Compare Source
colorette
withnanocolors
.v9.8.6
Compare Source
env
option.v9.8.5
Compare Source
align-self
andjustify-self
withdisplay: flex
(by Daniel Tonon).v9.8.4
Compare Source
v9.8.3
Compare Source
v9.8.2
Compare Source
v9.8.1
Compare Source
chalk
tokleur
(by Luke Edwards).v9.8.0
: 9.8 “Vigilo Confido”Compare Source
Autoprefixer 9.8 brings IE support for
:placeholder-shown
.Placeholder Shown
@tkrotoff found that
input:placeholder-shown
can be emulated withinput:-ms-input-placeholder
.Note, that we already had support for
::placeholder
. Selector::placeholder
is for the text of the placeholder.:placeholder-shown
is for the input, where placeholder text is shown. In::placeholder
you can’t change the border or size of the<input>
.v9.7.6
Compare Source
-webkit-stretch
fix.v9.7.5
Compare Source
-webkit-stretch
support.v9.7.4
Compare Source
v9.7.3
Compare Source
v9.7.2
Compare Source
-ms-user-select: element
support.npm fund
.v9.7.1
Compare Source
fit-content
for Firefox.v9.7.0
: 9.7 “Ad Victoriam”Compare Source
Autoprefixer 9.7 brings
AUTOPREFIXER_GRID
environment variable and huge performance improvments.Grid Environment Variable
Autoprefixer can add CSS Grid polyfills for IE. You need to manually enable it to prove that you understand the limits of polyfill.
In previous versions you can enable Grid polyfill by
grid: 'autoplace'
option or by/* autoprefixer grid: autoplace */
control comment. But in some cases, developers were not able to use both methods. For instance, during work with Material UI’ CSS-in-JS in Create React App.Now Autoprefixer supports environment variable to enable CSS Grid polyfill:
Performance Improvements
@Knagis found that Browserslist takes 70% of the Autoprefixer time.
We did a lot of improvements in Browserslist and now Autoprefixer should work much faster.
Other
Cannot read property 'grid' of undefined
errorv9.6.5
Compare Source
v9.6.4
Compare Source
'startsWith' of undefined
error.v9.6.3
Compare Source
Cannot read property 'startsWith' of undefined
error.v9.6.2
Compare Source
Replace fill to stretch
warning.v9.6.1
Compare Source
-webkit-line-clamp
truncating multi-line text support.v9.6.0
: 9.6 “Nunc id vides, nunc ne vides”Compare Source
Autoprefixer 9.6 marked
browsers
option as deprecated and addedtext-orientation
and@media (min-resolution: 2x)
support.We added the “Sponsor” button to your repository. You can support Autoprefixer and other open source projects important for your business by Tidelift.
Browsers
Autoprefixer adds prefixes only for target browsers, browsers which is support on your project.
Initially, Autoprefixer had the
browsers
option to set target browsers. But we found that many tools need target browsers too.postcss-preset-env
andbabel-preset-env
use them to add only actual polyfills, postcss-normalize uses them to add only necessary CSS reset rules, plugins for ESLint and Stylelint will warn you if some of the target browsers doesn’t support your code.This is why we created Browserslist config file. It is a single config for all tools.
A lot of users still uses the
browsers
option. We understand them; it is hard to change old practice. Unfortunately, using thebrowsers
option creates many problems. For instance, you can miss that your build tool has own Autoprefixer inside. It will cut your prefixes because it will not know about your target browsers.This is why, in 9.6, we decided to deprecate the
browsers
option. Autoprefixer will show a warning on this option. In the next 10.0 release, we will drop this option. This is how you can migrate:Create
browserslist
key with an array inpackage.json
.Copy queries from the
browsers
option. If you havebrowsers: [“last 1 version”, “not dead”]
, then you need:HiDPI Media Query
We all need to support HiDPI/retina screen now. Autoprefixer supports specific media query for HiDPI screens:
Bug we found that CSS Values 4 spec added
x
alias fordppx
.Autoprefixer 9.6 supports
@media (min-resolution: 2x)
shortcut. Note, that Autoprefixer will not convert it to2dppx
. Autoprefixer adds only prefixes. Usepostcss-preset-env
to add polyfills.Other
text-orientation
property support was added.CONTRIBUTING.md
v9.5.1
Compare Source
backdrop-filter
for Edge (by Oleh Aloshkin).min-resolution
media query support in Firefox < 16.v9.5.0
: 9.5 “Draco dormiens nunquam titillandus”Compare Source
Autoprefixer 9.5 brings
mask-composite
support.Thanks to @semeleven for implementation and @iamvdo for suggestion.
v9.4.10
Compare Source
v9.4.9
Compare Source
grid-template
and@media
case (by Bogdan Dolin).v9.4.8
Compare Source
calc()
support in Grid gap.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.