Skip to content

2018-04-24, Version 10.0.0 (Current), @jasnell

Compare
Choose a tag to compare
@MylesBorins MylesBorins released this 24 May 15:27
· 21265 commits to main since this release
v10.0.0

Notable Changes

  • Assert
    • Calling assert.fail() with more than one argument is deprecated. [70dcacd710]
    • Calling assert.ok() with no arguments will now throw. [3cd7977a42]
    • Calling assert.ifError() will now throw with any argument other than undefined or null. Previously the method would throw with any truthy value. [e65a6e81ef]
    • The assert.rejects() and assert.doesNotReject() methods have been added for working with async functions. [599337f43e]
  • Async_hooks
    • Older experimental async_hooks APIs have been removed. [1cc6b993b9]
  • Buffer
    • Uses of new Buffer() and Buffer() outside of the node_modules directory will now emit a runtime deprecation warning. [9d4ab90117]
    • Buffer.isEncoding() now returns undefined for falsy values, including an empty string. [452eed956e]
    • Buffer.fill() will throw if an attempt is made to fill with an empty Buffer. [1e802539b2]
  • Child Process
  • Console
    • The console.table() method has been added. [97ace04492]
  • Crypto
    • The crypto.createCipher() and crypto.createDecipher() methods have been deprecated. Please use crypto.createCipheriv() and crypto.createDecipheriv() instead. [81f88e30dd]
    • The decipher.finaltol() method has been deprecated. [19f3927d92]
    • The crypto.DEFAULT_ENCODING property has been deprecated. [6035beea93]
    • The ECDH.convertKey() method has been added. [f2e02883e7]
    • The crypto.fips property has been deprecated. [6e7992e8b8]
  • Dependencies
  • EventEmitter
    • The EventEmitter.prototype.off() method has been added as an alias for EventEmitter.prototype.removeListener(). [3bb6f07d52]
  • File System
    • The fs/promises API provides experimental promisified versions of the fs functions. [329fc78e49]
    • Invalid path errors are now thrown synchronously. [d8f73385e2]
    • The fs.readFile() method now partitions reads to avoid thread pool exhaustion. [67a4ce1c6e]
  • HTTP
    • Processing of HTTP Status codes 100, 102-199 has been improved. [baf8495078]
    • Multi-byte characters in URL paths are now forbidden. [b961d9fd83]
  • N-API
    • The n-api is no longer experimental. [cd7d7b15c1]
  • Net
    • The 'close' event will be emitted after 'end'. [9b7a6914a7]
  • Perf_hooks
    • The PerformanceObserver class is now an AsyncResource and can be monitored using async_hooks. [009e41826f]
    • Trace events are now emitted for performance events. [9e509b622b]
    • The performance API has been simplified. [2ec6995555]
    • Performance milestone marks will be emitted as trace events. [96cb4fb795]
  • Process
    • Using non-string values for process.env is deprecated. [5826fe4e79]
    • The process.assert() method is deprecated. [703e37cf3f]
  • REPL
    • REPL now experimentally supports top-level await when using the --experimental-repl-await flag. [eeab7bc068]
    • The previously deprecated "magic mode" has been removed. [4893f70d12]
    • The previously deprecated NODE_REPL_HISTORY_FILE environment variable has been removed. [60c9ad7979]
    • Proxy objects are shown as Proxy objects when inspected. [90a43906ab]
  • Streams
    • The 'readable' event is now always deferred with nextTick. [1e0f3315c7]
    • A new pipeline() method has been provided for building end-to-data stream pipelines. [a5cf3feaf1]
    • Experimental support for async for-await has been added to stream.Readable. [61b4d60c5d]
  • Timers
    • The enroll() and unenroll() methods have been deprecated. [68783ae0b8]
  • TLS
    • The tls.convertNPNProtocols() method has been deprecated. [9204a0db6e]
    • Support for NPN (next protocol negotiation) has been dropped. [5bfbe5ceae]
    • The ecdhCurve default is now 'auto'. [af78840b19]
  • Trace Events
    • A new trace_events top-level module allows trace event categories to be enabled/disabled at runtime. [da5d818a54]
  • URL
    • The WHATWG URL API is now a global. [312414662b]
  • Util
    • util.types.is[…] type checks have been added. [b20af8088a]
    • Support for bigint formatting has been added to util.inspect(). [39dc947409]

Deprecations:

The following APIs have been deprecated in Node.js 10.0.0

  • Passing more than one argument to assert.fail() will emit a runtime deprecation warning. [70dcacd710]
  • Previously deprecated legacy async_hooks APIs have reached end-of-life and have been removed. [1cc6b993b9]
  • Using require() to access several of Node.js' own internal dependencies will emit a runtime deprecation. [0e10717e43]
  • The crypto.createCipher() and crypto.createDecipher() methods have been deprecated in documentation.[81f88e30dd]
  • Using the Decipher.finaltol() method will emit a runtime deprecation warning. [19f3927d92]
  • Using the crypto.DEFAULT_ENCODING property will emit a runtime deprecation warning. [6035beea93]
  • Use by native addons of the MakeCallback() variant that passes a Domain will emit a runtime deprecation warning. [14bc3e22f3], [efb32592e1]
  • Previously deprecated internal getters/setters on net.Server has reached end-of-life and have been removed. [3701b02309]
  • Use of non-string values for process.env has been deprecated in documentation. [5826fe4e79]
  • Use of process.assert() will emit a runtime deprecation warning. [703e37cf3f]
  • Previously deprecated NODE_REPL_HISTORY_FILE environment variable has reached end-of-life and has been removed. [60c9ad7979]
  • Use of the timers.enroll() and timers.unenroll() methods will emit a runtime deprecation warning. [68783ae0b8]
  • Use of the tls.convertNPNProtocols() method will emit a runtime deprecation warning. Support for NPN has been removed from Node.js. [9204a0db6e]
  • The crypto.fips property has been deprecated in documentation. [6e7992e8b8]

Commits

