Closed renovate-bot closed 4 years ago
As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 7.x releases. However, if you upgrade to 7.x manually then Renovate will then reenable updates for minor and patch updates automatically.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.
This PR contains the following updates:
5.2.14
->7.0.23
Release Notes
postcss/postcss
### [`v7.0.23`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#7023) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.22...7.0.23) - Update `Processor#version`. ### [`v7.0.22`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#7022) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.21...7.0.22) - Add funding link for `npm fund`. ### [`v7.0.21`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#7021) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.20...7.0.21) - Revert passing `nodes` property to node constructor. ### [`v7.0.20`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#7020) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.19...7.0.20) - Allow to pass PostCSS’s nodes in `nodes` property to node constructor. ### [`v7.0.19`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#7019) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.18...7.0.19) - Fix passing `nodes` property to node constructor. ### [`v7.0.18`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#7018) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.17...7.0.18) - Fix TypeScript type definitions (by Jan Buschtöns). ### [`v7.0.17`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#7017) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.16...7.0.17) - Fix TypeScript type definitions (by Bob Matcuk and Jan Buschtöns). ### [`v7.0.16`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#7016) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.15...7.0.16) - Revert Custom Properties fix until PostCSS 8.0. ### [`v7.0.15`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#7015) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.14...7.0.15) - Fix Custom Properties support (by Ivan Solovev). ### [`v7.0.14`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#7014) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.13...7.0.14) - Fix tokenizer for `postcss-less` (by Matt Lyons). ### [`v7.0.13`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#7013) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.12...7.0.13) - Fix parsing regression in 7.0.12 for comments between property and value. ### [`v7.0.12`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#7012) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.11...7.0.12) - Fix parsing broken CSS with two words in declaration property. ### [`v7.0.11`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#7011) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.10...7.0.11) - Fix source maps on declaration semicolon (by Niklas Mischkulnig). ### [`v7.0.10`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#7010) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.9...7.0.10) - Fix source maps (by Niklas Mischkulnig). ### [`v7.0.9`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#709) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.8...7.0.9) - Increase stringifing performance for non-raws AST. ### [`v7.0.8`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#708) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.7...7.0.8) - Fix TypeScript definitions (by Ankur Oberoi). - Use `support-colors` 6.0. ### [`v7.0.7`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#707) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.6...7.0.7) - Extend `Error` in `CssSyntaxError`. ### [`v7.0.6`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#706) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.5...7.0.6) - Fix parsing files with BOM (by Veniamin Krol). ### [`v7.0.5`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#705) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.4...7.0.5) - Reduce npm package size (by Gilad Peleg). ### [`v7.0.4`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#704) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.3...7.0.4) - Fix safe parser regression. ### [`v7.0.3`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#703) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.2...7.0.3) - Fix tokenizer extendability (by Andrew Powell). - Reduce npm package size. ### [`v7.0.2`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#7023) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.1...7.0.2) - Update `Processor#version`. ### [`v7.0.1`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#7019) [Compare Source](https://togithub.com/postcss/postcss/compare/7.0.0...7.0.1) - Fix passing `nodes` property to node constructor. ### [`v7.0.0`](https://togithub.com/postcss/postcss/releases/7.0.0) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.23...7.0.0) PostCSS 7.0 dropped Node.js 4 support and brought small features. #### 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 [Browserslist](https://togithub.com/browserslist/browserslist). Don't worry, PostCSS still generate IE-compatible code. These changes affect websites which run PostCSS on client-side like CodePen. last 2 version not dead not Explorer 11 not ExplorerMobile 11 node 10 node 8 node 6 #### New Features [@nikhilgaba](https://togithub.com/nikhilgaba) [added](https://togithub.com/postcss/postcss/pull/1093) cute thing for plugin developers. If an error was happened in `Container#walk()` circle, PostCSS will show in stack trace CSS node, which causes this error: TypeError: Cannot read property '0' of undefined at /home/ai/Dev/test/app.css:10:4 at plugin (plugin.js:2:4) at runPostCSS (runner.js:2:1) [@igorkamyshev](https://togithub.com/igorkamyshev) added `finally` method to `LazyResult` to make it compatible with the latest Promise API. #### Other Changes - Client-side size was reduced by [Size Limit](https://togithub.com/ai/size-limit) feedback. - Add warning on calling PostCSS without plugins and syntax options. ### [`v6.0.23`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#6023) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.22...6.0.23) - Fix parsing nested at-rules without semicolon, params, and spaces. - Fix docs (by Kevin Schiffer and Pat Cavit). ### [`v6.0.22`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#6022) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.21...6.0.22) - Fix `Node#prev` and `Node#next` on missed parent. ### [`v6.0.21`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#6021) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.20...6.0.21) - Rename Chinese docs to fix `yarnpkg.com` issue. ### [`v6.0.20`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#6020) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.19...6.0.20) - Better error message on `null` as input CSS. ### [`v6.0.19`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#6019) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.18...6.0.19) - Fix TypeScript definitions for source maps (by Oleh Kuchuk). - Fix `source` field in TypeScript definitions (by Sylvain Pollet-Villard). ### [`v6.0.18`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#6018) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.17...6.0.18) - Use primitive object in TypeScript definitions (by Sylvain Pollet-Villard). ### [`v6.0.17`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#6017) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.16...6.0.17) - Fix parsing comment in selector between word tokens (by Oleh Kuchuk). ### [`v6.0.16`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#6016) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.15...6.0.16) - Fix warning text (by Michael Keller). ### [`v6.0.15`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#6015) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.14...6.0.15) - Add warning about missed `from` option on `process().then()` call. - Add IE 10 support. ### [`v6.0.14`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#6014) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.13...6.0.14) - Fix TypeScript definitions (by Jed Mao). ### [`v6.0.13`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#6013) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.12...6.0.13) - Fix TypeScript definitions for case of multiple PostCSS versions in `node_modules` (by Chris Eppstein). - Use `source-map` 0.6. ### [`v6.0.12`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#6012) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.11...6.0.12) - Don’t copy `*` hack to declaration indent. ### [`v6.0.11`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#6011) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.10...6.0.11) - Add upper case `!IMPORTANT` support. ### [`v6.0.10`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#6010) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.9...6.0.10) - Reduce PostCSS size in webpack bundle. ### [`v6.0.9`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#609) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.8...6.0.9) - Improve error message for plugin with old PostCSS (by Igor Adamenko). ### [`v6.0.8`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#608) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.7...6.0.8) - Fix Node.js 4.2.2 support. ### [`v6.0.7`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#607) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.6...6.0.7) - Fix base64 decoding for old Node.js and browser. ### [`v6.0.6`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#606) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.5...6.0.6) - Fix `end` position in at-rule without semicolon (by Oleh Kuchuk). ### [`v6.0.5`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#605) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.4...6.0.5) - Move Babel config from `package.json` for `node_modules` compiling cases. ### [`v6.0.4`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#604) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.3...6.0.4) - Fix parsing `;;` after rules. - Use Chalk 2.0. ### [`v6.0.3`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#603) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.2...6.0.3) - Fix escape sequences parsing (by Oleh Kuchuk). - Added ability to force disable colors with an environment variable. - Improved color detection of some terminal apps. ### [`v6.0.2`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#6023) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.1...6.0.2) - Fix parsing nested at-rules without semicolon, params, and spaces. - Fix docs (by Kevin Schiffer and Pat Cavit). ### [`v6.0.1`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#6019) [Compare Source](https://togithub.com/postcss/postcss/compare/6.0.0...6.0.1) - Fix TypeScript definitions for source maps (by Oleh Kuchuk). - Fix `source` field in TypeScript definitions (by Sylvain Pollet-Villard). ### [`v6.0.0`](https://togithub.com/postcss/postcss/releases/6.0.0) PostCSS 6.0 drops support for Node.js 0.12, cleans the `raws` API, adds support for `@apply`, and uses less memory. ##### Breaking Changes Node.js [stopped](https://togithub.com/nodejs/LTS) 0.12 support in January 01. So PostCSS dropped Node.js 0.12 from all tests. Please update your Node.js version to 4.0 or 7.0. In 6.0 we fixed our mistakes in API design. First, if node already had a parent, insert methods (`append`, `insertAfter`, etc) will not clone it anymore. In 6.0 inserts methods will remove inserted node from previous parent: ```js parent1.nodes.length //=> 3 parent2.append(parent1.nodes[0]) parent1.nodes.length //=> 2 ``` Now, `moveTo`, `moveAfter` & `moveBefore` are deprecated because regular insert methods have this move behavior. Also `Node#clone` now returns the exact copy of a node. In 6.0 it no longer cleans `raws`. ```js node.raws.before //=> "\n " const clone = node.clone() clone.raws.before //=> "\n " ``` Every PostCSS plugin has `plugin.process` shortcut. In 6.0 we split process and plugin options in this shortcut: ```js const plugin = postcss.plugin('postcss-awesome', colors => { … }) plugin.process(css, { from: 'app.css' }, colors).css ``` In the new major release, we finally remove all deprecated methods from PostCSS 4.0. It should not be a big problem because we show deprecated warnings for them for 2 years. Most of the plugins updated their API. ##### New Methods and Properties Since we removed deprecated methods from PostCSS 4.0, in 6.0 we were free to add `before()` and `after()` shortcuts, similar to DOM API methods. ```js node1.before(node2) // is equal too node1.parent.insertBefore(node1, node2) ``` Chrome 51 started to support “native CSS mixins” from [@tabatkins](https://togithub.com/tabatkins) [spec](https://tabatkins.github.io/specs/css-apply-rule/) under the flag: ```css :root { --clearfix: { display: table; clear: both; content: ''; }; } .box:after{ @apply --clearfix; } ``` PostCSS 5.0 could parse it pretty well, but in some cases, it lost the semicolon after a mixin definition. In PostCSS 6.0 parser we covered this case, and node rules have `Rule#raws.ownSemicolon` for their own semicolon. ##### Stream Parser In PostCSS 5.0 tokenizing and parsing were separated steps. As a result, we wrote all tokens into memory between steps. It worked well most of the time, but had a large memory usage when parsing really big CSS files (more than 25 MB). In 6.0 [@hzlmn](https://togithub.com/hzlmn) rewrote parser, and now parser and tokenizer work together (stream parser). As a result, we put only a few of the latest tokens in memory. So 6.0 will use less memory. ##### Package Size We care about `node_modules` size problem. So in 6.0 [@lahmatiy](https://togithub.com/lahmatiy) and [@h0tc0d3](https://togithub.com/h0tc0d3) removed `js-base64` dependency to use native Node.js and Browsers ways to base64 encoding. Also, PostCSS was moved to `babel-preset-env`. Instead of regular `babel`, it will compile only necessary parts of ES6. So build in npm packages will be cleaner. Current [browserslist](https://togithub.com/ai/browserslist) config for `babel-preset-env` is `last 1 version` and `node 4`. ##### Other Changes - Fix error message on single `:` in CSS. - Move tests to Jest. - Clean up test (by [@gkal19](https://togithub.com/gkal19)). ### [`v5.2.18`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#5218) - Fix TypeScript definitions for case of multiple PostCSS versions in `node_modules` (by Chris Eppstein). ### [`v5.2.17`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#5217) [Compare Source](https://togithub.com/postcss/postcss/compare/5.2.16...5.2.17) - Add `postcss-sass` suggestion to syntax error on `.sass` input. ### [`v5.2.16`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#5216) [Compare Source](https://togithub.com/postcss/postcss/compare/5.2.15...5.2.16) - Better error on wrong argument in node constructor. ### [`v5.2.15`](https://togithub.com/postcss/postcss/blob/master/CHANGELOG.md#5215) [Compare Source](https://togithub.com/postcss/postcss/compare/5.2.14...5.2.15) - Fix TypeScript definitions (by bumbleblym).Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
Newsflash: Renovate has joined WhiteSource, and is now free for all use. Learn more or view updated terms and privacy policies.