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 all minor dependencies #39

Merged
merged 1 commit into from
Jun 7, 2019

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 3, 2019

This PR contains the following updates:

Package Type Update Change
autoprefixer devDependencies minor 9.5.1 -> 9.6.0
prettier (source) devDependencies minor 1.17.1 -> 1.18.0
release-it devDependencies minor 12.2.2 -> 12.3.0
webpack devDependencies minor 4.32.2 -> 4.33.0
webpack-dev-server devDependencies minor 3.5.1 -> 3.7.0

Release Notes

postcss/autoprefixer

v9.6.0

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([email protected]);
}
@​media (min-resolution: 2dppx) {
  .image {
    background-image: url([email protected]);
  }
}
.image {
  background-image: url([email protected]);
}
@​media (-webkit-min-device-pixel-ratio: 2),
       (-o-min-device-pixel-ratio: 2/1),
       (min-resolution: 2dppx) {
  .image {
    background-image: url([email protected]);
  }
}

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

prettier/prettier

v1.18.0

Compare Source

diff

🔗 Release Notes

release-it/release-it

v12.3.0

Compare Source

  • Update docs (d702fd1)
  • Update deprecated-obj (d967ce5)
  • Deprecate scripts config (e2831eb)
  • Add namespace-less life cycle hooks (e.g. hooks.before:init) (5ea9acc)
  • Add life cycle hooks (a7b3ccb)
  • Separate page for changelog doc section (8cdb49f)
  • Minor updates to readme (94a2429)
  • Separate pages for github, gitlab and npm doc sections (bab4b27)
  • Update animated GIF (1268f43)
webpack/webpack

v4.33.0

Compare Source

Features

  • add target: "electron-preload" for electron 5
    • renderer should use target: "web" in electron 5

Bugfixes

  • fix HMR rejection of removed and readded self-accepted modules
webpack/webpack-dev-server

v3.7.0

Compare Source

Bug Fixes
Features

v3.6.0

Compare Source

Bug Fixes
Features
3.5.1 (2019-06-01)
Bug Fixes

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 if you modify the PR title to begin with "rebase!".

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

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

@renovate renovate bot added the renovate label Jun 3, 2019
@renovate renovate bot force-pushed the renovate/all-minor-dependencies branch from fe8193a to 4ac1a58 Compare June 4, 2019 19:44
@renovate renovate bot changed the title chore(deps): update dependency autoprefixer to v9.6.0 chore(deps): update all minor dependencies Jun 4, 2019
@renovate renovate bot force-pushed the renovate/all-minor-dependencies branch 3 times, most recently from 475e008 to 8e71ca2 Compare June 6, 2019 15:34
@renovate renovate bot force-pushed the renovate/all-minor-dependencies branch from 8e71ca2 to 9c84104 Compare June 6, 2019 21:50
@kmkzt kmkzt merged commit 119e2b8 into master Jun 7, 2019
@renovate renovate bot deleted the renovate/all-minor-dependencies branch June 7, 2019 04:21
kmkzt added a commit that referenced this pull request Apr 24, 2020
chore(deps): update all minor dependencies
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.

2 participants