File tree 7 files changed +38
-57
lines changed
fixtures/libuv_io_uring_fix
7 files changed +38
-57
lines changed Original file line number Diff line number Diff line change 18
18
## [ Unreleased]
19
19
20
20
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
+
21
34
## [ v281] - 2025-02-05
22
35
23
36
- 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
1016
1029
1017
1030
- Documented at https://devcenter.heroku.com/articles/nodejs-support#cache-behavior
1018
1031
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
1020
1036
[ v281 ] : https://github.com/heroku/heroku-buildpack-nodejs/compare/v280...v281
1021
1037
[ v280 ] : https://github.com/heroku/heroku-buildpack-nodejs/compare/v279...v280
1022
1038
[ v279 ] : https://github.com/heroku/heroku-buildpack-nodejs/compare/v278...v279
Original file line number Diff line number Diff line change @@ -76,19 +76,6 @@ export PATH="$BUILD_DIR/.scalingo/node/bin:$BUILD_DIR/.scalingo/yarn/bin":$PATH
76
76
export COREPACK_HOME=" $BUILD_DIR /.scalingo/corepack"
77
77
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
78
78
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
-
92
79
LOG_FILE=$( mktemp -t node-build-log.XXXXX)
93
80
echo " " > " $LOG_FILE "
94
81
Original file line number Diff line number Diff line change @@ -5761,6 +5761,13 @@ arch = "linux-x64"
5761
5761
url = " https://heroku-nodebin.s3.us-east-1.amazonaws.com/node/release/linux-x64/node-v20.18.2-linux-x64.tar.gz"
5762
5762
etag = " 57fb9f69599980a53ca41d2e9184b41f-6"
5763
5763
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
+
5764
5771
[[releases ]]
5765
5772
version = " 20.2.0"
5766
5773
channel = " release"
@@ -5985,6 +5992,13 @@ arch = "linux-x64"
5985
5992
url = " https://heroku-nodebin.s3.us-east-1.amazonaws.com/node/release/linux-x64/node-v22.13.1-linux-x64.tar.gz"
5986
5993
etag = " 079174ec54c6c25c620d70435f0967bc-7"
5987
5994
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
+
5988
6002
[[releases ]]
5989
6003
version = " 22.2.0"
5990
6004
channel = " release"
@@ -6118,6 +6132,13 @@ arch = "linux-x64"
6118
6132
url = " https://heroku-nodebin.s3.us-east-1.amazonaws.com/node/release/linux-x64/node-v23.7.0-linux-x64.tar.gz"
6119
6133
etag = " 75c39248ddfca65e360e905adf48c265-7"
6120
6134
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
+
6121
6142
[[releases ]]
6122
6143
version = " 4.0.0"
6123
6144
channel = " release"
Original file line number Diff line number Diff line change @@ -117,18 +117,6 @@ write_export() {
117
117
echo " export NODE_EXTRA_CA_CERTS=\"\$ {NODE_EXTRA_CA_CERTS:-/usr/share/ca-certificates/Scalingo/scalingo-database.pem}\" " >> " $bp_dir /export"
118
118
# shellcheck disable=SC2016
119
119
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
-
132
120
# ensure corepack installed binaries are findable by downstream buildpacks
133
121
echo " export COREPACK_HOME=\" $build_dir /.heroku/corepack\" " >> " $bp_dir /export"
134
122
fi
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2082,21 +2082,6 @@ testConflictingPackageManagerMetadata() {
2082
2082
assertCapturedError
2083
2083
}
2084
2084
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
-
2100
2085
# Utils
2101
2086
2102
2087
pushd " $( dirname 0) " > /dev/null
You can’t perform that action at this time.
0 commit comments