Semver-major

  • [c9bb91af33] - (SEMVER-MAJOR) assert: remove errorDiff property (Ruben Bridgewater) #19467
  • [eb427caadd] - (SEMVER-MAJOR) assert: improve default error messages (Ruben Bridgewater) #19467
  • [1964978fb8] - (SEMVER-MAJOR) assert: detect faulty throws usage (Ruben Bridgewater) #19867
  • [9743e756e2] - (SEMVER-MAJOR) assert: provide info about actual error (Ruben Bridgewater) #19884
  • [70dcacd710] - (SEMVER-MAJOR) assert: deprecate assert.fail partially (Ruben Bridgewater) #18418
  • [3cd7977a42] - (SEMVER-MAJOR) assert: use a default message in assert (Ruben Bridgewater) #18319
  • [e65a6e81ef] - (SEMVER-MAJOR) assert: stricter ifError (Ruben Bridgewater) #18247
  • [72bb4445c6] - (SEMVER-MAJOR) assert: wrap original error in ifError (Ruben Bridgewater) #18247
  • [d07c6f9739] - (SEMVER-MAJOR) assert: throw without args in ok (Ruben Bridgewater) #17581
  • [f76ef50432] - (SEMVER-MAJOR) assert: improve simple assert (Ruben Bridgewater) #17581
  • [493340f56e] - (SEMVER-MAJOR) assert: use Object.is comparison in .strictEqual (Ruben Bridgewater) #17003
  • [1cc6b993b9] - (SEMVER-MAJOR) async_hooks: remove deprecated API (Andreas Madsen) #17147
  • [81aaab75ca] - (SEMVER-MAJOR) benchmark: remove noAssert argument (Ruben Bridgewater) #18395
  • [876836b135] - (SEMVER-MAJOR) benchmark: rename file (Ruben Bridgewater) #18790
  • [e9ec9ff269] - (SEMVER-MAJOR) benchmark: add buffer fill benchmark (Ruben Bridgewater) #18790
  • [94d64877ff] - (SEMVER-MAJOR) benchmark: improve buffer.readInt(B|L)E benchmarks (Rich Trott) #11146
  • [9d4ab90117] - (SEMVER-MAJOR) buffer: do deprecation warning outside node_modules (Anna Henningsen) #19524
  • [e8bb1f35df] - (SEMVER-MAJOR) buffer: refactor all read/write functions (Ruben Bridgewater) #18395
  • [a6c490cc8e] - (SEMVER-MAJOR) buffer: remove double ln (Ruben Bridgewater) #18395
  • [1411b30f46] - (SEMVER-MAJOR) buffer: move c++ float functions to js (Ruben Bridgewater) #18395
  • [452eed956e] - (SEMVER-MAJOR) buffer: stricter isEncoding (Ruben Bridgewater) #18790
  • [177b7314cf] - (SEMVER-MAJOR) buffer: improve Buffer#fill performance (Ruben Bridgewater) #18790
  • [1e802539b2] - (SEMVER-MAJOR) buffer: throw when filling with empty buffers (cjihrig) #18129
  • [9fea7eae9a] - (SEMVER-MAJOR) buffer: check byteLength in readUInt(B|L)E (Rich Trott) #11146
  • [d964ffeec3] - (SEMVER-MAJOR) buffer: check byteLength in readInt(B|L)E (Sebastian Van Sande) #11146
  • [cd174df353] - (SEMVER-MAJOR) buffer: throw on failed fill attempts (cjihrig) #17427
  • [010587b7c4] - (SEMVER-MAJOR) build: remove implied support for win 2012 not R2 (Beth Griggs) #19378
  • [36a02d401c] - (SEMVER-MAJOR) build: add option to build v8 with GN (Yang Guo) #19201
  • [608557a1fc] - (SEMVER-MAJOR) build: update node.gyp to reference gypfiles/v8.gyp (Joyee Cheung) #19201
  • [3542411fda] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Myles Borins) #19201
  • [08af7dba2a] - (SEMVER-MAJOR) build: add OpenSSL-1.1.0 support (Shigeki Ohtsu) #19794
  • [549b280b87] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) #18453
  • [56ee94f184] - (SEMVER-MAJOR) build: compile V8 using system compiler (Ben Noordhuis) #17489
  • [e9bcb39ef2] - (SEMVER-MAJOR) build: remove --no-i18n from V8 test options (Michaël Zasso) #17489
  • [4a16a5d988] - (SEMVER-MAJOR) build: compile with -std=gnu++1y (Michaël Zasso) #17489
  • [fe6bcce9af] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) #17489
  • [2c75b52af8] - (SEMVER-MAJOR) build: replace runtime flag with compiler option (Peter Marshall) #16271
  • [6e7028ea76] - (SEMVER-MAJOR) build: reset embedder string to "-node.0" (Michaël Zasso) #16271
  • [0e10717e43] - (SEMVER-MAJOR) build: runtime-deprecate requiring deps (Timothy Gu) #16392
  • [eec659c138] - (SEMVER-MAJOR) build, tools, win: add nasm detection for OpenSSL (João Reis) #19794
  • [9bfe55e184] - (SEMVER-MAJOR) child_process: better spawn error message (Bartosz Sosnowski) #19305
  • [11b6c0de41] - (SEMVER-MAJOR) child_process: define EACCES as a runtime error (Gireesh Punathil) #19294
  • [38ee25e2e2] - (SEMVER-MAJOR) child_process: do not ignore proto values of env (Anatoli Papirovski) #18210
  • [85739b6c5b] - (SEMVER-MAJOR) child_process: ignore undef/proto values of env (现充) #15089
  • [15d880bcb6] - (SEMVER-MAJOR) console: make .assert standard compliant (Ruben Bridgewater) #17706
  • [970ce14f61] - (SEMVER-MAJOR) crypto: remove deperecated methods of TLS version (Shigeki Ohtsu) #19794
  • [1e07acd476] - (SEMVER-MAJOR) crypto: add support for AES-CCM (Tobias Nießen) #18138
  • [333adf61eb] - (SEMVER-MAJOR) crypto: fix error handling (Ruben Bridgewater) #19445
  • [81f88e30dd] - (SEMVER-MAJOR) crypto: doc-only deprecate createCipher/Decipher (Tobias Nießen) #19343
  • [19f3927d92] - (SEMVER-MAJOR) crypto: deprecate Decipher.finaltol (Tobias Nießen) #19353
  • [6035beea93] - (SEMVER-MAJOR) crypto: runtime deprecate DEFAULT_ENCODING (James M Snell) #18333
  • [858b48b692] - (SEMVER-MAJOR) crypto: assign deprecation code for setAuthTag/GCM (Tobias Nießen) #18017
  • [845633a7c6] - (SEMVER-MAJOR) crypto: better docs for cases where peer's public key is invalid (Jose M. Palacios Diaz) #16849
  • [e567402aba] - (SEMVER-MAJOR) crypto: migrate CipherBase to internal/errors (James M Snell) #16527
  • [2a3f8c3a83] - (SEMVER-MAJOR) deps: patch the V8 API to be forward compatible with 6.7 (Peter Marshall) #19999
  • [ea9de2c81a] - (SEMVER-MAJOR) deps: split v8_monolith target into separate file (Yang Guo) #19201
  • [e8fc6b6901] - (SEMVER-MAJOR) deps: update v8.gyp (Michaël Zasso) #19201
  • [9daebb48d6] - (SEMVER-MAJOR) deps: update V8 to 6.6.346.23 (Myles Borins) #19201
  • [7812ec735b] - (SEMVER-MAJOR) deps: update archs files for OpenSSL-1.1.0 (Shigeki Ohtsu) #19794
  • [99eb744842] - (SEMVER-MAJOR) deps: add gyp, header and Makefile for openssl110 (Shigeki Ohtsu) #19794
  • [1bcb6c0d26] - (SEMVER-MAJOR) deps: add s390 asm rules for OpenSSL-1.1.0 (Shigeki Ohtsu) #19794
  • [6bab3c23b1] - (SEMVER-MAJOR) deps: delete files of OpenSSL-1.0.2 (Shigeki Ohtsu) #19794
  • [66cb29e646] - (SEMVER-MAJOR) deps: upgrade openssl sources to 1.1.0h (Shigeki Ohtsu) #19794
  • [9759573997] - (SEMVER-MAJOR) deps: cherry-pick 46c4979 from upstream V8 (Michaël Zasso) #18453
  • [b4c1222acc] - (SEMVER-MAJOR) deps: skip some V8 tests for ppc and s390 (Michaël Zasso) #18453
  • [9396a9f02c] - (SEMVER-MAJOR) deps: cherry-pick 8bfbe25 from upstream V8 (Michaël Zasso) #18453
  • [d68ee7eab7] - (SEMVER-MAJOR) deps: cherry-pick 04a06c9 from upstream V8 (Michaël Zasso) #18453
  • [88786fecff] - (SEMVER-MAJOR) deps: update V8 to 6.5.254.31 (Michaël Zasso) #18453
  • [142d6237b6] - (SEMVER-MAJOR) deps: V8: reintroduce missing whitespace in test (Ali Ijaz Sheikh) #18360
  • [b06440356d] - (SEMVER-MAJOR) deps: cherry-pick c3bb73f from upstream V8 (Ali Ijaz Sheikh) #18196
  • [a1c5dddbb2] - (SEMVER-MAJOR) deps: cherry-pick 814577e from upstream V8 (Ali Ijaz Sheikh) #18196
  • [4c4af643e5] - (SEMVER-MAJOR) deps: update V8 to 6.4.388.40 (Michaël Zasso) #17489
  • [51054dac54] - (SEMVER-MAJOR) deps: cherry-pick c3bb73f from upstream V8 (Ali Ijaz Sheikh) #18196
  • [7d7a549219] - (SEMVER-MAJOR) deps: cherry-pick 814577e from upstream V8 (Ali Ijaz Sheikh) #18196
  • [1854ba04e9] - (SEMVER-MAJOR) deps: update V8 to 6.3.292.46 (Michaël Zasso) #16271
  • [9ad994befb] - (SEMVER-MAJOR) dgram: migrate bufferSize to use internal/errors (James M Snell) #16567
  • [8a5b7b2afe] - (SEMVER-MAJOR) doc: update required compiler level for AIX (Michael Dawson) #20153
  • [ae096ba27c] - (SEMVER-MAJOR) doc: fix API descriptions for OpenSSL-1.1.0 (Shigeki Ohtsu) #19794
  • [c111e133ae] - (SEMVER-MAJOR) doc: add deprecation notice (Ruben Bridgewater) #18395
  • [740c426b21] - (SEMVER-MAJOR) doc: add a deprecation message for removing lttng (Glen Keane) #18982
  • [300f5ce346] - (SEMVER-MAJOR) doc: deprecate top-level this (Hackzzila) #16878
  • [dbdcf12187] - (SEMVER-MAJOR) doc: correct buffer changelog ordering (cjihrig) #18129
  • [4319780389] - (SEMVER-MAJOR) doc: remove double line break (Ruben Bridgewater) #17581
  • [ccc87ebb33] - (SEMVER-MAJOR) doc: improve documentation for util.deprecate() (Rich Trott) #16393
  • [14bc3e22f3] - (SEMVER-MAJOR) domain: runtime deprecate MakeCallback (Andreas Madsen) #17417
  • [5135e24133] - (SEMVER-MAJOR) errors: alter ERR_INVALID_CURSOR_POS (davidmarkclements) #19960
  • [eca95a9ea5] - (SEMVER-MAJOR) errors: alter ERR_INVALID_PROTOCOL (davidmarkclements) #19983
  • [afb4d55ac4] - (SEMVER-MAJOR) errors: alter ERR_INVALID_DOMAIN_NAME (davidmarkclements) #19961
  • [83a8261764] - (SEMVER-MAJOR) errors: alter and test ERR_INVALID_REPL_EVAL_CONFIG (davidmarkclements) #19984
  • [b40efa43bd] - (SEMVER-MAJOR) errors: alter ERR_INVALID_IP_ADDRESS (davidmarkclements) #19979
  • [d28211ec3d] - (SEMVER-MAJOR) errors: validate input arguments (Ruben Bridgewater) #19924
  • [b29c36b807] - (SEMVER-MAJOR) errors: make dns errors consistent (Ruben Bridgewater) #19754
  • [7d06761f83] - (SEMVER-MAJOR) errors: improve SystemError messages (Joyee Cheung) #19514
  • [28e4e43e51] - (SEMVER-MAJOR) errors: make input mandatory (Ruben Bridgewater) #19445
  • [6ef17303a7] - (SEMVER-MAJOR) errors: only init colors when util is not loaded (Joyee Cheung) #18359
  • [b1e6c0d44c] - (SEMVER-MAJOR) errors, child_process: use internal/errors codes (Jon Moss) #14998
  • [3bb6f07d52] - (SEMVER-MAJOR) events: add off alias to removeListener (Ulmanb) #17156
  • [acc3c770e7] - (SEMVER-MAJOR) fs: fix error handling (Ruben Bridgewater) #19445
  • [897f7b6c6b] - (SEMVER-MAJOR) fs: improve errors in watchFile and unwatchFile (Joyee Cheung) #19345
  • [301f6cc553] - (SEMVER-MAJOR) fs: remove watcher state errors for fs.watch (Joyee Cheung) #19345
  • [6c25f2ea49] - (SEMVER-MAJOR) fs: improve errors thrown from fs.watch() (Joyee Cheung) #19089
  • [f7e5b385a7] - (SEMVER-MAJOR) fs: remove unused SYNC_* helpers (Joyee Cheung) #19041
  • [80bd2da6e1] - (SEMVER-MAJOR) fs: use SyncCall in WriteBuffers (Joyee Cheung) #19041
  • [49dd80935c] - (SEMVER-MAJOR) fs: throw futimesSync errors in JS (Joyee Cheung) #19041
  • [994320b07b] - (SEMVER-MAJOR) fs: throw writeSync errors in JS (Joyee Cheung) #19041
  • [1650eaeac4] - (SEMVER-MAJOR) fs: throw fchownSync errors in JS (Joyee Cheung) #19041
  • [79b195437c] - (SEMVER-MAJOR) fs: throw fchmodSync errors in JS (Joyee Cheung) #19041
  • [c6acfdb3ac] - (SEMVER-MAJOR) fs: throw readSync errors in JS (Joyee Cheung) #19041
  • [4eb45b884d] - (SEMVER-MAJOR) fs: throw copyFileSync errors in JS (Joyee Cheung) #18871
  • [d2dc2a5011] - (SEMVER-MAJOR) fs: throw fs.mkdtempSync errors in JS land (Joyee Cheung) #18871
  • [82523d3b6e] - (SEMVER-MAJOR) fs: throw fs.utimesSync errors in JS land (Joyee Cheung) #18871
  • [8fb5a6cd81] - (SEMVER-MAJOR) fs: throw fs.chownSync errors in JS land (Joyee Cheung) #18871
  • [437c756493] - (SEMVER-MAJOR) fs: throw fs.chmodSync errors in JS land (Joyee Cheung) #18871
  • [e8ec898a7d] - (SEMVER-MAJOR) fs: use SyncCall in OpenFileHandle (Joyee Cheung) #18871
  • [fea5dda1d1] - (SEMVER-MAJOR) fs: throw openSync errors in JS (Joyee Cheung) #18871
  • [d2c4f5082f] - (SEMVER-MAJOR) fs: throw readdirSync errors in JS (Joyee Cheung) #18871
  • [72d150ea6f] - (SEMVER-MAJOR) fs: throw realpathSync.native errors in JS (Joyee Cheung) #18871
  • [77b42e34de] - (SEMVER-MAJOR) fs: throw mkdirSync errors in JS (Joyee Cheung) #18871
  • [46164ba212] - (SEMVER-MAJOR) fs: throw rmdirSync errors in JS (Joyee Cheung) #18871
  • [c3eb3efa31] - (SEMVER-MAJOR) fs: fix functions executed in wrong context (Ruben Bridgewater) #18668
  • [e9f2cecf1a] - (SEMVER-MAJOR) Revert "fs: Revert throw on invalid callbacks" (Ruben Bridgewater) #18668
  • [d8f73385e2] - (SEMVER-MAJOR) fs: throw errors on invalid paths synchronously (Joyee Cheung) #18308
  • [67a4ce1c6e] - (SEMVER-MAJOR) fs: partition readFile against pool exhaustion (Jamie Davis) #17054
  • [776f6cdfc4] - (SEMVER-MAJOR) fs: throw errors from fs.unlinkSync in JS (Joyee Cheung) #18348
  • [eca93e631f] - (SEMVER-MAJOR) fs: throw errors from fs.fsyncSync in JS (Joyee Cheung) #18348
  • [f5e287ba20] - (SEMVER-MAJOR) fs: throw errors from fs.fdatasyncSync in JS (Joyee Cheung) #18348
  • [b3a7df7c6d] - (SEMVER-MAJOR) fs: throw errors from fs.ftruncateSync in JS (Joyee Cheung) #18348
  • [5583981c52] - (SEMVER-MAJOR) fs: throw errors from fs.renameSync in JS (Joyee Cheung) #18348
  • [09da11e5e1] - (SEMVER-MAJOR) fs: throw errors from fs.readlinkSync in JS (Joyee Cheung) #18348
  • [167e22937c] - (SEMVER-MAJOR) fs: throw errors from fs.linkSync in JS (Joyee Cheung) #18348
  • [32bf0f6c5b] - (SEMVER-MAJOR) fs: throw errors from fs.symlinkSync in JS (Joyee Cheung) #18348
  • [8c00a809bc] - (SEMVER-MAJOR) fs: throw fs.fstat{Sync} errors in JS (Joyee Cheung) #17914
  • [da7804f259] - (SEMVER-MAJOR) fs: throw fs.lstat{Sync} errors in JS (Joyee Cheung) #17914
  • [57d7638af3] - (SEMVER-MAJOR) fs: throw fs.stat{Sync} errors in JS (Joyee Cheung) #17914
  • [791975d189] - (SEMVER-MAJOR) fs: return errno and take fs_req_wrap in SyncCall (Joyee Cheung) #17914
  • [71396a200d] - (SEMVER-MAJOR) fs: validate path in fs.exists{Sync} (Joyee Cheung) #17852
  • [9ec700b073] - (SEMVER-MAJOR) fs: validate path in fs.readFile (Joyee Cheung) #17852
  • [8599465d33] - (SEMVER-MAJOR) fs: migrate errors to internal/errors (Steven) #17719
  • [6100e12667] - (SEMVER-MAJOR) fs: move type checking to js (James M Snell) #17667
  • [805dca199a] - (SEMVER-MAJOR) fs: remove unnecessary throw on fs.mkdtemp (James M Snell) #17334
  • [163869879e] - (SEMVER-MAJOR) fs: move type checking for fs.read to js (James M Snell) #17334
  • [448ec0b5aa] - (SEMVER-MAJOR) fs: move type checking in fs.futimes to js (James M Snell) #17334
  • [82eb459e3f] - (SEMVER-MAJOR) fs: move type checking for fs.fchown to js (James M Snell) #17334
  • [0a01aa8e94] - (SEMVER-MAJOR) fs: move type checking for fs.fchmod to js (James M Snell) #17334
  • [d453fac33b] - (SEMVER-MAJOR) fs: move type checking for fs.ftruncate to js (James M Snell) #17334
  • [8cb080c486] - (SEMVER-MAJOR) fs: move type checking for fs.sync to js (James M Snell) #17334
  • [956f97b875] - (SEMVER-MAJOR) fs: move type checking for fs.fdatasync to js (James M Snell) #17334
  • [639096855e] - (SEMVER-MAJOR) fs: move type checking on fs.fstat to js (James M Snell) #17334
  • [8974df15a9] - (SEMVER-MAJOR) fs: move type checking for fs.close to js (James M Snell) #17334
  • [07d34092b1] - (SEMVER-MAJOR) fs: throw fs.access errors in JS (Joyee Cheung) #17160
  • [ab8bf26994] - (SEMVER-MAJOR) fs,cluster,net: assign error codes to remaining errors (Michaël Zasso) #19373
  • [33ce9a6409] - (SEMVER-MAJOR) http: relax requirements on upgrade listener (Anatoli Papirovski) #19981
  • [29be1e5f84] - (SEMVER-MAJOR) http: do not replace .read() in IncomingMessage (Matteo Collina) #18939
  • [51be03cd57] - (SEMVER-MAJOR) http: remove default 'error' listener on upgrade (Luigi Pinca) #18868
  • [8118da7430] - (SEMVER-MAJOR) http: OutgoingMessage.end() should return this (Matteo Collina) #18780
  • [baf8495078] - (SEMVER-MAJOR) http: process 100, 102-199 according to specs. (Miles Elam) #18033
  • [b961d9fd83] - (SEMVER-MAJOR) http: disallow two-byte characters in URL path (Benno Fünfstück) #16237
  • [0a84e95cd9] - (SEMVER-MAJOR) http: improve errors thrown in header validation (Joyee Cheung) #16719
  • [3d93f39190] - (SEMVER-MAJOR) http2: make response.end() return this (Matteo Collina) #18780
  • [fc61ee32fe] - (SEMVER-MAJOR) http2: use session kUpdateTimer from kUpdateTimer (Jeremiah Senkpiel) #17704
  • [93eb68e6d2] - (SEMVER-MAJOR) http2: use actual Timeout instances (Jeremiah Senkpiel) #17704
  • [4e1f0907da] - (SEMVER-MAJOR) inspector: migrate errors from C++ to JS (Michaël Zasso) #19387
  • [0876a0314d] - (SEMVER-MAJOR) lib: ensure --check flag works with --require (John-David Dalton) #19600
  • [b38c81cb44] - (SEMVER-MAJOR) lib: improve error handling (Ruben Bridgewater) #19445
  • [c6b6c92185] - (SEMVER-MAJOR) lib: always show ERR_INVALID_ARG_TYPE received part (Ruben Bridgewater) #19445
  • [1d2fd8b65b] - (SEMVER-MAJOR) lib: port remaining errors to new system (Michaël Zasso) #19137
  • [1e8d110e64] - (SEMVER-MAJOR) lib: port errors to new system (Michaël Zasso) #19034
  • [341770fedf] - (SEMVER-MAJOR) lib: improve normalize encoding performance (Ruben Bridgewater) #18790
  • [e99ae7764d] - (SEMVER-MAJOR) lib: make console writable and non-enumerable (Ruben Bridgewater) #17708
  • [d3ac18a176] - (SEMVER-MAJOR) lib: migrate _http_outgoing.js's remaining errors (Anton Paras) #17837
  • [d022cb1bdd] - (SEMVER-MAJOR) lib: combine similar error codes (Weijia Wang) #17648
  • [05948d8e4e] - (SEMVER-MAJOR) lib: remove use of Debug.MakeMirror() (Ben Noordhuis) #13295
  • [6f724e1563] - (SEMVER-MAJOR) lib,src: remove vm.runInDebugContext() (Ben Noordhuis) #13295
  • [c1278e5329] - (SEMVER-MAJOR) lib,test: minor refactoring (Ruben Bridgewater) #19445
  • [77b52fd58f] - (SEMVER-MAJOR) module: move options checks from C++ to JS (Michaël Zasso) #19822
  • [1ed36aeb53] - (SEMVER-MAJOR) module: check file ext before dir as documented (Bradley Farias) #15015
  • [bd4773a043] - (SEMVER-MAJOR) module: use undefined if no main (Rich Trott) #18593
  • [9fb91fe1d6] - (SEMVER-MAJOR) module: validate request in require.resolve.paths (Joyee Cheung) #18359
  • [d4dd0665f5] - (SEMVER-MAJOR) module: validate request in require.resolve (Joyee Cheung) #18359
  • [b21715403b] - (SEMVER-MAJOR) module: use internal/errors.js in module.require (Joyee Cheung) #18359
  • [fea1e05ba5] - (SEMVER-MAJOR) module: rename internalModuleReadFile to internalModuleReadJSON (John-David Dalton) #17084
  • [0fdd88a374] - (SEMVER-MAJOR) module: speed up package.json parsing more (Ben Noordhuis) #15767
  • [fdbb6dd042] - (SEMVER-MAJOR) module: speed up package.json parsing (Ben Noordhuis) #15767
  • [9b7a6914a7] - (SEMVER-MAJOR) net: emit 'close' after 'end' (Luigi Pinca) #19241
  • [b98aaa312e] - (SEMVER-MAJOR) net: migrate errors to internal/errors (kysnm) #17766
  • [24dd92e77f] - (SEMVER-MAJOR) net: use actual Timeout instance on Sockets (Jeremiah Senkpiel) #17704
  • [3701b02309] - (SEMVER-MAJOR) net: remove deprecated getters for internals (Anna Henningsen) #17141
  • [056b858e57] - (SEMVER-MAJOR) os: migrate node_os.cc to internal/errors (James M Snell) #16567
  • [058e7fb8e6] - (SEMVER-MAJOR) process: fix error handling (Ruben Bridgewater) #19445
  • [5826fe4e79] - (SEMVER-MAJOR) process: doc-only deprecate non-string env value (Timothy Gu) #18990
  • [b32bcf7e9c] - (SEMVER-MAJOR) process: unify error message from chdir() errors (Sarat Addepalli) #19088
  • [703e37cf3f] - (SEMVER-MAJOR) process: deprecate process.assert() (Ruben Bridgewater) #18666
  • [4893f70d12] - (SEMVER-MAJOR) repl: remove magic mode (Ruben Bridgewater) #19187
  • [60c9ad7979] - (SEMVER-MAJOR) repl: remove deprecated NODE_REPL_HISTORY_FILE (Ruben Bridgewater) #13876
  • [ab5a2aba38] - (SEMVER-MAJOR) repl: migrate errors to internal/errors (kysnm) #17716
  • [90a43906ab] - (SEMVER-MAJOR) repl: show proxies as Proxy objects (Ben Noordhuis) #16485
  • [a6be27a77f] - (SEMVER-MAJOR) src: throw ERR_MISSING_ARGS in node_crypto.cc (Joyee Cheung) #20121
  • [f042929c3c] - (SEMVER-MAJOR) src: throw ERR_INVALID_ARG_VALUE in node_crypto.cc (Joyee Cheung) #20121
  • [7946910475] - (SEMVER-MAJOR) src: throw ERR_MISSING_MODULE in module_wrap.cc (Joyee Cheung) #20121
  • [02db891bcc] - (SEMVER-MAJOR) src: throw ERR_BUFFER_OUT_OF_BOUNDS in node_buffer.cc (Joyee Cheung) #20121
  • [0fdf39aefa] - (SEMVER-MAJOR) src: throw ERR_INVALID_ARG_TYPE in C++ argument checks (Joyee Cheung) #20121
  • [1d0ad63887] - (SEMVER-MAJOR) src: migrate ERR_INDEX_OUT_OF_RANGE in C++ (Joyee Cheung) #20121
  • [c218854bc8] - (SEMVER-MAJOR) src: add THROW_ERR_* helpers (Joyee Cheung) #20121
  • [03f8c4f039] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 63 (Myles Borins) #19201
  • [63eb267c34] - (SEMVER-MAJOR) src: migrate string_bytes.cc to throw errors with code (Joyee Cheung) #19739
  • [289d152ce0] - (SEMVER-MAJOR) src: add error code helpers to src/node_errors.h (Joyee Cheung) #19739
  • [3b1e5d9cf7] - (SEMVER-MAJOR) src: request code cache explicitly (Mythri Alle) #18453
  • [a9755d493e] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 62 (Michaël Zasso) #18453
  • [30fd3d25df] - (SEMVER-MAJOR) src: Remove lttng support. (Glen Keane) #18982
  • [efb32592e1] - (SEMVER-MAJOR) src: deprecate legacy node::MakeCallback (Ali Ijaz Sheikh) #18632
  • [3154d83a02] - (SEMVER-MAJOR) src: update postmortem constant name (cjihrig) #17489
  • [0398debe81] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 61 (Michaël Zasso) #17489
  • [98d9540dd7] - (SEMVER-MAJOR) src: use uv_hrtime as tracing timestamp (Ali Ijaz Sheikh) #18196
  • [2a61ce5996] - (SEMVER-MAJOR) src: validate args length in Access and Close (Sakthipriyan Vairamani (thefourtheye)) #18203
  • [a1ed29b1c6] - (SEMVER-MAJOR) src: implement getting current time in NodePlatform (Sergei Datsenko) #16271
  • [a7c5fe9ba6] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 60 (Michaël Zasso) #16271
  • [804eb3cd73] - (SEMVER-MAJOR) src: remove process._debugPause() (Ben Noordhuis) #17060
  • [c3dc0e0d75] - (SEMVER-MAJOR) src: add CollectExceptionInfo & errors.SystemError (James M Snell) #16567
  • [3d20190a3a] - (SEMVER-MAJOR) src: remove throws in set/getHiddenValue (James M Snell) #16544
  • [67c8511ea1] - (SEMVER-MAJOR) src: use internal/errors for startSigintWatchdog (James M Snell) #16546
  • [cf5f9867ff] - (SEMVER-MAJOR) stream: 'readable' have precedence over flowing (Matteo Collina) #18994
  • [c9794880e8] - (SEMVER-MAJOR) stream: make virtual methods errors consistent (Luigi Pinca) #18813
  • [5e3f51648e] - (SEMVER-MAJOR) stream: updated streams error handling (Mathias Buus) #18438
  • [f6721c20df] - (SEMVER-MAJOR) stream: writable.end should return this. (Matteo Collina) #18780
  • [faeee11c1f] - (SEMVER-MAJOR) stream: readable continues to read when push('') (陈刚) #18211
  • [46e0a55b84] - (SEMVER-MAJOR) stream: add type and range check for highWaterMark (Tobias Nießen) #18098
  • [9d3958102e] - (SEMVER-MAJOR) stream: add custom inspect to BufferList (Ruben Bridgewater) #17907
  • [1e0f3315c7] - (SEMVER-MAJOR) stream: always defer 'readable' with nextTick (Matteo Collina) #17979
  • [dd49778938] - (SEMVER-MAJOR) test: fix promise message test after V8 update (Michaël Zasso) #19201
  • [61f87837a9] - (SEMVER-MAJOR) test: remove test for shared array buffers transfer (Malcolm White) #19201
  • [425c5ca27d] - (SEMVER-MAJOR) test: remove openssl -no_rand_screen opts (Shigeki Ohtsu) #19794
  • [3e0d40d4af] - (SEMVER-MAJOR) test: add info option to common.expectsError (Joyee Cheung) #19514
  • [74553465e6] - (SEMVER-MAJOR) test: refactor test-cluster-send-deadlock (Luigi Pinca) #19241
  • [5c8937c3c6] - (SEMVER-MAJOR) test: fix esm message tests after V8 update (Michaël Zasso) #18453
  • [bde8de8892] - (SEMVER-MAJOR) test: update postmortem metadata test (cjihrig) #18453
  • [069dd10ca2] - (SEMVER-MAJOR) test: remove vulgar language (Ruben Bridgewater) #18395
  • [ac2af1361e] - (SEMVER-MAJOR) test: fix inspector test after V8 upgrade (Michaël Zasso) #17489
  • [4e51512148] - (SEMVER-MAJOR) test: update postmortem metadata test (cjihrig) #17489
  • [7809f386b0] - (SEMVER-MAJOR) test: improve console tests (Ruben Bridgewater) #17708
  • [6ff52b69cc] - (SEMVER-MAJOR) test: add standard console tests (wandalen) #17708
  • [1312db5651] - (SEMVER-MAJOR) test: test error messages from fs.realpath{Sync} (Joyee Cheung) #17914
  • [5eccbb09fa] - (SEMVER-MAJOR) test: verify errors thrown from fs stat APIs (Joyee Cheung) #17914
  • [7939a5e708] - (SEMVER-MAJOR) test: change test expectation for string decoder (Marja Hölttä) #16271
  • [60698c2455] - (SEMVER-MAJOR) test: apply eslint exceptions narrowly (Rich Trott) #16393
  • [47a984ada0] - (SEMVER-MAJOR) timers: prevent event loop blocking (Anatoli Papirovski) #18486
  • [d7894f3969] - (SEMVER-MAJOR) timers: use start instead of stop + start (Anatoli Papirovski) #18486
  • [71c0d0370a] - (SEMVER-MAJOR) timers: use const as appropriate (Anatoli Papirovski) #18486
  • [a986158cbf] - (SEMVER-MAJOR) timers: re-enter C++ less frequently (Anatoli Papirovski) #18486
  • [9b8e1c2e4f] - (SEMVER-MAJOR) timers: refactor error handling (Anatoli Papirovski) #18486
  • [68783ae0b8] - (SEMVER-MAJOR) timers: runtime-deprecate {un}enroll() (Jeremiah Senkpiel) #18066
  • [1385e1bc63] - (SEMVER-MAJOR) timers: setInterval interval includes cb duration (zhangzifa) #14815
  • [593941ac0b] - (SEMVER-MAJOR) timers: extract enroll() validation into a fn (Jeremiah Senkpiel) #17704
  • [9204a0db6e] - (SEMVER-MAJOR) tls: runtime-deprecate tls.convertNPNProtocols() (Ben Noordhuis) #19403
  • [5bfbe5ceae] - (SEMVER-MAJOR) tls: drop NPN (next protocol negotiation) support (Ben Noordhuis) #19403
  • [eda702104b] - (SEMVER-MAJOR) tls: better error message for socket disconnect (Anna Henningsen) #18989
  • [1c29da8236] - (SEMVER-MAJOR) tls: migrate C++ errors to internal/errors.js (Joyee Cheung) #18125
  • [9ffebeab48] - (SEMVER-MAJOR) tls: migrate argument type-checking errors (Joyee Cheung) #18125
  • [9301b8a9c6] - (SEMVER-MAJOR) tls: make deprecated tls.createSecurePair() use public API (Anna Henningsen) #17882
  • [79261f3003] - (SEMVER-MAJOR) tls: migrate errors in _tls_wrap.js (Mir Mufaqam Ali) #17792
  • [af78840b19] - (SEMVER-MAJOR) tls: set ecdhCurve default to 'auto' (Hativ) #16853
  • [7aa64b9fb9] - (SEMVER-MAJOR) tools: implement ninja build with --build-v8-with-gn (Yang Guo) #19201
  • [91a5ee1137] - (SEMVER-MAJOR) tools: fix make test-v8 (Michaël Zasso) #19201
  • [2b235830fb] - (SEMVER-MAJOR) tools: install all header files OpenSSL-1.1.0 (Shigeki Ohtsu) #19794
  • [6a9f049968] - (SEMVER-MAJOR) tools,lib: forbid native Error constructors (Michaël Zasso) #19373
  • [da5d818a54] - (SEMVER-MAJOR) trace_events: adds a new trace_events api (James M Snell) #19803
  • [3d9d84940a] - (SEMVER-MAJOR) tty: convert to internal/errors using SystemError (James M Snell) #16567
  • [312414662b] - (SEMVER-MAJOR) url: expose the WHATWG URL API globally (Michaël Zasso) #18281
  • [f848c60f64] - (SEMVER-MAJOR) util: inspect arguments properly (Ruben Bridgewater) #19467
  • [be4950d58c] - (SEMVER-MAJOR) util: add type check functions for BigInt arrays (Michaël Zasso) #19201
  • [1029dd3686] - (SEMVER-MAJOR) util: show Weak(Set|Map) entries in inspect (Ruben Bridgewater) #19259
  • [0fbd4b1d02] - (SEMVER-MAJOR) util: improve iterator inspect output (Ruben Bridgewater) #19259
  • [8f153092d8] - (SEMVER-MAJOR) util: change %o depth default (Ruben Bridgewater) #17907
  • [b994b8eff6] - (SEMVER-MAJOR) util: change util.inspect depth default (Ruben Bridgewater) #17907
  • [c64ca56def] - (SEMVER-MAJOR) util: improve error message of _errnoException (Weijia Wang) #17626
  • [31e0dbc0c7] - (SEMVER-MAJOR) util: use @@toStringTag (Gus Caplan) #16956
  • [617e3e96e6] - (SEMVER-MAJOR) util: runtime deprecation for custom .inspect() (Rich Trott) #16393
  • [07d39a2262] - (SEMVER-MAJOR) util: emit deprecation code only once (Rich Trott) #16393
  • [34d988f122] - (SEMVER-MAJOR) vm: move options checks from C++ to JS (Michaël Zasso) #19398
  • [49b2969ef4] - (SEMVER-MAJOR) vm: migrate isContext to internal/errors (dustinnewman98) #19268
  • [da886d9a4c] - (SEMVER-MAJOR) zlib: improve zlib errors (Joyee Cheung) #18675

