GeezerVison is showing github.com — 2025-02-13, Version 23.8.0 (Current) by github-actions[bot] · Pull Request #57005 · nodejs/node
Conversation
github-actions
Bot
commented
Feb 11, 2025
•
edited by targos
Loading
Uh oh!
There was an error while loading. Please reload this page.
2025-02-13, Version 23.8.0 (Current), @targos
Notable Changes
Support for using system CA certificates store on macOS and Windows
This version adds the --use-system-ca command-line flag, which instructs Node.js
to use the trusted CA certificates present in the system store along with
the --use-bundled-ca, --use-openssl-ca options.
This option is available on macOS and Windows for now.
Contributed by Tim Jacomb in #56599
and Joyee Cheung in #56833.
Introduction of the URL Pattern API
An implementation of the URL Pattern API
is now available.
The URLPattern constructor is exported from the node:url module and will be
available as a global in Node.js 24.
Contributed by Yagiz Nizipli and Daniel Lemire in #56452.
Support for the zstd compression algorithm
Node.js now includes support for the Zstandard (zstd) compression algorithm.
Various APIs have been added to the node:zlib module for both compression and decompression
of zstd streams.
Contributed by Jan Krems in #52100.
Node.js thread names
Threads created by the Node.js process are now named to improve the debugging experience.
Worker threads will use the name option that can be passed to the Worker constructor.
Contributed by Rafael Gonzaga in #56416.
Timezone data has been updated to 2025a
Included changes:
- Paraguay adopts permanent -03 starting spring 2024.
- Improve pre-1991 data for the Philippines.
Other Notable Changes
- [
39997867cf] - (SEMVER-MINOR) sqlite: allow returning ArrayBufferViews from user-defined functions (René) #56790
Commits
- [
0ee9c34d63] - benchmark: add simple parse and test benchmarks for URLPattern (James M Snell) #56882
- [
b3f2045d14] - build: gyp exclude libm linking on macOS (deepak1556) #56901
- [
e0dd9aefd6] - build: remove explicit linker call to libm on macOS (deepak1556) #56901
- [
52399da780] - build: link with Security.framework in GN build (Cheng) #56895
- [
582b9221c9] - build: do not put commands in sources variables (Cheng) #56885
- [
ea61b956e9] - build: add double quotes around <(python) (Luigi Pinca) #56826
- [
14236ef778] - build: add build option suppress_all_error_on_warn (Michael Dawson) #56647
- [
dfd3f430f3] - build,win: enable ccache (Stefan Stojanovic) #56847
- [
3e207bd9ec] - (SEMVER-MINOR) crypto: support --use-system-ca on Windows (Joyee Cheung) #56833
- [
fe2694a992] - crypto: fix X509* leak in --use-system-ca (Joyee Cheung) #56832
- [
60039a2c36] - crypto: add api to get openssl security level (Michael Dawson) #56601
- [
39a474f7c0] - (SEMVER-MINOR) crypto: added support for reading certificates from macOS system store (Tim Jacomb) #56599
- [
144bee8067] - deps: update zlib to 1.3.0.1-motley-788cb3c (Node.js GitHub Bot) #56655
- [
7fd39e3a79] - deps: update sqlite to 3.49.0 (Node.js GitHub Bot) #56654
- [
d698cb5434] - deps: update amaro to 0.3.2 (marco-ippolito) #56916
- [
dbd09067c0] - deps: V8: cherry-pick 9ab40592f697 (Levi Zim) #56781
- [
ee33ef3aa6] - deps: update cjs-module-lexer to 2.0.0 (Michael Dawson) #56855
- [
c0542557d0] - deps: update timezone to 2025a (Node.js GitHub Bot) #56876
- [
d67cb1f9bb] - deps: update simdjson to 3.12.0 (Node.js GitHub Bot) #56874
- [
70b04b4314] - deps: update googletest to e235eb3 (Node.js GitHub Bot) #56873
- [
e11cda003f] - (SEMVER-MINOR) deps: update ada to v3.0.1 (Yagiz Nizipli) #56452
- [
8743ef525d] - deps: update simdjson to 3.11.6 (Node.js GitHub Bot) #56250
- [
0f553e5575] - deps: update amaro to 0.3.1 (Node.js GitHub Bot) #56785
- [
380a8d8d2f] - (SEMVER-MINOR) deps,tools: add zstd 1.5.6 (Jan Krems) #52100
- [
66898a7c3b] - doc: update history of stream.Readable.toWeb() (Jimmy Leung) #56928
- [
9e29416e12] - doc: make MDN links to global classes more consistent (Antoine du Hamel) #56924
- [
6bc270728a] - doc: make MDN links to global classes more consistent in assert.md (Antoine du Hamel) #56920
- [
00da003171] - doc: make MDN links to global classes more consistent (Antoine du Hamel) #56923
- [
d90198793a] - doc: make MDN links to global classes more consistent in util.md (Antoine du Hamel) #56922
- [
5f4377a759] - doc: make MDN links to global classes more consistent in buffer.md (Antoine du Hamel) #56921
- [
7353266b50] - doc: improve type stripping documentation (Marco Ippolito) #56916
- [
888d2acc3a] - doc: specificy support for erasable ts syntax (Marco Ippolito) #56916
- [
3c082d43bc] - doc: update post sec release process (Rafael Gonzaga) #56907
- [
f0bf35d3c5] - doc: update websocket link to avoid linking to self (Chengzhong Wu) #56897
- [
373dbb0e6c] - doc: mark --env-file-if-exists flag as experimental (Juan José) #56893
- [
d436888cc8] - doc: fix typo in cjs example of util.styleText (Deokjin Kim) #56769
- [
91638eeb4a] - doc: clarify sqlite user-defined function behaviour (René) #56786
- [
bab9c4d331] - events: getMaxListeners detects 0 listeners (Matthew Aitken) #56807
- [
ccaf7fe737] - fs: make FileHandle.readableWebStream always create byte streams (Ian Kerins) #55461
- [
974cec7a0a] - http: be more generational GC friendly (ywave620) #56767
- [
be00058712] - inspector: add Network.Initiator in inspector protocol (Chengzhong Wu) #56805
- [
31293a4b09] - inspector: fix GN build (Cheng) #56798
- [
91a302356b] - inspector: fix StringUtil::CharacterCount for unicodes (Chengzhong Wu) #56788
- [
3b305f25f2] - lib: filter node:quic from builtinModules when flag not used (James M Snell) #56870
- [
f06ee4c54a] - meta: bump actions/upload-artifact from 4.4.3 to 4.6.0 (dependabot[bot]) #56861
- [
d230bc3b3c] - meta: bump actions/setup-node from 4.1.0 to 4.2.0 (dependabot[bot]) #56868
- [
d4ecfa745e] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #56889
- [
698c56bb94] - meta: add @nodejs/url as codeowner (Chengzhong Wu) #56783
- [
a274b28857] - module: fix require.resolve() crash on non-string paths (Aditi) #56942
- [
4e3052aeee] - quic: fixup errant LocalVector usage (James M Snell) #56564
- [
dfc61f7bb7] - readline: fix unresolved promise on abortion (Daniel Venable) #54030
- [
9e60501f5e] - sqlite: fix coverity warnings related to backup() (Colin Ihrig) #56961
- [
1913a4aabc] - sqlite: restore changes from sqlite: cache column names in stmt.all() #55373 (Colin Ihrig) #56908
- [
8410c955b7] - sqlite: fix use-after-free in StatementSync due to premature GC (Divy Srivastava) #56840
- [
01d732d629] - sqlite: handle conflicting SQLite and JS errors (Colin Ihrig) #56787
- [
39997867cf] - (SEMVER-MINOR) sqlite: allow returning ArrayBufferViews from user-defined functions (René) #56790
- [
8dc637681a] - sqlite, test: expose sqlite online backup api (Edy Silva) #56253
- [
cfea53eccc] - src: use args.This() in zlib (Michaël Zasso) #56988
- [
6b398d6d0b] - src: replace SplitString with built-in (Yagiz Nizipli) #54990
- [
fbb32e0a08] - src: add nullptr handling for NativeKeyObject (Burkov Egor) #56900
- [
83ff7be9fd] - src: disallow copy/move fns/constructors (Yagiz Nizipli) #56811
- [
63611d0331] - src: add a hard dependency v8_inspector_headers (Chengzhong Wu) #56805
- [
3d957d135c] - src: improve error handling in encoding_binding.cc (James M Snell) #56915
- [
9e9ac3ccd8] - src: avoid copy by using std::views::keys (Yagiz Nizipli) #56080
- [
086cdc297a] - src: remove obsolete NoArrayBufferZeroFillScope (James M Snell) #56913
- [
915d7aeb37] - src: set signal inspector io thread name (RafaelGSS) #56416
- [
f4b086d29d] - src: set thread name for main thread and v8 worker (RafaelGSS) #56416
- [
3579143630] - src: set worker thread name using worker.name (RafaelGSS) #56416
- [
736ff5de6d] - src: use a default thread name for inspector (RafaelGSS) #56416
- [
be8e2b4d8f] - src: improve error handling in permission.cc (James M Snell) #56904
- [
d6cf0911ee] - src: improve error handling in node_sqlite (James M Snell) #56891
- [
521fed1bac] - src: improve error handling in node_os by removing ToLocalChecked (James M Snell) #56888
- [
c9a99df8e7] - src: improve error handling in node_url (James M Snell) #56886
- [
5c82ef3ace] - src: add memory retainer traits for external types (Chengzhong Wu) #56881
- [
edb194b2d5] - src: prevent URLPattern property accessors from crashing on invalid this (James M Snell) #56877
- [
9624049414] - src: pull in more electron boringssl adjustments (James M Snell) #56858
- [
f8910e384d] - src: make multiple improvements to node_url_pattern (James M Snell) #56871
- [
94a0237b18] - src: clean up some obsolete crypto methods (James M Snell) #56792
- [
b240ca67b9] - src: add check for Bignum in GroupOrderSize (Burkov Egor) #56702
- [
45692e9c7c] - src, deps: port electron's boringssl workarounds (James M Snell) #56812
- [
a9d80d43cb] - (SEMVER-MINOR) src, quic: refine more of the quic implementation (James M Snell) #56328
- [
93d0beb6c8] - src,test: expand test coverage for urlpattern and fix error (James M Snell) #56878
- [
5a9732e1d0] - test: improve timeout duration for debugger events (Yagiz Nizipli) #56970
- [
60c8fc07ff] - test: remove unnecessary syscall to cpuinfo (Yagiz Nizipli) #56968
- [
40cdf756e6] - test: update webstorage wpt (Yagiz Nizipli) #56963
- [
de77371a9e] - test: execute shell directly for refresh() (Yagiz Nizipli) #55051
- [
f4254b8e70] - test: automatically sync wpt urlpattern tests (Jonas) #56949
- [
a473d3f57a] - test: update snapshots for amaro v0.3.2 (Marco Ippolito) #56916
- [
abca97f7e2] - test: change jenkins reporter (Carlos Espa) #56808
- [
7c9fa11127] - test: fix race condition in test-child-process-bad-stdio (Colin Ihrig) #56845
- [
b8b6e68836] - (SEMVER-MINOR) test: add WPT for URLPattern (Yagiz Nizipli) #56452
- [
b6d3d52e20] - test: adjust check to use OpenSSL sec level (Michael Dawson) #56819
- [
3beac87f92] - test: test-crypto-scrypt.js doesn't need internals (Meghan Denny) #56673
- [
3af23a10f3] - test: set test-fs-cp as flaky (Stefan Stojanovic) #56799
- [
1146f48f67] - test: search cctest files (Chengzhong Wu) #56791
- [
86c199b25a] - test: convert test_encoding_binding.cc to a JS test (Chengzhong Wu) #56791
- [
bd5484717c] - test: test-crypto-prime.js doesn't need internals (Meghan Denny) #56675
- [
f5f54414e4] - test: temporary remove resource check from fs read-write (Rafael Gonzaga) #56789
- [
c8bd2ba0ad] - test: mark test-without-async-context-frame flaky on windows (James M Snell) #56753
- [
2c2e4a4ae0] - test: remove unnecessary code (Luigi Pinca) #56784
- [
4606a5f79b] - test: mark test-esm-loader-hooks-inspect-wait flaky (Richard Lau) #56803
- [
38c77e3462] - test: update WPT for url to a23788b77a (Node.js GitHub Bot) #56779
- [
50ebd5fd31] - test: remove duplicate error reporter from ci (Carlos Espa) #56739
- [
0c3ae25aec] - test_runner: print formatted errors on summary (Pietro Marchini) #56911
- [
b5a8a812fb] - tools: bump eslint version (dependabot[bot]) #56869
- [
e1f86c1b9d] - tools: remove test-asan/ubsan workflows (Michaël Zasso) #56823
- [
405a6678b7] - tools: run macOS test workflow with Xcode 16.1 (Michaël Zasso) #56831
- [
16529c130f] - tools: update sccache and sccache-action (Michaël Zasso) #56815
- [
fe004111ea] - tools: fix license-builder for inspector_protocol (Michaël Zasso) #56814
- [
bc97a90176] - (SEMVER-MINOR) url: add URLPattern implementation (Yagiz Nizipli) #56452
- [
77294d8918] - util: enforce shouldColorize in styleText array arg (Marco Ippolito) #56722
- [
8e6c191601] - zlib: use modern class syntax for zstd classes (Yagiz Nizipli) #56965
- [
a3ca7f37a2] - zlib: make all zstd functions experimental (Yagiz Nizipli) #56964
- [
4cc7907738] - (SEMVER-MINOR) zlib: add zstd support (Jan Krems) #52100
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
bricss and rinodrummer reacted with thumbs up emoji
bricss, Phillip9587, and rinodrummer reacted with hooray emoji
bricss and rinodrummer reacted with heart emoji
bricss and rinodrummer reacted with rocket emoji
All reactions
-
👍
2 reactions
-
🎉
3 reactions
-
❤️
2 reactions
-
🚀
2 reactions
Distros may compile with a different openssl security level than the
default. In addition there has been some discussion with respect
to shipping with a different default security security level in
different Node.js versions in order to main stabilty. Exposing the
default openssl security level with let us have tests that work in
these situations as well as allow applications to better cope with
the avialable crypto algorithms.
- add API to get openssl security level
- modify one test to use security level instead
of openssl version as an example
Signed-off-by: Michael Dawson <[email protected]>
PR-URL: #56601
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Juan José Arboleda <[email protected]>
The following tests
- `test/parallel/test-https-client-renegotiation-limit.js`
- `test/parallel/test-tls-alert-handling.js`
- `test/parallel/test-tls-ocsp-callback.js`
no longer use the OpenSSL CLI.
Refs: #56714 (comment)
PR-URL: #56784
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
`StringUtil::CharacterCount` should return the length of underlying
representation storage of a protocol string.
`StringUtil::CharacterCount` is only used in DictionaryValue
serialization. Only `Network.Headers` is an object type, represented
with DictionaryValue.
PR-URL: #56788
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Daniel Lemire <[email protected]>
Reviewed-By: Kohei Ueno <[email protected]>
I think it's missed, cause in this file we have example of checking
result of BignumPointer::new
Refs: #56692
PR-URL: #56702
Fixes: #56692
Reviewed-By: James M Snell <[email protected]>
Since the last security release, the resource check has been
flaky on Windows. This commit temporarily disables those checks
to unblock the next regular release.
PR-URL: #56789
Reviewed-By: Marco Ippolito <[email protected]>
Reviewed-By: James M Snell <[email protected]>
|
I mean, Node.js core could have an unforeseen breaking change in the 115 commits of this PR. That's the whole point of running citgm. I never insinuated that there was a problem in ws itself.
|
lpinca reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
lpinca
commented
Feb 13, 2025
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
I understand, that's the whole point of CITGM and ws test suite could have unmasked a hidden breaking change, but I'm confident that this is not the case.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
targos reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
The SmartOS hosts have 16GB of RAM and an additional 7.5GB of swap. I doubt that they can run out of memory while running tests.
Considering the test is under parallel I think it could still be possible. In any case it seems the crash goes away after a rerun?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
bricss and hybrist reacted with heart emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
targos
pushed a commit
that referenced
this pull request
Feb 13, 2025
Notable changes:
crypto:
* (SEMVER-MINOR) support --use-system-ca on Windows (Joyee Cheung) #56833
* (SEMVER-MINOR) added support for reading certificates from macOS system store (Tim Jacomb) #56599
deps:
* update timezone to 2025a (Node.js GitHub Bot) #56876
sqlite:
* (SEMVER-MINOR) allow returning `ArrayBufferView`s from user-defined functions (René) #56790
src:
* set signal inspector io thread name (RafaelGSS) #56416
* set thread name for main thread and v8 worker (RafaelGSS) #56416
* set worker thread name using worker.name (RafaelGSS) #56416
* use a default thread name for inspector (RafaelGSS) #56416
url:
* (SEMVER-MINOR) add URLPattern implementation (Yagiz Nizipli) #56452
zlib:
* (SEMVER-MINOR) add zstd support (Jan Krems) #52100
PR-URL: #57005
lpinca
commented
Feb 18, 2025
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
lpinca
commented
Feb 18, 2025
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
I think I finally found the reason why some ws tests fail with listen EINVAL in CITGM. The socket path length cannot exceed 107 characters on linux (see https://linux.die.net/man/7/unix) and on macOS the limit is even lower.
Currently the listen paths are like the following on linux
/home/iojs/tmp/citgm_tmp/74503795-169e-4372-afbd-fdde2a7d1e45/npm_config_tmp/ws-cabe2823f5ace7bd432969fdbf53a90e.sock
and like the following on macOS
/Users/admin/node-tmp/citgm_tmp/39e5fbf0-b373-462c-8e99-a0da26f046c8/npm_config_tmp/ws-679f5bb21c1e3eb56b36e331400c3b0f.sock
I think I really have to avoid using os.tmpdir() and hardcode it to /tmp on unices.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Oh, good catch! Maybe we should just use a shorter path in citgm. We don't need all the bits of a uuid.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Please don't hardcode /tmp as the whole reason we redirect the temp dir for CITGM is that many modules didn't clean up their use of the temp dir and we slowly filled up the disk space on the machines.
Having said that, +1 for finding a way of shortening the socket path lengths.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
acidiney
pushed a commit
to acidiney/node
that referenced
this pull request
Feb 23, 2025
Notable changes:
crypto:
* (SEMVER-MINOR) support --use-system-ca on Windows (Joyee Cheung) nodejs#56833
* (SEMVER-MINOR) added support for reading certificates from macOS system store (Tim Jacomb) nodejs#56599
deps:
* update timezone to 2025a (Node.js GitHub Bot) nodejs#56876
sqlite:
* (SEMVER-MINOR) allow returning `ArrayBufferView`s from user-defined functions (René) nodejs#56790
src:
* set signal inspector io thread name (RafaelGSS) nodejs#56416
* set thread name for main thread and v8 worker (RafaelGSS) nodejs#56416
* set worker thread name using worker.name (RafaelGSS) nodejs#56416
* use a default thread name for inspector (RafaelGSS) nodejs#56416
url:
* (SEMVER-MINOR) add URLPattern implementation (Yagiz Nizipli) nodejs#56452
zlib:
* (SEMVER-MINOR) add zstd support (Jan Krems) nodejs#52100
PR-URL: nodejs#57005
Reviewers
mcollina
mcollina approved these changes
Uh oh!
There was an error while loading. Please reload this page.
Labels
release
Issues and PRs related to Node.js releases.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|