chore(deps): update dependency autoprefixer to v10 #18
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:
^7.1.0
->^10.0.0
Release Notes
postcss/autoprefixer (autoprefixer)
v10.4.20
Compare Source
fit-content
prefix for Firefox.v10.4.19
Compare Source
end value has mixed support, consider using flex-end
warningsince
end
/start
now have good support.v10.4.18
Compare Source
-webkit-box-orient
on-webkit-line-clamp
(@Goodwine).v10.4.17
Compare Source
user-select: contain
prefixes.v10.4.16
Compare Source
v10.4.15
Compare Source
::backdrop
prefixes (by 一丝).v10.4.14
Compare Source
v10.4.13
Compare Source
v10.4.12
Compare Source
v10.4.11
Compare Source
text-decoration
prefixes by moving to MDN data (by Romain Menke).v10.4.10
Compare Source
unicode-bidi
prefixes by moving to MDN data.v10.4.9
Compare Source
css-unicode-bidi
issue from latest Can I Use.v10.4.8
Compare Source
color-adjust
warning ifprint-color-adjust
also is in rule.v10.4.7
Compare Source
print-color-adjust
support in Firefox.v10.4.6
Compare Source
print-color-adjust
support.v10.4.5
Compare Source
NaN
in grid (by @SukkaW).v10.4.4
Compare Source
package.funding
to have same value between all PostCSS packages.v10.4.3
Compare Source
package.funding
(by Álvaro Mondéjar).v10.4.2
Compare Source
-webkit-
prefix forwidth: stretch
.v10.4.1
Compare Source
::backdrop
prefixes (by 一丝).v10.4.0
: 10.4 “ǃke e꞉ ǀxarra ǁke”Compare Source
In Autoprefixer 10.4 @lukewarlow added
:autofill
support:v10.3.7
Compare Source
nanocolors
topicocolors
.v10.3.6
Compare Source
nanocolors
.v10.3.5
Compare Source
colorette
tonanocolors
.v10.3.4
Compare Source
stretch
value in latest Firefox.v10.3.3
Compare Source
-moz-
prefix from::file-selector-button
(by Usman Yunusov).v10.3.2
Compare Source
::file-selector-button
support (by Usman Yunusov).v10.3.1
Compare Source
content
(by Luke Warlow).v10.3.0
: 10.3 “Чести своей не отдам никому”Compare Source
In Autoprefixer 10.3 @lukewarlow added
::file-selector-button
support.v10.2.6
Compare Source
v10.2.5
Compare Source
:
support in@supports
(by Dmitry Semigradsky).v10.2.4
Compare Source
npx autoprefixer --info
.v10.2.3
Compare Source
v10.2.2
Compare Source
v10.2.1
Compare Source
transition-property
warnings (by @Sheraff).v10.2.0
: 10.2 “Sub rosa”Compare Source
Autoprefixer 10.2 now has built-in TypeScript definitions. You do not need
@types/autoprefixer
anymore.Thanks to @Semigradsky and DefinitelyTyped’s contributors.
@Sheraff also improved docs.
v10.1.0
: 10.1 “Pula”Compare Source
Autoprefixer 10.1 improved
min-resolution
support.@infusion added
dpcm
unit support andnum2fraction
with Fraction.js, which uses Farey Sequences as a rational approximation (more precise) and simplifies the fraction using continued fractions to ɛ <0.001 afterward.v10.0.4
Compare Source
Cannot read property 'proxyOf' of undefined
error (by Igor Kamyshev).v10.0.3
Compare Source
substract
tosubtract
value formask-composite
(by Michelle Enos).v10.0.2
Compare Source
-ms-user-select: all
because IE and old Edge don’t support it.v10.0.1
Compare Source
package.json
.v10.0.0
: 10.0 “Alis volat propriis”Compare Source
Autoprefixer 10 is based on top of PostCSS 8 (check Known Issues section before updating).
Node.js 6.x, 8.x, 11.x support was removed.
Now you need to install Autoprefixer by
npm install --save-dev autoprefixer postcss
. We movedpostcss
fromdependencies
topeerDependencies
according to new PostCSS plugin guidelines.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.v9.4.7
Compare Source
v9.4.6
Compare Source
v9.4.5
Compare Source
text-decoration-skip-ink
support.v9.4.4
Compare Source
direction
value for-ms-writing-mode
(by Denys Kniazevych).v9.4.3
Compare Source
flex-start
instead ofstart
(by Antoine du Hamel).v9.4.2
Compare Source
v9.4.1
Compare Source
v9.4.0
: 9.4 “Advance Australia”Compare Source
Autoprefixer 9.4.0 brings limited autoplacement support to the IE CSS Grid.
Grid Autoplacement
If the
grid
option is set to"autoplace"
, limited autoplacement support is now added to the Autoprefixer CSS Grid translations. You can also use the/* autoprefixer grid: autoplace */
control comment to enable autoplacement directly in your CSS.In order to use the new autoplacement feature, you must define both rows and columns when declaring the grid template.
Autoplacement support in Autoprefixer is currently very limited in what it can do. Please read the Grid Autoplacement support in IE section before using this new feature.
Thanks to @bogdan0083 for implementing the new feature, @Dan503 for documenting it, and @evandiamond for coming up with the initial idea.
Other Changes
v9.3.1
Compare Source
repeat()
value (by Bogdan Dolin).v9.3.0
: 9.3 “Labor omnia vincit”Compare Source
Autoprefixer 9.3 brings
place-self
support for Grid Layoutplace-self
@Dan503 and @bogdan0083 found a way to impement support for another Grid property
Other Changes
@Dan503 and @bogdan0083 also detected and fixed issue with Grid row/column span inheritance.
v9.2.1
Compare Source
v9.2.0
: 9.2 “Onyi est glavnaya krepost”Compare Source
Autoprefixer 9.2 brings many new improvements for
-ms-
prefixes for Grid Layout.New Ways to Enable/Disable Grid Layout
In previous versions, you had needed to pass
grid: true
to enable prefixes for Grid Layout. But not all users have access to Autoprefixer options. CodePen, Create Reat App or Angular CLI doesn’t allow you to do it.In Autoprefixer 9.2 @fanich37 added special control comments:
Autoprefixer doesn’t support Grid properties and values with
auto
. In 9.2 it will ignore whole@supports
content if it contains these Grid properties:Smarter
grid-area
Autoprefixer supports
grid-template
even if it was not in IE Grid spec.But in 9.2 @bogdan0083 really improve it according to @Dan503 idea. Now Autoprefixer supports even overriding
grid-template
.Other Changes
v9.1.5
Compare Source
@babel/register
from dependencies.v9.1.4
Compare Source
v9.1.3
Compare Source
autoprefixer --info
alphabetically.v9.1.2
Compare Source
autoprefixer --info
in new Node.js.v9.1.1
Compare Source
grid-gap
through@media
(by Bogdan Dolin).grid-template
and@media
(by Bogdan Dolin).span X
Grid prefix (by Bogdan Dolin).v9.1.0
: 9.1 “Equality before the law”Compare Source
Autoprefixer 9.1 brings
background-clip: text
and fixspan
in IE Grid.Background Clip
background-clip: text
become to be the standard and got Edge support. So we added it to Autoprefixer:Note, that Edge expect
-webkit-
prefix for this property.Grid Layout Fix
@bogdan0083 fixed an issue when media-query override some
grid-template
.v9.0.2
Compare Source
v9.0.1
Compare Source
v9.0.0
: 9.0 “A Mari Usque Ad Mare”Compare Source
Autoprefixer 9.0 brings Browserslist 4.0 and drops Node.js 4 support.
Breaking Changes
We removed Node.js 4 and Node.js 9 support since it doesn’t have security updates anymore.
We removed IE and “dead” browsers (without security updates) from Babel’s targets. Don't worry, Autoprefixer still generate IE-compatible code. These changes affect websites which run Autoprefixer on client-side like CodePen.
Autoprefixer Rails 9.0 dropped the RubyRacer and Sprockets 3 support.
Browserslist 4.0
Autoprefixer 9.0 uses Browserslist 4.0 to get your target browsers.
Now you use Browserslist to specify Node.js versions. Babel 7 will use Browserslist config as well.
Also, Browserslist 4.0 will warn you if you didn’t update Can I Use DB for last than 6 month.
PostCSS 7.0
Autoprefixer 9.0 uses PostCSS 7.0
v8.6.5
Compare Source
v8.6.4
Compare Source
stretch
prefix in Chrome >= 46.v8.6.3
Compare Source
grid
option for grid properties inautoprefixer --info
.v8.6.2
Compare Source
@media
(by Evgeny Petukhov).v8.6.1
Compare Source
grid-template
with media queries (by Evgeny Petukhov).v8.6.0
: 8.6 “Follow Reason”Compare Source
Autoprefixer 8.6 brings
gap
property support and two values support forgrid-gap
/gap
.Grid Gap
CSSWG renamed
grid-gap
property togap
.@yepninja added
gap
support with 2 values support.Grid layout code bellow will work even in IE if you pass
grid: true
option to Autoprefixer:Other Changes
ignoreUnknownVersions
option for Browserslistv8.5.2
Compare Source
grid-template
support wit auto row sizes (by Yury Timofeev).v8.5.1
Compare Source
-webkit-fill-available
.v8.5.0
: 8.5 “Muito Nobre e Sempre Leal”Compare Source
Autoprefixer 8.5 brings
grid-gap
support and fixradial-gradient
.Grid Gap
@yepninja continues his amazing work of adding CSS Grid Layout support to Autoprefixer.
Now he brought
grid-gap
. It is amazing work since IE 11 has gaps support in-ms-
grids.To add
grid-gap
support for IE 11 Autoprefixer adds addition grid cells. Unfortunately, it will work only if you havegrid-template
in the same rule withgrid-gap
. We had big discussion with a community about these limits.Set
postcss-gap-properties
before Autoprefixer if you want to use newgap
property.Radial Gradients
Old gradients with prefixes used a different direction syntax. Autoprefixer converts direction to old syntax (or warn you to rewrite direction from old to new syntax).
But it has an issue with extent keywords like
circle closest-corner
. We fixed it after @BaliBalo report.v8.4.1
Compare Source
v8.4.0
: 8.4 “Non in aves, sed in angues”Compare Source
Autoprefixer 8.4 brings new control comment to ignore next line.
@vostrik implemented the @levin-du’s idea of having control comment to disable only next property/rule:
v8.3.0
: 8.3 “Benigno Numine”Compare Source
Autoprefixer 8.3 adds
@media
support forgrid-template
and fixes gradient direction warning.Media and Grid Layout
@evgeny-petukhov continues his great work for Grid Layout support in Autoprefixer.
Now he improved
@media
support. Now this CSS will work in IE:Don’t forget that Autoprefixer inserts Grid Layout prefixes only if you set
grid: true
option.Gradient Warning
@radium-v found that Autoprefixer show warning even if
cover
is outside ofradial-gradient
.@kotfire improve old direction detection and fix this issue.
v8.2.0
: 8.2 “Ad Astra per Aspera”Compare Source
Autoprefixer 8.2 brings
color-adjust
support.@YozhikM, @soul-wish, and @yuriyalekseyev did a great work. They added new data to Can I Use and implemented a new feature to Autoprefixer.
v8.1.0
: 8.1 “Rex, Familia et Ultio”Compare Source
Autoprefixer 8.1 brings
overscroll-behavior
and better Grid support.Overscroll Behavior
@Malvoz suggested the great idea to polyfill
overscroll-behavior
for IE 11 and Edge by-ms-scroll-chaining
.Note, that
overscroll-behavior-x
andoverscroll-behavior-y
are not supported since-ms-
property doesn’t have this freedom.Better Grid Layout
@evgeny-petukhov continues his amazing work and now Autoprefixer polyfills Grid Layout for IE in more cases.
He added
grid-template
shortcut support and improve support ofgrid-column-end
andgrid-row-end
.Grid properties were fixed in
@supports
. We recommend:@supports (display: grid)
.@supports (grid-gap: 0)
.Note, that you need
grid: true
option to Autoprefixer to add-ms-
prefixes for Grid Layout.v8.0.0
: 8.0 “Excelsior”Compare Source
Autoprefixer 8.0 uses Browserslist 3.0, has
autoprefixer
CLI tool instead ofautoprefixer-info
.Browserslist 3.0
The main feature of Autoprefixer 8.0 is Browserslist 3.0. In the new version, it brings new default browsers. It will affect you only if you don’t change browsers by
.browserslistrc
orbrowserslist
key inpackage.json
(we don’t recommend to usebrowsers
option).In one hand, Browserslist 3.0 usage statistics limit for default browsers was reduced from
>1%
to>0.5%
. In another hand, we remove dead browsers from default browsers. The dead browser is a browser with < than 1% in the global market and who don’t have security updates. Right now IE 10 and BlackBerry browser are dead browsers.Read other notable changes in Browserslist 3.0 changelog. We recommend subscribing for @Browserslist twitter account.
CLI Tool
CLI tool to show target browsers and used prefixes was renamed to
autoprefixer
:With the new name,
npx
will install Autoprefixer automatically if it is missed in the current project.Page Breaks for Firefox
Previous Autoprefixer versions replace
break-*
properties topage-break-*
for Firefox.But this feature didn’t add any vendor prefix. Autoprefixer goal is to take care only about prefixes, not polyfills. For better consistency, we removed this feature from Autoprefixer.
Don’t afraid, the PostCSS ecosystem has many plugins for CSS polyfills. We recommend to take look at postcss-preset-env to write future CSS today.
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.