Releases: vercel/next.js
v15.0.0-canary.173
Core Changes
- codemod: improve dynamic API cases: #70517
- Auto rotate Server Reference hash salt periodically: #70516
Example Changes
- Fix Stackblitz preview link on with-opentelemetry example: #70543
- [Multi-Zones] Update example and documentation with most recent practices for Multi-Zones: #70565
Misc Changes
Credits
Huge thanks to @shuding, @huozhi, @jlbovenzo, @mknichel, and @Luk-z for helping!
v15.0.0-canary.172
Core Changes
- Use Server/Client Manifests from Singleton in encryption-utils: #70485
- refactor: remove ability to call getStaticPaths from app directory pages: #70477
- refactor: extracted zod configuration: #70478
- [ppr] Added fallback shell debugging: #70528
- Remove shouldRevalidateStale concept from CacheHandlers: #70493
- fallback shell should not error when dynamic due to params access even with dynamic = "error": #70534
- Add cache scope handling for dynamic IO for dev/build: #70408
- remove unimplemented onError errorInfo argument: #70531
- Add env for setting cache handler path: #70537
- Disable "use cache" outside of dynamicIO: #70538
- Include buildId in the cache breaker until we have hashed Action IDs: #70542
- Support dynamicIO in middlware routes and generateStaticParams: #70544
- Unwrap
createServerReference
, and pass additional parameters: #69190 - Turbopack build: Fix benchmark running with webpack: #70533
- [form] allow turning prefetching off: #68305
- [after] fix: execute revalidates added within unstable_after(): #70458
- Upgrade React from
778e1ed2-20240926
to3edc000d-20240926
: #70560 - Exclude Object and Promise prototype properties from shadowing for params and searchParams: #70568
- refactor prefetch alias handling: #70532
- refactor: handle onlyHashChange logic sooner: #70569
- Updates our sync property access for params and searchParams to allow value: #70570
Misc Changes
- Turbopack build: Add devlow-bench: #70511
- Disable React 18 tests on PRs: #70541
- Turbopack build: Add mantine and mermaid to heavy npm deps benchmark: #70554
- Revert "Turbopack build: Add mantine and mermaid to heavy npm deps benchmark": #70561
Credits
Huge thanks to @sebmarkbage, @wyattjoh, @timneutkens, @gnoff, @ijjk, @eps1lon, @shuding, @lubieowoce, and @ztanner for helping!
v15.0.0-canary.171
v15.0.0-canary.170
Example Changes
- Updated the example of with-draft-js to utilize the App Router.: #70045
Credits
Huge thanks to @PapatMayuri for helping!
v15.0.0-canary.169
Core Changes
- Extend support of Pages router to React 18: #70219
- Basic implementation of cache-wrapper with RSC serialization: #70435
- fix: updated typescript types for React API's: #70410
- Fix type error from merge: #70481
- Ensure validator is included in vendored AMP validator: #70482
Example Changes
- fix(example): Change hostname in docker multiple env examples: #70105
Misc Changes
- codemod(turbopack): Inline trivial uses of
let this = self
: #70431 - Fix comment numbering in middleware example in docs: #70465
- feat(next-swc): lint for
ssr: false
in server components: #70378 - [Turbopack] fix a bunch of bugs and inefficiencies in the call graph: #70243
Credits
Huge thanks to @eps1lon, @bgw, @jordyfontoura, @kdy1, @sokra, @sebmarkbage, @tranvanhieu01012002, @wyattjoh, and @ijjk for helping!
v15.0.0-canary.168
Core Changes
- chore: auto-format generated types with prettier: #70405
- refactor(next-codemod): migrate to commander and prompts: #70409
Example Changes
- Updated the example of ssr-caching to utilize the App Router.: #69560
Misc Changes
- docs: minor fixes in the ISR doc: #70401
- [docs] Update documentation for experimental_ppr: #70413
- Fix lint from docs change: #70415
- refactor(github): popular-prs workflow: #70414
- docs: add highlight for server component example: #70419
- Update use-router.mdx: #57273
- docs mention next/compat/router: #70425
- feat(third-parties): add gtmScriptUrl option for GTM server-side tagging: #65907
- chore(gitattributes): Mark more snapshots directories as generated: #70421
- Docs: Fix jest configuration with babel: #70427
- Mention route field in app router migration: #70429
- refactor(turbopack): Cleanup code for tree shaking: #70385
- codemod(turbopack): Rewrite
self: Vc<Self>
as&self
in trivial cases: #70412 - [Turbopack] fix rsc chunking optimization: #70461
- Turbopack: allow shadowing the
require
global in ESM: #70453 - Add cause to turbopack-node error: #70456
- test: disable next/test tests: #70460
- chore(workflow): typo
popular-prs.ts
path: #70462 - add @taskr/esnext to pnpm root to resolve hoisting issues: #70349
- Turbopack: fix another case of edge runtime warnings: #70455
Credits
Huge thanks to @PapatMayuri, @vicb, @wyattjoh, @ijjk, @samcx, @ForsakenHarmony, @alessiomaffeis, @kutsan, @devjiwonchoi, @bgw, @kdy1, @sokra, @mischnic, @huozhi, @JamBalaya56562, and @arlyon for helping!
v15.0.0-canary.167
Core Changes
- chore: auto-format generated types with prettier: #70405
- refactor(next-codemod): migrate to commander and prompts: #70409
Example Changes
- Updated the example of ssr-caching to utilize the App Router.: #69560
Misc Changes
- docs: minor fixes in the ISR doc: #70401
- [docs] Update documentation for experimental_ppr: #70413
- Fix lint from docs change: #70415
- refactor(github): popular-prs workflow: #70414
- docs: add highlight for server component example: #70419
- Update use-router.mdx: #57273
- docs mention next/compat/router: #70425
- feat(third-parties): add gtmScriptUrl option for GTM server-side tagging: #65907
- chore(gitattributes): Mark more snapshots directories as generated: #70421
- Docs: Fix jest configuration with babel: #70427
- Mention route field in app router migration: #70429
- refactor(turbopack): Cleanup code for tree shaking: #70385
- codemod(turbopack): Rewrite
self: Vc<Self>
as&self
in trivial cases: #70412
Credits
Huge thanks to @PapatMayuri, @vicb, @wyattjoh, @ijjk, @samcx, @ForsakenHarmony, @alessiomaffeis, @kutsan, @devjiwonchoi, @bgw, and @kdy1 for helping!
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!