Releases: vercel/next.js
v15.0.0-canary.187
Core Changes
- fix:
getStaticProps
appears instead ofgenerateStaticParams
during app router build: #71033 - Rename swrDelta config to expireTime: #71159
- tweak shadow on static indicator & update docs copy: #71171
- [dynamicIO] track Prerender environment name during dev: #71165
- chore: update migration comments: #71169
Misc Changes
- docs(javascript): fix wrong javascript code and a typo in
link.mdx
: #71143 - feat(turbopack): Minify CSS files while building: #71130
- docs(typo): fix typos in
turbo.mdx
: #71188 - docs(typo): fix typo javascript: #71175
- fix: Next.js missed a file when renaming
swrDelta
toexpireTime
: #71190 - Tweak expireTime document a bit more: #71199
- docs(typo): fix typo in contribution guide(#71200): #71201
- Fix grammar: #71181
- docs(terminal): fix wrong terminal command and add missing hash symbols: #71180
Credits
Huge thanks to @lumirlumir, @ijjk, @ztanner, @gnoff, @huozhi, @kdy1, @actopas, and @n-ii-ma for helping!
v15.0.0-canary.186
Core Changes
- Handle source map requests for Turbopack client chunks: #71168
Misc Changes
- Unflake "streaming responses cancel inner stream after disconnect" test: #71163
- Increase retry duration for HMR fetch logging tests: #71170
Credits
Huge thanks to @unstubbable for helping!
v15.0.0-canary.185
Core Changes
- Revert "chore(next-codemod): move app-dir-runtime-config-experimental-edge to 13.1.2": #71157
- feat: block compilation on codemod comments and ask to remove: #71103
- Scope request store in render: #71109
- Reject hanging promises: #70994
- fix: allow custom app routes for metadata conventions: #71153
- chore(next-codemod): suggest pre-release codemods by their "stable" version: #71158
- misc(next-codemod): inform user whether current version is higher or on target version: #71160
- Update loading cache handler: #71121
- prevent cookies from being set in the wrong phase: #71094
- avoid accessing performance APIs if fetch is untracked: #71164
Misc Changes
- docs(typo): fix typo github in cli related docs: #71152
- Increase retry duration from 3 to 5 seconds in RSC HMR cache tests: #70467
- codemod(turbopack): Rewrite a few instances of Vc as ResolvedVc: #70927
- chore(turbopack): Delete a bunch of dead/unused structs: #70987
- docs(typo): fix redundant double spaces: #71137
Credits
Huge thanks to @ztanner, @huozhi, @gnoff, @lumirlumir, @unstubbable, @bgw, @devjiwonchoi, @ijjk, and @lubieowoce for helping!
v15.0.0-canary.184
Core Changes
- [Turbopack] add unstable prefix to persistent caching option and force to provide an expected level of stability: #71090
- codemod: make parser more comptible: #71122
- Don't warn on well-known properties in
searchParams
: #71142 - Add source map support for server components/actions in the browser: #71042
- show webpack/turbopack compilation duration for next build: #71146
- tweak static indicator style & behavior: #71128
- feat(next-upgrade): suggest React codemod: #71016
- prevent revalidateTag/Path during render: #71093
- fix(turbopack): Fix
NextEcmascriptClientReferenceTransition
: #70603 - turn withRequestStore into createRequestStore: #71107
- Initial implementation of per-segment prefetch request handling: #71113
- Upgrade React from
2d16326d-20240930
to70fb1363-20241010
: #71118
Misc Changes
- docs: add missing space: #70825
- docs(route-handlers): fix missing
revalidate
export for JS code block: #70857 - docs: update incorrect link address: #70836
- chore(next/image): update priority prop docs with loading prop side effect warning: #70835
- Docs: Added JS code blocks that were missing in the Installation documentation: #70801
- [Turbopack] make filesystem tasks session dependent instead of invalidating on startup: #70945
- fix complete state for event spans: #71083
- build: Update
swc_core
tov0.106.3
: #70687 - [Turbopack] make persistent caching not printing so much: #71092
- [Turbopack] add simple versioning for persistent caching: #71091
- [Turbopack] new backend cleanup: #71132
- docs: self-hosting video: #71127
Credits
Huge thanks to @Unsleeping, @Juneezee, @lonr, @Aerilym, @ytori, @sokra, @kdy1, @huozhi, @eps1lon, @unstubbable, @ztanner, @devjiwonchoi, @lubieowoce, @leerob, @gnoff, and @acdlite for helping!
v15.0.0-canary.183
Core Changes
- Move WorkStore and ActionStore to /server/app-render: #70934
- [Turbopack] Implement support for webpackβs
stats.json
: #70996 - chore(next-codemod): add verbose option to transform: #71079
- chore: polish warning for esmExternals: #71082
- go back to ignoring revalidates from render: #71088
- [Turbopack] add support for collectibles to new backend: #70798
- codemod: do not await on invalid prop: #71089
- chore(next-codemod): move app-dir-runtime-config-experimental-edge to 13.1.2: #71081
- Add cacheLife() / cacheTag() APIs: #71064
- Eagerly Pass Implicit Tags: #71105
- chore(next-codemod): add prompts for (un)installing packages: #71038
- [Turbopack] formatIssue is expensive, so avoid it if possible: #71117
- add phase tracking to workUnitStore: #71030
Example Changes
- chore(examples):updated the example of with-stitches to utlize the App router: #71007
Misc Changes
- polish async codemod docs: #71048
- polish sync-dynamic-apis error page: #71049
- docs: misc typo corrections in upgrade guide & codemod: #71098
- chore(turbo-tasks-backend): Clean up internal macros: #71061
- [Turbopack] change default module id strategy back to dev: #71052
- docs(javascript): fix wrong javascript code in
11-parallel-routes.mdx
: #71074 - Fix SWC cache transform on the client layer: #71095
- chore: add --no-babel flag to codemod: #71106
- Fix handling of hot reloader middlewares: #71104
- [Turbopack] allow to disable tree shaking: #71114
- fix(turbopack): Do not create self-referencing fragments: #71102
Credits
Huge thanks to @sebmarkbage, @ztanner, @Manoj-M-S, @wbinnssmith, @devjiwonchoi, @huozhi, @lubieowoce, @sokra, @bgw, @lumirlumir, @shuding, @unstubbable, and @kdy1 for helping!
v15.0.0-canary.182
Core Changes
- next-upgrade: Ensure correct React and types version are resolved when upgrading to Next.js rc: #70981
- codemod: leave comment on spread props: #70979
- docs: add
app-dir-runtime-config-experimental-edge
codemod: #71008 - docs: add
next-dynamic-access-named-export
codemod: #71012 - chore(next-upgrade): use process exit instead of throwing: #71018
- chore(next-upgrade): improve revision usage messages: #71019
- Revert "chore(next-upgrade): use process exit instead of throwing (#7β¦: #71021
- Disable server action transform in pages router: #71028
- chore(next-codemod): view current Next.js version, skip if already on or higher: #71034
- codemod: comment on reexport: #71017
- move workUnitAsyncStorage back into "client/components": #71046
- codemod: type cast async api calls in non entry file exports: #71040
- codemod upgrade: show link of migration guide after upgrade: #71036
- Defensively install patches: #71043
- fix(next/turbopack): Always preserve import attributes with esm modules: #71051
- codemod: fix type only react import: #71053
- types-plugin: enahnce type checking on interface params: #71059
Misc Changes
- docs: fix URL for error message: #71003
- Turbopack:
find client references
layout segment optimization: #70792 - Skip deployments for Dynamic IO error tests: #71024
- Skip
Math.random
test with route handler and'use cache'
: #71025 - Remove windows i686 next-swc build target: #71041
- fix(docs): correct MDN URL for decoding attribute of next/image component: #71029
- Add ts-node dependency for jest.config.ts parsing: #70971
- chore: replace the all
path-name
withpathname
for consistency: #71000
Credits
Huge thanks to @eps1lon, @devjiwonchoi, @mischnic, @huozhi, @unstubbable, @ijjk, @DeepakBalaraman, @karlhorky, @lubieowoce, @Marukome0743, @gnoff, and @bgw for helping!
v15.0.0-canary.181
v14.2.15
Note
This release is backporting bug fixes. It does not include all pending features/changes on canary.
Core Changes
- support breadcrumb style catch-all parallel routes #65063
- Provide non-dynamic segments to catch-all parallel routes #65233
- Fix client reference access causing metadata missing #70732
- feat(next/image): add support for decoding prop #70298
- feat(next/image): add images.localPatterns config #70529
- fix(next/image): handle undefined images.localPatterns config in images-manifest.json
- fix: Do not omit alt on getImgProps return type, ImgProps #70608
- [i18n] Routing fix #70761
Credits
Huge thanks to @ztanner, @agadzik, @huozhi, @styfle, @icyJoseph and @wyattjoh for helping!
v15.0.0-canary.179
Core Changes
- Create spans for
createServerReference
andregisterServerReference
: #70564 - Do not invoke server actions twice when
dynamicIO
is enabled: #70784 - feat: decouple cookies and action state from redirect error: #70769
- refactor: added more strict app segment config validation: #70480
- Fix recently re-introduced unique "key" prop warnings: #70807
- Run Middleware within WorkStore: #70808
Example Changes
- chore(examples): updated the example of with-styled-components: #70796
Misc Changes
- chore(turbopack-browser): Delete unreferenced runtime.rs file: #70773
Credits
Huge thanks to @unstubbable, @bgw, @wyattjoh, @Sam-Phillemon9493, and @sebmarkbage for helping!
v15.0.0-canary.178
Core Changes
- Run unstable_cache inside a CacheStore context: #70740
- Expand PrerenderStore to include the legacy mode static generation too: #70741
- Reapply "Dedupe sync access warning on the Server by callsite" (#70672): #70738
- Add RSC module ID mapping to the Client Manifest: #70524
- [i18n] Routing fix: #70761
- fix broken lock mechanism: #70764
- client router cache should still be cleared if server action revalidates + redirects: #70715
- ensure handleUnlock is called even for non-cached responses: #70766
- [dynamicIO] Error when dynamic behavior is outside of a Suspense boundary: #70734
- [Turbopack] add new backend: #69667
- Fix client reference access causing metadata missing: #70732
- Move reactLoadableManifest/assetPrefix to workStore: #70768
- Unwrap
registerServerReference
function: #70563 - Error if reading Request Store inside Prerender: #70775
- codemod: handle the async api type: #70785
Misc Changes
- support running React 18 tests on PRs with a label: #70737
- [Turbopack] AutoMap, AutoSet and CountHashSet use FxHasher by default: #70691
- Turbopack: Respect ignore comments for Worker: #70749
- feat(turbo-tasks): Add ResolvedVc versions of casting functions: #70575
- refactor(turbo-tasks-fs): Use ResolvedVc instead of Vc in structs: #70576
- docs(turbo-tasks): Rewrite the
turbo_tasks::value
documentation: #70743 - auto import with
create::
prefix: #70774 - fix(turbopack): Remove wrong check for
__turbopack_refresh__
: #70696 - fix(turbopack): Split ModulePart into eval vs non-eval: #70782
- Turbopack: next/dynamic layout segment optimization: #70708
Credits
Huge thanks to @sebmarkbage, @ztanner, @sokra, @mischnic, @eps1lon, @shuding, @bgw, @wyattjoh, @gnoff, @huozhi, @unstubbable, and @kdy1 for helping!