Skip to content

Latest commit

 

History

History
592 lines (527 loc) · 78.4 KB

CHANGELOG_V14.md

File metadata and controls

592 lines (527 loc) · 78.4 KB

Node.js 14 ChangeLog

Current
14.2.0
14.1.0
14.0.0

2020-05-05, Version 14.2.0 (Current), @targos

Notable Changes

Track function calls with assert.CallTracker (experimental)

assert.CallTracker is a new experimental API that allows to track and later verify the number of times a function was called. This works by creating a CallTracker object and using its calls method to create wrapper functions that will count each time they are called. Then the verify method can be used to assert that the expected number of calls happened:

const assert = require('assert');

const tracker = new assert.CallTracker();

function func() {}
// callsfunc() must be called exactly twice before tracker.verify().
const callsfunc = tracker.calls(func, 2);
callsfunc();
callsfunc();

function otherFunc() {}
// The second parameter defaults to `1`.
const callsotherFunc = tracker.calls(otherFunc);
callsotherFunc();

// Calls tracker.verify() and verifies if all tracker.calls() functions have
// been called the right number of times.
process.on('exit', () => {
  tracker.verify();
});

Additionally, tracker.report() will return an array which contains information about the errors, if there are any:

const assert = require('assert');

const tracker = new assert.CallTracker();

function func() {}
const callsfunc = tracker.calls(func);

console.log(tracker.report());
/*
[
  {
    message: 'Expected the func function to be executed 1 time(s) but was executed 0 time(s).',
    actual: 0,
    expected: 1,
    operator: 'func',
    stack: Error
        ...
  }
]
*/

Contributed by ConorDavenport - #31982.

Console groupIndentation option

The Console constructor (require('console').Console) now supports different group indentations.

This is useful in case you want different grouping width than 2 spaces.

const { Console } = require('console');
const customConsole = new Console({
  stdout: process.stdout,
  stderr: process.stderr,
  groupIndentation: 10
});

customConsole.log('foo');
// 'foo'
customConsole.group();
customConsole.log('foo');
//           'foo'

Contributed by rickyes - #32964.

Commits

Semver-minor commits

  • [c87ed21fdf] - (SEMVER-MINOR) assert: port common.mustCall() to assert (ConorDavenport) #31982
  • [c49e3ea20c] - (SEMVER-MINOR) console: support console constructor groupIndentation option (rickyes) #32964
  • [bc9e413dae] - (SEMVER-MINOR) worker: add stack size resource limit option (Anna Henningsen) #33085

Semver-patch commits

  • [f62d92b900] - build: add --error-on-warn configure flag (Daniel Bevenius) #32685
  • [db293c47dd] - cluster: fix error on worker disconnect/destroy (Santiago Gimeno) #32793
  • [83e165bf88] - crypto: check DiffieHellman p and g params (Ben Noordhuis) #32739
  • [e07cca6af6] - crypto: generator must be int32 in DiffieHellman() (Ben Noordhuis) #32739
  • [637442fec9] - crypto: key size must be int32 in DiffieHellman() (Ben Noordhuis) #32739
  • [c5a4534d5c] - deps: V8: backport e29c62b74854 (Anna Henningsen) #33125
  • [8325c29e92] - deps: update to uvwasi 0.0.8 (Colin Ihrig) #33078
  • [2174159598] - esm: improve commonjs hint on module not found (Daniele Belardi) #31906
  • [74b0e8c3a8] - http: ensure client request emits close (Robert Nagy) #33178
  • [a4ec01c55b] - http: simplify sending header (Robert Nagy) #33200
  • [451993ea94] - http: set default timeout in agent keepSocketAlive (Owen Smith) #33127
  • [3cb1713a59] - http2,doc: minor fixes (Alba Mendez) #28044
  • [eab4be1b93] - lib: cosmetic change to builtinLibs list for maintainability (James M Snell) #33106
  • [542da430ff] - lib: fix validateport error message when allowZero is false (rickyes) #32861
  • [5eccf1e9ad] - module: no type module resolver side effects (Guy Bedford) #33086
  • [466213d726] - n-api: simplify uv_idle wrangling (Ben Noordhuis) #32997
  • [ed45b51642] - path: fix comment grammar (thecodrr) #32942
  • [bb2d2f6e0e] - src: remove unused v8 Message namespace (Adrian Estrada) #33180
  • [de643bc325] - src: use unique_ptr for CachedData in ContextifyScript::New (Anna Henningsen) #33113
  • [f61928ba35] - src: return undefined when validation err == 0 (James M Snell) #33107
  • [f4e5ab14da] - src: crypto::UseSNIContext to use BaseObjectPtr (James M Snell) #33107
  • [541ea035bf] - src: separate out NgLibMemoryManagerBase (James M Snell) #33104
  • [10a87c81cf] - src: remove unnecessary fully qualified names (rickyes) #33077
  • [45032a39e8] - stream: fix stream.finished on Duplex (Robert Nagy) #33133
  • [4cfa7e0716] - stream: simplify Readable push/unshift logic (himself65) #32899
  • [bc40ed31b3] - stream: add null check in Readable.from (Pranshu Srivastava) #32873
  • [b183d0a18a] - stream: let Duplex re-use Writable properties (Robert Nagy) #33079
  • [ec24577406] - v8: use AliasedBuffers for passing heap statistics around (Joyee Cheung) #32929
  • [d39254ada6] - vm: fix vm.measureMemory() and introduce execution option (Joyee Cheung) #32988
  • [4423304ac4] - vm: throw error when duplicated exportNames in SyntheticModule (himself65) #32810
  • [3866dc1311] - wasi: use free() to release preopen array (Anna Henningsen) #33110
  • [d7d9960d38] - wasi: update start() behavior to match spec (Colin Ihrig) #33073
  • [8d5ac1bbf0] - wasi: rename __wasi_unstable_reactor_start() (Colin Ihrig) #33073
  • [c6d632a72a] - worker: unify custom error creation (Anna Henningsen) #33084

