Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
a2605a0
crypto: skip DH checks for recognized groups
panva Nov 4, 2026
d5f2e3d
crypto: cache digests for synchronous operations
anonrig Oct 29, 2026
e24a2c5
crypto: reuse HMAC contexts in createHmac()
anonrig Oct 29, 2026
9216dbe
crypto: prevent stale OpenSSL errors
mcollina Nov 6, 2026
7265f62
crypto: fix ncrypto provider behavior
boorad Nov 9, 2026
e7c0957
crypto: remove the FIPS provider name check
panva Nov 11, 2026
61f750e
deps: upgrade npm to 11.21.2
npm-cli-bot Nov 4, 2026
5baf2e0
deps: V8: cherry-pick 497c2e6a2434
Oct 12, 2026
7c7371d
deps: V8: cherry-pick c21a93ec80d5
o- Jul 10, 2026
190faa4
deps: V8: cherry-pick f331137d5968
miladfarca Jun 10, 2026
bca95eb
deps: V8: backport e540e1161b02
May 7, 2026
c54a21b
deps: V8: cherry-pick 19e7a57bce3e
Jun 16, 2026
9adc368
deps: V8: backport b69a1a1d8613
schuay Aug 6, 2026
42e3a14
deps: V8: backport d315af3d83cf
Aug 13, 2026
df1b8db
deps: V8: backport 1e7ee91de775
schuay Aug 3, 2026
7e9d8a7
deps: V8: backport 8521e2e77535
luyahan Sep 7, 2026
8e95e48
deps: V8: backport 2444c109f4f8
acburdine Oct 8, 2026
9f5ec47
http2: do not reset stream before END_STREAM is sent
barathraj048 Nov 13, 2026
dec6580
doc: list openssl-store channel and drop field in permissions
RafaelGSS Oct 13, 2026
0234235
test_runner: add option to forbid exclusive tests
joao-oliveira-softtor Oct 23, 2026
448169c
deps: V8: cherry-pick 785a2ea88a90
aduh95 Oct 16, 2026
648e3ed
doc: document --allow-fs-vfs in the permission model page
RafaelGSS Oct 23, 2026
46ff0d9
http2: exclude queued data from response memory checks
inoway46 Nov 4, 2026
aa42a0b
deps: update nghttp3 to 1.19.0
nodejs-github-bot Nov 11, 2026
4979be9
doc: document `this` binding in TLS callbacks
bobnil Oct 12, 2026
81f4c14
test: increase iterations on histogram test after snapshot changes
sxa Nov 12, 2026
e572a5a
tools: enable strict mode for yamllint
aduh95 Nov 12, 2026
c6e2cc4
doc: explain fallback arrays in package exports targets
manusingh090 Nov 12, 2026
2361b80
test: deflake watch mode test for missing env file
fzakaria Oct 26, 2026
8d4b832
tools: update mk-ca-bundle to 1.35
Renegade334 Nov 13, 2026
590048b
doc: document invalid X509Certificate validity times
SarthakAhuja Nov 13, 2026
ee5a6d8
test: deflake test-watch-mode-files_watcher
inoway46 Nov 13, 2026
c60d072
deps: V8: backport a05177279022
Renegade334 Nov 13, 2026
1151d51
doc: explain how sqlite binds numbers and BigInts
TrevorBurnham Nov 14, 2026
e747f54
meta: update Trevor Burnham's email in `.mailmap`
TrevorBurnham Nov 14, 2026
8571516
doc: add aduh95 as last security release stewards
aduh95 Nov 14, 2026
574be63
test: deflake test-fs-stat-cancel-inflight under FIPS
christianaurichzm Nov 15, 2026
cb321b6
test: deflake test-tls-resume-servername
christianaurichzm Nov 15, 2026
b4924dd
test: use relative paths within test directory in `test-watch-mode.mjs`
LiviaMedeiros Nov 15, 2026
eff99c1
tools: notarize bin/node in the darwin tarballs
UlisesGascon Nov 15, 2026
acc312f
build: enable pie on linux
legendecas Nov 15, 2026
de266b2
doc: fix typo in releases.md
Ultroncn Nov 16, 2026
386805c
tools: add support for multiple-commit PRs in `review_backport.sh`
aduh95 Nov 16, 2026
e315417
build: do not include vendored simdutf with `--shared-simdutf`
ziyao233 Nov 16, 2026
5cdbf45
build: do not pass vendored headers when building against shared libs
aduh95 Oct 18, 2026
8c09fc3
http2: send deferred RST_STREAM on stream destroy
inoway46 Nov 14, 2026
31175cd
fixup! http2: send deferred RST_STREAM on stream destroy
gabedemesa Nov 16, 2026
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/workflows/nix-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 2
persist-credentials: true # We need read access in case we need to fetch in `Compute requisites before change` step
persist-credentials: true # We need read access in case we need to fetch in `Compute requisites before change` step
sparse-checkout: |
shell.nix
tools/nix/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ jobs:
id: v8-drv
run: |
V8_DRV=$(
nix-instantiate -E "builtins.filter (p: p.pname == ''v8'') (import $TAR_DIR/tools/nix/ci-shell.nix {}).buildInputs"
nix-instantiate -E "(import $TAR_DIR/tools/nix/ci-shell.nix {}).v8Derivation"
)
V8_STORE_PATH=$(nix-store -q --outputs "$V8_DRV")
echo "V8_DRV=$V8_DRV" >> "$GITHUB_OUTPUT"
Expand Down
2 changes: 1 addition & 1 deletion .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ Tomoki Okahana <umatomakun@gmail.com>
Toon Verwaest <verwaest@chromium.org>
Tracy Hinds <tracyhinds@gmail.com>
Travis Meisenheimer <travis@indexoutofbounds.com> <tmeisenh@gmail.com>
Trevor Burnham <trevor@databraid.com> <trevorburnham@gmail.com>
Trevor Burnham <trevorburnham@gmail.com> <trevor@databraid.com>
Trivikram Kamat <trivikr.dev@gmail.com> <16024985+trivikr@users.noreply.github.com>
ttzztztz <ttzztztz@outlook.com> <yangziyue80@outlook.com>
Tyler Larson <talltyler@gmail.com>
Expand Down
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@ endif
--resources $(MACOSOUTDIR)/installer/productbuild/Resources \
--package-path $(MACOSOUTDIR)/pkgs ./$(PKG)
SIGN="$(PRODUCTSIGN_CERT)" PKG="$(PKG)" sh tools/osx-productsign.sh
sh tools/osx-notarize.sh $(FULLVERSION)
sh tools/osx-notarize.sh $(PKG)

