Repository: cordova-docs Updated Branches: refs/heads/master fb27db6b4 -> 68f520b58
CB-11946 - Blog post for Node 0.x and 4.x deprecation timelines This closes #646 Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/68f520b5 Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/68f520b5 Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/68f520b5 Branch: refs/heads/master Commit: 68f520b583177f77701dab76d2f8f04543a6aee8 Parents: fb27db6 Author: Shazron Abdullah <[email protected]> Authored: Mon Oct 3 16:18:17 2016 -0700 Committer: Steve Gill <[email protected]> Committed: Tue Oct 4 11:57:30 2016 -0700 ---------------------------------------------------------------------- .../2016-10-01-0.x-4.x-deprecation-timeline.md | 56 ++++++++++++++++++++ www/static/img/cordova-node-timeline.svg | 1 + 2 files changed, 57 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/68f520b5/www/_posts/2016-10-01-0.x-4.x-deprecation-timeline.md ---------------------------------------------------------------------- diff --git a/www/_posts/2016-10-01-0.x-4.x-deprecation-timeline.md b/www/_posts/2016-10-01-0.x-4.x-deprecation-timeline.md new file mode 100644 index 0000000..0962c46 --- /dev/null +++ b/www/_posts/2016-10-01-0.x-4.x-deprecation-timeline.md @@ -0,0 +1,56 @@ +--- +layout: post +author: + name: Shazron Abdullah + url: https://twitter.com/shazron +title: "Node 0.x and 4.x Deprecation Timeline for Apache Cordova" +categories: news +tags: deprecation timeline node +--- + +Currently, all the platforms and plugins require a minimum of `node 0.10` to be installed. `node 0.10` has been out of [LTS][1] for a while now, and its maintenance period (security bug fixes) **stops on Oct 31st 2016**. `node 0.12` will be out of maintenance **Jan 1st 2017**. + +There will be two distinct deprecation periods, one for `node 0.x`, and one for `node 4.x`. + +`node 6.x` will be on active LTS **Oct 18th 2016** (thus the default and recommended version to download on [nodejs.org](http://nodejs.org)) and will be the version we recommend users upgrade to, during both deprecation periods. + +What does `node 6.x` give us? [99% ES2015 (ES6)][2] support, and [100% ES2016 (ES7)][3] support. + +JavaScript files in plugins themselves are unaffected, since the JavaScript support for them is dependent on platform browser support. For example, ES6 is supported in iOS 10, while on older iOS platforms only ES5 is supported. + +<!--more--> + +## Timeline + +**Oct 1st, 2016** - deprecate use of `node 0.x`. + +- all AppVeyor/Travis CI builds still test using `node 0.x` as well as `node 4.x` and greater +- add a requirements check that will print out a deprecation notice if users are using a node < 4, and tell them to upgrade to a minimum of 6. + +The `node 0.x` deprecation period will run for **3 months**, and it will end on Jan 1st 2017. + +**Jan 1st, 2017** - stop `node 0.x` support. + +- all AppVeyor/Travis CI builds only test for `node 4.x` and greater. +- safe to use some ES6 features in the Apache Cordova tools and platforms, not plugins (built in Promises, let, const, arrow functions, template strings, for/of loop syntax). +- tools and platforms will bump up a major version + +**Apr 1st, 2017** - deprecate use of `node 4.x`. + +- all AppVeyor/Travis CI builds still test using `node 4.x` as well as `node 6.x` and greater +- add a requirements check that will print out a deprecation notice if they are using a node <= 4, and tell them to upgrade to a minimum of 6 + +The `node 4.x` deprecation period will run for **12 months** and it will end on April 1st 2018. + +**Apr 1st, 2018** - stop `node 4.x` support. + +- all AppVeyor/Travis CI builds only test for `node 6.x` and greater +- safe to use ES6 and ES7 features in the Apache Cordova tools and platforms (not plugins) +- tools and platforms will bump up a major version + +[](/static/img/cordova-node-timeline.svg) + + +[1]: https://github.com/nodejs/LTS "Node.js Long-term Support Working Group" +[2]: http://node.green/#ES2015 "Node ES6 Support" +[3]: http://node.green/#ES2016 "Node ES7 Support" http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/68f520b5/www/static/img/cordova-node-timeline.svg ---------------------------------------------------------------------- diff --git a/www/static/img/cordova-node-timeline.svg b/www/static/img/cordova-node-timeline.svg new file mode 100644 index 0000000..d53619c --- /dev/null +++ b/www/static/img/cordova-node-timeline.svg @@ -0,0 +1 @@ +<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 702.75 148.25"><defs><style>.cls-1{fill:none;}.cls-2{clip-path:url(#clip-path);}.cls-3{fill:#bfbfbf;}.cls-4{fill:#9bc2e6;}.cls-5{fill:#70ad47;}.cls-6{fill:#ffc000;}.cls-7{fill:#e2efda;}.cls-8{fill:#c6e0b4;}.cls-9{fill:#548235;}.cls-10{clip-path:url(#clip-path-2);}.cls-11,.cls-12,.cls-19{font-size:8.64px;font-family:Calibri, Calibri;}.cls-12{fill:#fff;}.cls-13{clip-path:url(#clip-path-4);}.cls-14{clip-path:url(#clip-path-6);}.cls-15{clip-path:url(#clip-path-7);}.cls-16{clip-path:url(#clip-path-9);}.cls-17{clip-path:url(#clip-path-13);}.cls-18{clip-path:url(#clip-path-16);}.cls-19{fill:#595959;}.cls-20{clip-path:url(#clip-path-20);}.cls-21{clip-path:url(#clip-path-21);}.cls-22{clip-path:url(#clip-path-22);}.cls-23{clip-path:url(#clip-path-23);}.cls-24{clip-path:url(#clip-path-24);}.cls-25{clip-path:url(#clip-path-25);}.cls-26{clip-path:url(#clip-path-26);}.c ls-27{clip-path:url(#clip-path-27);}</style><clipPath id="clip-path"><rect class="cls-1" x="-30.25" y="-60.5" width="792" height="612"/></clipPath><clipPath id="clip-path-2"><rect class="cls-1" x="20.15" y="51.82" width="691.2" height="12.24"/></clipPath><clipPath id="clip-path-4"><rect class="cls-1" x="20.15" y="63.34" width="691.2" height="12.24"/></clipPath><clipPath id="clip-path-6"><rect class="cls-1" x="20.15" y="74.86" width="691.2" height="12.24"/></clipPath><clipPath id="clip-path-7"><rect class="cls-1" x="102.23" y="74.86" width="46.8" height="11.52"/></clipPath><clipPath id="clip-path-9"><rect class="cls-1" x="20.15" y="86.38" width="691.2" height="12.24"/></clipPath><clipPath id="clip-path-13"><rect class="cls-1" x="20.15" y="109.42" width="691.2" height="12.24"/></clipPath><clipPath id="clip-path-16"><rect class="cls-1" x="20.15" y="120.94" width="691.2" height="12.24"/></clipPath><clipPath id="clip-path-20"><rect class="cls-1" x="20.15" y="17.26" width="128.88" height= "11.52"/></clipPath><clipPath id="clip-path-21"><rect class="cls-1" x="195.83" y="40.3" width="93.6" height="11.52"/></clipPath><clipPath id="clip-path-22"><rect class="cls-1" x="149.03" y="17.26" width="93.6" height="11.52"/></clipPath><clipPath id="clip-path-23"><rect class="cls-1" x="242.63" y="17.26" width="93.6" height="11.52"/></clipPath><clipPath id="clip-path-24"><rect class="cls-1" x="336.23" y="17.26" width="93.6" height="11.52"/></clipPath><clipPath id="clip-path-25"><rect class="cls-1" x="429.83" y="17.26" width="93.6" height="11.52"/></clipPath><clipPath id="clip-path-26"><rect class="cls-1" x="523.43" y="17.26" width="93.6" height="11.52"/></clipPath><clipPath id="clip-path-27"><rect class="cls-1" x="617.03" y="17.26" width="93.6" height="11.52"/></clipPath></defs><title>Artboard 1</title><g class="cls-2"><rect class="cls-3" x="101.51" y="51.1" width="94.32" height="12.24"/><rect class="cls-3" x="101.51" y="62.62" width="141.12" height="12.24"/><rect class="cls-4" x="1 01.51" y="74.14" width="187.92" height="12.24"/><rect class="cls-3" x="288.71" y="74.14" width="187.92" height="12.24"/><rect class="cls-5" x="101.51" y="85.66" width="94.32" height="12.24"/><rect class="cls-4" x="195.11" y="85.66" width="281.52" height="12.24"/><rect class="cls-3" x="475.91" y="85.66" width="187.92" height="12.24"/><rect class="cls-6" x="195.11" y="108.7" width="47.52" height="12.24"/><rect class="cls-6" x="288.71" y="108.7" width="187.92" height="12.24"/><rect class="cls-7" x="101.51" y="120.22" width="141.12" height="12.24"/><rect class="cls-8" x="241.91" y="120.22" width="234.72" height="12.24"/><rect class="cls-9" x="475.91" y="120.22" width="187.92" height="12.24"/></g><g class="cls-10"><text class="cls-11" transform="translate(21.59 60.46)">node 0.10</text></g><g class="cls-10"><text class="cls-12" transform="translate(110.15 60.46)">maintenance</text></g><g class="cls-13"><text class="cls-11" transform="translate(21.59 71.98)">node 0.12</text></g><g class="c ls-13"><text class="cls-12" transform="translate(110.15 71.98)">maintenance</text></g><g class="cls-14"><text class="cls-11" transform="translate(21.59 83.5)">node 4.x</text></g><g class="cls-15"><text class="cls-12" transform="translate(110.15 83.5)">active lts</text></g><g class="cls-14"><text class="cls-12" transform="translate(297.35 83.5)">maintenance</text></g><g class="cls-16"><text class="cls-11" transform="translate(21.59 95.02)">node 6.x</text></g><g class="cls-16"><text class="cls-12" transform="translate(110.15 95.02)">current</text></g><g class="cls-16"><text class="cls-12" transform="translate(203.75 95.02)">active lts</text></g><g class="cls-16"><text class="cls-12" transform="translate(484.55 95.02)">maintenance</text></g><g class="cls-17"><text class="cls-11" transform="translate(21.59 118.06)">cordova deprecation</text></g><g class="cls-17"><text class="cls-12" transform="translate(203.75 118.06)">DEPR. 0.x</text></g><g class="cls-17"><text class="cls-12" transform ="translate(297.35 118.06)">DEPRECATE node 4.x</text></g><g class="cls-18"><text class="cls-11" transform="translate(21.59 129.58)">cordova support</text></g><g class="cls-18"><text class="cls-19" transform="translate(110.15 129.58)">all node versions</text></g><g class="cls-18"><text class="cls-19" transform="translate(257.03 129.58)">node 4+ only</text></g><g class="cls-18"><text class="cls-12" transform="translate(485.07 129.58)">node 6+ only</text></g><g class="cls-20"><text class="cls-11" transform="translate(72.71 25.9)">Apr-16</text></g><g class="cls-21"><text class="cls-11" transform="translate(231.11 48.94)">Jan-17</text></g><g class="cls-22"><text class="cls-11" transform="translate(184.31 25.9)">Oct-16</text></g><g class="cls-23"><text class="cls-11" transform="translate(277.19 25.9)">Apr-17</text></g><g class="cls-24"><text class="cls-11" transform="translate(371.51 25.9)">Oct-17</text></g><g class="cls-25"><text class="cls-11" transform="translate(464.39 25.9)">Apr-18</ text></g><g class="cls-26"><text class="cls-11" transform="translate(558.71 25.9)">Oct-18</text></g><g class="cls-27"><text class="cls-11" transform="translate(651.59 25.9)">Apr-19</text></g><g class="cls-2"><rect x="195.11" y="28.06" width="0.72" height="35.28"/><rect x="241.91" y="51.1" width="0.72" height="23.76"/><rect x="288.71" y="28.06" width="0.72" height="58.32"/><rect x="569.51" y="28.06" width="0.72" height="58.32"/><rect x="195.83" y="108.7" width="46.8" height="0.72"/><rect x="101.51" y="28.06" width="0.72" height="104.4"/><rect x="195.11" y="86.38" width="0.72" height="34.56"/><rect x="288.71" y="97.9" width="0.72" height="23.04"/><rect x="382.31" y="28.06" width="0.72" height="46.8"/><rect x="475.91" y="28.06" width="0.72" height="104.4"/><rect x="569.51" y="97.9" width="0.72" height="23.04"/><rect x="663.11" y="28.06" width="0.72" height="92.88"/><rect x="241.91" y="97.9" width="0.72" height="34.56"/><rect x="102.23" y="51.1" width="93.6" height="0.72"/><rect x="102. 23" y="62.62" width="140.4" height="0.72"/><rect x="102.23" y="74.14" width="374.4" height="0.72"/><rect x="102.23" y="85.66" width="561.6" height="0.72"/><rect x="102.23" y="97.18" width="561.6" height="0.72"/><rect x="289.43" y="108.7" width="187.2" height="0.72"/><rect x="102.23" y="120.22" width="374.4" height="0.72"/><rect x="102.23" y="131.74" width="374.4" height="0.72"/></g></svg> \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