Documentation commits

Other commits

  • [60ebbc4386] - test: update c8 ignore comment (Benjamin Coe) #33151
  • [e276524fcc] - test: skip memory usage tests when ASAN is enabled (Anna Henningsen) #33129
  • [89ed7a5862] - test: move test-process-title to sequential (Anna Henningsen) #33150
  • [af7da46d9b] - test: fix out-of-bound reads from invalid sizeof usage (Anna Henningsen) #33115
  • [9ccb6b2e8c] - test: add missing calls to napi_async_destroy (Anna Henningsen) #33114
  • [3c2f608a8d] - test: correct typo in test name (Colin Ihrig) #33083
  • [92c7e0620f] - test: check args on SourceTextModule cachedData (Juan José Arboleda) #32956
  • [f79ef96fea] - test: mark test flaky on freebsd (Sam Roberts) #32849
  • [aced1f5d70] - test: flaky test-stdout-close-catch on freebsd (Sam Roberts) #32849
  • [6734cc43df] - tools: bump remark-preset-lint-node to 1.15.0 (Rich Trott) #33157
  • [a87d371014] - tools: fix redundant-move warning in inspector (Daniel Bevenius) #32685
  • [12426f59f5] - tools: update remark-preset-lint-node@1.14.0 (Rich Trott) #33072
  • [8c40ffc329] - tools: update broken types in type parser (Colin Ihrig) #33068

2020-04-29, Version 14.1.0 (Current), @BethGriggs

Notable Changes

  • deps: upgrade openssl sources to 1.1.1g (Hassaan Pasha) #32971
  • doc: add juanarbol as collaborator (Juan José Arboleda) #32906
  • http: doc deprecate abort and improve docs (Robert Nagy) #32807
  • module: do not warn when accessing __esModule of unfinished exports (Anna Henningsen) #33048
  • n-api: detect deadlocks in thread-safe function (Gabriel Schulhof) #32860
  • src: deprecate embedder APIs with replacements (Anna Henningsen) #32858
  • stream:
    • don't emit end after close (Robert Nagy) #33076
    • don't wait for close on legacy streams (Robert Nagy) #33058
    • pipeline should only destroy un-finished streams (Robert Nagy) #32968
  • vm: add importModuleDynamically option to compileFunction (Gus Caplan) #32985

