Skip to content

Commit 574158b

Browse files
authored
feat(pack): update to next.js@16.2 (#2572)
1 parent 2041da6 commit 574158b

File tree

194 files changed

+1472
-1120
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

194 files changed

+1472
-1120
lines changed

.github/workflows/clippy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install Rust
2020
uses: dtolnay/rust-toolchain@stable
2121
with:
22-
toolchain: nightly-2025-10-27
22+
toolchain: nightly-2026-01-04
2323
components: clippy
2424
- name: Cache cargo
2525
uses: Swatinem/rust-cache@v2

.github/workflows/format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Install Rust
1818
uses: dtolnay/rust-toolchain@stable
1919
with:
20-
toolchain: nightly-2025-10-27
20+
toolchain: nightly-2026-01-04
2121
components: rustfmt
2222
- name: Check formatting
2323
run: cargo fmt --all -- --check

.github/workflows/pack-ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
3030
test: |
3131
apt-get update &&
32-
rustup install nightly-2025-10-27 &&
33-
rustup default nightly-2025-10-27 &&
32+
rustup install nightly-2026-01-04 &&
33+
rustup default nightly-2026-01-04 &&
3434
rustup target add x86_64-unknown-linux-gnu &&
3535
cargo test -p pack-tests --target x86_64-unknown-linux-gnu
3636
- host: ubuntu-latest
@@ -43,8 +43,8 @@ jobs:
4343
echo "https://dl-cdn.alpinelinux.org/alpine/v3.21/community" >> /etc/apk/repositories &&
4444
apk update &&
4545
apk add --no-cache libc6-compat pkgconfig dav1d libdav1d dav1d-dev clang-static llvm-dev &&
46-
rustup install nightly-2025-10-27 &&
47-
rustup default nightly-2025-10-27 &&
46+
rustup install nightly-2026-01-04 &&
47+
rustup default nightly-2026-01-04 &&
4848
rustup target add x86_64-unknown-linux-musl &&
4949
export RUSTFLAGS='--cfg tokio_unstable -Zshare-generics=y -Zthreads=8 -Csymbol-mangling-version=v0 -Ctarget-feature=-crt-static' &&
5050
cargo test -p pack-tests --target x86_64-unknown-linux-musl
@@ -53,8 +53,8 @@ jobs:
5353
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
5454
test: |
5555
apt-get update && apt-get install -y libc6-dev-arm64-cross libgcc-s1-arm64-cross &&
56-
rustup install nightly-2025-10-27 &&
57-
rustup default nightly-2025-10-27 &&
56+
rustup install nightly-2026-01-04 &&
57+
rustup default nightly-2026-01-04 &&
5858
rustup target add aarch64-unknown-linux-gnu &&
5959
export QEMU_LD_PREFIX=/usr/aarch64-linux-gnu &&
6060
cargo test -p pack-tests --target aarch64-unknown-linux-gnu
@@ -68,8 +68,8 @@ jobs:
6868
echo "https://dl-cdn.alpinelinux.org/alpine/v3.21/community" >> /etc/apk/repositories &&
6969
apk update &&
7070
apk add --no-cache libc6-compat pkgconfig dav1d libdav1d dav1d-dev clang-static llvm-dev &&
71-
rustup install nightly-2025-10-27 &&
72-
rustup default nightly-2025-10-27 &&
71+
rustup install nightly-2026-01-04 &&
72+
rustup default nightly-2026-01-04 &&
7373
rustup target add aarch64-unknown-linux-musl &&
7474
export RUSTFLAGS='--cfg tokio_unstable -Zshare-generics=y -Zthreads=8 -Csymbol-mangling-version=v0' &&
7575
cargo test -p pack-tests --target aarch64-unknown-linux-musl
@@ -115,7 +115,7 @@ jobs:
115115
uses: dtolnay/rust-toolchain@stable
116116
if: ${{ !matrix.settings.docker }}
117117
with:
118-
toolchain: nightly-2025-10-27
118+
toolchain: nightly-2026-01-04
119119
targets: ${{ matrix.settings.target }}
120120
- name: Cache cargo
121121
uses: Swatinem/rust-cache@v2

.github/workflows/pack-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Setup Rust
4848
uses: dtolnay/rust-toolchain@master
4949
with:
50-
toolchain: nightly-2025-10-27
50+
toolchain: nightly-2026-01-04
5151
components: rustfmt, clippy
5252

5353
- name: Rust Cache

.github/workflows/pack-perf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Install Rust
4343
uses: dtolnay/rust-toolchain@stable
4444
with:
45-
toolchain: nightly-2025-10-27
45+
toolchain: nightly-2026-01-04
4646
components: rustfmt, clippy
4747

4848
- name: Cache cargo

.github/workflows/pack-release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
2424
build: |
2525
apt-get update && apt-get install -y libc6-dev-arm64-cross libgcc-s1-arm64-cross &&
26-
rustup install nightly-2025-10-27 &&
27-
rustup default nightly-2025-10-27 &&
26+
rustup install nightly-2026-01-04 &&
27+
rustup default nightly-2026-01-04 &&
2828
rustup target add aarch64-unknown-linux-gnu &&
2929
npm run build:binding --workspace=@utoo/pack -- --target aarch64-unknown-linux-gnu
3030
- host: ubuntu-latest
@@ -38,8 +38,8 @@ jobs:
3838
echo "https://dl-cdn.alpinelinux.org/alpine/v3.21/community" >> /etc/apk/repositories &&
3939
apk update &&
4040
apk add --no-cache libc6-compat pkgconfig dav1d libdav1d dav1d-dev clang-static llvm-dev &&
41-
rustup install nightly-2025-10-27 &&
42-
rustup default nightly-2025-10-27 &&
41+
rustup install nightly-2026-01-04 &&
42+
rustup default nightly-2026-01-04 &&
4343
rustup target add aarch64-unknown-linux-musl &&
4444
export RUSTFLAGS='--cfg tokio_unstable -Zshare-generics=y -Zthreads=8 -Zunstable-options -Csymbol-mangling-version=v0 -Clinker-flavor=gnu-lld-cc -Clink-self-contained=+linker' &&
4545
npm run build:binding --workspace=@utoo/pack -- --target aarch64-unknown-linux-musl
@@ -48,8 +48,8 @@ jobs:
4848
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
4949
build: |
5050
apt-get update &&
51-
rustup install nightly-2025-10-27 &&
52-
rustup default nightly-2025-10-27 &&
51+
rustup install nightly-2026-01-04 &&
52+
rustup default nightly-2026-01-04 &&
5353
rustup target add x86_64-unknown-linux-gnu &&
5454
npm run build:binding --workspace=@utoo/pack -- --target x86_64-unknown-linux-gnu
5555
- host: ubuntu-latest
@@ -63,8 +63,8 @@ jobs:
6363
echo "https://dl-cdn.alpinelinux.org/alpine/v3.21/community" >> /etc/apk/repositories &&
6464
apk update &&
6565
apk add --no-cache libc6-compat pkgconfig dav1d libdav1d dav1d-dev clang-static llvm-dev &&
66-
rustup install nightly-2025-10-27 &&
67-
rustup default nightly-2025-10-27 &&
66+
rustup install nightly-2026-01-04 &&
67+
rustup default nightly-2026-01-04 &&
6868
rustup target add x86_64-unknown-linux-musl &&
6969
export RUSTFLAGS='--cfg tokio_unstable -Zshare-generics=y -Zthreads=8 -Csymbol-mangling-version=v0' &&
7070
npm run build:binding --workspace=@utoo/pack -- --target x86_64-unknown-linux-musl
@@ -110,7 +110,7 @@ jobs:
110110
uses: dtolnay/rust-toolchain@stable
111111
if: ${{ !matrix.settings.docker }}
112112
with:
113-
toolchain: nightly-2025-10-27
113+
toolchain: nightly-2026-01-04
114114
targets: ${{ matrix.settings.target }}
115115
- name: Cache cargo
116116
uses: Swatinem/rust-cache@v2

.github/workflows/pm-bench.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Install Rust
4141
uses: dtolnay/rust-toolchain@stable
4242
with:
43-
toolchain: nightly-2025-10-27
43+
toolchain: nightly-2026-01-04
4444

4545
- name: Cache cargo
4646
uses: Swatinem/rust-cache@v2

.github/workflows/pm-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
uses: dtolnay/rust-toolchain@stable
8383
if: ${{ !matrix.settings.docker }}
8484
with:
85-
toolchain: nightly-2025-10-27
85+
toolchain: nightly-2026-01-04
8686
targets: ${{ matrix.settings.target }}
8787

8888
- name: Cache cargo

.github/workflows/pm-e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- name: Setup Rust toolchain
6161
uses: dtolnay/rust-toolchain@stable
6262
with:
63-
toolchain: nightly-2025-10-27
63+
toolchain: nightly-2026-01-04
6464
targets: ${{ matrix.settings.target }}
6565

6666
- name: Cache cargo

.github/workflows/pm-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
- name: Install Rust
9595
uses: dtolnay/rust-toolchain@stable
9696
with:
97-
toolchain: nightly-2025-10-27
97+
toolchain: nightly-2026-01-04
9898
targets: ${{ matrix.target }}
9999

100100
- name: Cache cargo

0 commit comments

Comments
 (0)