Blog RSS Feed

Node 0.x and 4.x Deprecation Timeline for Apache Cordova
01 Oct 2016

Currently, all the platforms and plugins require a minimum of node 0.10 to be installed. node 0.10 has been out of LTS 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) and will be the version we recommend users upgrade to, during both deprecation periods.

What does node 6.x give us? 99% ES2015 (ES6) support, and 100% ES2016 (ES7) 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.

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

cordova node deprecation timeline

Previous

Plugins Release
14 Sep 2016 - By Steve Gill

The following plugins were updated today: cordova-plugin-battery-status: 1.2.0 cordova-plugin-camera: 2.3.0 cordova-plugin-console: 1.0.4...

Next

Minor Releases
04 Oct 2016 - By Steve Gill

The following were recently released: cordova-plugin-geolocation: 2.4.0 cordova-create: 1.0.1 cordova-app-hello-world: 3.11.0 Google...