Commits

  • [1af08e1c5e] - buffer,n-api: fix double ArrayBuffer::Detach() during cleanup (Anna Henningsen) #33039
  • [91e30e35a1] - build: fix vcbuild error for missing Visual Studio (Thomas) #32658
  • [4035cbe631] - cluster: removed unused addressType argument from constructor (Yash Ladha) #32963
  • [56f50aeff0] - deps: patch V8 to 8.1.307.31 (Michaël Zasso) #33080
  • [fad188fe23] - deps: update archs files for OpenSSL-1.1.1g (Hassaan Pasha) #32971
  • [b12f1630fc] - deps: upgrade openssl sources to 1.1.1g (Hassaan Pasha) #32971
  • [b50333e001] - deps: V8: backport 3f8dc4b2e5ba (Ujjwal Sharma) #32993
  • [bbed1e56cd] - deps: V8: cherry-pick e1eac1b16c96 (Milad Farazmand) #32974
  • [3fed735099] - doc: fix LTS replaceme tags (Anna Henningsen) #33041
  • [343c6ac639] - doc: assign missing deprecation code (Richard Lau) #33109
  • [794b8796dd] - doc: improve WHATWG url constructor code example (Liran Tal) #32782
  • [14e559df87] - doc: make openssl maintenance position independent (Sam Roberts) #32977
  • [8a4de2ef25] - doc: improve release documentation (Michaël Zasso) #33042
  • [401ab610e7] - doc: document major finished changes in v14 (Robert Nagy) #33065
  • [a534d8282c] - doc: add documentation for transferList arg at worker threads (Juan José Arboleda) #32881
  • [f116825d56] - doc: avoid tautology in README (Ishaan Jain) #33005
  • [7e9f88e005] - doc: updated directory entry information (Eileen) #32791
  • [bf331b4e21] - doc: ignore no-literal-urls in README (Nick Schonning) #32676
  • [f92b398c76] - doc: convert bare email addresses to mailto links (Nick Schonning) #32676
  • [2bde11607d] - doc: ignore no-literal-urls in changelogs (Nick Schonning) #32676
  • [71f90234f9] - doc: add angle brackets around implicit links (Nick Schonning) #32676
  • [aec7bc754e] - doc: remove repeated word in modules.md (Prosper Opara) #32931
  • [005c2bab29] - doc: elevate diagnostic report to tier1 (Gireesh Punathil) #32732
  • [4dd3a7ddc9] - doc: set module version 83 to node 14 (Gerhard Stoebich) #32975
  • [b5b3efeb90] - doc: add more info to v14 changelog (Gus Caplan) #32979
  • [f6be140222] - doc: fix typo in security-release-process.md (Edward Elric) #32926
  • [fa710732bf] - doc: corrected ERR_SOCKET_CANNOT_SEND message (William Armiros) #32847
  • [68b7c80a44] - doc: fix usage of folder and directory terms in fs.md (karan singh virdi) #32919
  • [57c170c75c] - doc: fix typo in zlib.md (雨夜带刀) #32901
  • [a8ed8f5d0a] - doc: synch SECURITY.md with website (Rich Trott) #32903
  • [ccf6d3e5ed] - doc: add tsc-agenda to onboarding labels list (Rich Trott) #32832
  • [fc71a85c49] - doc: add N-API version 6 to table (Michael Dawson) #32829
  • [87605f0ed3] - doc: add juanarbol as collaborator (Juan José Arboleda) #32906
  • [4c643c0d42] - fs: update validateOffsetLengthRead in utils.js (daemon1024) #32896
  • [baa8231728] - fs: extract kWriteFileMaxChunkSize constant (rickyes) #32640
  • [03d02d74f3] - fs: remove unnecessary else statement (Jesus Hernandez) #32662
  • [31c797cb11] - http: doc deprecate abort and improve docs (Robert Nagy) #32807
  • [4ef91a640e] - http2: wait for secureConnect before initializing (Benjamin Coe) #32958
  • [6fc4d174b5] - http2: refactor and cleanup http2 (James M Snell) #32884
  • [4b6aa077fe] - inspector: only write coverage in fully bootstrapped Environments (Joyee Cheung) #32960
  • [737bd6205b] - lib: unnecessary const assignment for class (Yash Ladha) #32962
  • [98b30b06ff] - lib: simplify function process.emitWarning (himself65) #32992
  • [b957895ff7] - lib: remove unnecesary else block (David Daza) #32644
  • [cb4d8ce889] - module: refactor condition (Myles Borins) #32989
  • [4abc45a4b9] - module: do not warn when accessing __esModule of unfinished exports (Anna Henningsen) #33048
  • [21d314e7fc] - module: exports not exported for null resolutions (Guy Bedford) #32838
  • [eaf841d585] - module: improve error for invalid package targets (Myles Borins) #32052
  • [8663fd5f88] - module: partial doc removal of --experimental-modules (Myles Borins) #32915
  • [68656cf588] - n-api: fix false assumption on napi_async_context structures (legendecas) #32928
  • [861eb39307] - (SEMVER-MINOR) n-api: detect deadlocks in thread-safe function (Gabriel Schulhof) #32860
  • [a133ac17eb] - perf_hooks: remove unnecessary assignment when name is undefined (rickyes) #32910
  • [59b64adb79] - src: add AsyncWrapObject constructor template factory (Stephen Belanger) #33051
  • [23eda417b6] - src: do not compare against wide characters (Christopher Beeson) #32921
  • [d10c2c6968] - src: fix empty-named env var assertion failure (Christopher Beeson) #32921
  • [44c157e45d] - src: assignment to valid type (Yash Ladha) #32879
  • [d82c3c28de] - src: delete MicroTaskPolicy namespace (Juan José Arboleda) #32853
  • [bc755fc4c2] - src: fix compiler warnings in node_http2.cc (Daniel Bevenius) #33014
  • [30c2b0f798] - (SEMVER-MINOR) src: deprecate embedder APIs with replacements (Anna Henningsen) #32858
  • [95e897edfc] - src: use using NewStringType (rickyes) #32843
  • [4221b1c8c9] - src: fix null deref in AllocatedBuffer::clear (Matt Kulukundis) #32892
  • [f9b8988df6] - src: remove validation of unreachable code (Juan José Arboleda) #32818
  • [307e43da4d] - src: elevate v8 namespaces (Nimit) #32872
  • [ca7e0a226e] - src: remove redundant v8::HeapSnapshot namespace (Juan José Arboleda) #32854
  • [ae157b8ca7] - (SEMVER-MINOR) stream: don't emit end after close (Robert Nagy) #33076
  • [184e80a144] - stream: don't wait for close on legacy streams (Robert Nagy) #33058
  • [e07c4ffc39] - stream: fix sync write perf regression (Robert Nagy) #33032
  • [2bb4ac409b] - stream: avoid drain for sync streams (Robert Nagy) #32887
  • [c21f1f03c5] - stream: removes unnecessary params (Jesus Hernandez) #32936
  • [4c10b5f378] - stream: consistent punctuation (Robert Nagy) #32934
  • [1a2b3eb3a4] - stream: fix broken pipeline test (Robert Nagy) #33030
  • [7abc61f668] - stream: refactor Writable buffering (Robert Nagy) #31046
  • [180b935b58] - stream: pipeline should only destroy un-finished streams (Robert Nagy) #32968
  • [7647860000] - stream: finished should complete with read-only Duplex (Robert Nagy) #32967
  • [36a4f54d69] - stream: close iterator in Readable.from (Vadzim Zieńka) #32844
  • [7f498125e4] - stream: inline unbuffered _write (Robert Nagy) #32886
  • [2ab4ebc8bf] - stream: simplify Writable.end() (Robert Nagy) #32882
  • [11ea13f96c] - test: refactor test-async-hooks-constructor (himself65) #33063
  • [8fad112d93] - test: remove timers-blocking-callback (Jeremiah Senkpiel) #32870
  • [988c2fe287] - test: better error validations for event-capture (Adrian Estrada) #32771
  • [45e188b2e3] - test: refactor events tests for invalid listeners (Adrian Estrada) #32769
  • [b4ef06267d] - test: test-async-wrap-constructor prefer forEach (Daniel Estiven Rico Posada) #32631
  • [c9ae385abf] - test: mark test-child-process-fork-args as flaky on Windows (Andrey Pechkurov) #32950
  • [b12204e27e] - test: changed function to arrow function (Nimit) #32875
  • [323da6f251] - tls: add highWaterMark option for connect (rickyes) #32786
  • [308681307f] - tls: move getAllowUnauthorized to internal/options (James M Snell) #32917
  • [6a8e266a3b] - tools: update ESLint to 7.0.0-rc.0 (himself65) #33062
  • [fa7d969237] - tools: remove unused code in doc generation tool (Rich Trott) #32913
  • [ca5ebcfb67] - tools: fix mkcodecache when run with ASAN (Anna Henningsen) #32850
  • [22ccf2ba1f] - tools: decrease timeout in test.py (Anna Henningsen) #32868
  • [c82c08416f] - util,readline: NFC-normalize strings before getStringWidth (Anna Henningsen) #33052
  • [4143c747fc] - (SEMVER-MINOR) vm: add importModuleDynamically option to compileFunction (Gus Caplan) #32985
  • [c84d802449] - worker: fix process.env var empty key access (Christopher Beeson) #32921