.PHONY: pkg
pkg: $(PKG) ## Build the macOS installer for releases.
Expand Down Expand Up @@ -1457,6 +1457,7 @@ else
endif
ifeq ($(OSTYPE),darwin)
SIGN="$(CODESIGN_CERT)" PKGDIR="$(BINARYNAME)" sh tools/osx-codesign.sh
sh tools/osx-notarize.sh $(BINARYNAME)/bin/node
endif
tar -cf $(BINARYNAME).tar $(BINARYNAME)
$(RM) -r $(BINARYNAME)
Expand Down Expand Up @@ -1739,15 +1740,17 @@ endif
# python -m pip install yamllint
# Try with '--system' if it fails without; the system may have set '--user'
lint-yaml-build: ## Build resources needed to lint YAML files.
ifeq ($(YAMLLINT), tools/pip/site-packages/bin/yamllint)
$(info Pip installing yamllint on $(shell $(PYTHON) --version)...)
$(PYTHON) -m pip install --upgrade -t tools/pip/site-packages yamllint || \
$(PYTHON) -m pip install --upgrade --system -t tools/pip/site-packages yamllint
endif

.PHONY: lint-yaml
ifneq ("","$(wildcard $(YAMLLINT))")
lint-yaml: ## Lint the YAML files with yamllint.
$(info Running YAML linter...)
PYTHONPATH=tools/pip $(YAMLLINT) .
PYTHONPATH=tools/pip $(YAMLLINT) --strict .
else
lint-yaml:
$(warning YAML linting with yamllint is not available)
Expand Down
3 changes: 2 additions & 1 deletion benchmark/napi/make_callback/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
'targets': [
{
'target_name': 'binding',
'sources': [ 'binding.cc' ]
'sources': [ 'binding.cc' ],
'include_dirs': [ '<@(node_shared_libuv_include_dirs)' ],
}
]
}
25 changes: 24 additions & 1 deletion common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,14 @@
'node_module_version%': '',
'node_with_ltcg%': '',
'node_shared_openssl%': 'false',
'node_shared_openssl_include_dirs%': [],
'openssl_is_boringssl%': 'false',

'node_shared_libuv_include_dirs%': [],
'node_shared_sqlite%': 'false',
'node_shared_sqlite_include_dirs%': [],
'node_shared_zlib_include_dirs%': [],

'node_tag%': '',
'uv_library%': 'static_library',

Expand All @@ -44,7 +50,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.40',
'v8_embedder_string': '-node.52',

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

