Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency autoprefixer to v10 #190

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 10, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
autoprefixer 9.5.1 -> 10.4.19 age adoption passing confidence

Release Notes

postcss/autoprefixer (autoprefixer)

v10.4.19

Compare Source

  • Removed end value has mixed support, consider using flex-end warning
    since end/start now have good support.

v10.4.18

Compare Source

  • Fixed removing -webkit-box-orient on -webkit-line-clamp (@​Goodwine).

v10.4.17

Compare Source

  • Fixed user-select: contain prefixes.

v10.4.16

Compare Source

  • Improved performance (by Romain Menke).
  • Fixed docs (by Christian Oliff).

v10.4.15

Compare Source

  • Fixed ::backdrop prefixes (by 一丝).
  • Fixed docs (by Christian Oliff).

v10.4.14

Compare Source

  • Improved startup time and reduced JS bundle size (by Kārlis Gaņģis).

v10.4.13

Compare Source

  • Fixed missed prefixes on vendor prefixes in name of CSS Custom Property.

v10.4.12

Compare Source

  • Fixed support of unit-less zero angle in backgrounds (by 一丝).

v10.4.11

Compare Source

  • Fixed text-decoration prefixes by moving to MDN data (by Romain Menke).

v10.4.10

Compare Source

  • Fixed unicode-bidi prefixes by moving to MDN data.

v10.4.9

Compare Source

  • Fixed css-unicode-bidi issue from latest Can I Use.

v10.4.8

Compare Source

  • Do not print color-adjust warning if print-color-adjust also is in rule.

v10.4.7

Compare Source

  • Fixed print-color-adjust support in Firefox.

v10.4.6

Compare Source

  • Fixed print-color-adjust support.

v10.4.5

Compare Source

v10.4.4

Compare Source

  • Fixed package.funding to have same value between all PostCSS packages.

v10.4.3

Compare Source

  • Fixed package.funding (by Álvaro Mondéjar).

v10.4.2

Compare Source

  • Fixed missed -webkit- prefix for width: stretch.

v10.4.1

Compare Source

  • Fixed ::backdrop prefixes (by 一丝).
  • Fixed docs (by Christian Oliff).

v10.4.0: 10.4 “ǃke e꞉ ǀxarra ǁke”

Compare Source

Coat of arms of South Africa

In Autoprefixer 10.4 @​lukewarlow added :autofill support:

input:-webkit-autofill {
  background-color: red;
}

input:autofill {
  background-color: red;
}

v10.3.7

Compare Source

  • Replaced nanocolors to picocolors.

v10.3.6

Compare Source

  • Updated nanocolors.
  • Reduced package size.

v10.3.5

Compare Source

  • Replaced colorette to nanocolors.

v10.3.4

Compare Source

  • Fixed stretch value in latest Firefox.

v10.3.3

Compare Source

  • Fixed wrong -moz- prefix from ::file-selector-button (by Usman Yunusov).

v10.3.2

Compare Source

  • Fixed ::file-selector-button support (by Usman Yunusov).

v10.3.1

Compare Source

  • Fixed adding wrong prefixes to content (by Luke Warlow).

v10.3.0: 10.3 “Чести своей не отдам никому”

Compare Source

Pskov, coat of arms

In Autoprefixer 10.3 @​lukewarlow added ::file-selector-button support.

::-webkit-file-upload-button {
  border: 2px solid #​6c5ce7;
  padding: .2em .4em;
  border-radius: .2em;
  background-color: #a29bfe;
}

::file-selector-button {
  border: 2px solid #​6c5ce7;
  padding: .2em .4em;
  border-radius: .2em;
  background-color: #a29bfe;
}

v10.2.6

Compare Source

v10.2.5

Compare Source

  • Fixed : support in @supports (by Dmitry Semigradsky).
  • Fixed docs (by Christian Oliff).

v10.2.4

Compare Source

  • Fixed browser names in npx autoprefixer --info.

v10.2.3

Compare Source

  • Fixed PostCSS 8 support.

v10.2.2

Compare Source

  • Fixed PostCSS 8 plugins compatibility.

v10.2.1

Compare Source

