Skip to content

chore(deps): move to Next 16.4.6 and @meonode/compiler 0.10.4 - #325

Merged
l7aromeo merged 1 commit into
mainfrom
chore/deps-next-16.4
Nov 20, 2026
Merged

l7aromeo merged 1 commit into
mainfrom
chore/deps-next-16.4

Conversation

@l7aromeo

@l7aromeo l7aromeo commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Part of #323

What changes

  • next and @next/eslint-plugin-next 16.3.6 → 16.4.6. 16.3.6 is in the ranges of GHSA-673q-mjm6-r5xr,
    GHSA-2464-fhr4-w9xw and GHSA-p3m5-59mp-jv5r, fixed in 16.4.1.
  • @meonode/compiler 0.9.0 → 0.10.4, in the same change: 0.9 doesn't load on Next 16.4 (swc_core 74), and 0.10
    (swc_core 84) doesn't load on 16.3. Its output for @meonode/ui 3.1.3 is unchanged, so @meonode/ui stays.
  • partialPrefetching: false in next.config.ts. With cacheComponents on, 16.4 warns on every build while the
    option is unset; false keeps today's prefetching. Turning it on is a change of its own, with prefetch traffic, Back,
    scroll restore and LCP measured against today's numbers.
  • The lockfile also moves sharp 0.35.4 → 0.35.5 and its @img/* packages, which Next 16.4.6 depends on.

For #323's checklist, a seventh item:

  • 7. Partial Prefetching. partialPrefetching: true, after the dependency updates, measured against today's
    prefetch traffic, Back and scroll restore, and LCP. false is a migration setting: Next plans to warn on it too
    before 17, which turns both features on.

How it was checked

  • skipProxyUrlNormalize, which the exact-version rewrites rely on, is wired in 16.4.6 as in 16.3.6. The
    __NEXT_NO_MIDDLEWARE_URL_NORMALIZE uses are the same (spec-extension/request.js is unchanged, next-url.js,
    adapter.js, next-server.js), and a rewrite is still made relative only against the URL the server knows itself
    by (resolve-routes.js), else proxied (router-server.js). The forwarded e2e spec checks it on this build.
  • 16.4.6's send-response.js now drops content-encoding, content-length and transfer-encoding from a
    Response it forwards. No route handler sets them; the precompressed assets are served by csp-proxy-server.mjs,
    outside Next.
  • The compiler's output: every non-spec file under src/ (131) compiled through each install's own Next SWC, 16.3.6
    with compiler 0.9.0 and 16.4.6 with 0.10.4. The output is byte-identical without the plugin, with it (433 __meo$
    markers and 418 call-site keys each), and with callSiteLocations on as in development (180 __meo$loc each).
  • CI counts 666 markers in .next/server, where main has 791. Local builds of both show the same 418 unique call-site
    keys, every one the source compile has: 16.4 copies shared server modules into fewer chunks (16 files with markers,
    from 23), so each call site is still compiled.
  • Next's own loadConfig on this next.config.ts: partialPrefetching unset logs the warning, false doesn't.
  • bun run lint, format:check, typecheck, content:check, examples:check: pass.
  • bun run test:coverage: 111 files, 970 tests pass.
  • Build and e2e are left to CI.

Next 16.3.6 is in the ranges of GHSA-673q-mjm6-r5xr,
GHSA-2464-fhr4-w9xw and GHSA-p3m5-59mp-jv5r, fixed in 16.4.1.
next and @next/eslint-plugin-next move to 16.4.6. @meonode/compiler
moves to 0.10.4 with them: 0.9 doesn't load on Next 16.4 and 0.10
doesn't load on 16.3. The compiler's output is unchanged for
@meonode/ui 3.1.3, which stays.

With cacheComponents on, Next 16.4 warns on every build while
partialPrefetching is unset; setting it to false keeps today's
prefetching and silences the warning. Loading the config through
16.4.6's loadConfig warns without the line and not with it.

skipProxyUrlNormalize is wired as in 16.3.6: the same uses of
__NEXT_NO_MIDDLEWARE_URL_NORMALIZE, and rewrites still compared
against the server's own URL. lint, format:check, typecheck,
test:coverage, content:check and examples:check pass; the build and
e2e run in CI.
@l7aromeo
l7aromeo marked this pull request as ready for review November 20, 2026 21:59
@l7aromeo
l7aromeo added this pull request to the merge queue Nov 20, 2026
Merged via the queue into main with commit 06dd486 Nov 20, 2026
8 checks passed
@l7aromeo
l7aromeo deleted the chore/deps-next-16.4 branch November 20, 2026 22:20
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.

1 participant