Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v10.8.0 proposal #22040

Merged
merged 95 commits into from
Aug 1, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
a086604
test: remove 3rd arg from to assert.strictEqual()
hectorcoronado Jul 16, 2018
a592871
http: name anonymous function in _http_common.js
kimberlake Jul 11, 2018
0f70017
tls: name anonymous function in tls.js
klacabane Jul 11, 2018
c45623a
src: avoid unnecessarily formatting a warning
tniessen Jul 16, 2018
d0c16f4
stream: named anonymous functions in _stream_readable.js
radsimu Jul 11, 2018
6af4f1f
stream: name anonymous function in _stream_writable.js
mariotsi Jul 12, 2018
d7edee4
trace_events: add more process metadata
jasnell Jul 12, 2018
580071d
tls: named anonymous functions in _tls_wrap.js
prayag21 Jul 11, 2018
b510cdc
doc: fix worker example to receive message
thefourtheye Jun 23, 2018
292aa42
test: fix faulty relpath test
devsnek May 25, 2018
ab0da57
doc: make minor improvements to collab guide
Trott Jul 18, 2018
4d78a21
doc: add missing `require` to example in http2.md
kevinsimper Jul 17, 2018
335575e
benchmark: remove arrays benchmark
psmarshall Jul 16, 2018
756dff4
test: refactor test-module-loading assertions
bpinhosilva Jul 16, 2018
41ff1bb
src: prepare for V8 Swallowed Rejection Hook
bmeurer Jul 5, 2018
c23e8b5
deps: cherry-pick 2075910 from upstream V8
targos Jul 16, 2018
ec0ff70
deps: cherry-pick 907d7bc from upstream V8
targos Jul 16, 2018
484140e
fs: stop lazy loading stream constructors
targos Jul 12, 2018
ff5c6dc
tools: properly convert .gypi in install.py
mi-ac Apr 30, 2018
d0f8af0
src: use offset calc. instead of `req->data` in node_file
addaleax Jul 16, 2018
6b925eb
tools: make getnodeversion.py python3-compatible
silverwind Jul 18, 2018
1e15581
http2: remove unused nghttp2 error list
addaleax Jul 15, 2018
4c5fc5c
build: move to `npm ci` where possible
Trott Jul 13, 2018
4f00562
build: add new benchmark targets
kenny-y Jul 13, 2018
af1530e
doc: add cjihrig pronouns
cjihrig Jul 20, 2018
f89d194
tools: improve update-eslint.sh
Trott Jul 15, 2018
46d14fc
test: refactor cluster-net-listen-relative-path
Trott Jul 18, 2018
fd5a0c7
doc: fix incorrect method name
antsmartian Jul 20, 2018
bd352f0
doc: update and improve the release guide
targos Jun 19, 2018
5606f0b
tools: create HTML docs with unified/remark/rehype
rubys Jun 23, 2018
8191563
test: allow tests to pass without internet
helio-frota Jul 20, 2018
eabe907
doc: fix descriptions of sync methods in fs.md
timruffles Jul 11, 2018
b98bf82
tools: build API TOC using raw headers
rubys Jul 21, 2018
9817e40
lib,src: replace all C++ promises with JS promises
BridgeAR May 18, 2018
bea1ee8
test: make crashOnUnhandleRejection opt-out
targos Jul 17, 2018
4f8620e
src: fix formatting of PIDs
tniessen Jul 17, 2018
d9cd171
src: remove unnecessary else
maclover7 Jul 18, 2018
be75795
src: don't store one-use strings in variable
maclover7 Jul 18, 2018
b56c8ad
deps: V8: Backport of 0dd3390 from upstream
jasnell Jul 19, 2018
cfeed2b
trace_events: add support for builtin trace
jasnell May 14, 2018
5e562fd
doc: fix sorting in the `vm.Module` section
vsemozhetbyt Jul 22, 2018
5e71d63
tools: validate apidoc links
rubys Jul 19, 2018
e8d5787
doc: document MODULE_NOT_FOUND error
jpage-godaddy Jul 19, 2018
eea199b
test: fix http2 connection abort test
addaleax Jul 17, 2018
c3d9000
doc: document http2 network error behaviour
addaleax Jul 17, 2018
3213c09
test: provide better message for orphan output documentation
rubys Jul 20, 2018
5e1ceaa
build: remove redundant Makefile target
Trott Jul 20, 2018
45816c5
n-api: guard against cond null dereference
Jul 18, 2018
c44df51
doc: link n-api module init to multi-load addons
Jul 19, 2018
50ccda2
build: increase macOS minimum supported version
targos Jul 19, 2018
623ef49
test: address flaky worker test
Trott Jul 19, 2018
96bb605
doc: add node-test-commit-custom-suites to docs
Trott Jul 21, 2018
f868415
deps: cherry-pick 804a693 from upstream V8
Jul 17, 2018
5b0c451
doc: add guide for updating N-API API surface
digitalinfinity Jul 19, 2018
36f8b82
tools: flatten apidoc headers
rubys Jul 22, 2018
478dbee
doc: replace deprecated CI job
vsemozhetbyt Jul 22, 2018
793a5bb
test: don't fail http2 abort test if 'data' is called multiple times
rubys Jul 21, 2018
af6b824
test: fix unreliable test-fs-stat-bigint
Jul 23, 2018
f6606bf
src: add missing cmath include to traced_value.cc
addaleax Jul 21, 2018
4958501
test: remove timeout from test-pipe-stream
addaleax Jul 16, 2018
2a0fa47
doc: do not advise to cancel full CI on onboarding
vsemozhetbyt Jul 25, 2018
254aa83
tools: remove obsolete entries from license
Trott Jul 25, 2018
61ae592
test: remove setTimeout in test-net-connect-unref
conectado Jul 25, 2018
67d7a15
doc: fix typo in releases.md
vbob Jul 26, 2018
62024b6
build: create V8 code cache after script is run
joyeecheung Jun 27, 2018
e0f3d57
build,win,v8: allow precompiling objects-inl.h
joaocgreis Jul 11, 2018
80b5c91
src: add proper MemoryInfoName to wrappers
joyeecheung Jul 22, 2018
baf3027
lib: remove usc-2 encoding
mscdex Jul 25, 2018
1f9570b
doc: add missing worker error
Jul 23, 2018
ce527d9
tools: define xrange() in Python 3
Jul 23, 2018
2f3a28d
src: use available ReqWrap instance for libuv req
maclover7 Jul 26, 2018
e0336b2
src: fix may be uninitialized warning in n-api
mhdawson Jul 19, 2018
b5b7438
dgram: hide _healthCheck() and _stopReceiving()
cjihrig Jul 21, 2018
ae17d18
dgram: hide underscored Socket properties
cjihrig Jul 21, 2018
98ef8cf
dgram: make _createSocketHandle() internal only
cjihrig Jul 21, 2018
40fedd3
dgram: add getters/setters for private APIs
cjihrig Jul 21, 2018
98d461e
tools: update ESLint to 5.2.0
hiroppy Jul 23, 2018
337b2df
http2: release request()'s "connect" event listener after it runs
ide Jul 21, 2018
87ed6e6
deps: upgrade npm to 6.2.0
zkat Jul 18, 2018
b520216
tools: update cpplint to check for inline headers
ryzokuken Jun 25, 2018
0151486
tools: patch gyp to avoid xcrun errors
ryzokuken Jun 25, 2018
2c95b96
src: remove calls to deprecated v8 functions (NewFromUtf8)
ryzokuken Jul 21, 2018
6b6a26b
src: use kInternalized instead of kNormal
ryzokuken Jul 21, 2018
2548f75
src: use UTF-8 for naming interfaces in unix
ryzokuken Jul 21, 2018
d91742a
fs: reduce memory retention when streaming small files
addaleax Jul 25, 2018
4510ca3
test: add tests for fs/promises chown functions
May 7, 2018
fe1823d
test: remove custom AsyncHooksTestConfiguration
maclover7 Jul 28, 2018
f4b6031
doc: clarify text about internal module changes
Jul 30, 2018
62fd845
test: improve inspect readability
BridgeAR Jul 2, 2018
b5ae339
doc: add pronouns to readme
not-an-aardvark Jul 31, 2018
02e665c
tools,test: remove unused config hooks
maclover7 Jul 28, 2018
9a88fe4
vm: rename vm.Module to vm.SourceTextModule
devsnek Jul 28, 2018
3d05d82
test: improve assertions in child-process-execsync
bhavayAnand9 Jul 27, 2018
8799f43
http: revert "http: always emit close on req and res"
targos Jul 14, 2018
89f483b
2018-08-01, Version 10.8.0 (Current)
targos Jul 31, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 1 addition & 2 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,13 @@ platforms in production.
|--------------|--------------|----------------------------------|----------------------|------------------|
| GNU/Linux | Tier 1 | kernel >= 2.6.32, glibc >= 2.12 | x64, arm | |
| GNU/Linux | Tier 1 | kernel >= 3.10, glibc >= 2.17 | arm64 | |
| macOS/OS X | Tier 1 | >= 10.10 | x64 | |
| macOS/OS X | Tier 1 | >= 10.11 | x64 | |
| Windows | Tier 1 | >= Windows 7/2008 R2/2012 R2 | x86, x64 | vs2017 |
| SmartOS | Tier 2 | >= 15 < 16.4 | x86, x64 | see note1 |
| FreeBSD | Tier 2 | >= 10 | x64 | |
| GNU/Linux | Tier 2 | kernel >= 3.13.0, glibc >= 2.19 | ppc64le >=power8 | |
| AIX | Tier 2 | >= 7.1 TL04 | ppc64be >=power7 | |
| GNU/Linux | Tier 2 | kernel >= 3.10, glibc >= 2.17 | s390x | |
| OS X | Experimental | >= 10.8 < 10.10 | x64 | no test coverage |
| GNU/Linux | Experimental | kernel >= 2.6.32, glibc >= 2.12 | x86 | limited CI |
| Linux (musl) | Experimental | musl >= 1.0 | x64 | |

Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V10.md#10.7.0">10.7.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V10.md#10.8.0">10.8.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V10.md#10.7.0">10.7.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V10.md#10.6.0">10.6.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V10.md#10.5.0">10.5.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V10.md#10.4.1">10.4.1</a><br/>
Expand Down
42 changes: 24 additions & 18 deletions COLLABORATOR_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ For first-time contributors, check if the commit author is the same as the
pull request author, and ask if they have configured their git
username and email to their liking as per [this guide][git-username].
This is to make sure they would be promoted to "contributor" once
their pull request gets landed.
their pull request lands.

