Table of Contents
- Breaking changes between v6 LTS and v8 LTS
- By Subsystem
- assert
- buffer
- child_process
- cluster
- console
- crypto
- debugger
- dgram
- dns
- domain
- events
- fs
- http
- inspector
- intl
- linklist
- module
- net
- os
- process
- punycode
- querystring
- readline
- repl
- stream
- string_decoder
- tls
- tty
- url
- util
- zlib
- Native Modules (Addons)
- General Node
- Dependencies
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Breaking changes between v6 LTS and v8 LTS
Authors note: This is highly unfinished copy from shortly after Node 8 became Current.
When editing this page please be as detailed as possible.
For breaking changes in other versions, please see our list of breaking changes per version.
Note to readers: #
is synonymous with .prototype.
, and indicates the property is available on instances of that class.
Example: Object#toString()
is equivalent to Object.prototype.toString()
.
By Subsystem
assert
[Docs]
assert.AssertException
is now aclass
, resulting in an updated error message when invoked without thenew
keyword.- Previously, invoking without
new
would result in a undescriptiveTypeError: Cannot assign to read only property 'name' of function ...
error. - Refs: [
e48d58b8b2
], #12651
- Previously, invoking without
- When
assert.fail()
is provided a single argument, it now interprets it as themessage
parameter.- This behavior is equivalent to
assert.fail(undefined, undefined, <first argument>)
. - Refs: [
758b8b6e5d
], #12293
- This behavior is equivalent to
- The
deepEqual
anddeepStrictEqual
functions now check equality on the contents ofSet
s andMap
s.- Previously, these functions did not deeply compare
Set
s orMap
s and would return true when comparing any two regardless of their contents. - Refs: [
6481c93aef
], #12142
- Previously, these functions did not deeply compare
- !!!!!!!!! [
efec14a7d1
] - (SEMVER-MAJOR) assert: enforce type check in deepStrictEqual (Joyee Cheung) #10282 - !!!!!!!!! [
562cf5a81c
] - (SEMVER-MAJOR) assert: fix premature deep strict comparison (Joyee Cheung) #11128 assert.throws(fn)
has a slightly updated error message when the provided function does not throw.- The error message no longer has two periods.
- Refs: [
0af41834f1
], #11254
buffer
[Docs]
- !!!!!! [
d2d32ea5a2
] - (SEMVER-MAJOR) buffer: add pending deprecation warning (James M Snell) #11968 - The memory allocated by
new Buffer(Number)
is now zero-filled by default.- Refs: [
7eb1b4658e
], #12141
- Refs: [
Buffer#write()
,Buffer#fill()
andBuffer.from()
now ignore invalidhex
strings.- Previously:
Buffer.from('abx', 'hex')
caused:TypeError: Invalid hex string
. - Now:
Buffer.from('abx', 'hex')
results in:<Buffer ab>
. - Refs: [
682573c11d
], #12012
- Previously:
Buffer#toString()
now throws an error if an unknown encoding is passed.buf.toString(0, 1, 2)
now throws:TypeError: Unknown encoding: 0
.- If
undefined
is passed or implied, the behavior is unchanged ad still defaults toutf8
. - Refs: [
9a0829d728
], #11120
- All
Buffer
methods that would accept being passed aBuffer
may now also be passedUint8Array
instead.- Error messages have been updated to reflect this change in behavior.
- Refs: [
beca3244e2
], #10236
- The error message for oversized buffers is now more consistent.
- Now:
RangeError: "size" argument must not be larger than <buffer.kMaxLength>
- Refs: [
3d353c749c
], #10152
- Now:
Buffer.byteLength()
now throws if the input is not a String, Buffer, or ArrayBuffer.- Refs: [
96b501d338
], #8946
- Refs: [
- Constructing Buffers via
Buffer()
without usingnew
is now deprecated.- More info is avaliable on the new Buffer construction APIs.
- Refs: [
f2fe5583c4
], #8169
Buffer#toLocaleString()
is now an alias toBuffer#toString()
.- Refs: [
9cee8b1b62
], #8148
- Refs: [
Buffer.allocUnsafe()
now throws on negative input.- Refs: [
8f90dcc1b8
], #7079
- Refs: [
child_process
[Docs]
- !!!!!!!! [
97a77288ce
] - (SEMVER-MAJOR) child_process: improve ChildProcess validation (cjihrig) #12348 - !!!!!!!! [
d75fdd96aa
] - (SEMVER-MAJOR) child_process: improve killSignal validations (Sakthipriyan Vairamani (thefourtheye)) #10423 - The
stdio
option forchild_process.fork()
now has a consistent error message withchild_process.spawn()
.- Now:
TypeError: Incorrect value of stdio option: <String>
. - Refs: [
4cafa60c99
] - (SEMVER-MAJOR) child_process: align fork/spawn stdio error msg (Sam Roberts) #11044
- Now:
- !!!!! [
3268863ebc
] - (SEMVER-MAJOR) child_process: add string shortcut for fork stdio (Javis Sullivan) #10866 - The
maxBuffer
option forchild_process
functions can now be set to any positive number, includingInfinity
.- Refs: [
8f3ff98f0e
], #10769
- All
child_process
methods that would accept being passed aBuffer
may now also be passedUint8Array
instead.- Error messages have been updated to reflect this change in behavior.
- Refs: [
627ecee9ed
], #10653
- Refs: [
- !!!!! [
fc7b0dda85
] - (SEMVER-MAJOR) child_process: improve input validation (cjihrig) #8312 - Errors from
exec{File}Sync()
will no longer sometimes have extra newlines.- Refs: [
49d1c366d8
], #9343
- Refs: [
child_process.fork()
andchild_process.exec()
now do stricter argument validation.- Refs: [
0548e5d12a
], #7399
- Refs: [
child_process.spawn()
now spawns processes with the/d
flag on Windows.- This turns off Windows
AutoRun
functionality by default for spawned processes. - Refs: [
b90f3da9de
], #8063
- This turns off Windows
cluster
[Docs]
- The unfortunately named
worker.suicide
property has been deprecated in favor ofworker.exitedAfterDisconnect
.- Refs: [
f44b18f010
], #3747
- Refs: [
console
- The console will no longer throw any stream error events by default.
- This bring behavior closer in line to browsers.
- For example, the following now works as expected:
node -e "console.log(1);console.log(2);" | head -1
. - Refs: [
f18e08d820
], #9744
crypto
[Docs]
- [
a8f460f12d
] - (SEMVER-MAJOR) crypto: support all ArrayBufferView types (Timothy Gu) #12223 - [
0db49fef41
] - (SEMVER-MAJOR) crypto: support Uint8Array prime in createDH (Anna Henningsen) #11983 - [
443691a5ae
] - (SEMVER-MAJOR) crypto: fix default encoding of LazyTransform (Lukas Möller) #8611 crypto.pbkdf2{Sync}()
will now throw an error if thedigest
argument isundefined
.- Previously, this produced a deprecation warning.
- Refs: [
9f74184e98
], #11305
- [
e90f38270c
] - (SEMVER-MAJOR) crypto: throw error in CipherBase::SetAutoPadding (Kirill Fomichev) #9405 - [
1ef401ce92
] - (SEMVER-MAJOR) crypto: use check macros in CipherBase::SetAuthTag (Kirill Fomichev) #9395
- The
ECDH
’hybrid’
format option has been undocumented.- (Hybrid keys are illegal in X.509 certificates.)
- Refs: [
f4aa2c2c93
], #4956
debugger
[Docs]
- [
7599b0ef9d
] - (SEMVER-MAJOR) debug: activate inspector with_debugProcess
(Eugene Ostroukhov) #11431 - The now-obsolete
_debug_agent
module has been removed.- Refs: [
549e81bfa1
], #12582
- Refs: [
- The debugger now once again listens on
127.0.0.1
by default.- Faulty behaviour causing the debugger to listen on
0.0.0.0
had been introduced in 0.11.13. - Refs: [
8e7cbe2546
], #8106
- Faulty behaviour causing the debugger to listen on
dgram
[Docs]
- [
e912c67d24
] - (SEMVER-MAJOR) dgram: convert to using internal/errors (Michael Dawson) #12926 - [
2dc1053b0a
] - (SEMVER-MAJOR) dgram: support Uint8Array input to send() (Anna Henningsen) #11985 - The
address
argument todgram.Socket#send()
is now optional and does additional validation.- Now if
address
is not aString
the following error will occur:TypeError: Invalid arguments: address must be a nonempty string or falsy
. - Refs: [
32679c73c1
], #10473
- Now if
- All internal checks in
dgram
now use strict equality (type validation).- Most of these were checks for constants of some form.
- Refs: [
e9b6fbbf17
], #8011
- The remaining one-line trace of
unix_dgram
has been removed.- Unix datagram support was removed 5 years ago.
- Refs: [
6a3dbdacd6
], #8088
dns
- [
5587ff1ccd
] - (SEMVER-MAJOR) dns: handle implicit bind DNS errors (cjihrig) #11036
domain
[Docs]
- The already-deprecated
Domain#dispose()
now has a custom deprecation message.- Refs: [
3b8ec68a3a
], #7053
- Refs: [
events
[Docs]
- The error message for error events with no listeners has been updated.
- Previously:
Error: Uncaught, unspecified "error" event
. - Now:
Error: Unhandled "error" event
. - Refs: [
2141d37452
], #10387
- Previously:
- The setter for
events.defaultMaxListeners
now does value validation and must be a positive number (includingInfinity
).- The new validation error is as follows:
TypeError: defaultMaxListeners must be a positive number
. - Refs: [
221b03ad20
], #11938
- The new validation error is as follows:
- The potential event listeners memory leak warning is now named
MaxListenersExceededWarning
.- Refs: [
983775d457
], #8341
- Refs: [
EventEmitter#listeners()
not longer returns theonce
function wrappers for listeners registered viaEventEmitter#once()
.- Refs: [
b7a8a691b4
], #6881
- Refs: [
fs
[Docs]
- [
4cb5f3daa3
] - (SEMVER-MAJOR) fs: throw on invalid callbacks for async functions (Sakthipriyan Vairamani (thefourtheye)) #12562 fs.utimes()
will now throw an error if theatime
ormtime
arguments areNaN
orInfinity
.- Refs: [
eed87b1637
], #11919
- Refs: [
- [
71097744b2
] - (SEMVER-MAJOR) fs: more realpath*() optimizations (Brian White) #11665 - [
6a5ab5d550
] - (SEMVER-MAJOR) fs: include more fs.stat*() optimizations (Brian White) #11665 - [
1c3df96570
] - (SEMVER-MAJOR) fs: replace regexp with function (Brian White) #10789 - [
34c9fc2e4e
] - (SEMVER-MAJOR) fs: avoid multiple conversions to string (Brian White) #10789 - [
21b2440176
] - (SEMVER-MAJOR) fs: avoid recompilation of closure (Brian White) #10789 fs.SyncWriteStream
has been issued a runtime deprecation.- The deprecation code for this API is
DEP0061
. - Previously, this API was docs-deprecated.
- Refs: [
7a55e34ef4
], #10467
- The deprecation code for this API is
- [
b1fc7745f2
] - (SEMVER-MAJOR) fs: avoid emitting error EBADF for double close (Matteo Collina) #11225 - The "string interface" for
fs.read()
has been removed.- Previously worked, but was deprecated:
fs.read(fd, length, position, encoding, callback)
- Refs: [
3c2a9361ff
], #9683
- Previously worked, but was deprecated:
fs.readFile(path, encoding, (err, data) => {})
will no longer return withdata
as aBuffer
if anerr
was returned from an internal.toString()
failure.- Refs: [
f3cf8e9808
], #9670
- Refs: [
- Support for re-evaluating the
fs
module has now been dropped entirely.- This is a necessary step in improving the maintainability of Node.js core.
- (The graceful-fs module will need to be updated to v4.x in all dependency trees.)
- Refs: [
49ef3ae90a
], #6413
fs._stringToFlags()
has been removed and moved tolib/internal
.- Refs: [
7f7d1d385d
], #7162
- Refs: [
- Options object processing has been refactored for any
fs
methods that use options objects.- The error message for when an options argument is not an object has changed slightly.
- Refs: [
169f485289
], #7165
Previously: "options" argument must be a string or an object
Now: "options" must be a string or an object
- The
’stop’
event emitted fromfs.FSWatcher
is now asynchronously emitted.- This prevents a potential infinite loop if stop is called synchronously after a listener is added.
- Refs: [
21124ba23a
], #8524
- Calling async
fs
methods without a callback is now deprecated.- Refs: [
f8f283b8f3
], #7897, [9359de9dd2
], #7168
- Refs: [
- File Descriptors are now validated more strictly.
- They must be valid unsigned 32-bit integers.
- Refs: [
c86c1eeab5
], #2498
http
[Docs]
http.ClientRequest
(used byhttp.request()
) now does additionaloptions.host{name}
validation.undefined
andnull
still default to'localhost'
.- Now, other non-string values cause:
TypeError: "options.hostname" must either be a string, undefined or null
. - Refs: [
85a4e25775
], #12494
- !!!! [
90403dd1d0
], #11567 http.IncomingMessage#headers.cookie
now concatenates multiple cookie headers with semicolons (;
) rather than commas (,
).- Previously:
'foo=bar, baz=boo'
. - Now:
'foo=bar; baz=boo'
. - Refs: [
6b2cef65c9
], #11259
- Previously:
- [
d3480776c7
] - (SEMVER-MAJOR) http: concatenate outgoing Cookie headers (Brian White) #11259 - The widely-used but private
http.ServerResponse
properties_headers
,_headerNames
, &_renderHeaders
have been docs-deprecated.- The deprecation code for
_headers
and_headerNames
isDEP0066
, and the code for_renderHeaders
isDEP0067
. - More information can be found under the deprecation codes.
- Refs: [
8243ca0e0e
], #10941
- The deprecation code for
http.ServerResponse#writeHeader()
has been docs-deprecated with a code ofDEP0063
.- It is an alias to
ServerResponse#writeHead()
. - Refs: [
fb71ba4921
], #11355
- It is an alias to
http.ServerResponse#writeHead()
now reports a non-number-coerced status code in the error message if the status code is not valid.- Refs: [
a4bb9fdb89
], #11221
- Refs: [
- [
fc7025c9c0
] - (SEMVER-MAJOR) http: throw an error for unexpected agent values (brad-decker) #10053 - [
176cdc2823
] - (SEMVER-MAJOR) http: misc optimizations and style fixes (Brian White) #10558 - [
73d9445782
] - (SEMVER-MAJOR) http: try to avoid lowercasing incoming headers (Brian White) #10558 - [
c77ed327d9
] - (SEMVER-MAJOR) http: avoid using object for removed header status (Brian White) #10558 - [
c00e4adbb4
] - (SEMVER-MAJOR) http: optimize header storage and matching (Brian White) #10558 - [
ec8910bcea
] - (SEMVER-MAJOR) http: check statusCode early (Brian White) #10558 - [
a73ab9de0d
] - (SEMVER-MAJOR) http: remove pointless use of arguments (cjihrig) #10664 - [
df3978421b
] - (SEMVER-MAJOR) http: verify client method is a string (Luca Maraschi) #10111
- The long-deprecated legacy
http.createClient()
interface has been removed.- Refs: [
2cc7fa5e7d
], #8104
- Refs: [
- The error message for invalid
trailer
s has been corrected.- Refs: [
31bef6b704
], #6308
- Refs: [
Previously: The header content contains invalid characters
Now: The trailer content contains invalid characters
inspector
--inspect
now attaches toprocess.debugPort
by default.- Refs: [
9f1f7e2a34
], #8386
- Refs: [
intl
- The V8-specific
intl
object functionv8BreakIterator()
has been deprecated.- Refs: [
9ad3082b1c
], #8908
- Refs: [
linklist
- [
b40dab553f
] - (SEMVER-MAJOR) linkedlist: remove unused methods (Brian White) #11726 - [
84a23391f6
] - (SEMVER-MAJOR) linkedlist: remove public module (Brian White) #12113
module
[Docs]
- [
e32425bfcd
] - (SEMVER-MAJOR) module: avoid JSON.stringify() for cache key (Brian White) #10789 - [
403b89e72b
] - (SEMVER-MAJOR) module: avoid hasOwnProperty() (Brian White) #10789 - [
298a40e04e
] - (SEMVER-MAJOR) module: use "clean" objects (Brian White) #10789
- The previously deprecated legacy
module.requireRepl()
function has been removed.- Refs: [
d582193613
], #8575
- Refs: [
net
[Docs]
net.Server#address()
now propagates internalgetsockname()
errors.- This means that
net.Server#address()
could now throw any libuv error that_handle.getsockname()
might return. - Refs: [
cf980b0311
], #12871
- This means that
net.Server#listen()
has been refactored and invalid option errors may differ slightly.- Refs: [
fd6af98c2d
], #4039
- Refs: [
os
[Docs]
os.tmpDir()
has been deprecated in favor ofos.tmpdir()
, which was added as a replacement 3 years ago.- Refs: [
5e5ec2cd1e
], #6739
- Refs: [
process
[Docs]
- [
03e89b3ff2
] - (SEMVER-MAJOR) process: add --redirect-warnings command line argument (James M Snell) #10116 - [
5e1f32fd94
] - (SEMVER-MAJOR) process: add optional code to warnings + type checking (James M Snell) #10116 - [
a647d82f83
] - (SEMVER-MAJOR) process: improve process.hrtime (Joyee Cheung) #10764
- The previously deprecated
process.EventEmitter
has been removed.- Was deprecated in v6.0.0.
- Refs: [
62b544290a
], #6862
- The
unhandledRejection
process event default handler now emits warnings for unhandled Promise rejections.- This can be overridden by listening to the
’unhandledRejection’
process event. - In the future as noted by the deprecation, unhandled Promises will terminate the node process with a non-zero exit code. (Likely on garbage collection.)
- Refs: [
ecf474ceba
], #8217, [07dbf7313d
], #8217
- This can be overridden by listening to the
punycode
[Docs]
- The punycode module is now deprecated in the docs, it’s functionality being replaced internally by ICU.
- Refs: [
29e49fc286
], #7941
- Refs: [
querystring
- [
4e259b21a3
] - (SEMVER-MAJOR) querystring, url: handle repeated sep in search (Daijiro Wachi) #10967
readline
[Docs]
- Readline completions now autocompletes as much as possible on
TAB
, only showing the list of results when necessary.- Refs: [
1a9e247c79
], #7754
- Refs: [
- The following deprecated readline functions have been removed:
codePointAt()
,getStringWidth()
,isFullWidthCodePoint()
,stripVTControlCharacters()
.- These were previously undocumented, and then deprecated in v6.0.0.
- Refs: [
8a87b29034
], #6423
repl
[Docs]
- [
39d9afe279
] - (SEMVER-MAJOR) repl: refactorLineParser
implementation (Blake Embrey) #6171 - The
replMode
optionrepl.REPL_MODE_MAGIC
has been docs-deprecated, with a code ofDEP00XX
.- The behavior is now equivalent to
repl.REPL_MODE_SLOPPY
. - This also applies for the environment variable:
NODE_REPL_MODE=magic
. - Refs: [
3f27f02da0
], #11599
- The behavior is now equivalent to
- [
007386ee81
] - (SEMVER-MAJOR) repl: remove workaround for function redefinition (Michaël Zasso) #9618
- The internally unused function
REPL#convertToContext()
has been runtime-deprecated.- Refs: [
488d28d391
], #7829
- Refs: [
stream
[Docs]
- [
f8c617dbe2
] - (SEMVER-MAJOR) stream: improve multiple callback error message (cjihrig) #12520 - [
330c8d743e
] - (SEMVER-MAJOR) stream: adddestroy
and_destroy
methods. (Matteo Collina) #12925 - [
202b07f414
] - (SEMVER-MAJOR) stream: fix comment for sync flag of ReadableState (Wang Xinyong) #11139 - [
1004b9b4ad
] - (SEMVER-MAJOR) stream: remove unusedranOut
from ReadableState (Wang Xinyong) #11139 - [
03b9f6fe26
] - (SEMVER-MAJOR) stream: avoid instanceof (Brian White) #10558 - [
a3539ae3be
] - (SEMVER-MAJOR) stream: use plain objects for write/corked reqs (Brian White) #10558 - Error messages for unimplemented stream methods have been improved.
- Refs: [
2f05af4c06
], #8801, [9983af0347
], #7671
- Refs: [
Previously: not implemented
Now: _read() is not implemented
, _transform() is not implemented
, _write() is not implemented
TransformStream#_flush()
now accepts a seconddata
argument:_flush(err, data)
.- This now maintains consistency with other Transform Stream methods as hinted at in the docs.
- Refs: [
0cd0118334
], #3708
string_decoder
- [
24ef1e6775
] - (SEMVER-MAJOR) string_decoder: align UTF-8 handling with V8 (Brian White) #9618
tls
- [
348cc80a3c
] - (SEMVER-MAJOR) tls: make rejectUnauthorized default to true (ghaiklor) #5923 - [
a2ae08999b
] - (SEMVER-MAJOR) tls: runtime deprecation for tls.createSecurePair() (James M Snell) #11349 - [
d523eb9c40
] - (SEMVER-MAJOR) tls: use emitWarning() for dhparam < 2048 bits (James M Snell) #11447
tty
- The
NODE_TTY_UNSAFE_ASYNC
environment variable detection has been removed.- This was previously a stop-gap for a theoretical behavior change.
- Refs: [
1b63fa1096
], #12057
url
[Docs]
url.format()
now provides a correct error message if it is not called with aurlObject
.- Previously:
TypeError: undefined
, or other broken variants. - Now:
TypeError: Parameter "urlObj" must be an object, not <type>
. - Refs: [
78182458e6
], #11162
- Previously:
url.parse()
no longer truncates long hostnames.- Refs: [
c65d55f087
], #9292
- Refs: [
url.format()
now returns validfile://
urls.- Refs: [
336b027411
], #7234
- Refs: [
util
util.inspect()
now showsv8::External
C++ objects as[External]
, rather than{}
.- Refs: [
3cc3e099be
], #12151
- Refs: [
util.inspect()
now shows deeply nested Arrays as[Array]
, rather than[Object]
.- Refs: [
4a5a9445b5
], #12046
- Refs: [
util.inspect()
now shows enumerable Symbol keys by default.- This can be configured by setting
util.inspect.defaultOptions.showHidden
. - Refs: [
5bfd13b81e
], #9726
- This can be configured by setting
- The
%j
(JSON
) specifier conversion inutil.format()
now propagates non-circular-reference errors.- Refs: [
455e6f1dd8
], #11708
- Refs: [
util.inspect
has [ec2f098156
] - (SEMVER-MAJOR) util: change sparse arrays inspection format (Alexey Orlenko) #11576- [
aab0d202f8
] - (SEMVER-MAJOR) util: convert inspect.styles and inspect.colors to prototype-less objects (Nemanja Stojanovic) #11624 - [
4151ab398b
] - (SEMVER-MAJOR) util: add createClassWrapper to internal/util (James M Snell) #11391 util.inspect()
now has improved display for Async Functions and Generators.- Previously, either was formatted as
[Function]
. - Now, Async Functions:
[AsyncFunction]
, Generators:[GeneratorFunction]
. - Refs: [
f65aa08b52
], #11210
- Previously, either was formatted as
zlib
[Docs]
- All of the Zlib TransformStream options now do stricter validation.
- Options no longer conflate
0
withundefined
. - Numeric options no longer accept
NaN
orInfinity
. - Refs: [
9e4660b518
], #13098
- Options no longer conflate
- [
2ced07ccaf
] - (SEMVER-MAJOR) zlib: support all ArrayBufferView types (Timothy Gu) #12223 - [
91383e47fd
] - (SEMVER-MAJOR) zlib: support Uint8Array in convenience methods (Timothy Gu) #12001 - [
b514bd231e
] - (SEMVER-MAJOR) zlib: use RangeError/TypeError consistently (James M Snell) #11391 - [
8e69f7e385
] - (SEMVER-MAJOR) zlib: refactor zlib module (James M Snell) #11391 - [
dd928b04fc
] - (SEMVER-MAJOR) zlib: be strict about what strategies are accepted (Rich Trott) #10934
- zlib constants have been moved to
zlib.constants
.- The constants are still available directly off of the zlib object, but are now docs-deprecated.
- Refs: [
197a465280
], #7203
Native Modules (Addons)
- The Native Module version mismatch error has been updated to be far more clear.
- Refs: [
1fda657cac
], #8391
- Refs: [
Previously:
Module version mismatch. Expected 51, got 48.
Now:
The module '<module>'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 48. This version of Node.js requires
NODE_MODULE_VERSION 51. Please try re-compiling or Re-installing
the module (for instance, using `npm rebuild` or `npm install`).
- The
NODE_MODULE_VERSION
is now51
.- Refs: [
96933df2ff
], #8808
- Refs: [
General Node
- Benchmarking has been completely overhauled.
- Anything previously relying on
/benchmarks/
will probably no longer work. - Refs: #7094
- Anything previously relying on
--
- libc++ is now always necessary for building on macOS.
- Refs: [
b032f1cfc3
], #8317
- Refs: [
--
- The Windows exit code for OS version mismatch is now the appropriate
ERROR_EXE_MACHINE_TYPE_MISMATCH
.- Refs: [
a3c5567eb4
], #8204
- Refs: [
Dependencies
- V8 has been upgraded to 5.4.500.36 + floating patches.
- Refs: deps/v8,
90efff6000
], #8317
- Refs: deps/v8,
-
[
bf5c309b5e
] - (SEMVER-MAJOR) build: fix V8 build on FreeBSD (Michaël Zasso) #12784 -
[
a1028d5e3e
] - (SEMVER-MAJOR) build: remove cares headers from tarball (Gibson Fahnestock) #10283 -
[
d08836003c
] - (SEMVER-MAJOR) build: build an x64 build by default on Windows (Nikolai Vavilov) #11537 -
[
92ed1ab450
] - (SEMVER-MAJOR) build: change nosign flag to sign and flips logic (Joe Doyle) #10156 -
[
c0d858f8bb
] - (SEMVER-MAJOR) deps: upgrade npm beta to 5.0.0-beta.56 (Kat Marchán) #12936 -
[
6690415696
] - (SEMVER-MAJOR) deps: cherry-pick a927f81c7 from V8 upstream (Anna Henningsen) #11752 -
[
60d1aac8d2
] - (SEMVER-MAJOR) deps: update V8 to 5.8.283.38 (Michaël Zasso) #12784 -
[
b7608ac707
] - (SEMVER-MAJOR) deps: cherry-pick node-inspect#43 (Ali Ijaz Sheikh) #11441 -
[
9c9e2d7f4a
] - (SEMVER-MAJOR) deps: backport 3297130 from upstream V8 (Michaël Zasso) #11752 -
[
07088e6fc1
] - (SEMVER-MAJOR) deps: backport 39642fa from upstream V8 (Michaël Zasso) #11752 -
[
8394b05e20
] - (SEMVER-MAJOR) deps: cherry-pick c5c570f from upstream V8 (Michaël Zasso) #11752 -
[
fcc58bf0da
] - (SEMVER-MAJOR) deps: cherry-pick a927f81c7 from V8 upstream (Anna Henningsen) #11752 -
[
83bf2975ec
] - (SEMVER-MAJOR) deps: cherry-pick V8 ValueSerializer changes (Anna Henningsen) #11752 -
[
c459d8ea5d
] - (SEMVER-MAJOR) deps: update V8 to 5.7.492.69 (Michaël Zasso) #11752 -
[
7c0c7baff3
] - (SEMVER-MAJOR) deps: fix gyp configuration for v8-inspector (Michaël Zasso) #10992 -
[
00a2aa0af5
] - (SEMVER-MAJOR) deps: fix gyp build configuration for Windows (Michaël Zasso) #10992 -
[
b30ec59855
] - (SEMVER-MAJOR) deps: switch to v8_inspector in V8 (Ali Ijaz Sheikh) #10992 -
[
7a77daf243
] - (SEMVER-MAJOR) deps: update V8 to 5.6.326.55 (Michaël Zasso) #10992 -
[
c9e5178f3c
] - (SEMVER-MAJOR) deps: hide zlib internal symbols (Sam Roberts) #11082 -
[
2739185b79
] - (SEMVER-MAJOR) deps: update V8 to 5.5.372.40 (Michaël Zasso) #9618 -
[
eb535c5154
] - (SEMVER-MAJOR) doc: deprecate vm.runInDebugContext (Josh Gavant) #12243 -
[
75c471a026
] - (SEMVER-MAJOR) doc: drop PPC BE from supported platforms (Michael Dawson) #12309 -
[
86996c5838
] - (SEMVER-MAJOR) doc: deprecate private http properties (Brian White) #10941 -
[
3d8379ae60
] - (SEMVER-MAJOR) doc: improve assert.md regarding ECMAScript terms (Joyee Cheung) #11128 -
[
d708700c68
] - (SEMVER-MAJOR) doc: deprecate buffer's parent property (Sakthipriyan Vairamani (thefourtheye)) #8332 -
[
03d440e3ce
] - (SEMVER-MAJOR) doc: document buffer.buffer property (Sakthipriyan Vairamani (thefourtheye)) #8332 -
[
f0b702555a
] - (SEMVER-MAJOR) errors: use lazy assert to avoid issues on startup (James M Snell) #11300 -
[
251e5ed8ee
] - (SEMVER-MAJOR) errors: assign error code to bootstrap_node created error (James M Snell) #11298 -
[
e75bc87d22
] - (SEMVER-MAJOR) errors: port internal/process errors to internal/errors (James M Snell) #11294 -
[
76327613af
] - (SEMVER-MAJOR) errors, child_process: migrate to using internal/errors (James M Snell) #11300 -
[
1c834e78ff
] - (SEMVER-MAJOR) errors,test: migrating error to internal/errors (larissayvette) #11505 -
[
90476ac6ee
] - (SEMVER-MAJOR) lib: remove_debugger.js
(Ben Noordhuis) #12495 -
[
3209a8ebf3
] - (SEMVER-MAJOR) lib: ensure --check flag works for piped-in code (Teddy Katz) #11689 -
[
c67207731f
] - (SEMVER-MAJOR) lib: simplifyModule._resolveLookupPaths
(Brian White) #10789 -
[
28dc848e70
] - (SEMVER-MAJOR) lib: improve method of function calling (Brian White) #10789 -
[
a851b868c0
] - (SEMVER-MAJOR) lib: remove sources of permanent deopts (Brian White) #10789 -
[
62e96096fa
] - (SEMVER-MAJOR) lib: more consistent use of module.exports = {} model (James M Snell) #11406 -
[
88c3f57cc3
] - (SEMVER-MAJOR) lib: refactor internal/socket_list (James M Snell) #11406 -
[
f04387e9f2
] - (SEMVER-MAJOR) lib: refactor internal/freelist (James M Snell) #11406 -
[
d61a511728
] - (SEMVER-MAJOR) lib: refactor internal/linkedlist (James M Snell) #11406 -
[
2ba4eeadbb
] - (SEMVER-MAJOR) lib: remove simd support from util.format() (Ben Noordhuis) #11346 -
[
dfdd911e17
] - (SEMVER-MAJOR) lib: deprecate node --debug at runtime (Josh Gavant) #10970 -
[
5de3cf099c
] - (SEMVER-MAJOR) lib: add static identifier codes for all deprecations (James M Snell) #10116 -
[
4775942957
] - (SEMVER-MAJOR) lib, test: fix server.listen error message (Joyee Cheung) #11693 -
[
caf9ae748b
] - (SEMVER-MAJOR) lib,src: make constants not inherit from Object (Sakthipriyan Vairamani (thefourtheye)) #10458 -
[
e0b076a949
] - (SEMVER-MAJOR) lib,src,test: update --debug/debug-brk comments (Ben Noordhuis) #12495 -
[
5b63fabfd8
] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 55 (Michaël Zasso) #12784 -
[
a16b570f8c
] - (SEMVER-MAJOR) src: add --pending-deprecation and NODE_PENDING_DEPRECATION (James M Snell) #11968 -
[
faa447b256
] - (SEMVER-MAJOR) src: allow ArrayBufferView as instance of Buffer (Timothy Gu) #12223 -
[
47f8f7462f
] - (SEMVER-MAJOR) src: remove support for --debug (Jan Krems) #12197 -
[
a5f91ab230
] - (SEMVER-MAJOR) src: throw when -c and -e are used simultaneously (Teddy Katz) #11689 -
[
8a7db9d4b5
] - (SEMVER-MAJOR) src: add --use-bundled-ca --use-openssl-ca check (Daniel Bevenius) #12087 -
[
ed12ea371c
] - (SEMVER-MAJOR) src: update inspector code to match upstream API (Michaël Zasso) #11752 -
[
89d8dc9afd
] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 54 (Michaël Zasso) #11752 -
[
be98f26917
] - (SEMVER-MAJOR) src: exclude node_root_certs when use-def-ca-store (Daniel Bevenius) #11939 -
[
1125c8a814
] - (SEMVER-MAJOR) src: fix typos in node_lttng_provider.h (Benjamin Fleischer) #11723 -
[
aae8f683b4
] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 53 (Michaël Zasso) #10992 -
[
91ab09fe2a
] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 52 (Michaël Zasso) #9618 -
[
334be0feba
] - (SEMVER-MAJOR) src: fix space for module version mismatch error (Yann Pringault) #10606 -
[
45c9ca7fd4
] - (SEMVER-MAJOR) src: remove redundant spawn/spawnSync type checks (cjihrig) #8312 -
[
b374ee8c3d
] - (SEMVER-MAJOR) src: add handle check to spawn_sync (cjihrig) #8312 -
[
3295a7feba
] - (SEMVER-MAJOR) src: allow getting Symbols on process.env (Anna Henningsen) #9631 -
[
1aa595e5bd
] - (SEMVER-MAJOR) src: throw on process.env symbol usage (cjihrig) #9446 -
[
a235ccd168
] - (SEMVER-MAJOR) src,test: debug is now an alias for inspect (Ali Ijaz Sheikh) #11441