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

v18.8.0 release proposal #44246

Closed
wants to merge 147 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
3af44c6
http: do not leak error listeners
ShogunPanda Jun 27, 2022
c0d2098
esm: move package config helpers
GeoffreyBooth Jul 26, 2022
091d015
tools: add verbose flag to find-inactive-collaborators
Trott Jul 26, 2022
51db352
doc: add missing test runner option
MoLow Jul 26, 2022
f6a7019
test: change misleading variable name
tniessen Jul 26, 2022
9856fc7
doc: fix typos in `test.md`
aduh95 Jul 26, 2022
62a0a4c
test: fix test-cluster-concurrent-disconnect
daeyeon Jul 26, 2022
c939e19
test: reduce loop times for preventing test from timeout
theanarkh Jul 26, 2022
ad1a823
test_runner: validate `concurrency` option
aduh95 Jul 26, 2022
3348dde
net: add local family
theanarkh Jul 26, 2022
373523b
test: remove test-gc-http-client-timeout from flaky list
F3n67u Jul 26, 2022
c900bc1
deps: cherry-pick 00704f5a from V8 upstream
kvakil Jul 26, 2022
1a31e38
lib: add `Promise` methods to `avoid-prototype-pollution` lint rule
aduh95 Jul 26, 2022
ad537e6
doc: fix typo in packages.md
jtoar Jul 27, 2022
e2a3bf3
test_runner: graceful termination on `--test` only
MoLow Jul 27, 2022
cd8704d
http: reuse socket only when it is drained
ywave620 Jul 27, 2022
2c44730
src: remove unnecessary cast in crypto_sig.cc
tniessen Jul 27, 2022
bf9bcef
doc: list supported MODP groups explicitly
tniessen Jul 27, 2022
f7a6235
src,lib: print source map error source on demand
legendecas Jul 28, 2022
a0a7bc1
lib: add missing env vars to --help
cola119 Jun 19, 2022
3853665
doc: add missing env vars to man page
cola119 Jun 19, 2022
d1e6989
doc: remove old reference from crypto/README.md
tniessen Jul 27, 2022
ca24eac
src: fix typo in src/README.md
addaleax Jul 27, 2022
24baa87
test_runner: fix top level `describe` queuing
MoLow Jul 28, 2022
6bf688d
deps: upgrade npm to 8.15.1
npm-cli-bot Jul 28, 2022
1196023
src: improve SPKAC::ExportChallenge()
tniessen Jul 28, 2022
b4677f7
src: fix to use replacement character
cola119 Jul 29, 2022
cbc1189
test: refactor ESM tests to improve performance
JakobJingleheimer Jul 29, 2022
0b909a4
http: make idle http parser count configurable
theanarkh Jul 29, 2022
40ef04c
src,fs: refactor duplicated code in fs.readdir
daeyeon Jul 29, 2022
c4e8f95
meta: shorten PowerShell snippet for bug-report template
NicoNekoru Jul 27, 2022
6343e1d
src: fix bug in GetErrorSource()
tniessen Jul 28, 2022
9fd4262
doc: claim ABI version for Electron 21
VerteDinde Jul 30, 2022
dd34dd9
doc: fix code examples in `crypto.md`
aduh95 Jul 30, 2022
d8a03cc
test_runner: add before/after/each hooks
MoLow Jun 30, 2022
b935c4f
src: use a typed array internally for process._exiting
RaisinTen Jul 31, 2022
c7fdc53
doc: clarify part of onboarding guide regarding adding to teams
RaisinTen Jul 31, 2022
65887b6
tools: update lint-md-dependencies to rollup@2.77.2
nodejs-github-bot Jul 31, 2022
f882318
test: remove duplicate test
lpinca Jul 31, 2022
f27e003
test: fix `internet/test-inspector-help-page`
daeyeon Jul 31, 2022
a6c6e88
doc: add kvakil to triagers
kvakil Jul 31, 2022
45f580f
test_runner: empty pending tests queue post running
MoLow Jul 31, 2022
cd64813
doc: copyedit `test.md`
aduh95 Jul 31, 2022
273c532
build: skip test-internet run on forks
Trott Jul 31, 2022
6a4e99b
net,tls: pass a valid socket on `tlsClientError`
daeyeon Aug 1, 2022
df91dc1
doc: update collaborator email
ruyadorno Aug 1, 2022
1a9ae91
doc: add ErickWendel to collaborators
ErickWendel Aug 1, 2022
62fd899
meta: update AUTHORS
nodejs-github-bot Aug 2, 2022
b45ad00
test_runner: verbous error when entire test tree is canceled
MoLow Aug 2, 2022
befe01c
build: allow test-internet on forks if not scheduled
Trott Aug 2, 2022
5cb5c65
net: create diagnostics channels lazily
joyeecheung Aug 2, 2022
31589b5
bootstrap: implement --snapshot-blob and --build-snapshot
joyeecheung May 27, 2021
54c8339
bootstrap: clean up warning setup during serialization
joyeecheung Jul 20, 2022
c5e04c5
test: add UMD module test with marked
joyeecheung Sep 9, 2021
02e10a5
test: test snapshotting TypeScript compiler
joyeecheung Sep 27, 2021
975931d
src: nest namespace report in namespace node
legendecas Jul 31, 2022
43e8be0
src: remove usages of GetBackingStore in startup
kvakil Aug 3, 2022
ddf9c16
src: remove usages of GetBackingStore in WASI
kvakil Aug 3, 2022
34a92d1
src: remove usages of GetBackingStore in modules
kvakil Aug 3, 2022
8a79636
src: remove usages of GetBackingStore in node-api
kvakil Aug 3, 2022
c7373b7
src: remove unowned usages of GetBackingStore
kvakil Aug 3, 2022
0de278c
meta: add codeowner for src/node_snapshot*
legendecas Aug 3, 2022
0e67128
src,test: fix typos
sadikkuzu Aug 3, 2022
5adf039
doc: update repository list in onboarding doc
Trott Aug 3, 2022
29bbabd
doc: clarify tls.tlsSocket.getCipher().version
AdamMajer Aug 3, 2022
e6a47e8
net, dns: socket should handle its output as input
AdamMajer Aug 3, 2022
08f6f1c
src,buffer: remove unused chars_written parameter
kvakil Aug 4, 2022
a36befa
test_runner: refactor to use more primordials
aduh95 Aug 4, 2022
68c4e45
doc,worker: deprecate `--trace-atomics-wait`
kvakil Aug 4, 2022
1f33319
doc: add theanarkh to collaborators
theanarkh Aug 4, 2022
6cfb1ac
deps: upgrade base64 to dc6a41ce36e
mscdex Jul 28, 2022
2178f17
bootstrap: support more builtins in the embedded code cache
joyeecheung Jul 28, 2022
c2ea22f
esm: fix loader hooks accepting too many arguments
JakobJingleheimer Aug 4, 2022
f461d79
doc: remove unused code in call tracker example
cjihrig Aug 4, 2022
bd27b8b
bootstrap: turn on FunctionCodeHandling::kKeep in the snapshot builder
joyeecheung Aug 4, 2022
e057480
stream: update TextEncoderStream to align the latest spec
cola119 Aug 4, 2022
ebff06b
src: remove usages of GetBackingStore in crypto
kvakil Aug 4, 2022
3f32526
module: protect against prototype mutation
aduh95 Aug 4, 2022
3dbbaa0
lib: pass env variables to child process on z/OS
alexcfyung Mar 8, 2022
d6ebc75
deps: upgrade npm to 8.16.0
npm-cli-bot Aug 5, 2022
646417c
deps: remove unnecessary file
mscdex Aug 5, 2022
9fc9534
test: tune down parallelism for some flaky tests
kvakil Aug 5, 2022
ed36b0d
http: trace http request / response
theanarkh Aug 5, 2022
9dc33f1
src: add detailed embedder process initialization API
addaleax Aug 5, 2022
6256bd5
deps: V8: cherry-pick 9861ce1deae2
miladfarca Aug 3, 2022
8082c24
src: prevent copying ArrayBufferViewContents
kvakil Aug 6, 2022
6c4b2e0
tools: update undici CPE in vuln checking script
facutuesca Aug 6, 2022
63b5c49
src,lib: print prinstine source when source map source not found
legendecas Aug 6, 2022
51b4a1b
doc: add performance note to `--enable-source-maps` docs
saurabhdaware Aug 6, 2022
1598894
test: s390x z15 accelerated zlib fixes
AdamMajer Aug 6, 2022
eded43c
doc: add Retry CI in collaborator guide
LiviaMedeiros Aug 6, 2022
2b89d11
build: optimized and fixed building configuration to Android
MeowShe Aug 7, 2022
c75c478
test: remove test-http-client-response-timeout flaky designation
lpinca Aug 7, 2022
41ecf71
test: move test-vm-break-on-sigint to sequential
kvakil Aug 7, 2022
7007a9f
test: deflake gc-http-client tests by restricting number of requests
nicksia-vgw Aug 7, 2022
fcd5f7a
test: move tests with many workers to sequential
kvakil Aug 7, 2022
601b03d
meta: update AUTHORS
nodejs-github-bot Aug 7, 2022
2a38896
tools: update lint-md-dependencies to @rollup/plugin-commonjs@22.0.2
nodejs-github-bot Aug 7, 2022
7d89e1b
deps: update corepack to 0.12.2
nodejs-github-bot Aug 7, 2022
5e1ab72
build: add workflow to label flaky-test platform
RafaelGSS Aug 7, 2022
3adecad
tools: update eslint to 8.21.0
nodejs-github-bot Aug 8, 2022
14b34e5
deps: update undici to 5.8.1
nodejs-github-bot Aug 8, 2022
c975427
esm: do not bind loader hook functions
aduh95 Aug 8, 2022
bcb94aa
test: update console web platform tests
anonrig Aug 2, 2022
ba1915d
test: update hr-time web platform tests
anonrig Aug 2, 2022
fad0630
test: update wasm/jsapi web platform tests
anonrig Aug 2, 2022
1c51d83
lib: fix diagnostics channel
theanarkh Aug 8, 2022
70bb6a3
src: disambiguate terms used to refer to builtins and addons
joyeecheung Aug 4, 2022
c51d85e
src: fix cppgc incompatibility in v8
codebytere Jun 21, 2022
f5fcd49
http: fix error message when specifying headerTimeout for createServer
nicksia-vgw Aug 9, 2022
98fa488
bootstrap: check more metadata when loading the snapshot
joyeecheung Aug 9, 2022
273014b
deps: update undici to 5.8.2
nodejs-github-bot Aug 9, 2022
7104210
test: update wpt url status
cola119 Aug 10, 2022
eac875e
events: use bitset to save memory
mabaasit Jul 6, 2022
c5c3c5e
test: update WPT runner
panva Aug 10, 2022
03321cb
doc: fix typo in diagnostics_channel
evanlucas Aug 10, 2022
9fedf35
perf_hooks: fix gc elapsed time
theanarkh Aug 10, 2022
60de663
doc: update tags in adding-new-napi-api.md
legendecas Aug 10, 2022
2a75bce
net: remove unused callback
theanarkh Aug 11, 2022
fb5884a
assert: add assert.Snapshot
MoLow Aug 11, 2022
a127c48
doc: add MoLow to collaborators
MoLow Aug 11, 2022
c9602fa
deps: upgrade npm to 8.17.0
npm-cli-bot Aug 11, 2022
83a7ffe
assert: add `getCalls` and `reset` to callTracker
MoLow Aug 11, 2022
3359c2c
src: iterate over base objects to prepare for snapshot
joyeecheung Aug 12, 2022
b0e3e69
test: use `mustSucceed` instead of `mustCall` with `assert.ifError`
fossamagna Aug 12, 2022
46c92c1
doc: improved building doc for Android
MeowShe Aug 12, 2022
90f3c5e
crypto: fix webcrypto operation errors to be OperationError
panva Aug 12, 2022
a60ae67
crypto: fix webcrypto generateKey() AES key length validation error
panva Aug 8, 2022
02bcf13
crypto: fix webcrypto EC key namedCurve validation errors
panva Aug 8, 2022
05bf817
crypto: fix webcrypto deriveBits validations
panva Aug 8, 2022
521ad0e
crypto: allow zero-length secret KeyObject
panva Aug 11, 2022
45dcd5c
crypto: allow zero-length IKM in HKDF and in webcrypto PBKDF2
panva Aug 11, 2022
bb346ea
build: enable pointer authentication for branch protection on arm64
jgowdy-godaddy Aug 12, 2022
fd80430
errors: refactor to use optional chaining
xtx1130 Aug 3, 2022
ce5de6e
src: fix --heapsnapshot-near-heap-limit error hint
legendecas Aug 14, 2022
40c0f55
meta: update AUTHORS
nodejs-github-bot Aug 14, 2022
ee394f3
test: mark connection leak test flaky on IBM i
richardlau Aug 14, 2022
3abea4d
tools: update lint-md-dependencies to rollup@2.77.3
nodejs-github-bot Aug 14, 2022
64300a6
test: add filesystem check to `test-fs-stat-date.mjs`
LiviaMedeiros Aug 14, 2022
c18c646
deps: update corepack to 0.12.3
nodejs-github-bot Aug 14, 2022
2f2ea4b
test,crypto: update WebCryptoAPI WPT
panva Aug 14, 2022
a82e768
test: remove cjs loader from stack traces
GeoffreyBooth Aug 14, 2022
ceb62e5
src: remove usage on ScriptCompiler::CompileFunctionInContext
legendecas Aug 10, 2022
900c4c0
test: reduce http-server-request-timeouts-mixed flakiness
nicksia-vgw Aug 8, 2022
741402d
doc: fix added version for readable.closed/destroyed
MasterOdin Jul 29, 2022
96c3373
stream: improve views validation on `BYOBRequest`
daeyeon Aug 15, 2022
db0b9b6
2022-08-16, Version 18.8.0 (Current)
danielleadams Aug 16, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .eslintignore
Expand Up @@ -6,6 +6,7 @@ test/message/esm_display_syntax_error.mjs
tools/icu
tools/lint-md/lint-md.mjs
benchmark/tmp
benchmark/fixtures
doc/**/*.js
!doc/api_assets/*.js
!.eslintrc.js
3 changes: 2 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Expand Up @@ -107,7 +107,8 @@

/benchmark/misc/startup.js @nodejs/startup
/src/node.cc @nodejs/startup
/src/node_native_module* @nodejs/startup
/src/node_builtins* @nodejs/startup
/src/node_snapshot* @nodejs/startup
/lib/internal/bootstrap/* @nodejs/startup
/tools/snapshot/* @nodejs/startup

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/1-bug-report.yml
Expand Up @@ -19,7 +19,7 @@ body:
label: Platform
description: |
UNIX: output of `uname -a`
Windows: output of `"$([Environment]::OSVersion | ForEach-Object VersionString) $(if ([Environment]::Is64BitOperatingSystem) { "x64" } else { "x86" })"` in PowerShell console
Windows: output of `"$([Environment]::OSVersion.VersionString) $(('x86', 'x64')[[Environment]::Is64BitOperatingSystem])"` in PowerShell console
- type: input
attributes:
label: Subsystem
Expand Down
50 changes: 50 additions & 0 deletions .github/workflows/label-flaky-test-issue.yml
@@ -0,0 +1,50 @@
name: Label Flaky Test Issues

on:
issues:
types: [opened, labeled]

jobs:
label:
if: github.event.label.name == 'flaky-test'
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Extract labels
id: extract-labels
env:
BODY: ${{ github.event.issue.body }}
run: |
BODY="${BODY//$'\n'/'\n'}"

declare -A platform2label

platform2label["AIX"]="aix";
platform2label["FreeBSD"]="freebsd";
platform2label["Linux ARM64"]="linux";
platform2label["Linux ARMv7"]="arm";
platform2label["Linux PPC64LE"]="ppc";
platform2label["Linux s390x"]="s390";
platform2label["Linux x64"]="linux";
platform2label["macOS ARM64"]="macos";
platform2label["macOS x64"]="macos";
platform2label["SmartOS"]="smartos";
platform2label["Windows"]="windows";

# sed is cleaning up the edges
PLATFORMS=$(echo $BODY | sed 's/^.*Platform\\n\\n//' | sed 's/\(, Other\)\?\\n\\n.*$//') 2> /dev/null
readarray -d , -t list <<< "$PLATFORMS"
labels=
for row in "${list[@]}"; do \
platform=$(echo $row | xargs); \
labels="${labels}${platform2label[$platform]},"; \
done;

echo "::set-output name=LABELS::${labels::-1}"

- name: Add labels
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NUMBER: ${{ github.event.issue.number }}
run: gh issue edit "$NUMBER" --repo ${{ github.repository }} --add-label "${{ steps.extract-labels.outputs.LABELS }}"
1 change: 1 addition & 0 deletions .github/workflows/test-internet.yml
Expand Up @@ -29,6 +29,7 @@ permissions:

jobs:
test-internet:
if: github.repository == 'nodejs/node' || github.event_name != 'schedule'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 4 additions & 0 deletions .mailmap
Expand Up @@ -287,6 +287,8 @@ Ke Ding <dingkework@hotmail.com>
Keith M Wesolowski <wesolows@joyent.com> <wesolows@foobazco.org>
Kelsey Breseman <ifoundthemeaningoflife@gmail.com>
Kevin Millikin <kmillikin@chromium.org>
Keyhan Vakil <kvakil@sylph.kvakil.me> <60900335+airtable-keyhanvakil@users.noreply.github.com>
Keyhan Vakil <kvakil@sylph.kvakil.me> <kvakil@github.kvakil.me>
Khaidi Chu <i@2333.moe>
Khaidi Chu <i@2333.moe> <admin@xcoder.in>
Kimberly Wilber <gcr@sneakygcr.net>
Expand Down Expand Up @@ -429,6 +431,8 @@ Ron Korving <ron@ronkorving.nl> <rkorving@wizcorp.jp>
Ruben Bridgewater <ruben@bridgewater.de> <ruben.bridgewater@fintura.de>
Ruben Bridgewater <ruben@bridgewater.de> <ruben.bridgewater@maibornwolff.de>
Russell Dempsey <sgtpooki@gmail.com> <SgtPooki@gmail.com>
Ruy Adorno <ruyadorno@google.com> <ruyadorno@github.com>
Ruy Adorno <ruyadorno@google.com> <ruyadorno@hotmail.com>
Ryan Dahl <ry@tinyclouds.org>
Ryan Emery <seebees@gmail.com>
Ryan Mahan <ryanmahan97@gmail.com>
Expand Down
23 changes: 20 additions & 3 deletions AUTHORS
Expand Up @@ -1048,7 +1048,7 @@ Joran Siu <joransiu@ca.ibm.com>
Vitaly Tomilov <vitaly-t@users.noreply.github.com>
Ratikesh Misra <ratikesh92@gmail.com>
Alex Perkins <aperkin@rei.com>
Beth Griggs <bgriggs@redhat.com>
Beth Griggs <bethanyngriggs@gmail.com>
Joe Esposito <joe@joeyespo.com>
Erin Spiceland <yes@erin.codes>
Ravindra Barthwal <ravindrabarthwal@users.noreply.github.com>
Expand Down Expand Up @@ -1784,7 +1784,7 @@ Christopher Sidebottom <chris@damouse.co.uk>
Edward Andrew Robinson <earobinson@gmail.com>
Shakeel Mohamed <contact@shakeel.xyz>
Tobias Kieslich <tobias.kieslich@gmail.com>
Ruy Adorno <ruyadorno@hotmail.com>
Ruy Adorno <ruyadorno@google.com>
Stefania Sharp <stefaniasharp@gmail.com>
Pawel Golda <pawelgolda@gmail.com>
Steven Scott <Contact@TheDgtl.net>
Expand Down Expand Up @@ -3457,7 +3457,7 @@ Yagiz Nizipli <yagiz@nizipli.com>
liuxingbaoyu <30521560+liuxingbaoyu@users.noreply.github.com>
Sergey Nazaryev <sergey@nazaryev.com>
William Marlow <william.marlow@ibm.com>
Keyhan Vakil <60900335+airtable-keyhanvakil@users.noreply.github.com>
Keyhan Vakil <kvakil@sylph.kvakil.me>
Feng Yu <F3n67u@outlook.com>
pupilTong <pupiltong@outlook.com>
rikapo <rikaporori@gmail.com>
Expand Down Expand Up @@ -3490,5 +3490,22 @@ John Gee <john@ruru.gen.nz>
Hrishikesh Kadam <hrkadam.92@gmail.com>
KrayzeeKev <github@lentinfamily.com>
Airing <airing@ursb.me>
jiahao.si <sijiahao0839@gmail.com>
Rhys <Anemy@users.noreply.github.com>
Mark S. Miller <erights@users.noreply.github.com>
Jianru Lin <jianru.lin@gmail.com>
Lenvin Gonsalves <41874033+98lenvi@users.noreply.github.com>
Andreu Botella <andreu@andreubotella.com>
shhh7612 <82669765+shhh7612@users.noreply.github.com>
Dominic Saadi <dominiceliassaadi@gmail.com>
ywave620 <60539365+ywave620@users.noreply.github.com>
NicoNekoru <66227158+NicoNekoru@users.noreply.github.com>
SADIK KUZU <sadikkuzu@hotmail.com>
flakey5 <73616808+flakey5@users.noreply.github.com>
Saurabh Daware <saurabhdaware99@gmail.com>
BuShe <bushe.cn@icloud.com>
Nick Sia <31839263+nicksia-vgw@users.noreply.github.com>
Basit Chonka <baasit121@icloud.com>
Jeremiah Gowdy <jgowdy@godaddy.com>

# Generated by tools/update-authors.mjs
13 changes: 8 additions & 5 deletions BUILDING.md
Expand Up @@ -37,7 +37,7 @@ file a new issue.
* [Option 1: Manual install](#option-1-manual-install)
* [Option 2: Automated install with Boxstarter](#option-2-automated-install-with-boxstarter)
* [Building Node.js](#building-nodejs-2)
* [Android/Android-based devices (e.g. Firefox OS)](#androidandroid-based-devices-eg-firefox-os)
* [Android](#android)
* [`Intl` (ECMA-402) support](#intl-ecma-402-support)
* [Build with full ICU support (all locales supported by ICU)](#build-with-full-icu-support-all-locales-supported-by-icu)
* [Unix/macOS](#unixmacos)
Expand Down Expand Up @@ -647,22 +647,25 @@ To test if Node.js was built correctly:
> Release\node -e "console.log('Hello from Node.js', process.version)"
```

### Android/Android-based devices (e.g. Firefox OS)
### Android

Android is not a supported platform. Patches to improve the Android build are
welcome. There is no testing on Android in the current continuous integration
environment. The participation of people dedicated and determined to improve
Android building, testing, and support is encouraged.

Be sure you have downloaded and extracted
[Android NDK](https://developer.android.com/tools/sdk/ndk/index.html) before in
[Android NDK](https://developer.android.com/ndk) before in
a folder. Then run:

```console
$ ./android-configure /path/to/your/android-ndk
$ make
$ source ./android-configure /path/to/your/android-ndk target_arch android_sdk_version
$ make -j4
```

The Android SDK version should be at least 24 (Android 7.0) and the target
architecture supports \[arm, arm64/aarch64, x86, x86\_64].

## `Intl` (ECMA-402) support

[Intl](https://github.com/nodejs/node/blob/HEAD/doc/api/intl.md) support is
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Expand Up @@ -35,7 +35,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.7.0">18.7.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V18.md#18.8.0">18.8.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.7.0">18.7.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.6.0">18.6.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.5.0">18.5.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V18.md#18.4.0">18.4.0</a><br/>
Expand Down
10 changes: 9 additions & 1 deletion README.md
Expand Up @@ -310,6 +310,8 @@ For information about the governance of the Node.js project, see
**Daniele Belardi** <<dwon.dnl@gmail.com>> (he/him)
* [edsadr](https://github.com/edsadr) -
**Adrian Estrada** <<edsadr@gmail.com>> (he/him)
* [erickwendel](https://github.com/erickwendel) -
**Erick Wendel** <<erick.workspace@gmail.com>> (he/him)
* [evanlucas](https://github.com/evanlucas) -
**Evan Lucas** <<evanlucas@me.com>> (he/him)
* [fhinkel](https://github.com/fhinkel) -
Expand Down Expand Up @@ -380,6 +382,8 @@ For information about the governance of the Node.js project, see
**Milad Fa** <<mfarazma@redhat.com>> (he/him)
* [mildsunrise](https://github.com/mildsunrise) -
**Alba Mendez** <<me@alba.sh>> (she/her)
* [MoLow](https://github.com/MoLow) -
**Moshe Atlow** <<moshe@atlow.co.il>> (he/him)
* [mscdex](https://github.com/mscdex) -
**Brian White** <<mscdex@mscdex.net>>
* [MylesBorins](https://github.com/MylesBorins) -
Expand All @@ -405,7 +409,7 @@ For information about the governance of the Node.js project, see
* [ronag](https://github.com/ronag) -
**Robert Nagy** <<ronagy@icloud.com>>
* [ruyadorno](https://github.com/ruyadorno) -
**Ruy Adorno** <<ruyadorno@github.com>> (he/him)
**Ruy Adorno** <<ruyadorno@google.com>> (he/him)
* [rvagg](https://github.com/rvagg) -
**Rod Vagg** <<rod@vagg.org>>
* [ryzokuken](https://github.com/ryzokuken) -
Expand All @@ -424,6 +428,8 @@ For information about the governance of the Node.js project, see
**Stewart X Addison** <<sxa@redhat.com>> (he/him)
* [targos](https://github.com/targos) -
**Michaël Zasso** <<targos@protonmail.com>> (he/him)
* [theanarkh](https://github.com/theanarkh) -
**theanarkh** <<theratliter@gmail.com>> (he/him)
* [TimothyGu](https://github.com/TimothyGu) -
**Tiancheng "Timothy" Gu** <<timothygu99@gmail.com>> (he/him)
* [tniessen](https://github.com/tniessen) -
Expand Down Expand Up @@ -658,6 +664,8 @@ maintaining the Node.js project.
**Himadri Ganguly** <<himadri.tech@gmail.com>> (he/him)
* [iam-frankqiu](https://github.com/iam-frankqiu) -
**Frank Qiu** <<iam.frankqiu@gmail.com>> (he/him)
* [kvakil](https://github.com/kvakil) -
**Keyhan Vakil** <<kvakil@sylph.kvakil.me>> (they/them)
* [marsonya](https://github.com/marsonya) -
**Akhil Marsonya** <<akhil.marsonya27@gmail.com>> (he/him)
* [meixg](https://github.com/meixg) -
Expand Down
8 changes: 3 additions & 5 deletions android-configure
Expand Up @@ -17,16 +17,14 @@ NDK_PATH=$1
ARCH="$2"
ANDROID_SDK_VERSION=$3

if [ $ANDROID_SDK_VERSION -lt 23 ]; then
echo "$ANDROID_SDK_VERSION should equal or later than 23(Android 6.0)"
if [ $ANDROID_SDK_VERSION -lt 24 ]; then
echo "$ANDROID_SDK_VERSION should equal or later than 24 (Android 7.0)"
fi

CC_VER="4.9"

case $ARCH in
arm)
DEST_CPU="arm"
TOOLCHAIN_NAME="armv7-linux-androideabi"
TOOLCHAIN_NAME="armv7a-linux-androideabi"
;;
x86)
DEST_CPU="ia32"
Expand Down
34 changes: 34 additions & 0 deletions benchmark/es/error-stack.js
@@ -0,0 +1,34 @@
'use strict';

const common = require('../common.js');
const modPath = require.resolve('../fixtures/simple-error-stack.js');

const bench = common.createBenchmark(main, {
method: ['without-sourcemap', 'sourcemap'],
n: [1e5],
});

function runN(n) {
delete require.cache[modPath];
const mod = require(modPath);
bench.start();
for (let i = 0; i < n; i++) {
mod.simpleErrorStack();
}
bench.end(n);
}

function main({ n, method }) {
switch (method) {
case 'without-sourcemap':
process.setSourceMapsEnabled(false);
runN(n);
break;
case 'sourcemap':
process.setSourceMapsEnabled(true);
runN(n);
break;
default:
throw new Error(`Unexpected method "${method}"`);
}
}
15 changes: 15 additions & 0 deletions benchmark/fixtures/simple-error-stack.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions benchmark/fixtures/simple-error-stack.ts
@@ -0,0 +1,17 @@
'use strict';

// Compile with `tsc --inlineSourceMap benchmark/fixtures/simple-error-stack.ts`.

const lorem = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.';

function simpleErrorStack() {
try {
(lorem as any).BANG();
} catch (e) {
return e.stack;
}
}

export {
simpleErrorStack,
};
2 changes: 1 addition & 1 deletion common.gypi
Expand Up @@ -36,7 +36,7 @@

# Reset this number to 0 on major V8 upgrades.
# Increment by one for each non-official patch applied to deps/v8.
'v8_embedder_string': '-node.9',
'v8_embedder_string': '-node.11',

##### V8 defaults for Node.js #####

Expand Down
4 changes: 4 additions & 0 deletions configure.py
Expand Up @@ -1237,6 +1237,10 @@ def configure_node(o):

o['variables']['want_separate_host_toolset'] = int(cross_compiling)

# Enable branch protection for arm64
if target_arch == 'arm64':
o['cflags']+=['-msign-return-address=all']

if options.node_snapshot_main is not None:
if options.shared:
# This should be possible to fix, but we will need to refactor the
Expand Down
9 changes: 7 additions & 2 deletions deps/base64/base64/lib/arch/neon64/codec.c
Expand Up @@ -58,8 +58,13 @@ load_64byte_table (const uint8_t *p)
#include "../generic/32/dec_loop.c"
#include "../generic/64/enc_loop.c"
#include "dec_loop.c"
#include "enc_reshuffle.c"
#include "enc_loop.c"

#ifdef BASE64_NEON64_USE_ASM
# include "enc_loop_asm.c"
#else
# include "enc_reshuffle.c"
# include "enc_loop.c"
#endif

#endif // BASE64_USE_NEON64

Expand Down