Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
Merge tag 'v8.0.0' into v8.x-new
Browse files Browse the repository at this point in the history
2017-05-30 Node.js v8.0.0 (Current) Release
Git-EVTag-v0-SHA512: 251d36ba38cf006d5e5b9be6fe3f1b4f4a3aa7eebc5e03b855b9d1f8be4b2ea7e96bf0e4b2460eab94f379a992ee03477a0328da976025e7a1fc9289204998a7
  • Loading branch information
kfarnung committed Jun 5, 2017
2 parents 2bd43bf + 0d8021e commit 7f1ea0d
Show file tree
Hide file tree
Showing 1,737 changed files with 88,940 additions and 37,072 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ ipch/
*.VC.db
.vs/
.vscode/
/deps/v8/src/debug/obj
/*.exe

/config.mk
/config.gypi
Expand Down
124 changes: 15 additions & 109 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,30 @@ release lines.

Select a Node.js version below to view the changelog history:

* [Node.js v7](doc/changelogs/CHANGELOG_V7.md)
* [Node.js v6](doc/changelogs/CHANGELOG_V6.md)
* [Node.js v5](doc/changelogs/CHANGELOG_V5.md)
* [Node.js v4](doc/changelogs/CHANGELOG_V4.md)
* [Node.js v0.12](doc/changelogs/CHANGELOG_V012.md)
* [Node.js v0.10](doc/changelogs/CHANGELOG_V010.md)
* [io.js](doc/changelogs/CHANGELOG_IOJS.md) and [Archive](doc/changelogs/CHANGELOG_ARCHIVE.md)
* [Node.js 8](doc/changelogs/CHANGELOG_V8.md)
* [Node.js 7](doc/changelogs/CHANGELOG_V7.md)
* [Node.js 6](doc/changelogs/CHANGELOG_V6.md)
* [Node.js 4](doc/changelogs/CHANGELOG_V4.md)
* [Node.js 5](doc/changelogs/CHANGELOG_V5.md),
[0.12](doc/changelogs/CHANGELOG_V012.md),
[0.10](doc/changelogs/CHANGELOG_V010.md),
[io.js](doc/changelogs/CHANGELOG_IOJS.md) and [Archive](doc/changelogs/CHANGELOG_ARCHIVE.md)

Please use the following table to find the changelog for a specific Node.js
release.

<table>
<tr>
<th><a href="doc/changelogs/CHANGELOG_V7.md">v7</a><sup>Current</sup></th>
<th title="LTS Until 2019-04"><a href="doc/changelogs/CHANGELOG_V6.md">v6</a><sup>LTS</sup></th>
<th title="Unsupported Since 2016-07-01"><a href="doc/changelogs/CHANGELOG_V5.md">v5</a><sup>EOL</sup></th>
<th title="LTS Until 2018-04"><a href="doc/changelogs/CHANGELOG_V4.md">v4</a><sup>LTS</sup></th>
<th title="Unsupported Since 2017-01-01"><a href="doc/changelogs/CHANGELOG_V012.md">v0.12</a><sup>EOL</sup></th>
<th title="Unsupported Since 2016-11-01" colspan="3"><a href="doc/changelogs/CHANGELOG_V010.md">v0.10</a><sup>EOL</sup></th>
<th><a href="doc/changelogs/CHANGELOG_V8.md">8</a><sup>Current</sup></th>
<th title="Supported until 2016-07-01"><a href="doc/changelogs/CHANGELOG_V7.md">7</a><sup>-</sup></th>
<th title="LTS Until 2019-04"><a href="doc/changelogs/CHANGELOG_V6.md">6</a><sup>LTS</sup></th>
<th title="LTS Until 2018-04"><a href="doc/changelogs/CHANGELOG_V4.md">4</a><sup>LTS</sup></th>
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V8.md#8.0.0">8.0.0</a></b><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V7.md#7.10.0">7.10.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V7.md#7.9.0">7.9.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V7.md#7.8.0">7.8.0</a><br/>
Expand Down Expand Up @@ -71,26 +73,6 @@ release.
<a href="doc/changelogs/CHANGELOG_V6.md#6.0.0">6.0.0</a><br/>
</td>
<td valign="top">
<a href="doc/changelogs/CHANGELOG_V5.md#5.11.1">5.11.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V5.md#5.11.0">5.11.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V5.md#5.10.1">5.10.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V5.md#5.10.0">5.10.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V5.md#5.9.1">5.9.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V5.md#5.9.0">5.9.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V5.md#5.8.0">5.8.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V5.md#5.7.1">5.7.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V5.md#5.7.0">5.7.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V5.md#5.6.0">5.6.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V5.md#5.5.0">5.5.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V5.md#5.4.1">5.4.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V5.md#5.4.0">5.4.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V5.md#5.3.0">5.3.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V5.md#5.2.0">5.2.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V5.md#5.1.1">5.1.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V5.md#5.1.0">5.1.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V5.md#5.0.0">5.0.0</a><br/>
</td>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V4.md#4.8.3">4.8.3</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V4.md#4.8.2">4.8.2</a><br/>
<a href="doc/changelogs/CHANGELOG_V4.md#4.8.1">4.8.1</a><br/>
Expand Down Expand Up @@ -126,82 +108,6 @@ release.
<a href="doc/changelogs/CHANGELOG_V4.md#4.1.0">4.1.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V4.md#4.0.0">4.0.0</a><br/>
</td>
<td valign="top">
<a href="doc/changelogs/CHANGELOG_V012.md#0.12.18">0.12.18</a><br/>
<a href="doc/changelogs/CHANGELOG_V012.md#0.12.17">0.12.17</a><br/>
<a href="doc/changelogs/CHANGELOG_V012.md#0.12.16">0.12.16</a><br/>
<a href="doc/changelogs/CHANGELOG_V012.md#0.12.15">0.12.15</a><br/>
<a href="doc/changelogs/CHANGELOG_V012.md#0.12.14">0.12.14</a><br/>
<a href="doc/changelogs/CHANGELOG_V012.md#0.12.13">0.12.13</a><br/>
<a href="doc/changelogs/CHANGELOG_V012.md#0.12.12">0.12.12</a><br/>
<a href="doc/changelogs/CHANGELOG_V012.md#0.12.11">0.12.11</a><br/>
<a href="doc/changelogs/CHANGELOG_V012.md#0.12.10">0.12.10</a><br/>
<a href="doc/changelogs/CHANGELOG_V012.md#0.12.9">0.12.9</a><br/>
<a href="doc/changelogs/CHANGELOG_V012.md#0.12.8">0.12.8</a><br/>
<a href="doc/changelogs/CHANGELOG_V012.md#0.12.7">0.12.7</a><br/>
<a href="doc/changelogs/CHANGELOG_V012.md#0.12.6">0.12.6</a><br/>
<a href="doc/changelogs/CHANGELOG_V012.md#0.12.5">0.12.5</a><br/>
<a href="doc/changelogs/CHANGELOG_V012.md#0.12.4">0.12.4</a><br/>
<a href="doc/changelogs/CHANGELOG_V012.md#0.12.3">0.12.3</a><br/>
<a href="doc/changelogs/CHANGELOG_V012.md#0.12.2">0.12.2</a><br/>
<a href="doc/changelogs/CHANGELOG_V012.md#0.12.1">0.12.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V012.md#0.12.0">0.12.0</a><br/>
</td>
<td valign="top">
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.48">0.10.48</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.47">0.10.47</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.46">0.10.46</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.45">0.10.45</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.44">0.10.44</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.43">0.10.43</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.42">0.10.42</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.41">0.10.41</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.40">0.10.40</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.39">0.10.39</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.38">0.10.38</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.37">0.10.37</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.36">0.10.36</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.35">0.10.35</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.34">0.10.34</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.33">0.10.33</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.32">0.10.32</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.31">0.10.31</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.30">0.10.30</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.29">0.10.29</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.28">0.10.28</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.27">0.10.27</a><br/>
</td>
<td valign="top">
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.26">0.10.26</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.25">0.10.25</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.24">0.10.24</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.23">0.10.23</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.22">0.10.22</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.21">0.10.21</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.20">0.10.20</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.19">0.10.19</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.18">0.10.18</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.17">0.10.17</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.16">0.10.16</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.15">0.10.15</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.14">0.10.14</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.13">0.10.13</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.12">0.10.12</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.11">0.10.11</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.10">0.10.10</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.9">0.10.9</a><br/>
</td>
<td valign="top">
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.8">0.10.8</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.7">0.10.7</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.6">0.10.6</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.5">0.10.5</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.4">0.10.4</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.3">0.10.3</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.2">0.10.2</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.1">0.10.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V010.md#0.10.0">0.10.0</a><br/>
</td>
</tr>
</table>

Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ endif
BINARYTAR=$(BINARYNAME).tar
# OSX doesn't have xz installed by default, http://macpkg.sourceforge.net/
XZ=$(shell which xz > /dev/null 2>&1; echo $$?)
XZ_COMPRESSION ?= 9
XZ_COMPRESSION ?= 9e
PKG=$(TARNAME).pkg
PACKAGEMAKER ?= /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
PKGDIR=out/dist-osx
Expand Down Expand Up @@ -754,9 +754,9 @@ ifeq ($(XZ), 0)
endif

doc-upload: doc
ssh $(STAGINGSERVER) "mkdir -p nodejs/$(DISTTYPEDIR)/$(FULLVERSION)"
ssh $(STAGINGSERVER) "mkdir -p nodejs/$(DISTTYPEDIR)/$(FULLVERSION)/docs/"
chmod -R ug=rw-x+X,o=r+X out/doc/
scp -pr out/doc/ $(STAGINGSERVER):nodejs/$(DISTTYPEDIR)/$(FULLVERSION)/docs/
scp -pr out/doc/* $(STAGINGSERVER):nodejs/$(DISTTYPEDIR)/$(FULLVERSION)/docs/
ssh $(STAGINGSERVER) "touch nodejs/$(DISTTYPEDIR)/$(FULLVERSION)/docs.done"

$(TARBALL)-headers: release-only
Expand Down
5 changes: 4 additions & 1 deletion benchmark/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,10 @@ Benchmark.prototype.end = function(operations) {
throw new Error('called end() with operation count <= 0');
}
if (elapsed[0] === 0 && elapsed[1] === 0) {
throw new Error('insufficient time precision for short benchmark');
if (!process.env.NODEJS_BENCHMARK_ZERO_ALLOWED)
throw new Error('insufficient clock precision for short benchmark');
// avoid dividing by zero
elapsed[1] = 1;
}

const time = elapsed[0] + elapsed[1] / 1e9;
Expand Down
12 changes: 7 additions & 5 deletions benchmark/streams/readable-boundaryread.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,22 @@ const common = require('../common');
const Readable = require('stream').Readable;

const bench = common.createBenchmark(main, {
n: [200e1]
n: [200e1],
type: ['string', 'buffer']
});

function main(conf) {
const n = +conf.n;
const b = new Buffer(32);
const s = new Readable();
function noop() {}
s._read = noop;
var data = 'a'.repeat(32);
if (conf.type === 'buffer')
data = Buffer.from(data);
s._read = function() {};

bench.start();
for (var k = 0; k < n; ++k) {
for (var i = 0; i < 1e4; ++i)
s.push(b);
s.push(data);
while (s.read(32));
}
bench.end(n);
Expand Down
7 changes: 4 additions & 3 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ intl_optgroup.add_option('--without-intl',
action='store_const',
dest='with_intl',
const='none',
help='Disable Intl, same as --with-intl=none')
help='Disable Intl, same as --with-intl=none (disables inspector)')

intl_optgroup.add_option('--with-icu-path',
action='store',
Expand Down Expand Up @@ -431,7 +431,7 @@ parser.add_option('--without-snapshot',
parser.add_option('--without-ssl',
action='store_true',
dest='without_ssl',
help='build without SSL')
help='build without SSL (disables crypto, https, inspector, etc.)')

parser.add_option('--without-node-options',
action='store_true',
Expand Down Expand Up @@ -467,7 +467,7 @@ parser.add_option('--no-browser-globals',
parser.add_option('--without-inspector',
action='store_true',
dest='without_inspector',
help='disable experimental V8 inspector support')
help='disable the V8 inspector protocol')

parser.add_option('--engine',
action='store',
Expand Down Expand Up @@ -962,6 +962,7 @@ def configure_v8(o):
o['variables']['v8_no_strict_aliasing'] = 1 # Work around compiler bugs.
o['variables']['v8_optimized_debug'] = 0 # Compile with -O0 in debug builds.
o['variables']['v8_random_seed'] = 0 # Use a random seed for hash tables.
o['variables']['v8_promise_internal_field_count'] = 1 # Add internal field to promises for async hooks.
o['variables']['v8_use_snapshot'] = 'false' if options.without_snapshot else 'true'
o['variables']['node_use_v8_platform'] = b(not options.without_v8_platform)
o['variables']['node_use_bundled_v8'] = b(not options.without_bundled_v8)
Expand Down
2 changes: 1 addition & 1 deletion deps/npm/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ cache:
- node_modules/tacks
- node_modules/tap
install:
- "node . prune"
- "node . rebuild --depth=0"
- "node . install --ignore-scripts"
- "node . prune"
- "make -j4 doc"
script:
- "node . run tap -- \"test/tap/*.js\" \"test/broken-under-nyc/*.js\""
5 changes: 5 additions & 0 deletions deps/npm/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -459,3 +459,8 @@ Evgeny Kulikov <beyondcompute@users.noreply.github.com>
Carol (Nichols || Goulding) <carol.nichols@gmail.com>
Jarid Margolin <jaridmargolin@gmail.com>
David Cook <divergentdave@gmail.com>
Brian Dukes <bdukes@engagesoftware.com>
J F <git@twopointzero.us>
Pavlo Liulia <pavloblack@hotmail.com>
Ján Dzurek <famousgarkin@outlook.com>
Lucas Theisen <ltheisen@mitre.org>
37 changes: 37 additions & 0 deletions deps/npm/BROKEN.org
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
* Broken test files
* add-remote-git-get-resolved.js (needs porting to pacote)
* bugs.js (I think because opts.fullMetadata)
* builtin-config.js (freezes)
* check-cpu-reqs.js (uhhh? it's not checking?)
* check-engine-reqs.js (same?)
* check-os-reqs.js (same?)
* doctor.js (needs rewrite)
* full-warning-messages.js
* get.js
* git-npmignore.js
* git-races.js
* github-shortcut.js
* ignore-shrinkwrap.js
* install-shrinkwrapped-git.js
* install-with-dev-dep-duplicate.js
* legacy-npm-self-install.js (one check failed)
* ls-depth-cli.js
* outdated-local.js
* outdated-notarget.js
* outdated-private.js
* peer-deps-invalid.js
* peer-deps-toplevel.js
* peer-deps-without-package-json.js
* repo.js
* retry-on-stale-cache.js
* scope-header.js
* shrinkwrap-default-arg-ver.js
* shrinkwrap-local-dependency.js
* shrinkwrap-optional-dependency.js
* shrinkwrap-optional-property.js
* shrinkwrap-prod-dependency.js
* shrinkwrap-shared-dev-dependency.js
* splat-with-only-prerelease-to-latest.js
* url-dependencies.js
* verify-no-lifecycle-on-repo.js
* network/legacy-shrinkwrap.js
Loading

0 comments on commit 7f1ea0d

Please sign in to comment.