6.17.1

Latest release in branch 6.x
Released 7 years ago (April 03, 2019)

Software Node.js
Branch 6.x
Status LTS
End of life
End of bug fixes April 30, 2018
End of security fixes April 30, 2019
First official release version 6.0.0
First official release date 9 years ago (April 26, 2016)
Release notes https://github.com/nodejs/node/releases/tag/v6.17.1
Source code https://github.com/nodejs/node/tree/v6.17.1
Documentation https://nodejs.org/dist/latest-v6.x/docs/api/
Download https://nodejs.org/download/release/latest-v6.x/
Node.js 6.x Releases View 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

Version Release date npm version
6.17.1 7 years ago
(April 03, 2019)
3.10.10
6.17.0 7 years ago
(February 28, 2019)
3.10.10
6.16.0 7 years ago
(December 26, 2018)
3.10.10
6.15.1 7 years ago
(December 03, 2018)
3.10.10
6.15.0 7 years ago
(November 27, 2018)
3.10.10
6.14.4 7 years ago
(August 15, 2018)
3.10.10
6.14.3 7 years ago
(June 12, 2018)
3.10.10
6.14.2 7 years ago
(April 30, 2018)
3.10.10
6.14.1 8 years ago
(March 29, 2018)
3.10.10
6.14.0 8 years ago
(March 28, 2018)
3.10.10
6.13.1 8 years ago
(March 06, 2018)
3.10.10
6.13.0 8 years ago
(February 10, 2018)
3.10.10
6.12.3 8 years ago
(January 02, 2018)
3.10.10
6.12.2 8 years ago
(December 07, 2017)
3.10.10
6.12.1 8 years ago
(December 05, 2017)
3.10.10
6.12.0 8 years ago
(November 06, 2017)
3.10.10
6.11.5 8 years ago
(October 24, 2017)
3.10.10
6.11.4 8 years ago
(October 03, 2017)
3.10.10
6.11.3 8 years ago
(September 05, 2017)
3.10.10
6.11.2 8 years ago
(August 01, 2017)
3.10.10
6.11.1 8 years ago
(July 10, 2017)
3.10.10
6.11.0 8 years ago
(June 06, 2017)
3.10.10
6.10.3 8 years ago
(May 02, 2017)
3.10.10
6.10.2 9 years ago
(April 04, 2017)
3.10.10
6.10.1 9 years ago
(March 21, 2017)
3.10.10
6.10.0 9 years ago
(February 21, 2017)
3.10.10
6.9.5 9 years ago
(January 31, 2017)
3.10.10
6.9.4 9 years ago
(January 05, 2017)
3.10.10
6.9.3 9 years ago
(January 05, 2017)
3.10.10
6.9.2 9 years ago
(December 06, 2016)
3.10.9
6.9.1 9 years ago
(October 19, 2016)
3.10.8
6.9.0 9 years ago
(October 18, 2016)
3.10.8
6.8.1 9 years ago
(October 14, 2016)
3.10.8
6.8.0 9 years ago
(October 12, 2016)
3.10.8
6.7.0 9 years ago
(September 27, 2016)
3.10.3
6.6.0 9 years ago
(September 14, 2016)
3.10.3
6.5.0 9 years ago
(August 26, 2016)
3.10.3
6.4.0 9 years ago
(August 12, 2016)
3.10.3
6.3.1 9 years ago
(July 21, 2016)
3.10.3
6.3.0 9 years ago
(July 06, 2016)
3.10.3
6.2.2 9 years ago
(June 16, 2016)
3.9.5
6.2.1 9 years ago
(June 02, 2016)
3.9.3
6.2.0 9 years ago
(May 17, 2016)
3.8.9
6.1.0 9 years ago
(May 05, 2016)
3.8.6
6.0.0 9 years ago
(April 26, 2016)
3.8.6