Releases: vercel/next.js
v15.0.0-canary.166
Core Changes
- add missing node modules to externals: #70382
- Avoid prefetch request before meta-tag-based redirect: #70350
- Turbopack: improve stack trace in overlay: #70343
- refactor: more precise types for req/res in withRequestStore: #70357
- Add test for TLA in client references: #70022
- Upgrade React from
e740d4b1-20240919
toe4953922-20240919
: #70290 - feat(next-codemod): add
upgrade
command: #69935 - refactor: reorganize client error listeners: #70373
- refactor: reorganize patch console: #70374
- types: improve napi binding typing using generated types: #69680
- Upgrade React from
e4953922-20240919
to5d19e1c8-20240923
: #70351 - feat(next/image): add support for
images.remotePatterns.search
: #70302 - chore: throw error when trying to use next.config.mts/.cjs/.cts (not supported yet): #70376
- Fix legacy env case with experimental tracing: #70411
Example Changes
- Updated the example of with-vercel-fetch to utilize the App Router.: #70069
Misc Changes
- test: fix race condition in serverComponentsHmrCache tests: #70368
- Slightly improve experimental.mdxRs error message with Webpack: #68356
- Type Webdriver options in
sandbox
: #70398 - Add extensive hydration error test suite for Pages router: #70342
- Turbopack: speed up
server node entrypoint
chunking: #70399 - docs(parallel): clarify why separate slots cannot be static and dynamic at the same route segment level: #70386
- feat(turbo-tasks): Allow
#[turbo_tasks::function]
s to accept ResolvedVc types as arguments: #70269 - feat(turbo-tasks): Accept ResolvedVc as a
self
argument: #70367 - Correct some documentation in Data Fetching page: #70394
- feat(turbo-tasks): Ignore fields annotated with
#[turbo_tasks(trace_ignore)]
: #70375
Credits
Huge thanks to @ztanner, @unstubbable, @lubieowoce, @mischnic, @LichuAcu, @huozhi, @ForsakenHarmony, @eps1lon, @styfle, @samcx, @bgw, @PapatMayuri, @xugetsu, and @ijjk for helping!
v15.0.0-canary.165
v15.0.0-canary.164
Core Changes
- Codemod for Async Request API: #69572
- Extract
createAppRouteCode
fromnext-app-loader.ts
: #70352 - [Type Definition] - Updates the manifest types to reflect the current specifications: #68273
- Fix middleware experimental trace case: #70372
Credits
Huge thanks to @huozhi, @unstubbable, @coderfin, and @ijjk for helping!
v15.0.0-canary.163
Core Changes
- Update root not found boundary to not introduce Server Component: #70328
- feat(next): codemod for removed
geo
andip
ofNextRequest
: #70064 - Mention
app
dir in TS setup tip: #70337 - Add additional fixes for experimental tracing: #70356
- Fix duplicate headers in response to static assets if overrides specified by user: #70127
- fix: change duplicated POST method to PUT method: #70308
- Externalize node binary modules for app router: #70330
- Support fallback params when the layout is a client component: #70329
Misc Changes
- Turbopack: Don't lookup JSON files in
baseUrl
: #70070 - Turbopack build: Skip unsupported middleware features: #70341
- Enable more MDX Turbopack tests: #70347
- Turbopack: make a
require
stub available in ESM: #70255 - fix(turbo-tasks): Remove
T: Serialize
bound from ResolveVc: #69995 - Update docs for adding ImageKit reference: #69554
- chore(docs): update opentelemetry docs: #70271
Credits
Huge thanks to @gnoff, @mischnic, @timneutkens, @bgw, @devjiwonchoi, @ankur-dwivedi, @kidonng, @ijjk, @abhi12299, @baeharam, @huozhi, and @AnaTofuZ for helping!
v15.0.0-canary.162
v15.0.0-canary.161
Core Changes
- Remove unused
app_structure
fromnext-swc-napi
: #70282 - fix: match file path url escaping during build and serve: #70256
- Rename
loader_tree
toapp_page_loader_tree
: #70283 - Rename app directory "components" to "modules": #70285
- Honor redirect type in server actions: #70279
- refactor: collect all isThenable/isPromise definitions: #70293
- feat(next/image): add support for
decoding
prop: #70298
Example Changes
- updated the example of with-three-js to utilize the App Router: #70287
Misc Changes
- Update Turbopack development test manifest: #70275
- Extract future common code into
base_loader_tree
: #70284 - refactor(turbo-tasks): Add a way to directly construct a ResolvedVc: #69992
- docs: fix the signature of CacheHandler#revalidateTag: #70286
- Await
killApp
in integration tests: #70292
Credits
Huge thanks to @unstubbable, @ForsakenHarmony, @abhi12299, @bgw, @vicb, @wyattjoh, @Sam-Phillemon9493, and @styfle for helping!
v14.2.13
Note
This release is backporting bug fixes. It does not include all pending features/changes on canary.
Core Changes
- Fix missing cache-control on SSR app route (#70265)
- feat: add polyfill of URL.canParse for browser compatibility (#70228)
- Fix vercel og package memory leak (#70214)
- Fix startTime error on Android 9 with Chrome 74 (#67391)
Credits
Huge thanks to @raeyoung-kim, @huozhi, @devjiwonchoi, and @ijjk for helping!
v15.0.0-canary.160
Core Changes
- chore: add comments for polyfill imports and file paths: #70233
- Upgrade React from
a99d8e8d-20240916
to5dcb0097-20240918
: #70225 - Run
@next/codemod
tests in CI: #70248 - Upgrade React from
5dcb0097-20240918
toe740d4b1-20240919
: #70260 - bugfix: actions that redirect should reject the action promise: #69945
- Fix missing cache-control on SSR app route: #70265
Misc Changes
- chore(turbopack): Remove pathfinder dependency: #70234
- feat(turbopack): Enable tree shaking: #70114
- [Turbopack] use double locking to balance edges: #70247
- docs: add Nitrogen AIO loader for next/image: #67523
- unskip middleware deploy test: #70264
Credits
Huge thanks to @bgw, @devjiwonchoi, @kdy1, @sokra, @eps1lon, @chandanpasunoori, @ztanner, and @ijjk for helping!
v15.0.0-canary.159
Core Changes
- chore: bump jscodeshift version: #70203
- Upgrade React from
206df66e-20240912
toa99d8e8d-20240916
: #70190 - Fix vercel og package memory leak: #70214
- Replace URL.canParse: #70215
- Add support for
dynamicIO
experiment toroute.ts
modules: #70208 - [ppr] Allow fallback pages to be revalidated: #70199
- Re-add internal env for providing page paths: #70235
- feat: add polyfill of
URL.canParse
for browser compatibility: #70228 - Remove dependecy graceful-fs and types: #67194
Example Changes
- updated the example of with-videojs to utilize the App Router: #70226
Misc Changes
- fix erroneous async component in integration test: #70217
- Revert "separate hydration tests for pages router": #70218
Credits
Huge thanks to @huozhi, @eps1lon, @gnoff, @wyattjoh, @Sam-Phillemon9493, @ijjk, @devjiwonchoi, and @torresgol10 for helping!
v15.0.0-canary.158
Core Changes
- Fix regression in TS plugin: allow
reset
prop in error files: #69777 - Ensure we chunk revalidate tag requests: #70189
- fix(lint): no-html-link in appDir: #68770
- fix(next): skip conventional type check for
_private
folder convention: #64177 - Only wait for metadata when dynamicIO experiment is on: #70192
Misc Changes
- docs: typo error state value on authentication: #70171
- fix(turbopack): intercepting routes should have default slots: #69929
- [Third parties] Google analytics Add debug mode: #63405
- Improve Server Reference ID DCE tests: #70191
- test: add next-types-plugin test: #70162
- docs: fix 10-dynamic-routes.mdx: #70126
- docs: add
tsc
note in docs for ignoring typescript build errors: #70180 - Fix: (third-parties) sendGTMEvent not queueing events before GTM init: #68683
Credits
Huge thanks to @Marukome0743, @unstubbable, @ForsakenHarmony, @ijjk, @erwannbst, @shuding, @devjiwonchoi, @DerTimonius, @hirotomoyamada, @Willem-Jaap, @gnoff, and @Develliot for helping!