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

v17.7.0 release proposal #42254

Merged
merged 81 commits into from
Mar 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
a4969d5
doc: add release key for Bryan English
bengl Feb 24, 2022
f7ea75f
lib: add legacy built-in functions to primordials
aduh95 Feb 21, 2022
e3347db
meta: remove collaborator
Trott Feb 21, 2022
9930146
test: increase Fibonacci argument to 40
Trott Feb 21, 2022
3789d66
doc: add missing api entries on performance
legendecas Feb 16, 2022
a2926c4
net: add new options to `net.Socket` and `net.Server`
ShogunPanda Feb 22, 2022
8b531da
doc: clarify supported versus enabled TLS ciphers
tniessen Feb 22, 2022
0ce00ca
doc: move bnoordhuis back to collaborators
bnoordhuis Feb 22, 2022
288f627
crypto: clarify `require("crypto").getRandomValues` is Node.js specific
aduh95 Feb 22, 2022
bd04fc8
doc: clarify persistent ref behavior
mhdawson Feb 17, 2022
03ebca8
build: update feature close action for testing
mhdawson Feb 22, 2022
d6b1a4a
repl: remove preview when press escape
meixg Feb 19, 2022
482b220
test: validate `EventEmitterAsyncResource` methods throw on invalid this
kuriyosh Feb 22, 2022
eb622a0
doc: add meixg to triagers
meixg Feb 23, 2022
e0448da
meta: move one or more collaborators to emeritus
nodejs-github-bot Feb 23, 2022
7ed2c19
meta: correct link to feature request document
SimenB Feb 23, 2022
7c49785
process: fix named report export
madflow Feb 4, 2022
26fe61b
doc: document change to IncomingMessage.headers enumerability
ArnoldZokas Feb 23, 2022
8431fb9
stream: port more test262 tests
benjamingr Feb 23, 2022
96510b3
module: prefer async/await in https imports
benjamingr Feb 12, 2022
86248f1
src: allow preventing InitializeInspector in env
codebytere Feb 23, 2022
8b94ea6
doc,tools: improve navigability of API docs
ShogunPanda Feb 24, 2022
f107f8b
node-api: fix typo in `node_api.cc`
austinkelleher Feb 24, 2022
d0f68a3
test: deflake test-common-expect-warning
lpinca Feb 18, 2022
a32ec98
doc: make building with ninja more discoverable
bavulapati Feb 25, 2022
53338fe
stream: allow returning null from pipeline tail
ronag Feb 25, 2022
769e2a4
deps: V8: cherry-pick b66334313c8b
luyahan Feb 21, 2022
1359f60
deps: V8: cherry-pick 77d515484864
luyahan Feb 21, 2022
ec4c0de
build: last test of the stale feature action
mhdawson Feb 22, 2022
2e1231b
errors: do not access .stack in debug
bcoe Feb 25, 2022
3fc3f52
build: add corepack to the auto-updated dependencies
arcanis Feb 25, 2022
ccacf99
deps: upgrade npm to 8.5.2
npm-robot Feb 24, 2022
c72c3f4
perf_hooks: do not return all entries with getEntriesBy[Name|Type]
meixg Feb 26, 2022
5d010bc
doc: remove repeated a word
apeltop Feb 26, 2022
384872f
lib: clean after the cancel algorithm throw error
MoonBall Feb 26, 2022
2b35422
crypto: add KeyObject.prototype.equals method
panva Feb 26, 2022
c9ea6a9
crypto: validate `this` value for `webcrypto.getRandomValues`
aduh95 Feb 26, 2022
28f6364
tools: update eslint to 8.10.0
nodejs-github-bot Feb 27, 2022
cad7dde
meta: update AUTHORS
nodejs-github-bot Feb 27, 2022
2bc136d
esm: fix relative imports for https
bmeck Feb 27, 2022
0b8efea
deps: update nghttp2 to 1.47.0
yashLadha Feb 27, 2022
576c1ae
fs: adjust default `length` for `fs.readSync` and fsPromises/`read`
LiviaMedeiros Feb 27, 2022
3366618
src: simplify GetExponentString
tniessen Feb 27, 2022
07de4ed
src: do not ignore return value of BIO_reset
tniessen Feb 27, 2022
382ffda
src: simplify arg type of AddFingerprintDigest
tniessen Feb 27, 2022
97f5ced
src: prefer bool over int in crypto_common
tniessen Feb 27, 2022
f0558d8
src: simplify TLSWrap::SetSession
tniessen Feb 27, 2022
4c9f2b5
src: combine GetCurveASN1Name and GetCurveNistName
tniessen Feb 27, 2022
0413736
http: add default argument for Agent.prototype.getName
xtx1130 Feb 27, 2022
d05758f
buffer: improve blob read performance
meixg Feb 27, 2022
41b6d9e
tools: update lint-md rollup dependencies
nodejs-github-bot Feb 27, 2022
853cbd9
build: increase max ops for stale feature action
mhdawson Feb 25, 2022
4e9fac6
build: fix usage of input in feature action
mhdawson Feb 28, 2022
ce86fc3
doc: remove reference to obsolete security program
Trott Mar 1, 2022
f21fbee
test: update V8 trace events test expectations
nickie Feb 24, 2022
ce40927
src: remove dead code in AddFingerprintDigest
tniessen Mar 1, 2022
9bc7a95
http2: close stream and session on frameError
RafaelGSS Mar 2, 2022
3df001f
doc: add JakobJingleheimer to collaborators list
JakobJingleheimer Mar 2, 2022
84859c4
doc: fix typos
apeltop Mar 2, 2022
ee02739
doc: add missing single-quotes to `http.OutgoingMessage`
juanarbol Mar 1, 2022
9aeda47
url: fix url.parse() for @hostname
Trott Feb 26, 2022
06e5c0e
stream: use .chunk when calling adapters's writev
meixg Mar 3, 2022
6a74fa9
doc: add next-10 to strategic initiatives
mhdawson Mar 1, 2022
0bbb447
build: drop shortened URL from lint-commit-message
richardlau Mar 3, 2022
04d2c74
doc: use parenthesis instead of em dash
aduh95 Mar 3, 2022
ceb47d1
test: fix test-process-env-tz.js by using RegExp
XadillaX Mar 4, 2022
8dd4878
esm: fix base URL for network imports
bmeck Feb 25, 2022
a6c1abf
doc: add note about nghttp2 hd pair size
RafaelGSS Mar 5, 2022
05c3ff5
doc: clarify that some modules don't work when compiled without ssl
aduh95 Mar 5, 2022
7f1c83e
loader: fix esm resolve for symlink file
meixg Mar 6, 2022
5b23e67
meta: update AUTHORS
nodejs-github-bot Mar 6, 2022
0abc20b
src: skip revoke_data_object if uuid is not found
meixg Mar 6, 2022
0be3c61
test: cover 32-bit sizes in generatePrime
tniessen Mar 6, 2022
c01134e
tools: update lint-md-dependencies to rollup@2.69.1
nodejs-github-bot Mar 6, 2022
555da9b
doc: remove "considered" for clarity
Trott Mar 6, 2022
1de8087
http2: add edge case to GOAWAY request
RafaelGSS Mar 6, 2022
6183749
doc: remove erroneous comma in cluster explainer
tniessen Mar 7, 2022
ecb5980
url, src: modify one `special_back_slash`
XadillaX Feb 24, 2022
98b1be0
src: return proper URLs from node_api_get_module_file_name
addaleax Jan 29, 2022
fc7d429
doc: update stale feature messages
mhdawson Mar 4, 2022
05c2520
2022-03-09, Version 17.7.0 (Current)
sxa Mar 8, 2022
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/2-feature-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ body:
Please fill in as much of the following form as you're able.

