Compute Services

Node.js version long-term support and the SDK for Node.js buildpack

Share this post:

By the end of the year we will pass several significant dates on the Node.js long-term support (LTS) schedule:

  • v6 was promoted to LTS status on October 18, 2016
  • v0.10 will reach end of life on October 31, 2016
  • v0.12 will reach end of life on December 31, 2016.

What does this mean for Bluemix?

The default version for the SDK for Node.js, which is used when you do not specify a version in your app’s package.json file, will change from v4 to v6. Node.js v6 delivers many improvements over older releases over older releases, including better performance.

Additionally the buildpack will no longer bundle v0.10 and 0.12 of the SDK for Node.js binaries. While we recommend that you no longer use v0.10 or v0.12 after they reach end of life, if you request v0.10 or v.012 in your app’s package.json file, it will instead download the community version from during staging. In addition to issues related to using a version at end of life (no security updates, etc.), the additional download will slow down staging and adds a dependency on an external site affecting reliability.

What you should do

If your app is still using v0.10 or v0.12, start thinking about migrating it to v4 or (preferably) v6. Specifying a Node.js major version in your app’s package.json file is also a great way to eliminate any surprises as the buildpack evolves. For example:

"engines": {
"node": "4.x"

Specifying the major version of 4 keeps your app on the v4 release where there will be minimal breaking changes, but allows it to pick up new minor versions every time the app is restaged.

More stories
May 3, 2019

Kubernetes Tutorials: 5 Ways to Get You Building Fast

Ready to start working with Kubernetes? Want to build your Kubernetes skills? The five tutorials in this post will teach you everything you need to know about how to manage your containerized apps with Kubernetes.

Continue reading

May 3, 2019

Using Portworx to Deploy and Manage an HA MySQL Cluster on IBM Cloud Kubernetes Service

This tutorial is a walkthrough of the steps involved in deploying and managing a highly available MySQL cluster on IBM Cloud Kubernetes Service.

Continue reading

May 2, 2019

Kubernetes v1.14.1 Now Available in IBM Cloud Kubernetes Service

We are excited to announce the availability of Kubernetes v1.14.1 for your clusters that are running in IBM Cloud Kubernetes Service. IBM Cloud Kubernetes Service continues to be the first public managed Kubernetes service to support the latest upstream versions from the community.

Continue reading