2020-04-21, Version 14.0.0 (Current), @BethGriggs

Notable Changes

Deprecations

  • (SEMVER-MAJOR) crypto: move pbkdf2 without digest to EOL (James M Snell) #31166
  • (SEMVER-MAJOR) fs: deprecate closing FileHandle on garbage collection (James M Snell) #28396
  • (SEMVER-MAJOR) http: move OutboundMessage.prototype.flush to EOL (James M Snell) #31164
  • (SEMVER-MAJOR) lib: move GLOBAL and root aliases to EOL (James M Snell) #31167
  • (SEMVER-MAJOR) os: move tmpDir() to EOL (James M Snell) #31169
  • (SEMVER-MAJOR) src: remove deprecated wasm type check (Clemens Backes) #32116
  • (SEMVER-MAJOR) stream: move _writableState.buffer to EOL (James M Snell) #31165
  • (SEMVER-MINOR) doc: deprecate process.mainModule (Antoine du HAMEL) #32232
  • (SEMVER-MINOR) doc: deprecate process.umask() with no arguments (Colin Ihrig) #32499

ECMAScript Modules - Experimental Warning Removal

  • module: remove experimental modules warning (Guy Bedford) #31974

In Node.js 13 we removed the need to include the --experimental-modules flag, but when running EcmaScript Modules in Node.js, this would still result in a warning ExperimentalWarning: The ESM module loader is experimental.

As of Node.js 14 there is no longer this warning when using ESM in Node.js. However, the ESM implementation in Node.js remains experimental. As per our stability index: “The feature is not subject to Semantic Versioning rules. Non-backward compatible changes or removal may occur in any future release.” Users should be cautious when using the feature in production environments.

Please keep in mind that the implementation of ESM in Node.js differs from the developer experience you might be familiar with. Most transpilation workflows support features such as optional file extensions or JSON modules that the Node.js ESM implementation does not support. It is highly likely that modules from transpiled environments will require a certain degree of refactoring to work in Node.js. It is worth mentioning that many of our design decisions were made with two primary goals. Spec compliance and Web Compatibility. It is our belief that the current implementation offers a future proof model to authoring ESM modules that paves the path to Universal JavaScript. Please read more in our documentation.

The ESM implementation in Node.js is still experimental but we do believe that we are getting very close to being able to call ESM in Node.js “stable”. Removing the warning is a huge step in that direction.

New V8 ArrayBuffer API

  • src: migrate to new V8 ArrayBuffer API (Thang Tran) #30782

Multiple ArrayBuffers pointing to the same base address are no longer allowed by V8. This may impact native addons.

Toolchain and Compiler Upgrades

  • (SEMVER-MAJOR) build: update macos deployment target to 10.13 for 14.x (AshCripps) #32454
  • (SEMVER-MAJOR) doc: update cross compiler machine for Linux armv7 (Richard Lau) #32812
  • (SEMVER-MAJOR) doc: update Centos/RHEL releases use devtoolset-8 (Richard Lau) #32812
  • (SEMVER-MAJOR) doc: remove SmartOS from official binaries (Richard Lau) #32812
  • (SEMVER-MAJOR) win: block running on EOL Windows versions (João Reis) #31954

It is expected that there will be an ABI mismatch on ARM between the Node.js binary and native addons. Native addons are only broken if they interact with std::shared_ptr. This is expected to be fixed in a later version of Node.js 14. - #30786

Update to V8 8.1

  • (SEMVER-MAJOR) deps: update V8 to 8.1.307.20 (Matheus Marchini) #32116
    • Enables Optional Chaining by default (MDN, v8.dev)
    • Enables Nullish Coalescing by default (MDN, v8.dev)
    • Enables Intl.DisplayNames by default (MDN, v8.dev)
    • Enables calendar and numberingSystem options for Intl.DateTimeFormat by default (MDN)

Other Notable Changes:

  • cli, report: move --report-on-fatalerror to stable (Colin Ihrig) #32496
  • deps: upgrade to libuv 1.37.0 (Colin Ihrig) #32866
  • fs: add fs/promises alias module (Gus Caplan) #31553