For more information on how the project manages feature
requests, see [Feature request management](https://github.com/nodejs/node/blob/HEAD/doc/guides/feature-request-management.md).
requests, see [Feature request management](https://github.com/nodejs/node/blob/HEAD/doc/contributing/feature-request-management.md).
- type: textarea
attributes:
label: What is the problem this feature will solve?
Expand Down
21 changes: 12 additions & 9 deletions .github/workflows/close-stale-feature-requests.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: Close stale feature requests
on:
workflow_dispatch:
schedule:
# Run every day at 1:00 AM UTC.
- cron: 0 1 * * *
inputs:
daysBeforeStale:
description: Idle number of days before marking feature requests stale
required: true
default: 906
type: number

# yamllint disable rule:empty-lines
env:
Expand All @@ -15,7 +18,7 @@ env:

For more information on how the project manages
feature requests, please consult the
[feature request management document](https://github.com/nodejs/node/blob/HEAD/doc/guides/feature-request-management.md).
[feature request management document](https://github.com/nodejs/node/blob/HEAD/doc/contributing/feature-request-management.md).

WARN_MESSAGE: >
There has been no activity on this feature request for
Expand All @@ -25,7 +28,7 @@ env:

For more information on how the project manages
feature requests, please consult the
[feature request management document](https://github.com/nodejs/node/blob/HEAD/doc/guides/feature-request-management.md).
[feature request management document](https://github.com/nodejs/node/blob/HEAD/doc/contributing/feature-request-management.md).
# yamllint enable

jobs:
Expand All @@ -36,13 +39,13 @@ jobs:
- uses: actions/stale@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 150
days-before-stale: ${{ github.event.inputs.daysBeforeStale }}
days-before-close: 30
stale-issue-label: stalled
stale-issue-label: stale
close-issue-message: ${{ env.CLOSE_MESSAGE }}
stale-issue-message: ${{ env.WARN_MESSAGE }}
only-labels: feature request,test-action
only-labels: feature request
exempt-pr-labels: never-stale
# max requests it will send per run to the GitHub API before it deliberately exits to avoid hitting API rate limits
operations-per-run: 30
operations-per-run: 500
remove-stale-when-updated: true
2 changes: 1 addition & 1 deletion .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: First commit message adheres to guidelines at https://goo.gl/p2fr5Q
name: First commit message adheres to guidelines

on: [pull_request]

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
./update-eslint.sh
fi
- id: corepack
run: |
make corepack-update
echo "NEW_VERSION=$(node deps/corepack/dist/corepack.js --version)" >> $GITHUB_ENV
- id: lint-md-dependencies
run: |
cd tools/lint-md
Expand Down
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Anna Henningsen <anna@addaleax.net> <github@addaleax.net>
Anna Henningsen <anna@addaleax.net> <sqrt@entless.org>
Anna Magdalena Kedzierska <anna.mag.kedzierska@gmail.com> <AnnaMag@users.noreply.github.com>
Antoine Amara <amara.antoine@gmail.com>
apeltop <sunshine@ptokos.com> <psycho3081@gmail.com>
Aria Stewart <aredridel@dinhe.net> <aredridel@nbtsc.org>
Arlo Breault <arlolra@gmail.com>
Arnaud Lefebvre <a.lefebvre@outlook.fr>
Expand Down
6 changes: 6 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -3428,5 +3428,11 @@ T•Ø•R•Ü•S <bageliq@protonmail.com>
Sean Quinlan <1011062+sbquinlan@users.noreply.github.com>
Derek Wolpert <48101033+derekwolpert@users.noreply.github.com>
wbt <wbt@users.noreply.github.com>
Alexandru Comanescu <comanescu.robert93@gmail.com>
madflow <madflow@web.de>
Austin Kelleher <austin.kell47@gmail.com>
apeltop <sunshine@ptokos.com>
Livia Medeiros <74449973+LiviaMedeiros@users.noreply.github.com>
Nikolaos Papaspyrou <nikolaos@chromium.org>

# Generated by tools/update-authors.js
4 changes: 4 additions & 0 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,10 @@ $ ./configure
$ make -j4
```

We can speed up the builds by using [Ninja](https://ninja-build.org/). For more
information, see
[Building Node.js with Ninja](doc/contributing/building-node-with-ninja.md).

The `-j4` option will cause `make` to run 4 simultaneous compilation jobs which
may reduce build time. For more information, see the
[GNU Make Documentation](https://www.gnu.org/software/make/manual/html_node/Parallel.html).
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V17.md#17.6.0">17.6.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V17.md#17.7.0">17.7.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V17.md#17.6.0">17.6.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V17.md#17.5.0">17.5.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V17.md#17.4.0">17.4.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V17.md#17.3.1">17.3.1</a><br/>
Expand Down
12 changes: 7 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1119,13 +1119,15 @@ pkg: $(PKG)

.PHONY: corepack-update
corepack-update:
rm -rf /tmp/node-corepack-clone
git clone 'https://github.com/nodejs/corepack.git' /tmp/node-corepack-clone
cd /tmp/node-corepack-clone && yarn pack
rm -rf deps/corepack && mkdir -p deps/corepack
cd deps/corepack && tar xf /tmp/node-corepack-clone/package.tgz --strip-components=1
mkdir -p /tmp/node-corepack
curl -qLo /tmp/node-corepack/package.tgz "$$(npm view corepack dist.tarball)"

rm -rf deps/corepack && mkdir deps/corepack
cd deps/corepack && tar xf /tmp/node-corepack/package.tgz --strip-components=1
chmod +x deps/corepack/shims/*

node deps/corepack/dist/corepack.js --version

.PHONY: pkg-upload
# Note: this is strictly for release builds on release machines only.
pkg-upload: pkg
Expand Down
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,8 @@ For information about the governance of the Node.js project, see
**Bradley Farias** <<bradley.meck@gmail.com>>
* [bnb](https://github.com/bnb) -
**Tierney Cyren** <<hello@bnb.im>> (they/he)
* [bnoordhuis](https://github.com/bnoordhuis) -
**Ben Noordhuis** <<info@bnoordhuis.nl>>
* [boneskull](https://github.com/boneskull) -
**Christopher Hiller** <<boneskull@boneskull.com>> (he/him)
* [BridgeAR](https://github.com/BridgeAR) -
Expand All @@ -312,8 +314,6 @@ For information about the governance of the Node.js project, see
**Daniel Bevenius** <<daniel.bevenius@gmail.com>> (he/him)
* [danielleadams](https://github.com/danielleadams) -
**Danielle Adams** <<adamzdanielle@gmail.com>> (she/her)
* [DerekNonGeneric](https://github.com/DerekNonGeneric) -
**Derek Lewis** <<DerekNonGeneric@inf.is>> (he/him)
* [devnexen](https://github.com/devnexen) -
**David Carlier** <<devnexen@gmail.com>>
* [devsnek](https://github.com/devsnek) -
Expand Down Expand Up @@ -354,12 +354,12 @@ For information about the governance of the Node.js project, see
**Fedor Indutny** <<fedor@indutny.com>>
* [JacksonTian](https://github.com/JacksonTian) -
**Jackson Tian** <<shyvo1987@gmail.com>>
* [JakobJingleheimer](https://github.com/JakobJingleheimer) -
**Jacob Smith** <<jacob@frende.me>> (he/him)
* [jasnell](https://github.com/jasnell) -
**James M Snell** <<jasnell@gmail.com>> (he/him)
* [jkrems](https://github.com/jkrems) -
**Jan Krems** <<jan.krems@gmail.com>> (he/him)
* [joaocgreis](https://github.com/joaocgreis) -
**João Reis** <<reis@janeasystems.com>>
* [joesepi](https://github.com/joesepi) -
**Joe Sepi** <<sepi@joesepi.com>> (he/him)
* [joyeecheung](https://github.com/joyeecheung) -
Expand Down Expand Up @@ -478,8 +478,6 @@ For information about the governance of the Node.js project, see
**Alexey Orlenko** <<eaglexrlnk@gmail.com>> (he/him)
* [bmeurer](https://github.com/bmeurer) -
**Benedikt Meurer** <<benedikt.meurer@gmail.com>>
* [bnoordhuis](https://github.com/bnoordhuis) -
**Ben Noordhuis** <<info@bnoordhuis.nl>>
* [brendanashworth](https://github.com/brendanashworth) -
**Brendan Ashworth** <<brendan.ashworth@me.com>>
* [calvinmetcalf](https://github.com/calvinmetcalf) -
Expand Down Expand Up @@ -530,6 +528,8 @@ For information about the governance of the Node.js project, see
**John-David Dalton** <<john.david.dalton@gmail.com>>
* [jhamhader](https://github.com/jhamhader) -
**Yuval Brik** <<yuval@brik.org.il>>
* [joaocgreis](https://github.com/joaocgreis) -
**João Reis** <<reis@janeasystems.com>>
* [joshgav](https://github.com/joshgav) -
**Josh Gavant** <<josh.gavant@outlook.com>>
* [julianduque](https://github.com/julianduque) -
Expand Down Expand Up @@ -652,6 +652,8 @@ maintaining the Node.js project.
**Frank Qiu** <<iam.frankqiu@gmail.com>> (he/him)
* [marsonya](https://github.com/marsonya) -
**Akhil Marsonya** <<akhil.marsonya27@gmail.com>> (he/him)
* [meixg](https://github.com/meixg) -
**Xuguang Mei** <<meixg@foxmail.com>> (he/him)
* [Mesteery](https://github.com/Mesteery) -
**Mestery** <<mestery@protonmail.com>> (he/him)
* [PoojaDurgad](https://github.com/PoojaDurgad) -
Expand All @@ -667,6 +669,8 @@ Primary GPG keys for Node.js Releasers (some Releasers sign with subkeys):

* **Beth Griggs** <<bgriggs@redhat.com>>
`4ED778F539E3634C779C87C6D7062848A1AB005C`
* **Bryan English** <<bryan@bryanenglish.com>>
`141F07595B7B3FFE74309A937405533BE57C7D57`
* **Colin Ihrig** <<cjihrig@gmail.com>>
`94AE36675C464D64BAFA68DD7434390BDBE9B9C5`
* **Danielle Adams** <<adamzdanielle@gmail.com>>
Expand All @@ -693,6 +697,7 @@ to sign releases):

```bash
gpg --keyserver hkps://keys.openpgp.org --recv-keys 4ED778F539E3634C779C87C6D7062848A1AB005C
gpg --keyserver hkps://keys.openpgp.org --recv-keys 141F07595B7B3FFE74309A937405533BE57C7D57
gpg --keyserver hkps://keys.openpgp.org --recv-keys 94AE36675C464D64BAFA68DD7434390BDBE9B9C5
gpg --keyserver hkps://keys.openpgp.org --recv-keys 74F12602B6F1C4E913FAA37AD3A89613643B6201
gpg --keyserver hkps://keys.openpgp.org --recv-keys 71DCFD284A79C3B38668286BC97EC7A07EDE3FC1
Expand Down
9 changes: 1 addition & 8 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,7 @@ the HackerOne platform. See <https://hackerone.com/nodejs> for further details.
## Reporting a bug in a third party module

Security bugs in third party modules should be reported to their respective
maintainers and should also be coordinated through the Node.js Ecosystem
Security Team via [HackerOne](https://hackerone.com/nodejs-ecosystem).

Details regarding this process can be found in the
[Security Working Group repository](https://github.com/nodejs/security-wg/blob/HEAD/processes/third_party_vuln_process.md).

Thank you for improving the security of Node.js and its ecosystem. Your efforts
and responsible disclosure are greatly appreciated and will be acknowledged.
maintainers.

## Disclosure policy

Expand Down
8 changes: 3 additions & 5 deletions benchmark/crypto/webcrypto-digest.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
const common = require('../common.js');
const {
createHash,
webcrypto: {
subtle,
getRandomValues
}
webcrypto,
} = require('crypto');
const { subtle } = webcrypto;

const bench = common.createBenchmark(main, {
sync: ['createHash', 'subtle'],
Expand Down Expand Up @@ -50,7 +48,7 @@ function measureSubtle(n, data, method) {
}

function main({ n, sync, data, method }) {
data = getRandomValues(Buffer.alloc(data));
data = webcrypto.getRandomValues(Buffer.alloc(data));
switch (sync) {
case 'createHash': return measureLegacy(n, data, method);
case 'subtle': return measureSubtle(n, data, method);
Expand Down
2 changes: 1 addition & 1 deletion common.gypi
Original file line number Diff line number Diff line change
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.13',
'v8_embedder_string': '-node.15',

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

Expand Down
3 changes: 3 additions & 0 deletions deps/nghttp2/lib/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,8 @@ LIBMRUBY_LIBS = @LIBMRUBY_LIBS@
LIBNGHTTP3_CFLAGS = @LIBNGHTTP3_CFLAGS@
LIBNGHTTP3_LIBS = @LIBNGHTTP3_LIBS@
LIBNGTCP2_CFLAGS = @LIBNGTCP2_CFLAGS@
LIBNGTCP2_CRYPTO_BORINGSSL_CFLAGS = @LIBNGTCP2_CRYPTO_BORINGSSL_CFLAGS@
LIBNGTCP2_CRYPTO_BORINGSSL_LIBS = @LIBNGTCP2_CRYPTO_BORINGSSL_LIBS@
LIBNGTCP2_CRYPTO_OPENSSL_CFLAGS = @LIBNGTCP2_CRYPTO_OPENSSL_CFLAGS@
LIBNGTCP2_CRYPTO_OPENSSL_LIBS = @LIBNGTCP2_CRYPTO_OPENSSL_LIBS@
LIBNGTCP2_LIBS = @LIBNGTCP2_LIBS@
Expand Down Expand Up @@ -408,6 +410,7 @@ PYTHON_EXTRA_LDFLAGS = @PYTHON_EXTRA_LDFLAGS@
PYTHON_EXTRA_LIBS = @PYTHON_EXTRA_LIBS@
PYTHON_LIBS = @PYTHON_LIBS@
PYTHON_PLATFORM = @PYTHON_PLATFORM@
PYTHON_PLATFORM_SITE_PKG = @PYTHON_PLATFORM_SITE_PKG@
PYTHON_PREFIX = @PYTHON_PREFIX@
PYTHON_SITE_PKG = @PYTHON_SITE_PKG@
PYTHON_VERSION = @PYTHON_VERSION@
Expand Down
3 changes: 3 additions & 0 deletions deps/nghttp2/lib/includes/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@ LIBMRUBY_LIBS = @LIBMRUBY_LIBS@
LIBNGHTTP3_CFLAGS = @LIBNGHTTP3_CFLAGS@
LIBNGHTTP3_LIBS = @LIBNGHTTP3_LIBS@
LIBNGTCP2_CFLAGS = @LIBNGTCP2_CFLAGS@
LIBNGTCP2_CRYPTO_BORINGSSL_CFLAGS = @LIBNGTCP2_CRYPTO_BORINGSSL_CFLAGS@
LIBNGTCP2_CRYPTO_BORINGSSL_LIBS = @LIBNGTCP2_CRYPTO_BORINGSSL_LIBS@
LIBNGTCP2_CRYPTO_OPENSSL_CFLAGS = @LIBNGTCP2_CRYPTO_OPENSSL_CFLAGS@
LIBNGTCP2_CRYPTO_OPENSSL_LIBS = @LIBNGTCP2_CRYPTO_OPENSSL_LIBS@
LIBNGTCP2_LIBS = @LIBNGTCP2_LIBS@
Expand Down Expand Up @@ -317,6 +319,7 @@ PYTHON_EXTRA_LDFLAGS = @PYTHON_EXTRA_LDFLAGS@
PYTHON_EXTRA_LIBS = @PYTHON_EXTRA_LIBS@
PYTHON_LIBS = @PYTHON_LIBS@
PYTHON_PLATFORM = @PYTHON_PLATFORM@
PYTHON_PLATFORM_SITE_PKG = @PYTHON_PLATFORM_SITE_PKG@
PYTHON_PREFIX = @PYTHON_PREFIX@
PYTHON_SITE_PKG = @PYTHON_SITE_PKG@
PYTHON_VERSION = @PYTHON_VERSION@
Expand Down
4 changes: 2 additions & 2 deletions deps/nghttp2/lib/includes/nghttp2/nghttp2ver.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
* @macro
* Version number of the nghttp2 library release
*/
#define NGHTTP2_VERSION "1.45.1"
#define NGHTTP2_VERSION "1.47.0"

/**
* @macro
* Numerical representation of the version number of the nghttp2 library
* release. This is a 24 bit number with 8 bits for major number, 8 bits
* for minor and 8 bits for patch. Version 1.2.3 becomes 0x010203.
*/
#define NGHTTP2_VERSION_NUM 0x012d01
#define NGHTTP2_VERSION_NUM 0x012f00

#endif /* NGHTTP2VER_H */
2 changes: 1 addition & 1 deletion deps/nghttp2/lib/nghttp2_buf.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ void nghttp2_buf_free(nghttp2_buf *buf, nghttp2_mem *mem);
* |new_cap|. If extensions took place, buffer pointers in |buf| will
* change.
*
* This function returns 0 if it succeeds, or one of the followings
* This function returns 0 if it succeeds, or one of the following
* negative error codes:
*
* NGHTTP2_ERR_NOMEM
Expand Down
2 changes: 0 additions & 2 deletions deps/nghttp2/lib/nghttp2_frame.c
Original file line number Diff line number Diff line change
Expand Up @@ -654,8 +654,6 @@ int nghttp2_frame_unpack_goaway_payload2(nghttp2_goaway *frame,
var_gift_payloadlen = 0;
}

payloadlen -= var_gift_payloadlen;

if (!var_gift_payloadlen) {
var_gift_payload = NULL;
} else {
Expand Down
2 changes: 1 addition & 1 deletion deps/nghttp2/lib/nghttp2_frame.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#define NGHTTP2_MAX_FRAME_SIZE_MIN (1 << 14)

#define NGHTTP2_MAX_PAYLOADLEN 16384
/* The one frame buffer length for tranmission. We may use several of
/* The one frame buffer length for transmission. We may use several of
them to support CONTINUATION. To account for Pad Length field, we
allocate extra 1 byte, which saves extra large memcopying. */
#define NGHTTP2_FRAMEBUF_CHUNKLEN \
Expand Down
9 changes: 5 additions & 4 deletions deps/nghttp2/lib/nghttp2_hd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1263,6 +1263,8 @@ int nghttp2_hd_inflate_change_table_size(
return NGHTTP2_ERR_INVALID_STATE;
}

inflater->settings_hd_table_bufsize_max = settings_max_dynamic_table_size;

/* It seems that encoder is not required to send dynamic table size
update if the table size is not changed after applying
SETTINGS_HEADER_TABLE_SIZE. RFC 7541 is ambiguous here, but this
Expand All @@ -1275,13 +1277,12 @@ int nghttp2_hd_inflate_change_table_size(
/* Remember minimum value, and validate that encoder sends the
value less than or equal to this. */
inflater->min_hd_table_bufsize_max = settings_max_dynamic_table_size;
}

inflater->settings_hd_table_bufsize_max = settings_max_dynamic_table_size;
inflater->ctx.hd_table_bufsize_max = settings_max_dynamic_table_size;

inflater->ctx.hd_table_bufsize_max = settings_max_dynamic_table_size;
hd_context_shrink_table_size(&inflater->ctx, NULL);
}

hd_context_shrink_table_size(&inflater->ctx, NULL);
return 0;
}

Expand Down
1 change: 1 addition & 0 deletions deps/nghttp2/lib/nghttp2_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ static int map_resize(nghttp2_map *map, uint32_t new_tablelen,
nghttp2_map_bucket *new_table;
nghttp2_map_bucket *bkt;
int rv;
(void)rv;

new_table =
nghttp2_mem_calloc(map->mem, new_tablelen, sizeof(nghttp2_map_bucket));
Expand Down
2 changes: 1 addition & 1 deletion deps/nghttp2/lib/nghttp2_net.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#if defined(WIN32)
/* Windows requires ws2_32 library for ntonl family functions. We
define inline functions for those function so that we don't have
dependeny on that lib. */
dependency on that lib. */

# ifdef _MSC_VER
# define STIN static __inline
Expand Down
2 changes: 1 addition & 1 deletion deps/nghttp2/lib/nghttp2_outbound_item.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ struct nghttp2_outbound_item {
to this structure to avoid frequent memory allocation. */
nghttp2_ext_frame_payload ext_frame_payload;
nghttp2_aux_data aux_data;
/* The priority used in priority comparion. Smaller is served
/* The priority used in priority comparison. Smaller is served
earlier. For PING, SETTINGS and non-DATA frames (excluding
response HEADERS frame) have dedicated cycle value defined above.
For DATA frame, cycle is computed by taking into account of
Expand Down
Loading