This repository was archived by the owner on Apr 1, 2020. It is now read-only.
Update dependency autoprefixer to v9 #1408
Open
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:
8.6.4->9.7.4ℹ️ Find our documentation at https://github.com/Financial-Times/next/wiki/Renovate.
Release Notes
postcss/autoprefixer
v9.7.4Compare Source
v9.7.3Compare Source
v9.7.2Compare Source
-ms-user-select: elementsupport.npm fund.v9.7.1Compare Source
fit-contentfor Firefox.v9.7.0Compare Source
Autoprefixer 9.7 brings
AUTOPREFIXER_GRIDenvironment 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 undefinederrorv9.6.5Compare Source
v9.6.4Compare Source
'startsWith' of undefinederror.v9.6.3Compare Source
Cannot read property 'startsWith' of undefinederror.v9.6.2Compare Source
Replace fill to stretchwarning.v9.6.1Compare Source
-webkit-line-clamptruncating multi-line text support.v9.6.0Compare Source
Autoprefixer 9.6 marked
browsersoption as deprecated and addedtext-orientationand@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
browsersoption to set target browsers. But we found that many tools need target browsers too.postcss-preset-envandbabel-preset-envuse 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
browsersoption. We understand them; it is hard to change old practice. Unfortunately, using thebrowsersoption 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
browsersoption. 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
browserslistkey with an array inpackage.json.Copy queries from the
browsersoption. 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
xalias fordppx.Autoprefixer 9.6 supports
@media (min-resolution: 2x)shortcut. Note, that Autoprefixer will not convert it to2dppx. Autoprefixer adds only prefixes. Usepostcss-preset-envto add polyfills.Other
text-orientationproperty support was added.CONTRIBUTING.mdv9.5.1Compare Source
backdrop-filterfor Edge (by Oleh Aloshkin).min-resolutionmedia query support in Firefox < 16.v9.5.0Compare Source
Autoprefixer 9.5 brings
mask-compositesupport.Thanks to @semeleven for implementation and @iamvdo for suggestion.
v9.4.10Compare Source
v9.4.9Compare Source
grid-templateand@mediacase (by Bogdan Dolin).v9.4.8Compare Source
calc()support in Grid gap.v9.4.7Compare Source
v9.4.6Compare Source
v9.4.5Compare Source
text-decoration-skip-inksupport.v9.4.4Compare Source
directionvalue for-ms-writing-mode(by Denys Kniazevych).v9.4.3Compare Source
flex-startinstead ofstart(by Antoine du Hamel).v9.4.2Compare Source
v9.4.1Compare Source
v9.4.0Compare Source
Autoprefixer 9.4.0 brings limited autoplacement support to the IE CSS Grid.
Grid Autoplacement
If the
gridoption 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.1Compare Source
repeat()value (by Bogdan Dolin).v9.3.0Compare Source
Autoprefixer 9.3 brings
place-selfsupport 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.1Compare Source
v9.2.0Compare 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: trueto 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@supportscontent if it contains these Grid properties:Smarter
grid-areaAutoprefixer supports
grid-templateeven 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.5Compare Source
@babel/registerfrom dependencies.v9.1.4Compare Source
v9.1.3Compare Source
autoprefixer --infoalphabetically.v9.1.2Compare Source
autoprefixer --infoin new Node.js.v9.1.1Compare Source
grid-gapthrough@media(by Bogdan Dolin).grid-templateand@media(by Bogdan Dolin).span XGrid prefix (by Bogdan Dolin).v9.1.0Compare Source
Autoprefixer 9.1 brings
background-clip: textand fixspanin IE Grid.Background Clip
background-clip: textbecome 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.2Compare Source
v9.0.1Compare Source
v9.0.0Compare 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.5Compare Source
Renovate configuration
📅 Schedule: 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 has been generated by WhiteSource Renovate. View repository job log here.