Semver-minor

  • [b3c1bd38f6] - (SEMVER-MINOR) assert: add direct promises support in rejects (Ruben Bridgewater) #19885
  • [599337f43e] - (SEMVER-MINOR) assert: add rejects() and doesNotReject() (feugy) #18023
  • [559e23a459] - (SEMVER-MINOR) console: auto-detect color support by default (Anna Henningsen) #19372
  • [3f1562dea8] - (SEMVER-MINOR) console: add color support (Anna Henningsen) #19372
  • [4fe51755ff] - (SEMVER-MINOR) console: allow options object as constructor arg (Anna Henningsen) #19372
  • [97ace04492] - (SEMVER-MINOR) console: add table method (Gus Caplan) #18137
  • [f2e02883e7] - (SEMVER-MINOR) crypto: add ECDH.convertKey to convert public keys (Wei-Wei Wu) #19080
  • [6e7992e8b8] - (SEMVER-MINOR) crypto: docs-only deprecate crypto.fips, replace (James M Snell) #18335
  • [5303a509fb] - (SEMVER-MINOR) deps: cherry-pick 39d546a from upstream V8 (Gus Caplan) #20016
  • [25a816dcda] - (SEMVER-MINOR) deps: upgrade npm to 5.8.0 (FallenRiteMonk) #19560
  • [5bd9d68a45] - (SEMVER-MINOR) doc: improve assert documentation (Ruben Bridgewater) #19885
  • [63565e1063] - (SEMVER-MINOR) doc: document Console(…, ignoreErrors) option (Anna Henningsen) #19372
  • [bd6e0be0df] - (SEMVER-MINOR) doc: provide replacements for deprecated util methods (Anna Henningsen) #18415
  • [5b705cddcc] - (SEMVER-MINOR) fs: add 'close' event to FSWatcher (Alec Larson) #19900
  • [a16d88d9e9] - (SEMVER-MINOR) fs: expose copy-on-write flags for fs.copyFile() (cjihrig) #19759
  • [329fc78e49] - (SEMVER-MINOR) fs: add initial set of fs.promises APIs (James M Snell) #18297
  • [85b37db684] - (SEMVER-MINOR) fs: add FileHandle object fd wrapper (James M Snell) #18297
  • [7154bc097c] - (SEMVER-MINOR) fs: add FSReqPromise (James M Snell) #18297
  • [cd7d7b15c1] - (SEMVER-MINOR) n-api: take n-api out of experimental (Michael Dawson) #19262
  • [009e41826f] - (SEMVER-MINOR) perf_hooks: make PerformanceObserver an AsyncResource (James M Snell) #18789
  • [9e509b622b] - (SEMVER-MINOR) perf_hooks: emit trace events for marks, measures, and timerify (James M Snell) #18789
  • [aca8e764da] - (SEMVER-MINOR) perf_hooks: eliminate deprecation warning (James M Snell) #18789
  • [cf4e6fd03f] - (SEMVER-MINOR) process: add version constants and compare (Gus Caplan) #19587
  • [982e3bdb1f] - (SEMVER-MINOR) process: add more version properties to release (Gus Caplan) #19438
  • [446c1ecfda] - (SEMVER-MINOR) src, tools: add debug symbols for node internals (Matheus Marchini) #14901
  • [a5cf3feaf1] - (SEMVER-MINOR) stream: add pipeline and finished (Mathias Buus) #19828
  • [61b4d60c5d] - (SEMVER-MINOR) stream: added experimental support for for-await (Matteo Collina) #17755
  • [c667c87528] - (SEMVER-MINOR) tools: add eslintrc rule for assert.rejects (Ruben Bridgewater) #19885
  • [4b733834fc] - (SEMVER-MINOR) util: introduce types.isModuleNamespaceObject (Gus Caplan) #20016
  • [678f2c261a] - (SEMVER-MINOR) util: introduce formatWithOptions() (Anna Henningsen) #19372
  • [b20af8088a] - (SEMVER-MINOR) util: introduce util.types.is\[…\] type checks (Anna Henningsen) #18415
  • [39dc947409] - (SEMVER-MINOR) util: add bigint formatting to util.inspect (Gus Caplan) #18412
  • [cb5f358ee7] - (SEMVER-MINOR) vm: add code generation options (Gus Caplan) #19016
  • [49fd9c63d2] - (SEMVER-MINOR) zlib: use .bytesWritten instead of .bytesRead (Anna Henningsen) #19414

Semver-patch

Read more