Semver-Major Commits

  • [5360dd151d] - (SEMVER-MAJOR) assert: handle (deep) equal(NaN, NaN) as being identical (Ruben Bridgewater) #30766

  • [a621608f12] - (SEMVER-MAJOR) build: update macos deployment target to 10.13 for 14.x (AshCripps) #32454

  • [e65bed1b7e] - (SEMVER-MAJOR) child_process: create proper public API for channel (Anna Henningsen) #30165

  • [1b9a62cff4] - (SEMVER-MAJOR) crypto: make DH error messages consistent (Tobias Nießen) #31873

  • [bffa5044c5] - (SEMVER-MAJOR) crypto: move pbkdf2 without digest to EOL (James M Snell) #31166

  • [10f5fa7513] - (SEMVER-MAJOR) crypto: forbid setting the PBKDF2 iter count to 0 (Tobias Nießen) #30578

  • [2883c855e0] - (SEMVER-MAJOR) deps: update V8 to 8.1.307.20 (Matheus Marchini) #32116

  • [1b2e2944bc] - (SEMVER-MAJOR) dgram: don't hide implicit bind errors (Colin Ihrig) #31958

  • [1a1ce93317] - (SEMVER-MAJOR) doc: update cross compiler machine for Linux armv7 (Richard Lau) #32812

  • [dad96e4fc1] - (SEMVER-MAJOR) doc: update Centos/RHEL releases use devtoolset-8 (Richard Lau) #32812

  • [5317202aa1] - (SEMVER-MAJOR) doc: remove SmartOS from official binaries (Richard Lau) #32812

  • [75ee5b2622] - (SEMVER-MAJOR) doc: deprecate process.umask() with no arguments (Colin Ihrig) #32499

  • [afe353061b] - (SEMVER-MAJOR) doc: fs.write is not longer coercing strings (Juan José Arboleda) #31030

  • [a45c1aa39f] - (SEMVER-MAJOR) doc: fix mode and flags being mistaken in fs (Ruben Bridgewater) #27044

  • [331d636240] - (SEMVER-MAJOR) errors: remove unused ERR_SOCKET_CANNOT_SEND error (Colin Ihrig) #31958

  • [b8e41774d4] - (SEMVER-MAJOR) fs: add fs/promises alias module (Gus Caplan) #31553

  • [fb6df3bfac] - (SEMVER-MAJOR) fs: validate the input data to be of expected types (Ruben Bridgewater) #31030

  • [2d8febceef] - (SEMVER-MAJOR) fs: deprecate closing FileHandle on garbage collection (James M Snell) #28396

  • [67e067eb06] - (SEMVER-MAJOR) fs: watch signals for recursive incompatibility (Eran Levin) #29947

  • [f0d2df41f8] - (SEMVER-MAJOR) fs: change streams to always emit close by default (Robert Nagy) #31408

  • [a13500f503] - (SEMVER-MAJOR) fs: improve mode and flags validation (Ruben Bridgewater) #27044

  • [535e9571f5] - (SEMVER-MAJOR) fs: make FSStatWatcher.start private (Lucas Holmquist) #29971

  • [c1b2f6afbe] - (SEMVER-MAJOR) http: detach socket from IncomingMessage on keep-alive (Robert Nagy) #32153

  • [173d044d09] - (SEMVER-MAJOR) http: align OutgoingMessage and ClientRequest destroy (Robert Nagy) #32148

  • [d3715c76b5] - (SEMVER-MAJOR) http: move OutboundMessage.prototype.flush to EOL (James M Snell) #31164

  • [c776a37791] - (SEMVER-MAJOR) http: end with data can cause write after end (Robert Nagy) #28666

  • [ff2ed3ec85] - (SEMVER-MAJOR) http: remove unused hasItems() from freelist (Rich Trott) #30744

  • [d247a8e1dc] - (SEMVER-MAJOR) http: emit close on socket re-use (Robert Nagy) #28685

  • [6f0ec79e42] - (SEMVER-MAJOR) http,stream: make virtual methods throw an error (Luigi Pinca) #31912

  • [ec0dd6fa1c] - (SEMVER-MAJOR) lib: move GLOBAL and root aliases to EOL (James M Snell) #31167

  • [d7452b7140] - (SEMVER-MAJOR) module: warn on using unfinished circular dependency (Anna Henningsen) #29935

  • [eeccd52b4e] - (SEMVER-MAJOR) net: make readable/writable start as true (Robert Nagy) #32272

  • [ab4115f17c] - (SEMVER-MAJOR) os: move tmpDir() to EOL (James M Snell) #31169

  • [8c18e91c8a] - (SEMVER-MAJOR) process: remove undocumented now argument from emitWarning() (Rich Trott) #31643

  • [84c426cb60] - (SEMVER-MAJOR) repl: properly handle repl.repl (Ruben Bridgewater) #30981

  • [4f523c2c1a] - (SEMVER-MAJOR) src: migrate to new V8 ArrayBuffer API (Thang Tran) #30782

  • [c712fb7cd6] - (SEMVER-MAJOR) src: add abstract IsolatePlatformDelegate (Marcel Laverdet) #30324

  • [1428a92492] - (SEMVER-MAJOR) stream: make pipeline try to wait for 'close' (Robert Nagy) #32158

  • [388cef61e8] - (SEMVER-MAJOR) stream: align stream.Duplex with net.Socket (Robert Nagy) #32139

  • [7cafd5f3a9] - (SEMVER-MAJOR) stream: fix finished w/ 'close' before 'end' (Robert Nagy) #31545

  • [311e12b962] - (SEMVER-MAJOR) stream: fix multiple destroy calls (Robert Nagy) #29197

  • [1f209129c7] - (SEMVER-MAJOR) stream: throw invalid argument errors (Robert Nagy) #31831

  • [d016b9d708] - (SEMVER-MAJOR) stream: finished callback for closed streams (Robert Nagy) #31509

  • [e559842188] - (SEMVER-MAJOR) stream: make readable & writable computed (Robert Nagy) #31197

  • [907c07fa85] - (SEMVER-MAJOR) stream: move _writableState.buffer to EOL (James M Snell) #31165

  • [66f4e4edcb] - (SEMVER-MAJOR) stream: do not emit 'end' after 'error' (Robert Nagy) #31182

  • [75b30c606c] - (SEMVER-MAJOR) stream: emit 'error' asynchronously (Robert Nagy) #29744

  • [4bec6d13f9] - (SEMVER-MAJOR) stream: enable autoDestroy by default (Robert Nagy) #30623

  • [20d009d2fd] - (SEMVER-MAJOR) stream: pipe should not swallow error (Robert Nagy) #30993

  • [67ed526ab0] - (SEMVER-MAJOR) stream: error state cleanup (Robert Nagy) #30851

  • [e902fadc5e] - (SEMVER-MAJOR) stream: do not throw multiple callback errors in writable (Robert Nagy) #30614

  • [e13a37e49d] - (SEMVER-MAJOR) stream: ensure finish is emitted in next tick (Robert Nagy) #30733

  • [9d09969f4c] - (SEMVER-MAJOR) stream: always invoke end callback (Robert Nagy) #29747

  • [0f78dcc86d] - (SEMVER-MAJOR) util: escape C1 control characters and switch to hex format (Ruben Bridgewater) #29826

  • [cb8898c48f] - (SEMVER-MAJOR) win: block running on EOL Windows versions (João Reis) #31954

  • [a9401439c7] - (SEMVER-MAJOR) zlib: align with streams (Robert Nagy) #32220