Expand Down Expand Up @@ -686,6 +692,23 @@
'cflags': [ '-fPIC' ],
'ldflags': [ '-fPIC' ],
}],
# Link executables as PIE so that ASLR randomizes the executable
# image too. Every object in a PIE must be built with `-fPIC` or
# `-fPIE`. PIE flags should not apply to shared library objects,
# like addons. `--fully-static` uses `-static-pie`, see configure.py.
[ 'OS=="linux" and configuring_node', {
'target_conditions': [
['_type=="executable"', {
'ldflags': [ '-pie' ],
}],
],
'conditions': [
# Use `-fPIE` unless the condition above uses `-fPIC`.
[ 'node_shared!="true" and node_enable_v8debughelper!="true"', {
'cflags': [ '-fPIE' ],
}],
],
}],
],
}],
[ 'OS in "aix os400"', {
Expand Down
28 changes: 20 additions & 8 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -2261,19 +2261,26 @@ def configure_napi(output):
version = getnapibuildversion.get_napi_version()
output['variables']['napi_build_version'] = version

def configure_library(lib, output, pkgname=None, libraries_key='libraries'):
def configure_library(lib, output, pkgname=None, libraries_key='libraries', with_separate_include_var=False):
shared_lib = 'shared_' + lib
output['variables']['node_' + shared_lib] = b(getattr(options, shared_lib))

libraries = output[libraries_key] if libraries_key in output else output['variables'][libraries_key]

include_dirs = []
if with_separate_include_var:
output['variables'][f'node_{shared_lib}_include_dirs'] = include_dirs

if getattr(options, shared_lib):
(pkg_libs, pkg_cflags, pkg_libpath, _) = pkg_config(pkgname or lib)

if options.__dict__[shared_lib + '_includes']:
output['include_dirs'] += [options.__dict__[shared_lib + '_includes']]
include_dirs += [options.__dict__[shared_lib + '_includes']]
elif pkg_cflags:
stripped_flags = [flag.strip() for flag in pkg_cflags.split('-I')]
output['include_dirs'] += [flag for flag in stripped_flags if flag]
include_dirs += [flag for flag in stripped_flags if flag]

output['include_dirs'] += include_dirs

# libpath needs to be provided ahead libraries
if options.__dict__[shared_lib + '_libpath']:
Expand Down Expand Up @@ -2442,7 +2449,7 @@ def without_ssl_error(option):
if options.openssl_is_fips and not options.shared_openssl:
variables['node_fipsinstall'] = b(True)

configure_library('openssl', o)
configure_library('openssl', o, with_separate_include_var=True)

o['variables']['openssl_version'] = get_openssl_version(o)
o['variables']['openssl_is_boringssl'] = get_openssl_is_boringssl(o)
Expand Down Expand Up @@ -2473,7 +2480,7 @@ def without_sqlite_error(option):
without_sqlite_error('--shared-sqlite')
return

configure_library('sqlite', o, pkgname='sqlite3')
configure_library('sqlite', o, pkgname='sqlite3', with_separate_include_var=True)

def bundled_ffi_supported(os_name, target_arch):
if target_arch == 'x86':
Expand Down Expand Up @@ -2546,7 +2553,12 @@ def configure_static(o):
return

if options.fully_static:
o['libraries'] += ['-static']
if flavor == 'linux':
# `-static` drops the `-pie` from common.gypi, e.g. clang:
# https://github.com/llvm/llvm-project/blob/68b03cf380e61c86aa59f94a10e8ce2d4c10cbb0/clang/lib/Driver/ToolChains/Gnu.cpp#L351-L366
o['libraries'] += ['-static-pie']
else:
o['libraries'] += ['-static']
elif options.partly_static:
o['libraries'] += ['-static-libgcc', '-static-libstdc++']
if options.enable_asan:
Expand Down Expand Up @@ -2974,9 +2986,9 @@ def make_bin_override():
configure_node_lib_files(output)
configure_node_cctest_sources(output)
configure_napi(output)
configure_library('zlib', output)
configure_library('zlib', output, with_separate_include_var=True)
configure_library('http_parser', output, pkgname='libllhttp')
configure_library('libuv', output)
configure_library('libuv', output, with_separate_include_var=True)
configure_library('abseil', output, pkgname=[
'absl_absl_check',
'absl_absl_log',
Expand Down
6 changes: 5 additions & 1 deletion deps/merve/merve.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
'type': 'static_library',
'include_dirs': [
'.',
'../v8/third_party/simdutf',
],
'direct_dependent_settings': {
'include_dirs': ['.'],
Expand All @@ -29,6 +28,11 @@
'CLANG_CXX_LANGUAGE_STANDARD': 'c++20',
},
}],
['node_shared_simdutf=="false"', {
'include_dirs': [
'../v8/third_party/simdutf',
],
}],
],
},
]
Expand Down
Loading
Loading