### Closing Issues and Pull Requests

Expand All @@ -82,32 +82,31 @@ necessary.
### Author ready pull requests

A pull request that is still awaiting the minimum review time is considered
`author-ready` as soon as the CI has been started, it has at least one approval,
_author ready_ as soon as the CI has been started, it has at least one approval,
and it has no outstanding review comments. Please always make sure to add the
appropriate `author-ready` label to the PR in that case and remove it again as
soon as that condition is not met anymore.
`author ready` label to the PR in that case and remove it again as soon as that
condition is not met anymore.

### Handling own pull requests

If you as a Collaborator open a pull request, it is recommended to start a CI
right after (see [testing and CI](#testing-and-ci) for further information on
how to do that) and to post the link to it as well. Starting a new CI after each
update is also recommended (due to e.g., a change request in a review or due to
rebasing).
When you open a pull request, it is recommended to start a CI right away (see
[testing and CI](#testing-and-ci) for instructions) and to post the link to it
in a comment in the pull request. Starting a new CI after each update is also
recommended (for example, after an additional code change or after rebasing).

As soon as the PR is ready to land, please go ahead and do so on your own.
Landing your own pull requests distributes the work load for each Collaborator
equally. If it is still awaiting the
[minimum time to land](#waiting-for-approvals), please add the `author-ready`
label to it so it is obvious that the PR can land as soon as the time ends.
As soon as the PR is ready to land, please do so. Landing your own pull requests
allows other Collaborators to focus on other pull requests. If your pull request
is still awaiting the [minimum time to land](#waiting-for-approvals), add the
`author ready` label so other Collaborators know it can land as soon as the time
ends.

## Accepting Modifications

All modifications to the Node.js code and documentation should be performed via
GitHub pull requests, including modifications by Collaborators and TSC members.
A pull request must be reviewed, and must also be tested with CI, before being
landed into the codebase. There may be exception to the latter (the changed code
can not be tested with a CI or similar). If that is the case, please leave a
landed into the codebase. There may be exceptions to the latter (the changed
code cannot be tested with a CI or similar). If that is the case, please leave a
comment that explains why the PR does not require a CI run.

### Code Reviews
Expand Down Expand Up @@ -140,7 +139,7 @@ the CI outcome.
If there is no disagreement amongst Collaborators, a pull request should be
landed given appropriate review, a green CI, and the minimum
[waiting time](#waiting-for-approvals) for a PR. If it is still awaiting the
[minimum time to land](#waiting-for-approvals), please add the `author-ready`
[minimum time to land](#waiting-for-approvals), please add the `author ready`
label to it so it is obvious that the PR can land as soon as the time ends.

Where there is discussion amongst Collaborators, consensus should be sought if
Expand Down Expand Up @@ -211,7 +210,7 @@ is the standard CI run we do to check Pull Requests. It triggers
`node-test-commit`, which runs the `build-ci` and `test-ci` targets on all
supported platforms.

* [`node-test-pull-request-lite`](https://ci.nodejs.org/job/node-test-pull-request-lite/)
* [`node-test-pull-request-lite-pipeline`](https://ci.nodejs.org/job/node-test-pull-request-lite-pipeline/)
only runs the linter job, as well as the tests on LinuxONE, which is very fast.
This is useful for changes that only affect comments or documentation.

Expand All @@ -230,6 +229,13 @@ is designed to allow validation of changes to the copy of V8 in the Node.js
tree by running the standard V8 tests. It should be run whenever the
level of V8 within Node.js is updated or new patches are floated on V8.

* [`node-test-commit-custom-suites`](https://ci.nodejs.org/job/node-test-commit-custom-suites/)
can be used to customize what tests are run and with what parameters. For
example, it can be used to execute tests which are not executed in a typical
`node-test-commit` run (such as tests in the `internet` or `pummel`
directories). It can also be used to make sure tests pass when provided with a
flag not typically used in other CI test runs (such as `--worker`).

### Internal vs. Public API

Due to the nature of the JavaScript language, it can often be difficult to
Expand Down
23 changes: 0 additions & 23 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -1035,29 +1035,6 @@ The externally maintained libraries used by Node.js are:
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""

- marked, located at tools/doc/node_modules/marked, is licensed as follows:
"""
Copyright (c) 2011-2014, Christopher Jeffrey (https://github.com/chjj/)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
"""

- cpplint.py, located at tools/cpplint.py, is licensed as follows:
"""
Copyright (c) 2009 Google Inc. All rights reserved.
Expand Down
37 changes: 23 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ clean: ## Remove build artifacts.
$(RM) -r test/tmp*
$(RM) -r test/.tmp*
$(MAKE) test-addons-clean
$(MAKE) bench-addons-clean

.PHONY: distclean
distclean:
Expand Down Expand Up @@ -265,7 +266,6 @@ test: all ## Runs default tests, linters, and builds docs.
# can be displayed together
$(MAKE) -s build-addons
$(MAKE) -s build-addons-napi
$(MAKE) -s test-doc
$(MAKE) -s cctest
$(MAKE) -s jstest

Expand Down Expand Up @@ -617,12 +617,8 @@ apidocs_json = $(addprefix out/,$(apidoc_sources:.md=.json))
apiassets = $(subst api_assets,api/assets,$(addprefix out/,$(wildcard doc/api_assets/*)))

.PHONY: doc-only
doc-only: $(apidoc_dirs) $(apiassets) ## Builds the docs with the local or the global Node.js binary.
# If it's a source tarball, assets are already in doc/api/assets,
# no need to install anything, we have already copied the docs over
if [ ! -d doc/api/assets ]; then \
$(MAKE) tools/doc/node_modules/js-yaml/package.json; \
fi;
doc-only: tools/doc/node_modules \
$(apidoc_dirs) $(apiassets) ## Builds the docs with the local or the global Node.js binary.
@$(MAKE) out/doc/api/all.html out/doc/api/all.json

.PHONY: doc
Expand Down Expand Up @@ -659,9 +655,7 @@ available-node = \
fi;

run-npm-install = $(PWD)/$(NPM) install --production --no-package-lock

tools/doc/node_modules/js-yaml/package.json:
cd tools/doc && $(call available-node,$(run-npm-install))
run-npm-ci = $(PWD)/$(NPM) ci

gen-json = tools/doc/generate.js --format=json $< > $@
gen-html = tools/doc/generate.js --node-version=$(FULLVERSION) --format=html \
Expand Down Expand Up @@ -1053,13 +1047,23 @@ ifeq ($(XZ), 0)
endif

.PHONY: bench-all
bench-all:
bench-all: bench-addons-build
@echo "Please use benchmark/run.js or benchmark/compare.js to run the benchmarks."

.PHONY: bench
bench:
bench: bench-addons-build
@echo "Please use benchmark/run.js or benchmark/compare.js to run the benchmarks."

# Build required addons for benchmark before running it.
.PHONY: bench-addons-build
bench-addons-build: benchmark/napi/function_call/build/Release/binding.node \
benchmark/napi/function_args/build/Release/binding.node

.PHONY: bench-addons-clean
bench-addons-clean:
$(RM) -r benchmark/napi/function_call/build
$(RM) -r benchmark/napi/function_args/build

.PHONY: lint-md-clean
lint-md-clean:
$(RM) -r tools/remark-cli/node_modules
Expand All @@ -1068,17 +1072,22 @@ lint-md-clean:

tools/remark-cli/node_modules: tools/remark-cli/package.json
@echo "Markdown linter: installing remark-cli into tools/"
@cd tools/remark-cli && $(call available-node,$(run-npm-install))
@cd tools/remark-cli && $(call available-node,$(run-npm-ci))

tools/remark-preset-lint-node/node_modules: \
tools/remark-preset-lint-node/package.json
@echo "Markdown linter: installing remark-preset-lint-node into tools/"
@cd tools/remark-preset-lint-node && $(call available-node,$(run-npm-install))
@cd tools/remark-preset-lint-node && $(call available-node,$(run-npm-ci))

.PHONY: lint-md-build
lint-md-build: tools/remark-cli/node_modules \
tools/doc/node_modules \
tools/remark-preset-lint-node/node_modules

.PHONY: tools/doc/node_modules
tools/doc/node_modules:
@cd tools/doc && $(call available-node,$(run-npm-install))

.PHONY: lint-md
ifneq ("","$(wildcard tools/remark-cli/node_modules/)")

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ For more information about the governance of the Node.js project, see
* [ChALkeR](https://github.com/ChALkeR) -
**Сковорода Никита Андреевич** &lt;chalkerx@gmail.com&gt; (he/him)
* [cjihrig](https://github.com/cjihrig) -
**Colin Ihrig** &lt;cjihrig@gmail.com&gt;
**Colin Ihrig** &lt;cjihrig@gmail.com&gt; (he/him)
* [danbev](https://github.com/danbev) -
**Daniel Bevenius** &lt;daniel.bevenius@gmail.com&gt;
* [fhinkel](https://github.com/fhinkel) -
Expand Down Expand Up @@ -342,7 +342,7 @@ For more information about the governance of the Node.js project, see
* [chrisdickinson](https://github.com/chrisdickinson) -
**Chris Dickinson** &lt;christopher.s.dickinson@gmail.com&gt;
* [cjihrig](https://github.com/cjihrig) -
**Colin Ihrig** &lt;cjihrig@gmail.com&gt;
**Colin Ihrig** &lt;cjihrig@gmail.com&gt; (he/him)
* [claudiorodriguez](https://github.com/claudiorodriguez) -
**Claudio Rodriguez** &lt;cjrodr@yahoo.com&gt;
* [codebytere](https://github.com/codebytere) -
Expand Down Expand Up @@ -448,7 +448,7 @@ For more information about the governance of the Node.js project, see
* [MylesBorins](https://github.com/MylesBorins) -
**Myles Borins** &lt;myles.borins@gmail.com&gt; (he/him)
* [not-an-aardvark](https://github.com/not-an-aardvark) -
**Teddy Katz** &lt;teddy.katz@gmail.com&gt;
**Teddy Katz** &lt;teddy.katz@gmail.com&gt; (he/him)
* [ofrobots](https://github.com/ofrobots) -
**Ali Ijaz Sheikh** &lt;ofrobots@google.com&gt; (he/him)
* [orangemocha](https://github.com/orangemocha) -
Expand Down
35 changes: 0 additions & 35 deletions benchmark/arrays/var-int.js

This file was deleted.

35 changes: 0 additions & 35 deletions benchmark/arrays/zero-float.js

This file was deleted.

35 changes: 0 additions & 35 deletions benchmark/arrays/zero-int.js

This file was deleted.

Loading