Semver-Minor Commits

  • [63f0dd1ab9] - (SEMVER-MINOR) async_hooks: merge run and exit methods (Andrey Pechkurov) #31950
  • [a683e87cd0] - (SEMVER-MINOR) async_hooks: prevent sync methods of async storage exiting outer context (Stephen Belanger) #31950
  • [f571b294f5] - (SEMVER-MINOR) doc: deprecate process.mainModule (Antoine du HAMEL) #32232
  • [e04f599258] - (SEMVER-MINOR) doc: add basic embedding example documentation (Anna Henningsen) #30467
  • [e93503be83] - (SEMVER-MINOR) embedding: provide hook for custom process.exit() behaviour (Anna Henningsen) #32531
  • [a8cf886de7] - (SEMVER-MINOR) src: shutdown platform from FreePlatform() (Anna Henningsen) #30467
  • [0e576740dc] - (SEMVER-MINOR) src: fix what a dispose without checking (Jichan) #30467
  • [887b6a143b] - (SEMVER-MINOR) src: allow non-Node.js TracingControllers (Anna Henningsen) #30467
  • [7e0264d932] - (SEMVER-MINOR) src: add ability to look up platform based on Environment\* (Anna Henningsen) #30467
  • [d7f11077f1] - (SEMVER-MINOR) src: make InitializeNodeWithArgs() official public API (Anna Henningsen) #30467
  • [821e21de8c] - (SEMVER-MINOR) src: add unique_ptr equivalent of CreatePlatform (Anna Henningsen) #30467
  • [7dead8440c] - (SEMVER-MINOR) src: add LoadEnvironment() variant taking a string (Anna Henningsen) #30467
  • [c44edec4da] - (SEMVER-MINOR) src: provide a variant of LoadEnvironment taking a callback (Anna Henningsen) #30467
  • [a9fb51f9be] - (SEMVER-MINOR) src: align worker and main thread code with embedder API (Anna Henningsen) #30467
  • [084c379648] - (SEMVER-MINOR) src: associate is_main_thread() with worker_context() (Anna Henningsen) #30467
  • [64c01222d9] - (SEMVER-MINOR) src: move worker_context from Environment to IsolateData (Anna Henningsen) #30467
  • [288382a4ce] - (SEMVER-MINOR) src: fix memory leak in CreateEnvironment when bootstrap fails (Anna Henningsen) #30467
  • [d7bc5816a5] - (SEMVER-MINOR) src: make FreeEnvironment() perform all necessary cleanup (Anna Henningsen) #30467
  • [43d32b073f] - (SEMVER-MINOR) src,test: add full-featured embedder API test (Anna Henningsen) #30467
  • [2061c33670] - (SEMVER-MINOR) test: add extended embedder cctest (Anna Henningsen) #30467
  • [2561484dcb] - (SEMVER-MINOR) test: re-enable cctest that was commented out (Anna Henningsen) #30467

