GeezerVison is showing github.com — v21.4.0 release proposal by targos · Pull Request #51043 · nodejs/node
Conversation
targos
commented
Dec 4, 2023
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
2023-12-05, Version 21.4.0 (Current), @targos
Notable Changes
This release fixes a regression introduced in v21.3.0 that caused the fs.writeFileSync
method to throw when called with 'utf8' encoding, no flag option, and if the target file didn't exist yet.
- [
32acafeeb6] - (SEMVER-MINOR) fs: introduce dirent.parentPath (Antoine du Hamel) #50976
- [
724548674d] - fs: use default w flag for writeFileSync with utf8 encoding (Murilo Kakazu) #50990
Commits
- [
b24ee15fb2] - benchmark: update iterations in benchmark/crypto/hkdf.js (Lei Shi) #50866
- [
f79b54e60e] - benchmark: update iterations in benchmark/crypto/get-ciphers.js (Lei Shi) #50863
- [
dc049acbbb] - benchmark: update number of iterations for util.inspect (kylo5aby) #50651
- [
d7c562ae38] - deps: update googletest to 76bb2af (Node.js GitHub Bot) #50555
- [
59a45ddbef] - deps: update googletest to b10fad3 (Node.js GitHub Bot) #50555
- [
099ebdb781] - deps: update undici to 5.28.1 (Node.js GitHub Bot) #50975
- [
4b1bed04f7] - deps: update undici to 5.28.0 (Node.js GitHub Bot) #50915
- [
b281e98b1e] - doc: add additional details about --input-type (Shubham Pandey) #50796
- [
b7036f2028] - doc: add procedure when CVEs don't get published (Rafael Gonzaga) #50945
- [
7adf239af0] - doc: fix some errors in esm resolution algorithms (Christopher Jeffrey (JJ)) #50898
- [
759ebcaead] - doc: reserve 121 for Electron 29 (Shelley Vohr) #50957
- [
cedc3427fa] - doc: run license-builder (github-actions[bot]) #50926
- [
30a6f19769] - doc: document non-node_modules-only runtime deprecation (Joyee Cheung) #50748
- [
eecab883f0] - doc: add doc for Unix abstract socket (theanarkh) #50904
- [
ec74b93b38] - doc: remove flicker on page load on dark theme (Dima Demakov) #50942
- [
724548674d] - fs: use default w flag for writeFileSync with utf8 encoding (Murilo Kakazu) #50990
- [
32acafeeb6] - (SEMVER-MINOR) fs: introduce dirent.parentPath (Antoine du Hamel) #50976
- [
c1ee506454] - fs: remove workaround for esm package (Yagiz Nizipli) #50907
- [
1cf087dfb3] - lib: refactor to use validateFunction in diagnostics_channel (Deokjin Kim) #50955
- [
c37d18d5e1] - lib: streamline process.binding() handling (Joyee Cheung) #50773
- [
246cf73631] - lib,src: replace toUSVString with toWellFormed() (Yagiz Nizipli) #47342
- [
9bc79173a0] - loader: speed up line length calc used by moduleProvider (Mudit) #50969
- [
812ab9e4f8] - meta: bump step-security/harden-runner from 2.6.0 to 2.6.1 (dependabot[bot]) #50999
- [
1dbe1af19a] - meta: bump github/codeql-action from 2.22.5 to 2.22.8 (dependabot[bot]) #50998
- [
bed1b93f8a] - meta: move one or more collaborators to emeritus (Node.js GitHub Bot) #50931
- [
1e7d101428] - src: make ModifyCodeGenerationFromStrings more robust (Joyee Cheung) #50763
- [
709ac479eb] - src: disable uncaught exception abortion for ESM syntax detection (Yagiz Nizipli) #50987
- [
f6ff11c9f9] - src: fix backtrace with tail [[noreturn]] abort (Chengzhong Wu) #50849
- [
74f5a1cbc9] - src: print MKSNAPSHOT debug logs to stderr (Joyee Cheung) #50759
- [
3a1c664a97] - test: replace forEach to for.. test-webcrypto-export-import-cfrg.js (Angelo Parziale) #50785
- [
ac3a6eefe3] - test: log more information in SEA tests (Joyee Cheung) #50759
- [
94462d42f5] - test: consolidate utf8 text fixtures in tests (Joyee Cheung) #50732
- [
8e1a70a347] - tools: add triggers to update release links workflow (Moshe Atlow) #50974
- [
ca10cbb774] - tools: update lint-md-dependencies to [email protected] (Node.js GitHub Bot) #50913
- [
1e40c4a366] - tools: fix current version check (Marco Ippolito) #50951
- [
3faed331e1] - typings: fix JSDoc in internal/modules/esm/hooks (Alex Yang) #50887
- [
6a087ceffa] - url: throw error if argument length of revokeObjectURL is 0 (DylanTet) #50433
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
MuriloKakazu, bricss, and UlisesGascon reacted with thumbs up emoji
bricss reacted with hooray emoji
bricss reacted with heart emoji
bricss reacted with rocket emoji
All reactions
-
👍
3 reactions
-
🎉
1 reaction
-
❤️
1 reaction
-
🚀
1 reaction
Theme applying logic get loaded and executed in async mode, so often
there is a
delay in applying the proper theme to a page which leads to flicker on
dark theme. Resolved by moving critical logic to the page head
PR-URL: #50942
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Claudio Wunder <[email protected]>
We previously used a text that appears to be an excerpt of
https://zh.wikipedia.org/wiki/%E5%8D%97%E8%B6%8A%E5%9B%BD
and can have copyright/license complications. It may
also include some geopolitical nuances. The text has been
repeated through out the code base without much reuse.
This patch consolidates the fixtures by adding a common helper
string as `fixtures.utf8TestText` which is identical to a copy
in test/fixtures/utf8_test_text.txt. It also updates the text
to a copy of 蘭亭集序, It was chosen because:
1. It's a well-known Chinese classical piece written in 353 CE
and therefore in public domain. The string is copied from
https://zh.wikisource.org/zh-hant/%E8%98%AD%E4%BA%AD%E9%9B%86%E5%BA%8F
which contains a disclaimer of copyright for this reason.
2. The text is in suitable length for general UTF8 string
read/write tests (including punctuations, 389 code points and
1167 bytes).
3. This is also commonly used as reference text for Chinese text
layout tests.
4. It's a timeless and harmless preface for a collection of poems,
written by a uncontroversial figure who passed away >1600 years
ago and contains no geopolitical nuances. Background and an
English translation of this text can be found at
https://en.wikipedia.org/wiki/Lantingji_Xu
PR-URL: #50732
Reviewed-By: Yagiz Nizipli <[email protected]>
We already have this special kind of runtime deprecation for
Buffer constructors which does not fit into the original
description of runtiem deprecations. Document this kind of
deprecation separately.
PR-URL: #50748
Reviewed-By: Geoffrey Booth <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
- Make processBindingAllowList a separate list from
runtimeDeprecatedList and legacyWrapperList instead of being
an umbrella one, so it's easier to see the stages the bindings
are in.
- Cache process.binding() results so we don't need to mutate
runtimeDeprecatedList.
PR-URL: #50773
Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
Reviewed-By: James M Snell <[email protected]>
- Use spawnSyncAndExitWithoutError to log more information on error.
- Use NODE_DEBUG_NATIVE to log internals
- Skip the test when available disk space < 120MB
PR-URL: #50759
Refs: #50740
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
When using a loader, for say TypeScript, the esm loader invokes the
`lineLengths` function via `maybeCacheSourceMap` when sourcemaps are
enabled. Therefore, `lineLengths` ends up getting called quite often
when running large servers written in TypeScript for example. Making
`lineLengths` faster should therefore speed up server startup times
for anyone using a loader with node with sourcemaps enabled.
The change itself is fairly simple and is all about removing creation
of unnecessary memory and iterating the whole source content only once
with the hope of making the function cache friendly.
PR-URL: #50969
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Geoffrey Booth <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Vinícius Lourenço Claro Cardoso <[email protected]>
Reviewed-By: Jacob Smith <[email protected]>
The goal is to replace `dirent.path` using a name that's less likely to
create confusion.
`dirent.path` value has not been stable, moving it to a different
property name should avoid breaking some upgrading user expectations.
PR-URL: #50976
Reviewed-By: Ethan Arrowood <[email protected]>
Reviewed-By: LiviaMedeiros <[email protected]>
targos
removed
doc
Issues and PRs related to Node.js documentation.
meta
Issues and PRs related to the general management of the project.
needs-ci
PRs that need a full CI run.
dependencies
PRs that add, update, or configure Node.js dependencies.
labels
Dec 4, 2023
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.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
inherits tests are broken by #50907
I see that on main they don't rely on the esm package anymore. I opened nodejs/citgm#1034
|
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.
|
Pino failed only once. It's probably a flake.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
It would be awesome to pull #50650 in, somehow 🙄
|
AlttiRi reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
targos
added a commit
that referenced
this pull request
Dec 5, 2023
Notable changes:
fs:
* (SEMVER-MINOR) introduce `dirent.parentPath` (Antoine du Hamel) #50976
* use default w flag for writeFileSync with utf8 encoding (Murilo Kakazu) #50990
PR-URL: #51043
targos
added a commit
to targos/nodejs.org
that referenced
this pull request
Dec 5, 2023
Reviewers
anonrig
anonrig approved these changes
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
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.
|