Skip to content

Commit 8cda546

Browse files
committed
Merge tag 'v284' into deps/upstream_v284
2 parents d22b73b + bf1c292 commit 8cda546

File tree

7 files changed

+38
-57
lines changed

7 files changed

+38
-57
lines changed

CHANGELOG.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,19 @@
1818
## [Unreleased]
1919

2020

21+
## [v284] - 2025-02-14
22+
23+
- Added Node.js version 23.8.0.
24+
25+
## [v283] - 2025-02-11
26+
27+
- Added Node.js version 22.14.0.
28+
- Added Node.js version 20.18.3.
29+
30+
## [v282] - 2025-02-06
31+
32+
- Removed `UV_USE_IO_URING` override. ([#1376](https://github.com/heroku/heroku-buildpack-nodejs/pull/1376))
33+
2134
## [v281] - 2025-02-05
2235

2336
- Exporting `COREPACK_HOME` to downstream buildpacks to prevent Corepack shims from downloading the requested package manager again in a subsequent buildpack. ([#1374](https://github.com/heroku/heroku-buildpack-nodejs/pull/1374))
@@ -1016,7 +1029,10 @@ Accepts `cacheDirectories` array in package.json to override default `node_modul
10161029

10171030
- Documented at https://devcenter.heroku.com/articles/nodejs-support#cache-behavior
10181031

1019-
[unreleased]: https://github.com/heroku/heroku-buildpack-nodejs/compare/v281...main
1032+
[unreleased]: https://github.com/heroku/heroku-buildpack-nodejs/compare/v284...main
1033+
[v284]: https://github.com/heroku/heroku-buildpack-nodejs/compare/v283...v284
1034+
[v283]: https://github.com/heroku/heroku-buildpack-nodejs/compare/v282...v283
1035+
[v282]: https://github.com/heroku/heroku-buildpack-nodejs/compare/v281...v282
10201036
[v281]: https://github.com/heroku/heroku-buildpack-nodejs/compare/v280...v281
10211037
[v280]: https://github.com/heroku/heroku-buildpack-nodejs/compare/v279...v280
10221038
[v279]: https://github.com/heroku/heroku-buildpack-nodejs/compare/v278...v279

bin/compile

-13
Original file line numberDiff line numberDiff line change
@@ -76,19 +76,6 @@ export PATH="$BUILD_DIR/.scalingo/node/bin:$BUILD_DIR/.scalingo/yarn/bin":$PATH
7676
export COREPACK_HOME="$BUILD_DIR/.scalingo/corepack"
7777
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
7878

79-
# 2024-11-20:
80-
# We started getting reports on build timeouts on the platform that were unexpected
81-
# due to the specific versions on Node.js and npm which had been working fine up until
82-
# this date. After some extensive digging, we believe we narrowed down the cause to
83-
# a bug in io_uring that affects the Amazon Linux 2023 release. There is a pending fix
84-
# which will be released around Dec. 9th but, until then, the workaround is set disable
85-
# the use of io_uring in libuv.
86-
#
87-
# See https://github.com/npm/cli/issues/7814#issuecomment-2488626736
88-
# → https://github.com/amazonlinux/amazon-linux-2023/issues/840#issuecomment-2485782075
89-
# → https://lore.kernel.org/io-uring/[email protected]/T/#m57570b5f8f2fc00d5a17cfe18ffeeba9fc23a43d
90-
export UV_USE_IO_URING=${UV_USE_IO_URING:-0}
91-
9279
LOG_FILE=$(mktemp -t node-build-log.XXXXX)
9380
echo "" > "$LOG_FILE"
9481

inventory/node.toml

+21
Original file line numberDiff line numberDiff line change
@@ -5761,6 +5761,13 @@ arch = "linux-x64"
57615761
url = "https://heroku-nodebin.s3.us-east-1.amazonaws.com/node/release/linux-x64/node-v20.18.2-linux-x64.tar.gz"
57625762
etag = "57fb9f69599980a53ca41d2e9184b41f-6"
57635763

5764+
[[releases]]
5765+
version = "20.18.3"
5766+
channel = "release"
5767+
arch = "linux-x64"
5768+
url = "https://heroku-nodebin.s3.us-east-1.amazonaws.com/node/release/linux-x64/node-v20.18.3-linux-x64.tar.gz"
5769+
etag = "775cb781f31b9f4626238c7771c9320f-6"
5770+
57645771
[[releases]]
57655772
version = "20.2.0"
57665773
channel = "release"
@@ -5985,6 +5992,13 @@ arch = "linux-x64"
59855992
url = "https://heroku-nodebin.s3.us-east-1.amazonaws.com/node/release/linux-x64/node-v22.13.1-linux-x64.tar.gz"
59865993
etag = "079174ec54c6c25c620d70435f0967bc-7"
59875994

5995+
[[releases]]
5996+
version = "22.14.0"
5997+
channel = "release"
5998+
arch = "linux-x64"
5999+
url = "https://heroku-nodebin.s3.us-east-1.amazonaws.com/node/release/linux-x64/node-v22.14.0-linux-x64.tar.gz"
6000+
etag = "a4f866b8bb6dfb9c061632ce08e2455b-7"
6001+
59886002
[[releases]]
59896003
version = "22.2.0"
59906004
channel = "release"
@@ -6118,6 +6132,13 @@ arch = "linux-x64"
61186132
url = "https://heroku-nodebin.s3.us-east-1.amazonaws.com/node/release/linux-x64/node-v23.7.0-linux-x64.tar.gz"
61196133
etag = "75c39248ddfca65e360e905adf48c265-7"
61206134

6135+
[[releases]]
6136+
version = "23.8.0"
6137+
channel = "release"
6138+
arch = "linux-x64"
6139+
url = "https://heroku-nodebin.s3.us-east-1.amazonaws.com/node/release/linux-x64/node-v23.8.0-linux-x64.tar.gz"
6140+
etag = "912a65edbeb289c5b271bef333642020-7"
6141+
61216142
[[releases]]
61226143
version = "4.0.0"
61236144
channel = "release"

lib/environment.sh

-12
Original file line numberDiff line numberDiff line change
@@ -117,18 +117,6 @@ write_export() {
117117
echo "export NODE_EXTRA_CA_CERTS=\"\${NODE_EXTRA_CA_CERTS:-/usr/share/ca-certificates/Scalingo/scalingo-database.pem}\"" >> "$bp_dir/export"
118118
# shellcheck disable=SC2016
119119
echo 'export NODE_OPTIONS=${NODE_OPTIONS:-"--max_old_space_size=2560"}' >> "$bp_dir/export"
120-
121-
# 2024-11-21:
122-
# Set UV_USE_IO_URING for later buildpacks to prevent build timeouts when
123-
# running `yarn install` on some Amazon Linux 2023 releases. This may be
124-
# removed in the future when a fixed AL2023 release is available
125-
# (~2024-12-09 or later).
126-
#
127-
# See https://github.com/npm/cli/issues/7814#issuecomment-2488626736
128-
# → https://github.com/amazonlinux/amazon-linux-2023/issues/840#issuecomment-2485782075
129-
# → https://lore.kernel.org/io-uring/[email protected]/T/#m57570b5f8f2fc00d5a17cfe18ffeeba9fc23a43d
130-
echo 'export UV_USE_IO_URING=${UV_USE_IO_URING:-0}' >> "$bp_dir/export"
131-
132120
# ensure corepack installed binaries are findable by downstream buildpacks
133121
echo "export COREPACK_HOME=\"$build_dir/.heroku/corepack\"" >> "$bp_dir/export"
134122
fi

test/fixtures/libuv_io_uring_fix/README.md

-1
This file was deleted.

test/fixtures/libuv_io_uring_fix/package.json

-15
This file was deleted.

test/run

-15
Original file line numberDiff line numberDiff line change
@@ -2082,21 +2082,6 @@ testConflictingPackageManagerMetadata() {
20822082
assertCapturedError
20832083
}
20842084

2085-
testDisableIoUringFix() {
2086-
compile "libuv_io_uring_fix"
2087-
assertCaptured "UV_USE_IO_URING is set to 0"
2088-
assertCapturedSuccess
2089-
}
2090-
2091-
testDisableIoUringFixUserOverride() {
2092-
cache_dir=$(mktmpdir)
2093-
env_dir=$(mktmpdir)
2094-
echo "1" > "$env_dir/UV_USE_IO_URING"
2095-
compile "libuv_io_uring_fix" "$cache_dir" "$env_dir"
2096-
assertCaptured "UV_USE_IO_URING is set to 1"
2097-
assertCapturedSuccess
2098-
}
2099-
21002085
# Utils
21012086

21022087
pushd "$(dirname 0)" >/dev/null

0 commit comments

Comments
 (0)