Semver-Patch Commits

  • [9b6e797379] - Revert "assert: fix line number calculation after V8 upgrade" (Michaël Zasso) #32116
  • [c740fbda9d] - buffer: add type check in bidirectionalIndexOf (Gerhard Stoebich) #32770
  • [c8e3470e53] - buffer: mark pool ArrayBuffer as untransferable (Anna Henningsen) #32759
  • [f2c22db580] - build: remove .git folders when testing V8 (Richard Lau) #32877
  • [c0f43bfda8] - build: add configure flag to build V8 with DCHECKs (Anna Henningsen) #32787
  • [99e7f878ce] - build: re-enable ASAN Action using clang (Matheus Marchini) #32776
  • [3e55284e9b] - build: use same flags as V8 for ASAN (Matheus Marchini) #32776
  • [4e5ec41024] - build: add build from tarball (John Kleinschmidt) #32129
  • [6a349019da] - build: temporarily skip ASAN build (Matheus Marchini) #32116
  • [da92f15413] - build: reset embedder string to "-node.0" (Matheus Marchini) #32116
  • [e883059c24] - cli, report: move --report-on-fatalerror to stable (Colin Ihrig) #32496
  • [bf86f55e22] - deps: patch V8 to 8.1.307.30 (Michaël Zasso) #32693
  • [b5bbde8cf1] - deps: upgrade to libuv 1.37.0 (Colin Ihrig) #32866
  • [7afe24dba6] - deps: upgrade to libuv 1.36.0 (Colin Ihrig) #32866
  • [1cd235d1a0] - deps: patch V8 to run on Xcode 8 (Matheus Marchini) #32116
  • [5d867badd0] - deps: V8: silence irrelevant warnings (Michaël Zasso) #32116
  • [8d2c441e4d] - deps: V8: cherry-pick 931bdbd76f5b (Matheus Marchini) #32116
  • [049160dfb6] - deps: V8: cherry-pick 1e36e21acc40 (Matheus Marchini) #32116
  • [0220c298c5] - deps: bump minimum icu version to 65 (Michaël Zasso) #32116
  • [f90eba1d91] - deps: make v8.h compatible with VS2015 (Joao Reis) #32116
  • [56b6a4f732] - deps: V8: forward declaration of Rtl\*FunctionTable (Refael Ackermann) #32116
  • [40c9419b35] - deps: V8: patch register-arm64.h (Refael Ackermann) #32116
  • [55407ab73e] - deps: patch V8 to run on older XCode versions (Ujjwal Sharma) #32116
  • [990bc9adb4] - deps: V8: un-cherry-pick bd019bd (Refael Ackermann) #32116
  • [17a6def4e8] - deps: update V8 dtrace & postmortem metadata (Colin Ihrig) #32116
  • [0f14123186] - deps: V8: stub backport fast API call changes (Anna Henningsen) #32885
  • [bf412ed77b] - deps: V8: stub backport d5b444bc5a84 (Anna Henningsen) #32885
  • [fdaa365b0b] - deps: V8: stub backport 65238018ca4b and 8d08318e1a85 (Anna Henningsen) #32885
  • [8198e7882c] - deps: V8: stub backport 9e52d5c5d717 (Anna Henningsen) #32885
  • [a27852ae7c] - deps: V8: cherry-pick 98b1ef80c722 (Anna Henningsen) #32885
  • [e8c7b7a2df] - deps: V8: cherry-pick b5c917ee80cb (Anna Henningsen) #32885
  • [552cee0cc0] - deps: V8: cherry-pick 700b1b97e9ab (Anna Henningsen) #32885
  • [9b7a1b048a] - deps: V8: cherry-pick e8ba5699c648 (Anna Henningsen) #32885
  • [1f02617b05] - deps: V8: cherry-pick 55a01ec7519a (Anna Henningsen) #32885
  • [da728c482c] - deps: V8: cherry-pick 9f0f2cb7f08d (Anna Henningsen) #32885
  • [2ee8b4a512] - deps: V8: cherry-pick e395d1698453 (Anna Henningsen) #32885
  • [dfc66a6af4] - deps: V8: cherry-pick d1253ae95b09 (Anna Henningsen) #32885
  • [c3ecbc758b] - deps: V8: cherry-pick fa3e37e511ee (Anna Henningsen) #32885
  • [9568fbc7cd] - deps: V8: cherry-pick f0057afc2fb6 (Anna Henningsen) #32885
  • [07d4372d5a] - deps: V8: cherry-pick 94723c197199 (Anna Henningsen) #32885
  • [4a11a54f9a] - deps: V8: backport 844fe8f7d965 (Anna Henningsen) #32885
  • [1b7878558a] - deps: V8: cherry-pick 2db93c023379 (Anna Henningsen) #32885
  • [122937fc67] - deps: V8: cherry-pick 4b1447e4bb0e (Anna Henningsen) #32885
  • [01573ba4ae] - deps: remove duplicated postmortem metadata entry (Matheus Marchini) #32521
  • [9290febefa] - deps: patch V8 to 8.1.307.26 (Matheus Marchini) #32521
  • [a9e4cec70d] - Revert "deps: V8: cherry-pick f9257802c1c0" (Matheus Marchini) #32521
  • [77542a5d57] - deps: revert whitespace changes on V8 (Matheus Marchini) #32587
  • [9add24ecd3] - doc: missing brackets (William Bonawentura) #32657
  • [1796cc0df5] - doc: improve consistency in usage of NULL (Michael Dawson) #32726
  • [2662b0c9e3] - doc: improve net docs (Robert Nagy) #32811
  • [5d940de17b] - doc: note that signatures of binary may be from subkeys (Reşat SABIQ) #32591
  • [3c8dd6d0c3] - doc: add transform stream destroy() return value (Colin Ihrig) #32788
  • [39368b34eb] - doc: updated guidance for n-api changes (Michael Dawson) #32721
  • [cba6e5dc09] - doc: remove warning from response.writeHead (Cecchi MacNaughton) #32700
  • [8f7fd8d6aa] - doc: improve AsyncLocalStorage sample (Andrey Pechkurov) #32757
  • [a7c75f956f] - doc: document buffer.from returns internal pool buffer (Harshitha KP) #32703
  • [f6a91156c7] - doc: add puzpuzpuz to collaborators (Andrey Pechkurov) #32817
  • [1db8da21f2] - doc: split process.umask() entry into two (Rich Trott) #32711
  • [6ade42bb3c] - doc: stream.end(cb) cb can be invoked with error (Pranshu Srivastava) #32238
  • [edb3ffb003] - doc: fix os.version() Windows API (Colin Ihrig) #32156
  • [a777cfa843] - doc: remove repetition (Luigi Pinca) #31868
  • [7c524fb092] - doc: fix Writable.write callback description (Robert Nagy) #31812
  • [43fb664701] - doc: fix missing changelog corrections (Myles Borins) #31854
  • [a2d6f98e1a] - doc: fix typo (Colin Ihrig) #31675
  • [17e3f3be76] - doc: update pr-url for DEP0022 EOL (Colin Ihrig) #31675
  • [cd0f5a239e] - doc: update pr-url for DEP0016 EOL (Colin Ihrig) #31675
  • [5170daaca5] - doc: fix changelog for v10.18.1 (Andrew Hughes) #31358
  • [d845915d46] - doc: mark Node.js 8 End-of-Life in CHANGELOG (Beth Griggs) #31152
  • [009a9c475b] - doc,src,test: assign missing deprecation code (Colin Ihrig) #31674
  • [ed4fbefb71] - fs: use finished over destroy w/ cb (Robert Nagy) #32809
  • [3e9302b2b3] - fs: validate the input data before opening file (Yongsheng Zhang) #31731
  • [1a3e358a1d] - http: refactor agent 'free' handler (Robert Nagy) #32801
  • [399749e4d8] - lib: created isValidCallback helper (Yash Ladha) #32665
  • [bc55b57e64] - lib: fix few comment typos in fs/watchers.js (Denys Otrishko) #31705
  • [f98668ade3] - module: remove experimental modules warning (Guy Bedford) #31974
  • [fe1bda9aeb] - module: fix memory leak when require error occurs (Qinhui Chen) #32837
  • [076ba3150d] - Revert "n-api: detect deadlocks in thread-safe function" (Gabriel Schulhof) #32880
  • [1092bb94f4] - process: suggest --trace-warnings when printing warning (Anna Henningsen) #32797
  • [d19a2c33b3] - src: migrate measureMemory to new v8 api (gengjiawen) #32116
  • [a63db7fb5e] - src: remove deprecated wasm type check (Clemens Backes) #32116
  • [c080b2d821] - src: avoid calling deprecated method (Clemens Backes) #32116
  • [7ed0d1439e] - src: remove use of deprecated Symbol::Name() (Colin Ihrig) #32116
  • [59eeb3b5b9] - src: stop overriding deprecated V8 methods (Clemens Backes) #32116
  • [339c192ddb] - src: update NODE_MODULE_VERSION to 83 (Matheus Marchini) #32116
  • [6681a685a9] - src: remove unused using in node_worker.cc (Daniel Bevenius) #32840
  • [b9d9f91a80] - src: use basename(argv0) for --trace-uncaught suggestion (Anna Henningsen) #32798
  • [24e1e28b38] - src: ignore GCC -Wcast-function-type for v8.h (Daniel Bevenius) #32679
  • [a946189ccd] - src: add AliasedStruct utility (James M Snell) #32778
  • [457f1f1ed0] - src: remove unused v8 Array namespace (Juan José Arboleda) #32749
  • [b68e26ee70] - src: flush V8 interrupts from Environment dtor (Anna Henningsen) #32523
  • [96bf137cca] - src: use env->RequestInterrupt() for inspector MainThreadInterface (Anna Henningsen) #32523
  • [72da426780] - src: use env->RequestInterrupt() for inspector io thread start (Anna Henningsen) #32523
  • [99c9b2368c] - src: fix cleanup hook removal for InspectorTimer (Anna Henningsen) #32523
  • [6dffd6b3de] - src: make Environment::interrupt\_data\_ atomic (Anna Henningsen) #32523
  • [8c5ad1392f] - src: initialize inspector before RunBootstrapping() (Anna Henningsen) #32672
  • [eafd64b1c8] - src: consistently declare BindingData class (Sam Roberts) #32677
  • [78c82a38ac] - src: move fs state out of Environment (Anna Henningsen) #32538
  • [7005670f34] - src: move http parser state out of Environment (Anna Henningsen) #32538
  • [19b671506c] - src: move v8 stats buffers out of Environment (Anna Henningsen) #32538
  • [4df24f040d] - src: move HTTP/2 state out of Environment (Anna Henningsen) #32538
  • [1fc3de908e] - src: make creating per-binding data structures easier (Anna Henningsen) #32538
  • [0e9f9b7592] - src: include AsyncWrap provider strings in snapshot (Anna Henningsen) #32572
  • [effebf87ab] - src: remove unused v8 namespace (Juan José Arboleda) #32375
  • [d23eed256b] - src: remove calls to deprecated ArrayBuffer methods (Michaël Zasso) #32358
  • [f3682102dc] - src: give Http2Session JS fields their own backing store (Anna Henningsen) #31648
  • [90f7a5c010] - src: set arraybuffer_untransferable_private_symbol (Thang Tran) #31053
  • [d06efafe6b] - src: explicitly allocate backing stores for v8 stat buffers (Anna Henningsen) #30946
  • [917fedd21a] - src: unset NODE_VERSION_IS_RELEASE from master (Michaël Zasso) #30584
  • [69f19f4ccd] - src: remove uses of deprecated wasm TransferrableModule (Clemens Backes) #30026
  • [acac5df260] - src,doc: add documentation for per-binding state pattern (Anna Henningsen) #32538
  • [ad4c10e824] - stream: improve comments regarding end() errors (Robert Nagy) #32839
  • [6e5c23b6c8] - stream: update comment to indicate unused API (Robert Nagy) #32808
  • [21bd6679ce] - stream: fix finished typo (Robert Nagy) #31881
  • [85c6fcd1cd] - stream: avoid writing to writable (Robert Nagy) #31805
  • [0875837417] - stream: fix async iterator destroyed error order (Robert Nagy) #31700
  • [b9a7625fdf] - stream: removed outdated TODO (Robert Nagy) #31701
  • [68e1288e00] - test: mark addons/zlib-bindings/test flaky on arm (Michaël Zasso) #32885
  • [a09bf3ad5f] - test: replace console.log/error() with debuglog (daemon1024) #32692
  • [d1b41bbd86] - test: only detect uname on supported os (Xu Meng) #32833
  • [4bb29ed044] - test: mark cpu-prof-dir-worker flaky on all (Sam Roberts) #32828
  • [e18a40e42d] - test: replace equal with strictEqual (Jesus Hernandez) #32727
  • [320f297a35] - test: mark test-worker-prof flaky on arm (Sam Roberts) #32826
  • [4b5658b536] - test: mark test-http2-reset-flood flaky on all (Sam Roberts) #32825
  • [ead51be541] - test: cover node entry type in perf_hooks (Julian Duque) #32751
  • [9e5189a560] - test: use symlinks to copy shells (John Kleinschmidt) #32129
  • [c5763e8dc1] - test: wait for message from parent in embedding cctest (Anna Henningsen) #32563
  • [c3204a8787] - test: use common.buildType in embedding test (Anna Henningsen) #32422
  • [f2cc28aec3] - test: use InitializeNodeWithArgs in cctest (Anna Henningsen) #32406
  • [df1592d2e9] - test: async iterate destroyed stream (Robert Nagy) #28995
  • [5100e84f4b] - test: fix flaky test-fs-promises-file-handle-close (Anna Henningsen) #31687
  • [52944b834a] - test: remove test (Clemens Backes) #32116
  • [119fdf6813] - test: remove checks for deserializing wasm (Matheus Marchini) #32116
  • [add5f6e5cd] - tls: provide default cipher list from command line (Anna Henningsen) #32760
  • [405ae1909b] - tools: update V8 gypfiles for 8.1 (Matheus Marchini) #32116
  • [7fe61222ef] - worker: mention argument name in type check message (Anna Henningsen) #32815
  • [7147df53e8] - worker: fix type check in receiveMessageOnPort (Anna Henningsen) #32745
  • [0c545f0f72] - zlib: emits 'close' event after readable 'end' (Sergey Zelenov) #32050