Skip to content
thefourtheye edited this page Jun 10, 2015 · 17 revisions

Breaking Changes Between io.js Versions

3.0.0 from 2.x

Buffer.concat changes

Till 2.x, if Buffer.concat is invoked with a single element array, then it will simply return the first element from it. But, starting from 3.0.0, irrespective of the number of elements in the array, a new Buffer object will be created and returned.

Refs: #1891, #1937, f4f16bf

2.0.0 from 1.x

V8 Upgrade

The upgrade from V8 4.1 to 4.2 will require a recompile of all native add-ons. (The API surface area has not changed significantly, so most add-ons will "just work" after a recompile.)

Consistent Cross-platform os.tmpdir() Behavior

os.tmpdir() has been changed to never return a trailing slash regardless of the host platform.

Refs: #747 / bb97b70

Clone this wiki locally