v13.0.4
版本发布时间: 2022-11-18 13:09:37
vercel/next.js最新发布版本:v15.0.2-canary.7(2024-10-26 07:33:49)
Core Changes
- Show link to the docs for route segment config options: #42779
- fix: Fix regression of swc minifier: #42790
- Add additional item to RSC payload, preparing for head.tsx on navigation: #42791
- Use window.location directly instead of parsing into URL: #42888
- feat(next-swc/relay): Add
javascript
to language: #42894 - types(#42003): better typing for
next/link
: #42117 - Ensure query is provided correctly with middleware rewrites: #42818
- feat(next/swc): allow to run custom turbopack binary: #42656
- fix: Error: NEXT_REDIRECT crashing server in prod: #42793
- Update caching for swc turbo builds: #42929
- Handle head.js on client-side navigation: #42904
- feat(jest): respect
transpilePackages
in tests: #42987 - App files ending with page registred as page files: #42996
- Allow generateStaticParams to be a synchronous function in app directory: #42942
- chore(eslint-config-next): bump eslint-import-resolver-typescript: #43010
- Ensure next.config.js function is handled for turbo: #43015
- Fix app page check on windows: #43022
- Add middleware prefetching config: #42936
- Fix middleware prefetch cases: #43056
- Ensure backslash is correctly handled in find-page-file: #43057
- Fix app render: escape segment value #42626: #42823
Documentation Changes
- docs: fix middleware docs cookie example: #42816
- Update docs/advanced-features/debugging.md: #42842
- docs(edge-api-routes): fixes example: #42903
- Update SFCC example to use TypeScript +
@next/font
: #42865 - Add more details to invalid-next-config doc: #42917
- typo: #42968
- Document regions config for experimental-edge: #43009
- docs: Add examples of using multiple weights and styles: #43031
Example Changes
- chore(examples):
next/future/image
->next/image
: #42794 - docs(examples): auth0 update callback URL: #42855
- Updates Apollo Server Examples to use Apollo Server 4 & @as-integrations/next: #42771
- Improve
with-algolia-react-instantsearch
example and convert to TypeScript: #42617 - Convert blog cover images to next/image: #42908
- Make cover image full width: #42916
- Convert
with-app-layout
example to TypeScript: #42930 - Tigris example with Next.js: #42662
- feat(examples): with-grafbase: #42898
- docs(examples): add postgres.js example: #42962
- Remove
with-atlaskit
example: #42973 - Remove
with-carbon-components
example: #42976 - Remove
with-cerebral
example: #42980 - Remove
swcMinify
option from example configs: #43012 - Convert
with-cssed
,with-csx
,with-styled-jsx
examples to TypeScript: #43018 - feat(examples): use experimental edge runtime with grafbase: #42992
Misc Changes
- Update bundle analyzer dependency and output: #42797
- Update to latest version of turbo CLI: #42803
- Fix cache collision for swc darwin: #42960
- Fix build-wasm-dev docs skip: #42961
- Update deployment used for e2e test: #42969
- test(integration): update test fixture: #42966
- Fix test retry cleanup: #43011
- Update test wasm timeout: #43014
- @next/font/google variable fonts without weight range: #43036
- Update build-wasm to checkout directly: #43054
Credits
Huge thanks to @shuding, @balazsorban44, @kdy1, @huozhi, @reyrodrigez, @andykenward, @idoob, @maxproske, @KoltonG, @timneutkens, @feugy, @leerob, @steven-tey, @SukkaW, @kwonoj, @adilansari, @hanneslund, @notrab, @zekicaneksi, @silvioprog, @joulev, @chanceaclark, and @Marcus-Rise for helping!