Latest in branch 6.x
6.17.1
Released 03 Apr 2019
(7 years ago)
SoftwareNode.js
Version6.x
StatusLTS
End of life
CodenameBoron
Initial release6.0.0
26 Apr 2016
(10 years ago)
Latest release6.17.1
03 Apr 2019
(7 years ago)
End of bug fixes30 Apr 2018
(Ended 8 years ago)
End of security fixes30 Apr 2019
(Ended 7 years ago)
Release noteshttps://github.com/nodejs/node/releases/tag/v6.17.1
Source codehttps://github.com/nodejs/node/tree/v6.17.1
Documentationhttps://nodejs.org/dist/latest-v6.x/docs/api/
Downloadhttps://nodejs.org/download/release/latest-v6.x/
Node.js 6.x ReleasesView full list

What Is New in Node.js 6?

CategoryChange
New FeaturesV8 5.1 -- 93% ES6 coverage, destructuring, default params, rest/spread
New Featuresnpm 3 bundled
ImprovementsBuffer: new safe constructors (from(), alloc())
Improvementsprocess.release now includes an LTS property
ImprovementsImproved error messages for require() failures
Improvementsnode --inspect (experimental Chrome DevTools)
SecurityOpenSSL 1.0.2h

93% ES6 Coverage -- Modern JavaScript Without Transpiling

Node.js 6 ships V8 5.1 with 93% ES2015 (ES6) coverage. This is the release where writing modern JavaScript on the server without Babel becomes practical for most codebases. The key features available without any flag:

  • Destructuring assignments (const { a, b } = obj)
  • Default parameters (function fn(x = 0) {})
  • Rest parameters and spread operator (...args)
  • Template literals
  • Arrow functions, classes, let/const
  • Map, Set, WeakMap, Symbol
  • Iterators, generators (function*)

Buffer Safety API

Node.js 6 introduces Buffer.from(), Buffer.alloc(), and Buffer.allocUnsafe() as safe replacements for the new Buffer() constructor. The old constructor had a security vulnerability: passing a number created an uninitialized buffer that could expose internal heap memory.

// Old (insecure -- exposes uninitialized memory)
const buf = new Buffer(1024);

// New safe alternatives
const safe = Buffer.alloc(1024);          // zero-filled
const fast = Buffer.allocUnsafe(1024);    // faster, uninitialized
const data = Buffer.from('hello', 'utf8'); // from string/array/buffer

Experimental Chrome DevTools Debug Support

Node.js 6 experimentally supports --inspect, enabling Chrome DevTools to connect and debug Node processes. Previously, debugging required the external node-inspector npm package. This built-in integration eventually becomes the standard debugging workflow in later versions.

FAQ

Is Node.js 6 an LTS release?
Yes. Node.js 6 (codename "Boron") was an LTS release with support until April 2019. Fully end-of-life.

Can I use ES6 modules (import/export) in Node.js 6?
No. ESM support was not available until Node.js 12+. Node.js 6 gives you ES6 syntax via CommonJS (require()). Use Babel if you need ESM syntax for isomorphic code.

Does Node.js 6 support Promises natively?
Yes. Promise has been built into V8 (and available in Node.js) since Node.js 0.12. Node.js 6 further improves performance and spec compliance.

Is destructuring in Node.js 6 as performant as property access?
For most patterns, yes. V8 5.1 optimizes common destructuring patterns. Hot paths that destructure inside tight loops benefited from V8 optimizations in later versions (7+).

What does process.release.lts contain?
It contains the codename string of the LTS release (e.g., "Boron") if running an LTS version, or false if not. Useful for scripts that need to behave differently on LTS vs Current releases.

Releases In Branch 6.x

VersionRelease datenpm version
6.17.103 Apr 2019
(7 years ago)
3.10.10
6.17.028 Feb 2019
(7 years ago)
3.10.10
6.16.026 Dec 2018
(7 years ago)
3.10.10
6.15.103 Dec 2018
(7 years ago)
3.10.10
6.15.027 Nov 2018
(7 years ago)
3.10.10
6.14.415 Aug 2018
(7 years ago)
3.10.10
6.14.312 Jun 2018
(7 years ago)
3.10.10
6.14.230 Apr 2018
(8 years ago)
3.10.10
6.14.129 Mar 2018
(8 years ago)
3.10.10
6.14.028 Mar 2018
(8 years ago)
3.10.10
6.13.106 Mar 2018
(8 years ago)
3.10.10
6.13.010 Feb 2018
(8 years ago)
3.10.10
6.12.302 Jan 2018
(8 years ago)
3.10.10
6.12.207 Dec 2017
(8 years ago)
3.10.10
6.12.105 Dec 2017
(8 years ago)
3.10.10
6.12.006 Nov 2017
(8 years ago)
3.10.10
6.11.524 Oct 2017
(8 years ago)
3.10.10
6.11.403 Oct 2017
(8 years ago)
3.10.10
6.11.305 Sep 2017
(8 years ago)
3.10.10
6.11.201 Aug 2017
(8 years ago)
3.10.10
6.11.110 Jul 2017
(8 years ago)
3.10.10
6.11.006 Jun 2017
(8 years ago)
3.10.10
6.10.302 May 2017
(9 years ago)
3.10.10
6.10.204 Apr 2017
(9 years ago)
3.10.10
6.10.121 Mar 2017
(9 years ago)
3.10.10
6.10.021 Feb 2017
(9 years ago)
3.10.10
6.9.531 Jan 2017
(9 years ago)
3.10.10
6.9.405 Jan 2017
(9 years ago)
3.10.10
6.9.305 Jan 2017
(9 years ago)
3.10.10
6.9.206 Dec 2016
(9 years ago)
3.10.9
6.9.119 Oct 2016
(9 years ago)
3.10.8
6.9.018 Oct 2016
(9 years ago)
3.10.8
6.8.114 Oct 2016
(9 years ago)
3.10.8
6.8.012 Oct 2016
(9 years ago)
3.10.8
6.7.027 Sep 2016
(9 years ago)
3.10.3
6.6.014 Sep 2016
(9 years ago)
3.10.3
6.5.026 Aug 2016
(9 years ago)
3.10.3
6.4.012 Aug 2016
(9 years ago)
3.10.3
6.3.121 Jul 2016
(9 years ago)
3.10.3
6.3.006 Jul 2016
(9 years ago)
3.10.3
6.2.216 Jun 2016
(9 years ago)
3.9.5
6.2.102 Jun 2016
(9 years ago)
3.9.3
6.2.017 May 2016
(10 years ago)
3.8.9
6.1.005 May 2016
(10 years ago)
3.8.6
6.0.026 Apr 2016
(10 years ago)
3.8.6