Skip to content

v9.9.0 proposal

Rodrigo Muino Tomonari requested to merge v9.9.0-proposal into v9.x

2018-03-21, Version 9.9.0 (Current), @MylesBorins prepared by @targos

Notable Changes

  • assert:
    • From now on all error messages produced by assert in strict mode will produce a error diff. (Ruben Bridgewater) #17615
    • From now on it is possible to use a validation object in throws instead of the other possibilities. (Ruben Bridgewater) #17584
  • crypto:
    • allow passing null as IV unless required (Tobias Nießen) #18644
  • fs:
    • support as and as+ flags in stringToFlags() (Sarat Addepalli) #18801
  • tls:
    • expose Finished messages in TLSSocket (Anton Salikhmetov) #19102
  • tty:
    • Add getColorDepth function to determine if terminal supports colors. (Ruben Bridgewater) #17615
  • util:
    • add util.inspect compact option (Ruben Bridgewater) #17576
  • Added new collaborators

Commits

  • [acc86ed246] - 2018-03-XX, Version 9.9.0 (Current) (Michaël Zasso)
  • [8d33e5c214] - assert: improve error check (Ruben Bridgewater) #17574
  • [5e6b42ec9c] - assert: show proper differences (Ruben Bridgewater) #18611
  • [9abbb6b857] - assert: fix infinite loop (Ruben Bridgewater) #18611
  • [e9ac468146] - assert: fix throws trace (Ruben Bridgewater) #18595
  • [d3c2534bbe] - assert: use destructuring for errors (Ruben Bridgewater) #18247
  • [5aa3a2d172] - (SEMVER-MINOR) assert: improve error messages (Ruben Bridgewater) #17615
  • [f96ea47cf5] - assert: fix strict regression (Ruben Bridgewater) #17903
  • [ebd60fa505] - (SEMVER-MINOR) assert: .throws accept objects (Ruben Bridgewater) #17584
  • [612ba1a3f0] - (SEMVER-MINOR) assert: improve assert.throws (Ruben Bridgewater) #17585
  • [24aeca7dd5] - assert: fix throws and doesNotThrow stack frames (Ruben Bridgewater) #17703
  • [db73d1c13b] - assert: use object argument in innerFail (Ruben Bridgewater) #17582
  • [bae5de1949] - (SEMVER-MINOR) assert: add strict functionality export (Ruben Bridgewater) #17002
  • [f0f31d080a] - async_hooks: add copyHooks function (Daniel Bevenius) #19391
  • [71b1c7f79f] - async_hooks: don't set hook_fields[kTotals] to 0 (Daniel Bevenius) #19219
  • [530b8a4077] - benchmark: fix benchmark for url (Sergey Golovin) #19084
  • [563bed00f5] - benchmark,lib,test,tools: use consistent quotes (Rich Trott) #19156
  • [3f7c4eea04] - build: do not cd on vcbuild help (Vse Mozhet Byt) #19291
  • [5a1437cdbd] - build: update arm64 minimum supported platform (Gibson Fahnestock) #19164
  • [07845fc19e] - console: port errors to new system (Ruben Bridgewater) #18857
  • [03c321a713] - (SEMVER-MINOR) crypto: allow passing null as IV unless required (Tobias Nießen) #18644
  • [044995e546] - crypto: use bool over int consistently (Tobias Nießen) #19238
  • [36f664ef9a] - deps: V8: backport 596d55a from upstream (Myles Borins) #19477
  • [5966b8cc06] - deps: v8: cherry-pick fixes for v8:7535 (Flarna) #19333
  • [cb732aeda4] - doc: enable eslint prefer-template rule (Ruben Bridgewater) #18831
  • [ff82acb95a] - doc: update buffer examples (Ruben Bridgewater) #18758
  • [a4c28d77f7] - doc: fix deprecation removed by mistake (Michaël Zasso) #19482
  • [b229912f6f] - doc: do not announce obvious examples (Rich Trott) #19270
  • [c1fa0926e3] - doc: fix typos on n-api (Kyle Robinson Young) #19385
  • [99e6734f19] - doc: improve best practices in onboarding-extras (Rich Trott) #19315
  • [5a56327e79] - doc: fix minor issues in async_hooks.md (Rich Trott) #19313
  • [5da3ee7719] - doc: clarify default TLS handshake timeout (Rich Trott) #19290
  • [7f652c2bcc] - doc: update username and email (Yuta Hiroto) #19338
  • [e247f19ac3] - doc: improve style guide text (Rich Trott) #19269
  • [c9b12f302a] - doc: remove superfluous text in onboarding-extras (Rich Trott) #19247
  • [6c5afebf55] - doc: make caveat in stream.md more concise (Rich Trott) #19251
  • [8e88a180b9] - doc: add warning to assert.doesNotThrow() (Ruben Bridgewater) #18699
  • [a04e4ae5e4] - doc: remove confusing "cats" from style guide (Rich Trott) #19246
  • [7c3617558e] - doc: remove superfluous adverb from style guide (Rich Trott) #19246
  • [d117f5ff22] - doc: remove warning against readable/readable.read (Rich Trott) #19193
  • [5c21d16c31] - doc: add watson to collaborators (Thomas Watson) #19234
  • [9557e66ae1] - doc: update labels info in onboarding-extras.md (Rich Trott) #19160
  • [84acb9fae5] - doc: add inspector usage example (Ali Ijaz Sheikh) #19172
  • [27088cfaa7] - doc: improve onboarding instructions (Joyee Cheung) #19108
  • [9ec0eab019] - doc: make suggestion more direct in stream.md (Rich Trott) #19124
  • [968b867bf2] - doc: document asserts Weak(Map|Set) behavior (Ruben Bridgewater) #18248
  • [745709396c] - (SEMVER-MINOR) doc: improve .throws RegExp info (Ruben Bridgewater) #17585
  • [5a78c6c0a6] - (SEMVER-MINOR) doc: improve assert documentation (Ruben Bridgewater) #17002
  • [f4f0266bfe] - errors: add comments about falsy error types (Ruben Bridgewater) #18857
  • [ffa16aad60] - errors: update all internal errors (Ruben Bridgewater) #18857
  • [d57a2421fc] - errors: implement new error handling (Ruben Bridgewater) #18857
  • [607b33cfcc] - (SEMVER-MINOR) fs: support as and as+ flags in stringToFlags() (Sarat Addepalli) #18801
  • [b01bd800c6] - fs: fix createReadStream(…, {end: n}) for non-seekable fds (Anna Henningsen) #19329
  • [3914e97741] - http2: fixes error handling (Matteo Collina) #19232
  • [3bf69cd3e7] - http2: some general code improvements (James M Snell) #19400
  • [4277635bed] - http2: clean up Http2Settings (James M Snell) #19400
  • [42b6d801dc] - http2: don't aggressively inline (James M Snell) #19400
  • [89fbbc48ff] - http2: simplify timeout tracking (Anna Henningsen) #19206
  • [f06622cd56] - lib: define printErr() in script string (cjihrig) #19285
  • [b35eabb837] - lib: handle throw undefined in assert.throws() (Ben Noordhuis) #18029
  • [0e6f720991] - n-api: separate out async_hooks test (Gabriel Schulhof) #19392
  • [528798c3f4] - n-api: add missing exception checking (Michael Dawson) #19362
  • [f679ac19e0] - n-api: resolve promise in test (Gabriel Schulhof) #19245
  • [12f19a6b86] - n-api: update documentation (Gabriel Schulhof) #19078
  • [0c9577edfc] - n-api,test: add int64 bounds tests (Kyle Farnung) #19309
  • [f36521becf] - n-api,test: add a new.target test to addons-napi (Taylor Woll) #19236
  • [5b12d3a58e] - net: do not inherit the no-half-open enforcer (Luigi Pinca) #18974
  • [a9bd8bff8a] - path: remove redundant function (Sergey Golovin) #19237
  • [55f7bbb0bd] - repl: refactor code for readability (Ruben Bridgewater) #17919
  • [6997af7378] - repl: upper case comments first char (Ruben Bridgewater) #17919
  • [3e6858e4a7] - repl: better handling of recoverable errors (Prince J Wesley) #18915
  • [49391a70e1] - src: fix util abort (Ruben Bridgewater) #19223
  • [1ba1861731] - src: remove unused using declarations async_wrap (Daniel Bevenius) #18893
  • [8757799d69] - src: remove unused stdlib.h include (Daniel Bevenius) #19427
  • [da62c5ca68] - src: fix minor typo in comment stream_base.h (Daniel Bevenius) #19429
  • [43c482b9c8] - src: fix indentation of params in env-inl.h (Daniel Bevenius) #19390
  • [054dd28da6] - src: make AsyncWrap constructors delegate (Daniel Bevenius) #19366
  • [7a3d1d205e] - src: remove unused uv.h include from async_wrap.cc (Daniel Bevenius) #19342
  • [126a161928] - src: fix indenting of wrap->EmitTraceEventBefore (Daniel Bevenius) #19340
  • [03fb817a1d] - src: add extractPromiseWrap function (Daniel Bevenius) #19340
  • [e208282f68] - src: refactor emit before/after/promiseResolve (Daniel Bevenius) #19295
  • [49481d0e3b] - src: add convenience ctor for async trigger id scope (Anna Henningsen) #19204
  • [4b9914a318] - src: avoid duplicate Before/AtExitCallback structs (Daniel Bevenius) #19226
  • [27754c5408] - src: add incr/decr operators for Reference (Daniel Bevenius) #19083
  • [64f646269a] - src: use smart pointer in AsyncWrap::WeakCallback (Daniel Bevenius) #19168
  • [152c931f53] - stream: make Duplex inherits from DuplexBase (Luigi Pinca) #18974
  • [9c0c0e68ac] - stream: add no-half-open enforcer only if needed (Luigi Pinca) #18953
  • [1eac1d7d85] - test: minor refactoring (Ruben Bridgewater) #18669
  • [574d061c3c] - test: remove assert.doesNotThrow() (Ruben Bridgewater) #18669
  • [5478746203] - test: refactor assert test (Ruben Bridgewater) #18610
  • [4e9279df5c] - test: remove NodeTestFixture from Env constructor (Daniel Bevenius) #18558
  • [22b8f9fba6] - test: introduce SetUpTestCase/TearDownTestCase (Daniel Bevenius) #18558
  • [519850f21e] - test: http2 client setNextStreamID errors (Trivikram) #18848
  • [e3ce084f7c] - test: fix flaky test-http2-ping-flood (Rich Trott) #19395
  • [7df6d9ddc8] - test: rename regression tests file names (Ujjwal Sharma) #19332
  • [f49042131a] - test: use descriptive names for regression tests (Ujjwal Sharma) #19275
  • [01749f07bd] - test: fix flaky test-http2-settings-flood (Rich Trott) #19349
  • [9aa5090689] - test: fix test-cluster-send-handle-large-payload (Rich Trott) #19311
  • [11a0ef566a] - test: delete test/parallel/test-regress-GH-4948 (Ujjwal Sharma) #19279
  • [be20914958] - test: shared lib build doesn't handle SIGPIPE (Yihong Wang) #19211
  • [f84f548986] - test: fix assertion argument order (Rich Trott) #19264
  • [84ae59e5f8] - test: fix path in doctool/test-doctool-json (Vse Mozhet Byt) #19287
  • [b8ca616baa] - test: fix compiler warnings in callback-scope (Daniel Bevenius) #19252
  • [d3bc72e9cc] - test: name test files appropriately (Ujjwal Sharma) #19212
  • [f0c8f6969f] - test: fix test-abort-backtrace in shared lib build (Yihong Wang) #19213
  • [e4c320e5d7] - test: Remove unnecessary asserion messages in test-crypto-hash.js (Piotr Grzesik) #18984
  • [411f3e03fe] - test: remove flaky status for test-npm-install (Rich Trott) #19216
  • [a4a4819954] - test: do not check text for engine-generated error (Rich Trott) #19215
  • [38eb432260] - test: refactor http-https-default-ports (Ken Lin) #19130
  • [0ece7cc227] - test: rename test-regress-GH-877.js (Ujjwal Sharma) #19161
  • [636a5f627e] - test: rename test-regress-GH-784.js (Ujjwal Sharma) #19161
  • [c0c6d5848f] - test: address nits and rename the corresponding fixture (Ujjwal Sharma) #19161
  • [22484e1fb2] - test: rename tests to remove "regress" keyword (Ujjwal Sharma) #19161
  • [2262a34f0b] - test: rename test-regress-GH-4027 (Ujjwal Sharma) #19161
  • [bdbfc0e20e] - test: rename test-regress-GH-4015 (Ujjwal Sharma) #19161
  • [da44c2ccf0] - test: rename test-regress-GH-1697 (Ujjwal Sharma) #19161
  • [fa43d2f69e] - test: rename test-regress-GH-1726 (Ujjwal Sharma) #19161
  • [46b5915dab] - test: skip postmortem metadata test when nm fails (Joyee Cheung) #19107
  • [16ab3b54d1] - test: address unreliable test-performance (Rich Trott) #19228
  • [1e5c7e3e47] - test: refactor common.expectsError (Ruben Bridgewater) #17703
  • [060216689a] - (SEMVER-MINOR) tls: expose Finished messages in TLSSocket (Anton Salikhmetov) #19102
  • [b04dd7b351] - tools: enable eslint one-var rule (Ruben Bridgewater) #18831
  • [d4d7df8371] - tools: enable eslint strict key-spacing (Ruben Bridgewater) #18831
  • [9e10ddc215] - tools: enable eslint no-undef-init rule (Ruben Bridgewater) #18831
  • [9d1e409ee3] - tools: enable no-unsafe-finally (Ruben Bridgewater) #18745
  • [d7958657d7] - tools: add assert.doesNotThrow eslint rule (Ruben Bridgewater) #18669
  • [66694e28b1] - tools: fix test-npm-package (Michaël Zasso) #19293
  • [9613e02ff7] - tools,bootstrap: preprocess gypi files to json (Gus Caplan) #19140
  • [74f0d1aa60] - (SEMVER-MINOR) tty: refactor to es6 (Ruben Bridgewater) #17615
  • [ead727c274] - (SEMVER-MINOR) tty: add getColorDepth function (Ruben Bridgewater) #17615
  • [072adfea8c] - url: replace "magic" numbers by constants (Sergey Golovin) #19035
  • [c18ac52970] - (SEMVER-MINOR) util: add util.inspect compact option (Ruben Bridgewater) #17576
  • [ce3a5af69f] - (SEMVER-MINOR) util: rename util.inspect argument (Ruben Bridgewater) #17576
  • [fd4c05ab56] - (SEMVER-MINOR) util: fix custom inspect description (Ruben Bridgewater) #17576

Merge request reports

Loading