You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 KiB

Node.js v7 ChangeLog

Current
7.0.0

2016-10-25, Version 7.0.0 (Current), @jasnell

Notable changes

  • Buffer
    • Passing invalid input to Buffer.byteLength will now throw an error #8946.
    • Calling Buffer without new is now deprecated and will emit a process warning #8169.
    • Passing a negative number to allocUnsafe will now throw an error #7079.
  • Child Process
    • The fork and execFile methods now have stronger argument validation #7399.
  • Cluster
    • The worker.suicide method is deprecated and will emit a process warning #3747.
  • Deps
    • V8 has been updated to 5.4.500.36 #8317, #8852, #9253.
    • NODE_MODULE_VERSION has been updated to 51 #8808.
  • File System
    • A process warning is emitted if a callback is not passed to async file system methods #7897.
  • Intl
    • Intl.v8BreakIterator constructor has been deprecated and will emit a process warning #8908.
  • Promises
    • Unhandled Promise rejections have been deprecated and will emit a process warning #8217.
  • Punycode
    • The punycode module has been deprecated #7941.
  • URL
    • An Experimental WHATWG URL Parser has been introduced #7448.

Commits

  • [1043f5d08e] - assert: name anonymous functions (Miguel Angel Asencio Hurtado) #9051
  • [06f37471aa] - benchmark: use node v4 syntax in common.js (Andreas Madsen) #9064
  • [8b152fcf47] - benchmark: change the execution order (Andreas Madsen) #9064
  • [a5046bf8ef] - benchmark: fixes csv parsing given no parameters (Andreas Madsen) #9064
  • [af01865d66] - benchmark: add info about required Unix tools (Bartosz Sosnowski) #8788
  • [dfb5f301cf] - benchmark: make v8-bench.js output consistent (Bartosz Sosnowski) #8564
  • [84481f9157] - benchmark: add --expose_internals switch (Bartosz Sosnowski) #8547
  • [d3834a1fa3] - benchmark: ignore significance when using --runs 1 (Andreas Madsen) #8299
  • [b1bbc68fb1] - benchmark: support for multiple http benchmarkers (Bartosz Sosnowski) #8140
  • [474e629ddb] - benchmark: add --format csv option (Adrian Nitu) #7961
  • [4b527a4129] - benchmark: update compare.js exit method (Adrian Nitu) #7961
  • [9e7fd8e810] - benchmark: fix comment typos and code format (Adrian Nitu) #7961
  • [d525e6c92a] - (SEMVER-MAJOR) benchmark: remove broken string-creation.js (Andreas Madsen) #7094
  • [6edef1deb9] - (SEMVER-MAJOR) benchmark: update docs after refactor (Andreas Madsen) #7094
  • [0c0f34e2fe] - (SEMVER-MAJOR) benchmark: add script for creating scatter plot (Andreas Madsen) #7094
  • [855009af7f] - (SEMVER-MAJOR) benchmark: use t-test for comparing node versions (Andreas Madsen) #7094
  • [8bb59fdb12] - (SEMVER-MAJOR) benchmark: missing process.exit after bench.end (Andreas Madsen) #7094
  • [f99471b2ae] - (SEMVER-MAJOR) benchmark: refactor to use process.send (Andreas Madsen) #7094
  • [0f9bfaa7c5] - (SEMVER-MAJOR) benchmark: move cli parts of common.js into run.js (Andreas Madsen) #7094
  • [edbed3f3fd] - (SEMVER-MAJOR) benchmark: move http_simple.js to http directory (Andreas Madsen) #7094
  • [ee2843b4ea] - (SEMVER-MAJOR) benchmark: remove unused files (Andreas Madsen) #7094
  • [60042ca70e] - buffer: fix range checks for slice() (Trevor Norris) #9174
  • [14d1a8a631] - buffer: coerce slice parameters consistently (Sakthipriyan Vairamani (thefourtheye)) #9101
  • [96b501d338] - (SEMVER-MAJOR) buffer: make byteLength throw on invalid input (Brian White) #8946
  • [c21458a15d] - (SEMVER-MINOR) buffer: expose underlying buffer object always (Sakthipriyan Vairamani) #8311
  • [2c9a86f01e] - buffer: directly use ArrayBuffer as the pool (Anna Henningsen) #8302
  • [f2fe5583c4] - (SEMVER-MAJOR) buffer: runtime deprecation of calling Buffer without new (Nikolai Vavilov) #8169
  • [9cee8b1b62] - (SEMVER-MAJOR) buffer: alias toLocaleString to toString (James M Snell) #8148
  • [8f90dcc1b8] - (SEMVER-MAJOR) buffer: throw on negative .allocUnsafe() argument (Anna Henningsen) #7079
  • [bd23290657] - buffer: remove obsolete and confusing comment (Nikolai Vavilov) #7264
  • [5292a1358f] - buffer: improve creation performance. (Ingvar Stepanyan) #6893
  • [c5f5bcb331] - build: fix config.gypi target (Daniel Bevenius) #9053
  • [b311906abf] - (SEMVER-MAJOR) build: do not clean V8 gtest directory (Michaël Zasso) #8317
  • [94f68b5b97] - (SEMVER-MAJOR) build: fix mkpeephole configuration (Ali Ijaz Sheikh) #8317
  • [8481ea1ca4] - (SEMVER-MAJOR) build: use libc++ on OSX (Ali Ijaz Sheikh) #8317
  • [197d18795e] - (SEMVER-MAJOR) build: define icu_use_data_file_flag (Ali Ijaz Sheikh) #8317
  • [eab418f7f9] - (SEMVER-MAJOR) build: update V8 gypfile paths (Michaël Zasso) #8317
  • [88e862ba82] - build: windows sharedlib support (Stefan Budeanu) #7487
  • [6eece7773e] - child_process: update outdated comment (Tanuja-Sawant)
  • [0548e5d12a] - (SEMVER-MAJOR) child_process: add fork/execFile arg validation (Rich Trott) #7399
  • [b90f3da9de] - (SEMVER-MAJOR) child_process, win: fix shell spawn with AutoRun (Bartosz Sosnowski) #8063
  • [f44b18f010] - (SEMVER-MAJOR) cluster: deprecate worker.suicide (Evan Lucas) #3747
  • [bd7d7a7e17] - console: name anonymous functions (Tyler Brazier) #9047
  • [c60d43b6d9] - crypto: fix faulty logic in iv size check (Ben Noordhuis) #9032
  • [72f1c41fb6] - crypto: naming anonymous functions (solebox) #8993
  • [89643b645e] - crypto: use SSL_get_SSL_CTX. (Adam Langley) #8995
  • [f4aa2c2c93] - (SEMVER-MAJOR) crypto: remove POINT_CONVERSION_HYBRID from documentation. (Adam Langley) #4956
  • [6bbdd668bd] - deps: update V8 to 5.4.500.36 (Michaël Zasso) #9253
  • [5e3a480ad5] - deps: revert default gtest reporter change (Brian White) #8948
  • [c0a3ac2e94] - deps: cherry-pick missing v8 floating patch (Michael Dawson) #8907
  • [bef4b3bfda] - deps: update V8 to 5.4.500.31 (Michaël Zasso) #8852
  • [a88bb3a758] - (SEMVER-MAJOR) deps: cherry-pick workaround for clang-3.4 ICE (Michaël Zasso) #8317
  • [90efff6000] - (SEMVER-MAJOR) deps: update V8 to 5.4.500.27 (Michaël Zasso) #8317
  • [245ac302f5] - (SEMVER-MINOR) deps: update V8 to 5.1.281.75 (Ben Noordhuis) #7615
  • [dc17432208] - deps: fix V8 5.1 tests (Michaël Zasso) #7488
  • [2cc2951796] - (SEMVER-MINOR) deps: update V8 to 5.1.281.69 (Michaël Zasso) #7016
  • [e9b6fbbf17] - (SEMVER-MAJOR) dgram: prefer strict equality, type validation (Claudio Rodriguez) #8011
  • [260f41f2cc] - dns: name anonymous functions (Miguel Angel Asencio Hurtado) #9052
  • [3238f15234] - doc: change os x tag to macos (Gibson Fahnestock) #9009
  • [1794456ebc] - doc: change solaris tag to smartos (Gibson Fahnestock) #9009
  • [98ca07bfe0] - doc: add teams for platform-specific issues (Gibson Fahnestock) #9009
  • [e4e60b45e1] - doc: add s390 and ppc architecture labels (Gibson Fahnestock) #9009
  • [3b580145c4] - doc: fixes formatting in process (Rod Machen) #9235
  • [3e2bafe053] - doc: improve header styling for API docs (Jeremiah Senkpiel) #8811
  • [0a307f90cd] - doc: clarify fs.link and fs.linkSync arguments (Kyle E. Mitchell) #9145
  • [38cf1d4739] - doc: remove confusing reference in governance doc (Rich Trott) #9073
  • [5bf215d6b9] - doc: suggest nodejs/help for general support (Myles Borins) #9128
  • [5e26980937] - doc: fix header level for crypto.constants (Evan Lucas) #9187
  • [89b920fead] - doc: add ctc-review label information (Rich Trott) #9072
  • [e6d1d54230] - doc: fix typo in zlib.md (Parambir Singh) #9123
  • [3b63b64992] - doc: further improve child_process doc types (Indrek Ardel) #9095
  • [f56bdecde1] - doc: edit Stream api grammar (Benji Marinacci) #9100
  • [95d45d750a] - doc: improved example for http.get (marzelin) #9065
  • [0022bfe42e] - doc: update reference to list hash algorithms in crypto.md (scott stern) #9043
  • [b0da43104f] - doc: specify that errno is a number, not a string (John Vilk) #9007
  • [c258dc89d9] - doc: highlight deprecated API in ToC (Ilya Frolov) #7189
  • [d529a46416] - doc: explains why Reviewed-By is added in PRs (jessicaquynh) #9044
  • [482995e7cc] - doc: explain why GitHub merge button is not used (jessicaquynh) #9044
  • [3735f22480] - doc: fix typo (Nikolai Vavilov) #9089
  • [839f1f02ed] - doc: fix broken links in changelogs (Evan Lucas) #8122
  • [8f6589a0ba] - doc: revise http documentation (Timothy Gu) #8486
  • [f3f5a89a10] - doc: *.md formatting fixes in the benchmark dir (Сковорода Никита Андреевич) #7727
  • [9744928cf5] - doc: fix layout problem in v4 changelog (Myles Borins) #7394
  • [d976d66cfc] - doc: clarify fs.access works on directories too. (Lance Ball) #7113
  • [8c1d5e58d4] - doc: improve rendering of v4.4.5 changelog entry (Myles Borins) #6958
  • [2bceda6493] - doc: get rid of sneaky hard tabs in CHANGELOG (Myles Borins) #6608
  • [29e49fc286] - (SEMVER-MAJOR) doc, punycode: soft-deprecation of the punycode module (James M Snell) #7941
  • [3b8ec68a3a] - (SEMVER-MAJOR) domain: add message for dispose deprecation (Brian White) #7053
  • [983775d457] - (SEMVER-MAJOR) events: make memory leak warning name more verbose (Anna Henningsen) #8341
  • [b7a8a691b4] - (SEMVER-MAJOR) events: unwrap #once listeners in #listeners (Owen Smith) #6881
  • [108c1fbbe2] - fs: clarify fs.link and fs.linkSync arguments (Kyle E. Mitchell) #9145
  • [7f7d1d385d] - (SEMVER-MAJOR) fs: move stringToFlags() to lib/internal (Ben Noordhuis) #7162
  • [fe9f5bcd75] - fs: don't alter user provided options object (Sakthipriyan Vairamani (thefourtheye)) #7831
  • [169f485289] - (SEMVER-MAJOR) fs: refactor "options" processing as a function (Sakthipriyan Vairamani) #7165
  • [21124ba23a] - (SEMVER-MAJOR) fs: do not emit 'stop' watch event synchronously (Claudio Rodriguez) #8524
  • [b50557b51b] - fs: use process.emitWarning to print deprecation warning (James M Snell) #8166
  • [dc7277909b] - fs: move SyncWriteStream to internal/fs (James M Snell) #6749
  • [49ef3ae90a] - (SEMVER-MAJOR) Revert "fs: add a temporary fix for re-evaluation support" (James M Snell) #6413
  • [f8f283b8f3] - (SEMVER-MAJOR) fs: warn if no callback is passed to async calls (Sakthipriyan Vairamani) #7897
  • [6f27bedfba] - governance: expand use of CTC issue tracker (Rich Trott) #8945
  • [179150091f] - http: name anonymous functions in http (maasencioh) #9055
  • [73a8d3b0da] - http: name anonymous functions in _http_server (maasencioh) #9055
  • [ffa5c9ea30] - http: name anonymous functions in _http_outgoing (maasencioh) #9055
  • [fa035ada90] - http: name anonymous functions in _http_incoming (maasencioh) #9055
  • [ec17e76656] - http: name anonymous functions in _http_client (maasencioh) #9055
  • [9099a43073] - http: name anonymous functions (maasencioh) #9054
  • [cde2ca96e4] - http: reject control characters in http.request() (Ben Noordhuis) #8923
  • [2cc7fa5e7d] - (SEMVER-MAJOR) http: remove deprecated Client interface (Brian White) #8104
  • [31bef6b704] - (SEMVER-MAJOR) http: correct error message for invalid trailer (Bryan English) #6308
  • [a54ec7f49c] - inspector: no URLs when the debugger is connected (Eugene Ostroukhov) #8919
  • [626a07df5b] - inspector: restore 9229 as a default port (Eugene Ostroukhov) #8550
  • [9f1f7e2a34] - (SEMVER-MAJOR) inspector: listen on process.debugPort (cjihrig) #8386
  • [7b73f55902] - internal/util: remove printDeprecationWarning (James M Snell) #8166
  • [9ad3082b1c] - (SEMVER-MAJOR) intl: add deprecation warning for v8BreakIterator (Michaël Zasso) #8908
  • [15eaba98a1] - lib: use emitWarning instead of printDeprecationMessage (James M Snell) #8166
  • [3a3996315c] - lib,src: reset zero fill flag on exception (Ben Noordhuis) #7093
  • [27e84ddd4e] - lib,src: clean up ArrayBufferAllocator (Ben Noordhuis) #7082
  • [334ef4f19d] - lib,src: drop dependency on v8::Private::ForApi() (Ben Noordhuis) #7082
  • [d582193613] - (SEMVER-MAJOR) module: Remove deprecated function requireRepl. (Adri Van Houdt) #8575
  • [6f1cae70eb] - net: fix ambiguity in EOF handling (Fedor Indutny) #9066
  • [fd6af98c2d] - (SEMVER-MAJOR) net: refactor Server.prototype.listen (Jan Schär) #4039
  • [5e5ec2cd1e] - (SEMVER-MAJOR) os: deprecate tmpDir() in favour of tmpdir() (Jeremiah Senkpiel) #6739
  • [aedb72e03b] - process: improve performance of nextTick (Evan Lucas) #8932
  • [bf91035364] - process: fix handling of process.noDeprecation in emitWarning (James M Snell) #8166
  • [62b544290a] - (SEMVER-MAJOR) process: remove deprecated process.EventEmitter (cjihrig) #6862
  • [07dbf7313d] - (SEMVER-MAJOR) promise: hard deprecation for unhandled promise rejection (James M Snell) #8217
  • [ecf474ceba] - (SEMVER-MAJOR) promise: warn on unhandled rejections (Benjamin Gruenbaum) #8217
  • [1a9e247c79] - (SEMVER-MAJOR) readline: show completions only after 2nd TAB (Anna Henningsen) #7754
  • [8a87b29034] - (SEMVER-MAJOR) readline: remove deprecated methods (cjihrig) #6423
  • [488d28d391] - (SEMVER-MAJOR) repl: deprecate unused function convertToContext (Prince J Wesley) #7829
  • [b2be04ac85] - src: refactor contextify (Franziska Hinkelmann) #8909
  • [e175188a94] - src: fix typo rval to value (Miguel Angel Asencio Hurtado) #9023
  • [1fda657cac] - (SEMVER-MAJOR) src: update module version mismatch error message (James M Snell) #8391
  • [96933df2ff] - (SEMVER-MAJOR) src: update NODE_MODULE_VERSION to 51 (Myles Borins) #8808
  • [b032f1cfc3] - (SEMVER-MAJOR) src: no longer need to use std::tr1:: (Michaël Zasso) #8317
  • [ebad04326d] - src: notify V8 for low memory when alloc fails (Anna Henningsen) #8482
  • [aed9792ff4] - src: provide allocation + nullptr check shortcuts (Anna Henningsen) #8482
  • [d2470d4dff] - src: pass desired return type to allocators (Anna Henningsen) #8482
  • [de946013c2] - src: add Malloc() size param + overflow detection (Anna Henningsen) #8482
  • [5bf94357a9] - src: remove unused StringValue macro parameters (Daniel Bevenius) #7905
  • [cc00be6ace] - src: fix -Wunused-result warning (Santiago Gimeno) #8450
  • [8e7cbe2546] - (SEMVER-MAJOR) src: make debugger listen on 127.0.0.1 by default (Ben Noordhuis) #8106
  • [781713d5ef] - src: remove unused isolate member (Ben Noordhuis) #7334
  • [de4161d367] - src: remove unused internals from node.cc (Anna Henningsen) #7117
  • [ac0665c908] - src: fix ArrayBuffer size for zero fill flag (Anna Henningsen) #7142
  • [aac79dfd78] - src: use stack-allocated Environment instances (Ben Noordhuis) #7090
  • [58cec4e85b] - src: move env init logic into Environment class (Ben Noordhuis) #7090
  • [c3cd453cba] - src: make IsolateData creation explicit (Ben Noordhuis) #7082
  • [0301ce9f55] - src: move IsolateData out of Environment (Ben Noordhuis) #7082
  • [a3c5567eb4] - (SEMVER-MAJOR) src,win: use correct exit code in old versions (yorkie) #8204
  • [2f05af4c06] - (SEMVER-MAJOR) stream: improve stream error messages (Italo A. Casas) #8801
  • [9983af0347] - (SEMVER-MAJOR) stream: improve unimplemented _write() error (ratikesh9) #7671
  • [0cd0118334] - (SEMVER-MAJOR) stream: 'data' argument on callback of Transform._flush() (Jesús Leganés Combarro "piranna) #3708
  • [a717be87a3] - test: fix flaky test-timers-blocking-callback (Rich Trott) #9198
  • [5ba02bf5db] - test: remove arbitrary timer (Rich Trott) #9197
  • [1518cc1e70] - test: remove duplicate required module (Rich Trott) #9169
  • [d62e7bd1f9] - test: add regression test for instanceof (Franziska Hinkelmann) #9178
  • [bb1e6064c1] - test: rename target to exports for consistency (Daniel Bevenius) #9135
  • [8788d009f8] - test: checking if error constructor is assert.AssertionError (larissayvette) #9119
  • [68157bd8b9] - test: remove unneeded escaping in template strings (Rich Trott) #9112
  • [0591362887] - test: remove unused common.libDir (Rich Trott) #9124
  • [0f2f4d2425] - test: fix flaky test-child-process-fork-dgram (Rich Trott) #9098
  • [47863a5837] - test: use npm sandbox in test-npm-install (João Reis) #9079
  • [67e2b92e21] - test: enable node-module-version/test.js with debug (Daniel Bevenius) #9093
  • [d5bdd65c6a] - test: move module out of fixture directory (Rich Trott) #9022
  • [0ad0e6addb] - test: fix issues reported by Coverity (Eugene Ostroukhov) #8870
  • [aac93a5c64] - test: refactor test-file-* (Jenna Vuong) #8999
  • [1bb1b3abe4] - test: fixes that do not affect performance (larissayvette) #9011
  • [96faba6ad8] - test: add cluster inspector debug port test (cjihrig) #8958
  • [7926886bf3] - test: fix test-debug-signal-cluster.js flakyness (Julien Gilli) #8568
  • [99cfd53097] - (SEMVER-MAJOR) test: test execFile/fork arg validation (Chuck Langford) #7399
  • [15cd45c6fc] - test: fix tests for non-crypto builds (Anna Henningsen) #7056
  • [fea3070ec4] - test: add buffer testcase for resetting kZeroFill (Сковорода Никита Андреевич) #7093
  • [2cdd5ccef9] - test,lib,benchmark: match function names (Rich Trott) #9113
  • [827660e03e] - tools: enable ES2016 syntax support in ESLint (Michaël Zasso) #9218
  • [a83354a567] - tools: replace custom lint rule for getter/setter (Rich Trott) #9194
  • [3ab8be07cb] - tools: fix release script on macOS 10.12 (Evan Lucas) #8824
  • [72fa9f5663] - tools: update ESLint to v3.8.0 (Rich Trott) #9112
  • [8ac29bd7c1] - tools: avoid let in for loops (jessicaquynh) #9049
  • [1a93e03a0e] - (SEMVER-MAJOR) tools: do not disable ICU's transliteration (Michaël Zasso) #8317
  • [6a3dbdacd6] - (SEMVER-MAJOR) udp: remove ancient check (Saúl Ibarra Corretgé) #8088
  • [1afd7c166e] - url: fix building when using --without-intl (James M Snell) #9041
  • [a8ece149e2] - (SEMVER-MINOR) url: adding WHATWG URL support (James M Snell) #7448
  • [336b027411] - (SEMVER-MAJOR) url: return valid file: urls fom url.format() (Rich Trott) #7234
  • [197a465280] - (SEMVER-MAJOR) zlib: move constants into zlib.constants (James M Snell) #7203