v10.2.0: 10.2 “Sub rosa”

Compare Source

Tudor rose

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

Coat of arms of Botswana

Autoprefixer 10.1 improved min-resolution support.

@​infusion added dpcm unit support and num2fraction with Fraction.js, which uses Farey Sequences as a rational approximation (more precise) and simplifies the fraction using continued fractions to ɛ <0.001 afterward.

/* input */
@&#8203;media (min-resolution: 113.38dpcm) {
  …
}

/* output */
@&#8203;media (-webkit-min-device-pixel-ratio: 3),
       (min--moz-device-pixel-ratio: 3),
       (-o-min-device-pixel-ratio: 3/1),
       (min-resolution: 113.38dpcm) {
  …
}

v10.0.4

Compare Source

  • Fixed Cannot read property 'proxyOf' of undefined error (by Igor Kamyshev).

v10.0.3

Compare Source

  • Fixed substract to subtract value for mask-composite (by Michelle Enos).

v10.0.2

Compare Source

  • Removed -ms-user-select: all because IE and old Edge don’t support it.
  • Fixed Grid Layout warning.

v10.0.1

Compare Source

  • Fix PostCSS 8.1 compatability.
  • Add our OpenCollective to package.json.
  • Clean up code (by Sukka).

v10.0.0: 10.0 “Alis volat propriis”

Compare Source

Coat of arms of Oregon

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 moved postcss from dependencies to peerDependencies according to new PostCSS plugin guidelines.

v9.8.8

Compare Source

  • Replaced nanocolors with picocolors.
  • Reduced package size.

v9.8.7

Compare Source

  • Replaced colorette with nanocolors.
  • Reduced package size.

v9.8.6

Compare Source

  • Fixed env option.

v9.8.5

Compare Source

  • Improved Grid Layout warnings (by Daniel Tonon).
  • Fixed align-self and justify-self with display: flex (by Daniel Tonon).

v9.8.4

Compare Source

  • Replace color output library.

v9.8.3

Compare Source

  • Return old non-LTS Node.js versions to avoid breaking changes.

v9.8.2

Compare Source

  • Remove Node.js 13.0-13.7 from supported engines, because of buggy ESM support.

v9.8.1

Compare Source

  • Replace chalk to kleur (by Luke Edwards).
  • Update docs (by @​mbomb007).

v9.8.0: 9.8 “Vigilo Confido”

Compare Source

XCOM coat of arms

Autoprefixer 9.8 brings IE support for :placeholder-shown.

Placeholder Shown

@​tkrotoff found that input:placeholder-shown can be emulated with input:-ms-input-placeholder.

input:-ms-input-placeholder {
  box-shadow: 0 0 0 1px blue;
}

input:placeholder-shown {
  box-shadow: 0 0 0 1px blue;
}

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

  • Revert -webkit-stretch fix.

v9.7.5

Compare Source

  • Fix -webkit-stretch support.

v9.7.4

Compare Source

  • Fix warning text (by Dmitry Ishkov).

v9.7.3

Compare Source

  • Fix compatibility with PostCSS Modules.

v9.7.2

Compare Source

  • Add -ms-user-select: element support.
  • Add funding link for npm fund.

v9.7.1

Compare Source

  • Avoid unnecessary transitions in prefixed selectors (by Andrey Alexandrov).
  • Fix fit-content for Firefox.

v9.7.0: 9.7 “Ad Victoriam”

Compare Source

Brotherhood of Steel coat of arms

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:

AUTOPREFIXER_GRID=autoplace npm build
Performance Improvements

@​Knagis found that Browserslist takes 70% of the Autoprefixer time.

Autoprefixer 9.6.5 profiling

We did a lot of improvements in Browserslist and now Autoprefixer should work much faster.

67417985-a283e180-f5d2-11e9-879a-e364c9acccf1

Other

v9.6.5

Compare Source

  • Fix selector prefixing (by Andrey Alexandrov).

v9.6.4

Compare Source

  • Now the real fix for 'startsWith' of undefined error.

v9.6.3

Compare Source

  • Fix Cannot read property 'startsWith' of undefined error.

v9.6.2

