8000 Update next to 16.2.6 by bryan-minimal · Pull Request #161 · gominimal/pkgs · GitHub
[go: up one dir, main page]

Skip to content

Update next to 16.2.6 - #161

Merged
bryan-minimal merged 1 commit into
mainfrom
update-next-16.2.6
May 8, 2026
Merged

bryan-minimal merged 1 commit into
mainfrom
update-next-16.2.6

Conversation

@bryan-minimal
@bryan-minimal bryan-minimal commented May 8, 2026 •
Copy link
Copy Markdown
Member

Update next 16.2.4 → 16.2.6

Source: github:vercel/next.js
Release: https://github.com/vercel/next.js/releases/tag/v16.2.6
Changelog: vercel/next.js@v16.2.4...v16.2.6
Released: 2026-05-07 (urgent security release)

Important

PR opened as DRAFT due to pkgscan recency gate — the upstream
release is <12h old (CRITICAL pkgscan signal metadata/recent-bump).
No code-level critical signals were detected; the gate fired purely
on release age. This is a security release from Vercel; un-draft
after manual audit of the diff.

Diff signals beyond recency: 1 MEDIUM signal (compile( in build
tooling — endemic to the codebase, not new in 16.2.6).

Patches in this release (13 advisories)

Per v16.2.6 release notes:

High:

Moderate:

Low:

Changes

Old New
Version 16.2.4 16.2.6
Source https://github.com/vercel/next.js/archive/refs/tags/v16.2.4.tar.gz https://github.com/vercel/next.js/archive/refs/tags/v16.2.6.tar.gz

Vulnerabilities still affecting 16.2.6

After this bump, 3 advisories remain (no known fix in any released next.js version per OSV data — pending upstream patch in a future release):

ID Severity
GHSA-67rr-84xm-4c7r HIGH
GHSA-4342-x723-ch2f MEDIUM
GHSA-xv57-4mr9-wg8v MEDIUM

These three predate today's release; they're independent of the patch being applied here.

Detection-flow notes

The original PR body (auto-generated by pkgmgr) wrongly listed all 28 historical advisories as "still affecting" due to a partition-flow bug where dual-ecosystem packages (next has both NativeC and Npm ecosystems) had their per-package query metadata wiped during deduplication. Diagnose 8000 d and fixed in supply-chain#96; this body is the corrected version.


Originally created by pkgmgr; body manually corrected pending sc#96 merge.

Summary by CodeRabbit

  • Chores
    • Updated Next.js dependency to version 16.2.6
    • Added MIT license metadata to build configuration

@coderabbitai
coderabbitai Bot commented May 8, 2026 •
Copy link
Copy Markdown
Contributor

Review Change Stack
No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 787b761c-f4de-4080-b1cb-cfb74fe41be3

📥 Commits

Reviewing files that changed from the base of the PR and between cc650fc and 13e262d.

📒 Files selected for processing (1)
  • packages/next/build.ncl

📝 Walkthrough

Walkthrough

The pull request updates the next package build specification to use Next.js version 16.2.6 instead of 16.2.4, including the updated tarball checksum, and adds an SPDX license metadata attribute to the build configuration.

Changes

Next.js Version and Metadata Update

Layer / File(s) Summary
Version and Checksum Update
packages/next/build.ncl
Next.js version constant updated from 16.2.4 to 16.2.6; tarball URL and sha256 hash updated to match the new version.
Build Metadata
packages/next/build.ncl
license_spdx = "MIT" attribute added to the exported build's attrs metadata.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~5 minutes

Poem

🐰 A hop and a skip through versions new,
From 16.2.4 to point-two-six true,
The checksum verified, the license stated,
MIT proudly, officially rated!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Update next to 16.2.6' directly and specifically describes the main change: bumping Next.js from 16.2.4 to 16.2.6, which is the primary modification in the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update-next-16.2.6

Comment @coderabbitai help to get the list of available commands and usage tips.

@bryan-minimal
bryan-minimal marked this pull request as ready for review May 8, 2026 17:16
@bryan-minimal
bryan-minimal added this pull request to the merge queue May 8, 2026
Merged via the queue into main with commit 9736528 May 8, 2026
2 checks passed
@bryan-minimal
bryan-minimal deleted the update-next-16.2.6 branch May 8, 2026 17:33
cvince pushed a commit to capysc/pkgs that referenced this pull request Jun 13, 2026
… (unblock gominimal#240 cascade) (gominimal#242)

* Update binutils 2.46.0->2.46.1 and coreutils 9.10->9.11 (base-soup bundle)

Bundled per the base-soup rule: binutils and coreutils are both in the
circularly-dependent toolchain, so the cascading rebuild should land as one
unit. glibc has an update available too but is intentionally deferred to a
separate change.

Both mirrored to gs://minimal-staging-archives and sha-verified against
upstream ftp.gnu.org (.tar.xz):
  binutils-2.46.1.tar.xz  e127a709...  (matches upstream)
  coreutils-9.11.tar.xz   394024ed...  (matches upstream)

Note: coreutils' tarball was manually verified/corrected — pkgmgr's GNU-FTP
listing parser resolved the .tar.gz when .tar.xz was also available, so the
.xz here was re-mirrored + sha-checked by hand. Parser-preference fix is a
separate pkgmgr follow-up.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* next: add glib to build/runtime deps (fixes sharp FTBFS on cascade rebuild)

The base-soup bundle (gominimal#240) forced the first genuine rebuild of `next`
since gominimal#161 — prior "builds" were cache hits. The rebuild compiles
`sharp` from source against the system libvips, and libvips's public
header `vips/vips8` #includes <glib-object.h>. `next` had libvips only
as a runtime_dep (which does surface vips8 in the sandbox) but no glib,
so glib's headers + glib-2.0.pc were absent and sharp FTBFS on both
arches:

  /usr/include/vips/vips8:41:10: fatal error: glib-object.h: No such file

glib is vips-cpp.pc's public `Requires`; the image-format libs
(expat/jpeg/png/webp/lcms2) are `Requires.private` and aren't pulled in
for a dynamic compile, so glib alone should satisfy the chain.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* next: surface glib include/lib paths to the sharp native build

Adding glib to the dep list put its headers + glib-2.0.pc in the sandbox
but the sharp compile still couldn't find <glib-object.h>: sharp finds
our system libvips via `pkg-config vips-cpp`, and vips-cpp.pc lists glib
under Requires.private — a non-static `pkg-config --cflags vips-cpp`
(what node-gyp uses) doesn't expand private requires, so glib's
-I/usr/include/glib-2.0 was never passed even though libvips's public
header <vips/vips8> #includes <glib-object.h>.

Export glib's include/lib dirs before `node install/build.js`. CPATH /
LIBRARY_PATH are honored by gcc directly (independent of node-gyp's
Makefile flag handling); CFLAGS/CXXFLAGS/LDFLAGS cover the conventional
path. Built from `pkg-config glib-2.0 gobject-2.0`, pure-bash -I parse
(no sed dependency in the sandbox).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* libvips: 8.18.2 -> 8.18.3 (sharp 0.35.1 requires >= 8.18.3)

next's build.sh installs sharp unpinned (always latest); sharp 0.35.1
hard-requires libvips >= 8.18.3 (released 2026-06-09). Our package was
pinned at 8.18.2, so once the glib include path was fixed the sharp
native build hit its version assertion:

  common.h:23:2: error: "libvips version 8.18.3+ is required"

sha256 verified against the upstream vips-8.18.3.tar.xz.sha256sum asset
(f41285b6...).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* chore: re-trigger buildbot (update-branch merge commit didn't fire it)

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0