Compare Source

  • Fix false Replace fill to stretch warning.

v9.6.1

Compare Source

  • Fix -webkit-line-clamp truncating multi-line text support.

v9.6.0: 9.6 “Nunc id vides, nunc ne vides”

Compare Source

Unseen University coat of arms by Damien Tonkin

Autoprefixer 9.6 marked browsers option as deprecated and added text-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 and babel-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 the browsers 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:

  1. Create browserslist key with an array in package.json.

  2. Copy queries from the browsers option. If you have browsers: [“last 1 version”, “not dead”], then you need:

       "browserslist": [
         "last 1 version",
         "not dead"
       ]
HiDPI Media Query

We all need to support HiDPI/retina screen now. Autoprefixer supports specific media query for HiDPI screens:

.image {
  background-image: url(image@1x.png);
}
@&#8203;media (min-resolution: 2dppx) {
  .image {
    background-image: url(image@2x.png);
  }
}
.image {
  background-image: url(image@1x.png);
}
@&#8203;media (-webkit-min-device-pixel-ratio: 2),
       (-o-min-device-pixel-ratio: 2/1),
       (min-resolution: 2dppx) {
  .image {
    background-image: url(image@2x.png);
  }
}

Bug we found that CSS Values 4 spec added x alias for dppx.

Autoprefixer 9.6 supports @media (min-resolution: 2x) shortcut. Note, that Autoprefixer will not convert it to 2dppx. Autoprefixer adds only prefixes. Use postcss-preset-env to add polyfills.

Other

Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the renovate label Jan 10, 2021
@renovate renovate bot force-pushed the renovate/autoprefixer-10.x branch from 42663a4 to 38d9cc1 Compare January 23, 2021 09:01
@renovate renovate bot force-pushed the renovate/autoprefixer-10.x branch from 38d9cc1 to 5a44431 Compare January 31, 2021 21:55
@renovate renovate bot force-pushed the renovate/autoprefixer-10.x branch from 5a44431 to 7abb843 Compare April 26, 2021 15:07
@renovate renovate bot force-pushed the renovate/autoprefixer-10.x branch from 7abb843 to a323636 Compare June 6, 2021 20:54
@renovate renovate bot force-pushed the renovate/autoprefixer-10.x branch from a323636 to 6397c05 Compare October 19, 2021 01:17
@renovate renovate bot force-pushed the renovate/autoprefixer-10.x branch from 6397c05 to e01a441 Compare March 7, 2022 10:45
@renovate renovate bot force-pushed the renovate/autoprefixer-10.x branch from e01a441 to 96481fb Compare March 26, 2022 13:06
@renovate renovate bot force-pushed the renovate/autoprefixer-10.x branch from 96481fb to 0a14af6 Compare April 25, 2022 01:10
@renovate renovate bot force-pushed the renovate/autoprefixer-10.x branch from 0a14af6 to 0fa9131 Compare May 16, 2022 01:10
@renovate renovate bot force-pushed the renovate/autoprefixer-10.x branch from 0fa9131 to 10dec0c Compare September 25, 2022 17:04
@renovate renovate bot force-pushed the renovate/autoprefixer-10.x branch from 10dec0c to 93c09ff Compare November 20, 2022 16:22
@renovate renovate bot force-pushed the renovate/autoprefixer-10.x branch from 93c09ff to 1cd2f4c Compare March 16, 2023 08:05
@renovate renovate bot force-pushed the renovate/autoprefixer-10.x branch from 1cd2f4c to a01e61c Compare August 13, 2023 16:17
@renovate renovate bot force-pushed the renovate/autoprefixer-10.x branch from a01e61c to 6541821 Compare October 1, 2023 18:00
@renovate renovate bot force-pushed the renovate/autoprefixer-10.x branch from 6541821 to 8ee994c Compare January 17, 2024 19:40
@renovate renovate bot force-pushed the renovate/autoprefixer-10.x branch from 8ee994c to 4b8f687 Compare March 1, 2024 20:18
@renovate renovate bot force-pushed the renovate/autoprefixer-10.x branch from 4b8f687 to 3053202 Compare March 21, 2024 01:45
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.

None yet

0 participants