sourcegraph / learn

Sourcegraph Learn: an educational hub to support all developers
https://learn.sourcegraph.com
Apache License 2.0
18 stars 34 forks source link

Update nextjs monorepo to v13 (major) #519

Open renovate[bot] opened 2 years ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@next/bundle-analyzer ^12.0.7 -> ^13.1.2 age adoption passing confidence
@next/eslint-plugin-next ^12.0.7 -> ^13.1.2 age adoption passing confidence
next (source) ^12.0.7 -> ^13.1.2 age adoption passing confidence

Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.


Release Notes

vercel/next.js ### [`v13.1.2`](https://togithub.com/vercel/next.js/releases/tag/v13.1.2) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.1.1...v13.1.2) ##### Core Changes - Add special error message for class component in server component: [#​44265](https://togithub.com/vercel/next.js/issues/44265) - Update license year: [#​44403](https://togithub.com/vercel/next.js/issues/44403) - Move core files to src folder and move JS files to TypeScript: [#​44405](https://togithub.com/vercel/next.js/issues/44405) - refactor: add warning helper for removed experimental option: [#​44213](https://togithub.com/vercel/next.js/issues/44213) - types: remove config.experimental.profiling: [#​44507](https://togithub.com/vercel/next.js/issues/44507) - chore: addresses leftover from [#​44045](https://togithub.com/vercel/next.js/issues/44045): [#​44080](https://togithub.com/vercel/next.js/issues/44080) - Fix cookie parsing removing extra `=`: [#​44218](https://togithub.com/vercel/next.js/issues/44218) - Update server-external-packages to include aws-crt: [#​44214](https://togithub.com/vercel/next.js/issues/44214) - Collapse sequences of call stack frames from React and Next.js in the error overlay: [#​44137](https://togithub.com/vercel/next.js/issues/44137) - Update json5 dependency to latest: [#​44548](https://togithub.com/vercel/next.js/issues/44548) - Improve errors caused by client hook called in a server component: [#​44538](https://togithub.com/vercel/next.js/issues/44538) - Remove unused `target: es5` from `tsconfig.json`: [#​44567](https://togithub.com/vercel/next.js/issues/44567) - Make static page prefetch apply on navigation in app dir: [#​44502](https://togithub.com/vercel/next.js/issues/44502) - Improve errors caused by Next.js client hook called in a server component: [#​44588](https://togithub.com/vercel/next.js/issues/44588) - Add updated flush handling on sigterm: [#​44614](https://togithub.com/vercel/next.js/issues/44614) - chore: improves console warnings related to edge runtime: [#​44563](https://togithub.com/vercel/next.js/issues/44563) - hmr error improvements: [#​30616](https://togithub.com/vercel/next.js/issues/30616) - feat(standalone): allow configuring `HOSTNAME` via env var: [#​44627](https://togithub.com/vercel/next.js/issues/44627) - Add experimental pre-compiled next-server: [#​43198](https://togithub.com/vercel/next.js/issues/43198) - Fix check-precompiled for next-server: [#​44669](https://togithub.com/vercel/next.js/issues/44669) - Refactor use of AsyncLocalStorage: [#​44668](https://togithub.com/vercel/next.js/issues/44668) - Add required default value for the ids parameter: [#​44694](https://togithub.com/vercel/next.js/issues/44694) - Start client compiler when server components are finished compiling: [#​44716](https://togithub.com/vercel/next.js/issues/44716) - fix: support runtime value when using multiple declarations per export: [#​44732](https://togithub.com/vercel/next.js/issues/44732) - land(Fix: Add trailing slash to locale redirect based on next config): [#​44735](https://togithub.com/vercel/next.js/issues/44735) - Fix IPv6 hostname formatting in CLI: [#​43491](https://togithub.com/vercel/next.js/issues/43491) - Hydration error link is appended multiple times in app-dir: [#​44741](https://togithub.com/vercel/next.js/issues/44741) - Improve errors caused by Class Component rendered in a server component.: [#​44726](https://togithub.com/vercel/next.js/issues/44726) - Update `jsonwebtoken`: [#​44748](https://togithub.com/vercel/next.js/issues/44748) - [@​next/font](https://togithub.com/next/font): Add preconnect tag when fonts are used but not preloaded in app-dir: [#​44746](https://togithub.com/vercel/next.js/issues/44746) - Ensure folder exists for standalone server: [#​44745](https://togithub.com/vercel/next.js/issues/44745) - chore: Update `swc_core` to `v0.53.0`: [#​44707](https://togithub.com/vercel/next.js/issues/44707) - Revert "chore: Update `swc_core` to `v0.53.0`": [#​44760](https://togithub.com/vercel/next.js/issues/44760) - chore: fix typo: [#​44761](https://togithub.com/vercel/next.js/issues/44761) - Fix app ISR handling with no generateStaticParams: [#​44787](https://togithub.com/vercel/next.js/issues/44787) - Update to latest version of pnpm: [#​44791](https://togithub.com/vercel/next.js/issues/44791) - Fix router.refresh() resetting state and Suspense boundaries: [#​44775](https://togithub.com/vercel/next.js/issues/44775) - Fix capitalization in formatted server errors: [#​44798](https://togithub.com/vercel/next.js/issues/44798) - examples: Bump SWR to v2.0.0: [#​44790](https://togithub.com/vercel/next.js/issues/44790) - Fix image emittion for pure client image: [#​44831](https://togithub.com/vercel/next.js/issues/44831) ##### Documentation Changes - Update custom-app.md: [#​44351](https://togithub.com/vercel/next.js/issues/44351) - Update `next/head` docs.: [#​44454](https://togithub.com/vercel/next.js/issues/44454) - uses spelling: [#​44399](https://togithub.com/vercel/next.js/issues/44399) - Update Turbopack docs.: [#​44468](https://togithub.com/vercel/next.js/issues/44468) - Fix link to next-image-to-legacy-image codemod: [#​44471](https://togithub.com/vercel/next.js/issues/44471) - Add module transpilation docs: [#​44518](https://togithub.com/vercel/next.js/issues/44518) - Update TypeScript API Route example: [#​44517](https://togithub.com/vercel/next.js/issues/44517) - Update config-shared docs link: [#​44547](https://togithub.com/vercel/next.js/issues/44547) - Docs: Update `next/font` to `@next/font`: [#​44573](https://togithub.com/vercel/next.js/issues/44573) - Improve modularized imports docs and add config options to example: [#​44560](https://togithub.com/vercel/next.js/issues/44560) - Remove old links in docs.: [#​44580](https://togithub.com/vercel/next.js/issues/44580) - Test navigation between multiple root layouts: [#​43762](https://togithub.com/vercel/next.js/issues/43762) - \[docs/bugfix] fix code example for "Prefixing the Default Locale" - NEXT_LOCALE cookie usage: [#​44587](https://togithub.com/vercel/next.js/issues/44587) - Correct link to full list of `Permissions-Policy` permissions: [#​44607](https://togithub.com/vercel/next.js/issues/44607) - Update subset validation in @​next/font/google and fix CJK bug: [#​44594](https://togithub.com/vercel/next.js/issues/44594) - Update mdx docs example to show merging config: [#​44656](https://togithub.com/vercel/next.js/issues/44656) - docs: clarify default `basePath` value: [#​44642](https://togithub.com/vercel/next.js/issues/44642) - docs(middleware): add \_next/image to match ignore: [#​44659](https://togithub.com/vercel/next.js/issues/44659) - Update redirects.md to fix a typo.: [#​44677](https://togithub.com/vercel/next.js/issues/44677) - Fix broken links in [@​next/font](https://togithub.com/next/font) API reference: [#​44714](https://togithub.com/vercel/next.js/issues/44714) - Add missing modularizeImports on config snippets: [#​44734](https://togithub.com/vercel/next.js/issues/44734) - Update prompts for CNA and add default @​/\* alias: [#​44672](https://togithub.com/vercel/next.js/issues/44672) - Clarify middleware.ts location in docs: [#​44788](https://togithub.com/vercel/next.js/issues/44788) ##### Example Changes - Update with-sentry README.md Next.js version: [#​44374](https://togithub.com/vercel/next.js/issues/44374) - fix link to index page in Image Component Example: [#​44388](https://togithub.com/vercel/next.js/issues/44388) - Update get-api-cookie.ts: [#​44466](https://togithub.com/vercel/next.js/issues/44466) - Update .gitignore in pwa example: [#​44391](https://togithub.com/vercel/next.js/issues/44391) - Use the stable GraphQL Yoga v3 in the GraphQL example: [#​44488](https://togithub.com/vercel/next.js/issues/44488) - \[examples] add @​types/testing-library\_\_jest-dom package: [#​44533](https://togithub.com/vercel/next.js/issues/44533) - Improvements to Cloudinary Example: [#​44572](https://togithub.com/vercel/next.js/issues/44572) - Create i18n example using app-dir and middleware: [#​44257](https://togithub.com/vercel/next.js/issues/44257) - Add lang, generateStaticParams, and server-only for i18n example: [#​44597](https://togithub.com/vercel/next.js/issues/44597) - remove unnecessary babel.config.js in react native web example: [#​43939](https://togithub.com/vercel/next.js/issues/43939) - Update to with-supertokens example: [#​44640](https://togithub.com/vercel/next.js/issues/44640) - Add support for rendering MDX as a server component: [#​44651](https://togithub.com/vercel/next.js/issues/44651) - Update: SharedModal.tsx swipe bug in with-cloudinary: [#​44771](https://togithub.com/vercel/next.js/issues/44771) - \[example] Add missing package in app dir i18n example: [#​44820](https://togithub.com/vercel/next.js/issues/44820) ##### Misc Changes - docs: add pnpm to template readme: [#​44427](https://togithub.com/vercel/next.js/issues/44427) - Added actual error message to log output: [#​44453](https://togithub.com/vercel/next.js/issues/44453) - Fix isolated tests on windows and update azure config: [#​44457](https://togithub.com/vercel/next.js/issues/44457) - docs: Update GitHub CLI clone command in `developing.md`: [#​44509](https://togithub.com/vercel/next.js/issues/44509) - Cache package lock when running tests to speed up installation: [#​44520](https://togithub.com/vercel/next.js/issues/44520) - Test server component error recovery in dev: [#​44155](https://togithub.com/vercel/next.js/issues/44155) - Fix taskr watching core files - add `testonly` variants for all test modes and refactored `test` as alias of `testheadless`: [#​44528](https://togithub.com/vercel/next.js/issues/44528) - Use test timings token when available: [#​44549](https://togithub.com/vercel/next.js/issues/44549) - Remove un-used app-dir test fixture: [#​44546](https://togithub.com/vercel/next.js/issues/44546) - Fix prettierignore_staged for compiled: [#​44550](https://togithub.com/vercel/next.js/issues/44550) - Revert "Use turbo for packing files in test setup ([#​44074](https://togithub.com/vercel/next.js/issues/44074))": [#​44566](https://togithub.com/vercel/next.js/issues/44566) - Remove extra pnp test: [#​44576](https://togithub.com/vercel/next.js/issues/44576) - Update CNA tests running: [#​44577](https://togithub.com/vercel/next.js/issues/44577) - misc: fix benchmark script: [#​44592](https://togithub.com/vercel/next.js/issues/44592) - Change `NextInstance.fetch` Signature: [#​44575](https://togithub.com/vercel/next.js/issues/44575) - Update CNA test skipping: [#​44606](https://togithub.com/vercel/next.js/issues/44606) - Disable telemetry for `pnpm next` when contributing locally: [#​44610](https://togithub.com/vercel/next.js/issues/44610) - Update flakey styled-components test: [#​44613](https://togithub.com/vercel/next.js/issues/44613) - Temporarily disable Azure e2e tests: [#​44616](https://togithub.com/vercel/next.js/issues/44616) - Fix docs only change for canary: [#​44617](https://togithub.com/vercel/next.js/issues/44617) - Fix font unit test on Azure: [#​44618](https://togithub.com/vercel/next.js/issues/44618) - Fix paths for check-examples script: [#​44661](https://togithub.com/vercel/next.js/issues/44661) - Change test template to use TS and improve template for `app-dir`: [#​44227](https://togithub.com/vercel/next.js/issues/44227) - Replace usage of example.com in gssp-redirect tests: [#​44664](https://togithub.com/vercel/next.js/issues/44664) - Ensure yarn is used for next-with-deps: [#​44666](https://togithub.com/vercel/next.js/issues/44666) - Recommend next-with-deps for running examples: [#​44667](https://togithub.com/vercel/next.js/issues/44667) - Fix new-error command: [#​44720](https://togithub.com/vercel/next.js/issues/44720) - @​next/font/google unknown font error: [#​44713](https://togithub.com/vercel/next.js/issues/44713) - Migrate set-output usage to $GITHB_OUTPUT: [#​44757](https://togithub.com/vercel/next.js/issues/44757) - Add simple test that custom server works: [#​44536](https://togithub.com/vercel/next.js/issues/44536) - Migrate basic-basepath tests into basic: [#​44776](https://togithub.com/vercel/next.js/issues/44776) - Autolabel with linear when labeled with kind: bug: [#​44774](https://togithub.com/vercel/next.js/issues/44774) - Exposing NextFont types: [#​44772](https://togithub.com/vercel/next.js/issues/44772) - Fix set output handling for DOCS_CHANGE env: [#​44789](https://togithub.com/vercel/next.js/issues/44789) - Fix echoing DOCS_CHANGE result - Correctly handle @​next/font/google fonts without any preloadable subsets: [#​44809](https://togithub.com/vercel/next.js/issues/44809) - Update release stats for newer pnpm version: [#​44828](https://togithub.com/vercel/next.js/issues/44828) - Fix FreeBSD next-swc build: [#​44833](https://togithub.com/vercel/next.js/issues/44833) ##### Credits Huge thanks to [@​shuding](https://togithub.com/shuding), [@​chogyejin](https://togithub.com/chogyejin), [@​ijjk](https://togithub.com/ijjk), [@​smeubank](https://togithub.com/smeubank), [@​h4x0rlol](https://togithub.com/h4x0rlol), [@​leerob](https://togithub.com/leerob), [@​arch-user-france1](https://togithub.com/arch-user-france1), [@​konojunya](https://togithub.com/konojunya), [@​nora-soderlund](https://togithub.com/nora-soderlund), [@​IDrumsey](https://togithub.com/IDrumsey), [@​dirheimerb](https://togithub.com/dirheimerb), [@​timneutkens](https://togithub.com/timneutkens), [@​BrandNewLifeJackie26](https://togithub.com/BrandNewLifeJackie26), [@​hyeongrok7874](https://togithub.com/hyeongrok7874), [@​ardatan](https://togithub.com/ardatan), [@​chibicode](https://togithub.com/chibicode), [@​JanKaifer](https://togithub.com/JanKaifer), [@​hanneslund](https://togithub.com/hanneslund), [@​abir-taheer](https://togithub.com/abir-taheer), [@​SukkaW](https://togithub.com/SukkaW), [@​promer94](https://togithub.com/promer94), [@​feugy](https://togithub.com/feugy), [@​fli](https://togithub.com/fli), [@​seawatts](https://togithub.com/seawatts), [@​awareness481](https://togithub.com/awareness481), [@​delbaoliveira](https://togithub.com/delbaoliveira), [@​Nutlope](https://togithub.com/Nutlope), [@​styfle](https://togithub.com/styfle), [@​feedthejim](https://togithub.com/feedthejim), [@​wyattjoh](https://togithub.com/wyattjoh), [@​Cielquan](https://togithub.com/Cielquan), [@​NiedziolkaMichal](https://togithub.com/NiedziolkaMichal), [@​nissy-dev](https://togithub.com/nissy-dev), [@​balazsorban44](https://togithub.com/balazsorban44), [@​raulfdm](https://togithub.com/raulfdm), [@​sokra](https://togithub.com/sokra), [@​rishabhpoddar](https://togithub.com/rishabhpoddar), [@​wbinnssmith](https://togithub.com/wbinnssmith), [@​CuriosBasant](https://togithub.com/CuriosBasant), [@​gurkerl83](https://togithub.com/gurkerl83), [@​akshitsinha](https://togithub.com/akshitsinha), [@​ianldgs](https://togithub.com/ianldgs), [@​kdy1](https://togithub.com/kdy1), [@​sorrycc](https://togithub.com/sorrycc), [@​tapaskumar05](https://togithub.com/tapaskumar05), [@​stuartkeith](https://togithub.com/stuartkeith), [@​EmilianoGarciaLopez](https://togithub.com/EmilianoGarciaLopez), [@​valentinpolitov](https://togithub.com/valentinpolitov), and [@​huozhi](https://togithub.com/huozhi) for helping! ### [`v13.1.1`](https://togithub.com/vercel/next.js/releases/tag/v13.1.1) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.1.0...v13.1.1) ##### Core Changes - Exclude `srcset` from svg image: [#​44308](https://togithub.com/vercel/next.js/issues/44308) - Fix CSS resource path not matched in `__entry_css_files__`: [#​44310](https://togithub.com/vercel/next.js/issues/44310) - Fix `next/image` 404 when `basePath` and `trailingSlash` defined: [#​44312](https://togithub.com/vercel/next.js/issues/44312) ##### Documentation Changes - Remove experimental for modularizeImports from docs and example: [#​44311](https://togithub.com/vercel/next.js/issues/44311) ##### Example Changes - Updated dependencies for `with-tailwindcss` example: [#​44289](https://togithub.com/vercel/next.js/issues/44289) ##### Misc Changes - Use turbo for packing files in test setup: [#​44074](https://togithub.com/vercel/next.js/issues/44074) ##### Credits Huge thanks to [@​JanKaifer](https://togithub.com/JanKaifer), [@​Nutlope](https://togithub.com/Nutlope), [@​styfle](https://togithub.com/styfle), and [@​chibicode](https://togithub.com/chibicode) for helping! ### [`v13.1.0`](https://togithub.com/vercel/next.js/releases/tag/v13.1.0) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.0.7...v13.1.0) ##### Core Changes - Fix windows slashes for app client entry: [#​44052](https://togithub.com/vercel/next.js/issues/44052) - Hash both pitch and main loader for server CSS imports: [#​44063](https://togithub.com/vercel/next.js/issues/44063) - Add tracing for testing tools: [#​44046](https://togithub.com/vercel/next.js/issues/44046) - Run packing in tests in parallel: [#​44048](https://togithub.com/vercel/next.js/issues/44048) - feat: app dir error-global component: [#​44066](https://togithub.com/vercel/next.js/issues/44066) - Fix ignoring dev warning for preload component: [#​44065](https://togithub.com/vercel/next.js/issues/44065) - refactor(next-swc): introduce next-binding to consolidate dependencies.: [#​43473](https://togithub.com/vercel/next.js/issues/43473) - Add lodash to server components external packages: [#​44022](https://togithub.com/vercel/next.js/issues/44022) - Fix dev session stopped handling: [#​44112](https://togithub.com/vercel/next.js/issues/44112) - Add jsdoc/no-types eslint rule for TypeScript files: [#​44049](https://togithub.com/vercel/next.js/issues/44049) - Revert "Remove `useState` from `next/image` ([#​43587](https://togithub.com/vercel/next.js/issues/43587))": [#​44094](https://togithub.com/vercel/next.js/issues/44094) - should not contain pages css in app dir: [#​44151](https://togithub.com/vercel/next.js/issues/44151) - Upgrade undici to 5.14.0 to fix fetch redirect bug: [#​44133](https://togithub.com/vercel/next.js/issues/44133) - build(cargo): fix turbopack + next-swc build: [#​43983](https://togithub.com/vercel/next.js/issues/43983) - Align onRecoverableError callback between pages and app dir: [#​44161](https://togithub.com/vercel/next.js/issues/44161) - build(cargo): update turbopack: [#​44167](https://togithub.com/vercel/next.js/issues/44167) - Update styled-jsx: [#​44070](https://togithub.com/vercel/next.js/issues/44070) - Fix crash in GraalVM: [#​44176](https://togithub.com/vercel/next.js/issues/44176) - Also check error.message as digest for recoverable errors in pages: [#​44185](https://togithub.com/vercel/next.js/issues/44185) - Move options to stable: [#​44195](https://togithub.com/vercel/next.js/issues/44195) - Move `transpilePackages` out of experimental: [#​44194](https://togithub.com/vercel/next.js/issues/44194) - Fix CSS resources being duplicated in app dir: [#​44168](https://togithub.com/vercel/next.js/issues/44168) - Add telemetry for stable features: [#​44201](https://togithub.com/vercel/next.js/issues/44201) - Add warning for experimental flags that have moved: [#​44202](https://togithub.com/vercel/next.js/issues/44202) - build(cargo): bump up turbopack: [#​44206](https://togithub.com/vercel/next.js/issues/44206) - Bump `@vercel/nft@0.22.6`: [#​44193](https://togithub.com/vercel/next.js/issues/44193) - Disable Image Optimization API when next.config.js has `unoptimized: true`: [#​44205](https://togithub.com/vercel/next.js/issues/44205) - Honour `distDir` in type generation: [#​44207](https://togithub.com/vercel/next.js/issues/44207) - Only once for the next/head usage in app dir: [#​44233](https://togithub.com/vercel/next.js/issues/44233) - Enable allowMiddlewareResponseBody by default: [#​44224](https://togithub.com/vercel/next.js/issues/44224) - Move `modularizeImports` out of experimental: [#​44240](https://togithub.com/vercel/next.js/issues/44240) - Update config validation for latest turbopack changes: [#​44223](https://togithub.com/vercel/next.js/issues/44223) - build(cargo): update turbopack: [#​44241](https://togithub.com/vercel/next.js/issues/44241) - update turbopack for bugfixes: [#​44251](https://togithub.com/vercel/next.js/issues/44251) ##### Documentation Changes - docs: Add explanation about font-display: [#​44001](https://togithub.com/vercel/next.js/issues/44001) - Test that adding query can be detected by useSearchParams: [#​43969](https://togithub.com/vercel/next.js/issues/43969) - Add static test for useSelectedLayoutSegments: [#​43955](https://togithub.com/vercel/next.js/issues/43955) - Docs: Update deployment.md with Firebase, Amplify and Cloudflare: [#​44092](https://togithub.com/vercel/next.js/issues/44092) - Add test for rewriting in middleware in app-dir: [#​43971](https://togithub.com/vercel/next.js/issues/43971) - docs: Add missing type to import statement: [#​44111](https://togithub.com/vercel/next.js/issues/44111) - docs: update next/dynamic docs: [#​44067](https://togithub.com/vercel/next.js/issues/44067) - Update disabling-http-keep-alive.md for server-side only: [#​43374](https://togithub.com/vercel/next.js/issues/43374) - docs: fix spelling error: [#​44191](https://togithub.com/vercel/next.js/issues/44191) - Write tests for navigation between app-dir and pages: [#​43881](https://togithub.com/vercel/next.js/issues/43881) - Add docs for middleware flags: [#​44235](https://togithub.com/vercel/next.js/issues/44235) ##### Example Changes - Updates with-supertokens example: [#​44042](https://togithub.com/vercel/next.js/issues/44042) - Fix styled-components setup in turbo example: [#​44165](https://togithub.com/vercel/next.js/issues/44165) - update with-turbopack example for postcss/tailwind support: [#​44261](https://togithub.com/vercel/next.js/issues/44261) ##### Misc Changes - Run packing in tests in parallel - Revert "Run packing in tests in parallel" - Remove extra turbo test: [#​44073](https://togithub.com/vercel/next.js/issues/44073) - Implement new core test API: [#​44086](https://togithub.com/vercel/next.js/issues/44086) - Refactor more tests to createNextDescribe: [#​44104](https://togithub.com/vercel/next.js/issues/44104) - Add types as a default dependency into tests: [#​44140](https://togithub.com/vercel/next.js/issues/44140) - Suggest contributors to use shallow clone: [#​44158](https://togithub.com/vercel/next.js/issues/44158) - Update pnpm new-test to use createNextDescribe: [#​44147](https://togithub.com/vercel/next.js/issues/44147) - Update README templates to include snippet on `next/font`: [#​44088](https://togithub.com/vercel/next.js/issues/44088) - Wrap CSS variable in var: [#​44153](https://togithub.com/vercel/next.js/issues/44153) - Ensure next.url is used instead of next.appPort: [#​44163](https://togithub.com/vercel/next.js/issues/44163) - test: add test for notFound during streaming: [#​44078](https://togithub.com/vercel/next.js/issues/44078) - Fix test template example: [#​44170](https://togithub.com/vercel/next.js/issues/44170) - Remove devcontainer network host argument: [#​44157](https://togithub.com/vercel/next.js/issues/44157) - Fix pnpm install on Azure: [#​44179](https://togithub.com/vercel/next.js/issues/44179) - Enable ReactRefreshLogBox scss test: [#​44180](https://togithub.com/vercel/next.js/issues/44180) - Increase recommended git clone depth: [#​44181](https://togithub.com/vercel/next.js/issues/44181) - Document how chain works in BrowserInterface and chain to `browser.eval`: [#​44085](https://togithub.com/vercel/next.js/issues/44085) - Remove browser.refresh in app tests: [#​44186](https://togithub.com/vercel/next.js/issues/44186) - Move tests into their test folder: [#​44183](https://togithub.com/vercel/next.js/issues/44183) - Add test checking that repeated edits won't cause hydration issues: [#​44189](https://togithub.com/vercel/next.js/issues/44189) - Update labeler.json with current next.js team members: [#​44231](https://togithub.com/vercel/next.js/issues/44231) ##### Credits Huge thanks to [@​shuding](https://togithub.com/shuding), [@​hanneslund](https://togithub.com/hanneslund), [@​rishabhpoddar](https://togithub.com/rishabhpoddar), [@​JanKaifer](https://togithub.com/JanKaifer), [@​huozhi](https://togithub.com/huozhi), [@​timneutkens](https://togithub.com/timneutkens), [@​kwonoj](https://togithub.com/kwonoj), [@​IamManchanda](https://togithub.com/IamManchanda), [@​styfle](https://togithub.com/styfle), [@​nyedidikeke](https://togithub.com/nyedidikeke), [@​jaslong](https://togithub.com/jaslong), [@​jueungrace](https://togithub.com/jueungrace), [@​longzheng](https://togithub.com/longzheng), [@​akshitsinha](https://togithub.com/akshitsinha), [@​Brooooooklyn](https://togithub.com/Brooooooklyn), [@​gish](https://togithub.com/gish), and [@​sokra](https://togithub.com/sokra) for helping! ### [`v13.0.7`](https://togithub.com/vercel/next.js/releases/tag/v13.0.7) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.0.6...v13.0.7) ##### Core Changes - Update react next tag: [#​43617](https://togithub.com/vercel/next.js/issues/43617) - fix(jest): pattern when detecting packages to transpile in next/jest: [#​43546](https://togithub.com/vercel/next.js/issues/43546) - Adding head element checking for root layout: [#​43597](https://togithub.com/vercel/next.js/issues/43597) - Revert: 'Minimized runtime errors in app dir': [#​43648](https://togithub.com/vercel/next.js/issues/43648) - fix: properly handle `trailingSlash: true` and `rewrites`: [#​43641](https://togithub.com/vercel/next.js/issues/43641) - [@​next/font](https://togithub.com/next/font) fallback fonts order fix: [#​43633](https://togithub.com/vercel/next.js/issues/43633) - Update cache handling for app: [#​43659](https://togithub.com/vercel/next.js/issues/43659) - Remove resolved `app` directory todos: [#​43672](https://togithub.com/vercel/next.js/issues/43672) - Fix typo in comment: [#​43685](https://togithub.com/vercel/next.js/issues/43685) - perf: disable prefetching for links in viewport in development for app routes: [#​43730](https://togithub.com/vercel/next.js/issues/43730) - Remove additional `
` at each segment level in `app`: [#​43717](https://togithub.com/vercel/next.js/issues/43717) - Revert "Adding head element checking for root layout": [#​43760](https://togithub.com/vercel/next.js/issues/43760) - fix ci pnpm lock error: [#​43767](https://togithub.com/vercel/next.js/issues/43767) - Force reflow when setting scrollBehavior: [#​43673](https://togithub.com/vercel/next.js/issues/43673) - Remove `__webpack_exports__` from error overlay: [#​43715](https://togithub.com/vercel/next.js/issues/43715) - Fix chunk hash logic in hot-reloader for server components: [#​43778](https://togithub.com/vercel/next.js/issues/43778) - Assign layer to app client entries: [#​43197](https://togithub.com/vercel/next.js/issues/43197) - Remove notifications emitted during pnpm dev: [#​43801](https://togithub.com/vercel/next.js/issues/43801) - Display error digest if presented: [#​43742](https://togithub.com/vercel/next.js/issues/43742) - Fix HMR issue after patching the client module: [#​43819](https://togithub.com/vercel/next.js/issues/43819) - Implement loadable with lazy and suspense for next dynamic: [#​42589](https://togithub.com/vercel/next.js/issues/42589) - Do not attach CSS checksum for production build: [#​43827](https://togithub.com/vercel/next.js/issues/43827) - Provide error hints for invalid layout props via the TS plugin: [#​43835](https://togithub.com/vercel/next.js/issues/43835) - Refactor code: [#​43828](https://togithub.com/vercel/next.js/issues/43828) - Unhandled errors and rejections opens as minimized in app dir error overlay: [#​43844](https://togithub.com/vercel/next.js/issues/43844) - docs: add readme with development instructions for next/swc: [#​43834](https://togithub.com/vercel/next.js/issues/43834) - Use proxy to ensure Flight is referencing to the latest module during development: [#​43823](https://togithub.com/vercel/next.js/issues/43823) - memory: fix 2 memory leaks in `next-dev`: [#​43859](https://togithub.com/vercel/next.js/issues/43859) - Refactoring in [@​next/font](https://togithub.com/next/font): [#​43848](https://togithub.com/vercel/next.js/issues/43848) - build(cargo): bump up swc_core, turbopack: [#​43652](https://togithub.com/vercel/next.js/issues/43652) - Move prefetch bailout to start of the prefetch function for `pages`: [#​43731](https://togithub.com/vercel/next.js/issues/43731) - Alias next/head to noop for rsc and add upgration warning: [#​43885](https://togithub.com/vercel/next.js/issues/43885) - Update freebsd build: [#​43866](https://togithub.com/vercel/next.js/issues/43866) - Fix error message for invalid `runtime` option in app dir: [#​43900](https://togithub.com/vercel/next.js/issues/43900) - fix: forwarding props to no ssr dynamic: [#​43901](https://togithub.com/vercel/next.js/issues/43901) - Improve type checking error message for invalid props: [#​43903](https://togithub.com/vercel/next.js/issues/43903) - Improve type checking error message for invalid props: [#​43903](https://togithub.com/vercel/next.js/issues/43903) - Support for named slots in type checking: [#​43906](https://togithub.com/vercel/next.js/issues/43906) - Fix next/dynamic types for resolving named export module: [#​43923](https://togithub.com/vercel/next.js/issues/43923) - Add auto completion for prop names and types to the TS plugin: [#​43909](https://togithub.com/vercel/next.js/issues/43909) - Skip creating VSCode config and `.gitignore` if running in CI: [#​43935](https://togithub.com/vercel/next.js/issues/43935) - Add helpful error for createContext used in Server Components: [#​43747](https://togithub.com/vercel/next.js/issues/43747) - Increase stack trace limit on the server: [#​43800](https://togithub.com/vercel/next.js/issues/43800) - Refactor image optimization util: [#​43868](https://togithub.com/vercel/next.js/issues/43868) - useSearchParams - bailout to client rendering during static generation: [#​43603](https://togithub.com/vercel/next.js/issues/43603) - Open server component errors fullscreen: [#​43887](https://togithub.com/vercel/next.js/issues/43887) - next-dev: restart dev server exceeds the memory limits: [#​43958](https://togithub.com/vercel/next.js/issues/43958) - Fix: status log when NEXT_TELEMETRY_DISABLED env is set: [#​43948](https://togithub.com/vercel/next.js/issues/43948) - Erase dynamic ssr:false imports on server: [#​43974](https://togithub.com/vercel/next.js/issues/43974) - use a function expression to access arguments binding: [#​43987](https://togithub.com/vercel/next.js/issues/43987) - Added support for query params on not found pages: [#​43836](https://togithub.com/vercel/next.js/issues/43836) - Update `no-img-element` lint rule: [#​43982](https://togithub.com/vercel/next.js/issues/43982) - Fix: fix pages in Route Groups returning 500 with `output: "standalone"`: [#​43746](https://togithub.com/vercel/next.js/issues/43746) - Add default head for app dir: [#​43963](https://togithub.com/vercel/next.js/issues/43963) - Fix browser navigation buttons not working with shallow routing and middleware: [#​43919](https://togithub.com/vercel/next.js/issues/43919) - Fast refresh should recover from event handler errors in app dir: [#​43882](https://togithub.com/vercel/next.js/issues/43882) - Fix module error for findDOMNode on edge: [#​43998](https://togithub.com/vercel/next.js/issues/43998) - Adding data attr to inlined font definition: [#​44008](https://togithub.com/vercel/next.js/issues/44008) - Replace taskr.watch for core compilation: [#​44027](https://togithub.com/vercel/next.js/issues/44027) - Fix `.images.remotePatterns[0].port` warning: [#​44032](https://togithub.com/vercel/next.js/issues/44032) - Fix app client entry key for windows: [#​44011](https://togithub.com/vercel/next.js/issues/44011) - feat: enables 'edge' as a possible runtime for API routes: [#​44045](https://togithub.com/vercel/next.js/issues/44045) ##### Documentation Changes - docs: Add notes about NEXT_MANUAL_SIG_HANDLE: [#​43686](https://togithub.com/vercel/next.js/issues/43686) - Changes `vercel/examples` links from linking to GitHub repo to template marketplace: [#​43780](https://togithub.com/vercel/next.js/issues/43780) - docs(migrating): fix broken react-router link: [#​43843](https://togithub.com/vercel/next.js/issues/43843) - Update compiler.md: [#​43872](https://togithub.com/vercel/next.js/issues/43872) - Add docs for missing support on custom routes: [#​44007](https://togithub.com/vercel/next.js/issues/44007) - docs: fix wording: [#​44020](https://togithub.com/vercel/next.js/issues/44020) - not ie 11 is dead: [#​44029](https://togithub.com/vercel/next.js/issues/44029) ##### Example Changes - Add with-cloudinary example: [#​43250](https://togithub.com/vercel/next.js/issues/43250) - examples(with-turbopack): Fix styling page default active stylingNav: [#​42739](https://togithub.com/vercel/next.js/issues/42739) - Fixed broken Cloudinary example: [#​43646](https://togithub.com/vercel/next.js/issues/43646) - Convert `with-why-did-you-render` example to TypeScript: [#​43736](https://togithub.com/vercel/next.js/issues/43736) - chore(examples): Remove deprecated function from chakra: [#​43784](https://togithub.com/vercel/next.js/issues/43784) - chore(examples): Update convex example: [#​43741](https://togithub.com/vercel/next.js/issues/43741) - Update dependencies for Convex demo: [#​43855](https://togithub.com/vercel/next.js/issues/43855) - Convert `with-gsap`, `with-mqtt-js`, `with-mux-video` examples to Typescript: [#​43874](https://togithub.com/vercel/next.js/issues/43874) - Fix `with-webassembly` example and convert to Typescript: [#​43677](https://togithub.com/vercel/next.js/issues/43677) - corrected /examples/github-pages readme: [#​43766](https://togithub.com/vercel/next.js/issues/43766) - chore: add repro links in "verify canary" comment: [#​43979](https://togithub.com/vercel/next.js/issues/43979) - Move Google Analytics script to the : [#​43838](https://togithub.com/vercel/next.js/issues/43838) ##### Misc Changes - Apply publish step optimizations: [#​43620](https://togithub.com/vercel/next.js/issues/43620) - Update create-next-app template: [#​43482](https://togithub.com/vercel/next.js/issues/43482) - Update test config: [#​43661](https://togithub.com/vercel/next.js/issues/43661) - Update flakey app logbox test: [#​43682](https://togithub.com/vercel/next.js/issues/43682) - Update flakey GSSP preview test: [#​43702](https://togithub.com/vercel/next.js/issues/43702) - Fix typos in 1.bug_report.yml: [#​43697](https://togithub.com/vercel/next.js/issues/43697) - Disable jest autorun in this repo: [#​43727](https://togithub.com/vercel/next.js/issues/43727) - Build test binary in Docker image: [#​43745](https://togithub.com/vercel/next.js/issues/43745) - Update bug report template to make it clear we require repro: [#​43735](https://togithub.com/vercel/next.js/issues/43735) - Add tests for server component HMR: [#​43779](https://togithub.com/vercel/next.js/issues/43779) - Add tests for rendering null and undefined in RSC: [#​43768](https://togithub.com/vercel/next.js/issues/43768) - Remove `swcMinify` from Next config in CNA template: [#​43782](https://togithub.com/vercel/next.js/issues/43782) - Remove `serverComponents` from next.conf.js because it's unused: [#​43805](https://togithub.com/vercel/next.js/issues/43805) - Add test for providing correct params to layouts: [#​43775](https://togithub.com/vercel/next.js/issues/43775) - Fix test binary generation and update test config: [#​43790](https://togithub.com/vercel/next.js/issues/43790) - Lock pnpm version during publish: [#​43820](https://togithub.com/vercel/next.js/issues/43820) - ci(actions): pin prod-test action image: [#​43748](https://togithub.com/vercel/next.js/issues/43748) - Upgrade playwright to 1.28.1: [#​43818](https://togithub.com/vercel/next.js/issues/43818) - modify rd email: [#​43837](https://togithub.com/vercel/next.js/issues/43837) - Test imports of all file types: [#​43751](https://togithub.com/vercel/next.js/issues/43751) - test: client component under server component with ssr:false: [#​43853](https://togithub.com/vercel/next.js/issues/43853) - Delete duplicate SECURITY.md: [#​43856](https://togithub.com/vercel/next.js/issues/43856) - Clarify e2e dependency on yarn in contributin docs: [#​43287](https://togithub.com/vercel/next.js/issues/43287) - test: use react latest: [#​43884](https://togithub.com/vercel/next.js/issues/43884) - Update [@​next/font](https://togithub.com/next/font) data: [#​43883](https://togithub.com/vercel/next.js/issues/43883) - Update flakey dev context tests: [#​43951](https://togithub.com/vercel/next.js/issues/43951) - Add VSCode settings and recommended extensions for Next.js repository: [#​43954](https://togithub.com/vercel/next.js/issues/43954) - Add Web Tooling team to codeowners: [#​43981](https://togithub.com/vercel/next.js/issues/43981) - Update docs change files list: [#​43984](https://togithub.com/vercel/next.js/issues/43984) - Fix e2e deploy test setup: [#​43990](https://togithub.com/vercel/next.js/issues/43990) ##### Credits Huge thanks to [@​Nutlope](https://togithub.com/Nutlope), [@​huozhi](https://togithub.com/huozhi), [@​m7yue](https://togithub.com/m7yue), [@​BRKalow](https://togithub.com/BRKalow), [@​Andarist](https://togithub.com/Andarist), [@​hanneslund](https://togithub.com/hanneslund), [@​jueungrace](https://togithub.com/jueungrace), [@​balazsorban44](https://togithub.com/balazsorban44), [@​ijjk](https://togithub.com/ijjk), [@​mmaaaaz](https://togithub.com/mmaaaaz), [@​Alfred-Mountfield](https://togithub.com/Alfred-Mountfield), [@​soonoo](https://togithub.com/soonoo), [@​JanKaifer](https://togithub.com/JanKaifer), [@​feedthejim](https://togithub.com/feedthejim), [@​Brooooooklyn](https://togithub.com/Brooooooklyn), [@​shuding](https://togithub.com/shuding), [@​manovotny](https://togithub.com/manovotny), [@​maxproske](https://togithub.com/maxproske), [@​AnujSsStw](https://togithub.com/AnujSsStw), [@​thomasballinger](https://togithub.com/thomasballinger), [@​kwonoj](https://togithub.com/kwonoj), [@​aaronbrown-vercel](https://togithub.com/aaronbrown-vercel), [@​saseungmin](https://togithub.com/saseungmin), [@​styfle](https://togithub.com/styfle), [@​timneutkens](https://togithub.com/timneutkens), [@​aziyatali](https://togithub.com/aziyatali), [@​labyrinthitis](https://togithub.com/labyrinthitis), [@​padmaia](https://togithub.com/padmaia), [@​mattpr](https://togithub.com/mattpr), [@​gnoff](https://togithub.com/gnoff), [@​wyattjoh](https://togithub.com/wyattjoh), [@​aarnadlr](https://togithub.com/aarnadlr), [@​DuCanhGH](https://togithub.com/DuCanhGH), [@​kleintorres](https://togithub.com/kleintorres), [@​janicklas-ralph](https://togithub.com/janicklas-ralph), [@​theevilhead](https://togithub.com/theevilhead), [@​Nfinished](https://togithub.com/Nfinished), and [@​feugy](https://togithub.com/feugy) for helping! ### [`v13.0.6`](https://togithub.com/vercel/next.js/releases/tag/v13.0.6) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.0.5...v13.0.6) ##### Core Changes - test(integration): allow to run `--turbo` dev server tests dynamically : [#​42967](https://togithub.com/vercel/next.js/issues/42967) - Ensure loaderFile is included in webpack cache key: [#​43315](https://togithub.com/vercel/next.js/issues/43315) - Improve [@​next/font](https://togithub.com/next/font) error handling: [#​43298](https://togithub.com/vercel/next.js/issues/43298) - Improve RSC plugin to provide better errors: [#​42435](https://togithub.com/vercel/next.js/issues/42435) - fix appDir returning 404 in production with `"output": "standalone"`: [#​43268](https://togithub.com/vercel/next.js/issues/43268) - Fix outputting un-necessary trace files for edge functions: [#​43304](https://togithub.com/vercel/next.js/issues/43304) - fix: apply default export interop to pages/\_app: [#​43335](https://togithub.com/vercel/next.js/issues/43335) - Fix package resolution issue in app dir: [#​43349](https://togithub.com/vercel/next.js/issues/43349) - Get correct chunks in flight-manifest on Windows: [#​43334](https://togithub.com/vercel/next.js/issues/43334) - Resolve RSC / HTML rendering errors in error overlay: [#​43332](https://togithub.com/vercel/next.js/issues/43332) - App directory next/link dynamic href dev error: [#​43074](https://togithub.com/vercel/next.js/issues/43074) - Add `ref` forwarding for `next/image`: [#​43193](https://togithub.com/vercel/next.js/issues/43193) - Always transform styled-jsx for rsc and error with client-only condition: [#​43386](https://togithub.com/vercel/next.js/issues/43386) - dynamic = 'error' should only throw if page didn't get exported: [#​43377](https://togithub.com/vercel/next.js/issues/43377) - fix `output: "standalone"` returning 500 error on certain pages when built without pages/: [#​43336](https://togithub.com/vercel/next.js/issues/43336) - Fix "apply() is only allowed in ready status (state: idle)" HMR errors: [#​43242](https://togithub.com/vercel/next.js/issues/43242) - Add gSP and gSSP checks for both server and client layers in the SWC transform: [#​43391](https://togithub.com/vercel/next.js/issues/43391) - Make sure the TS plugin works for src/app: [#​43412](https://togithub.com/vercel/next.js/issues/43412) - Remove stack trace from full reload warning: [#​43453](https://togithub.com/vercel/next.js/issues/43453) - Upgrade compiled undici: [#​43481](https://togithub.com/vercel/next.js/issues/43481) - Fix missing cleanup process in flight plugin globals: [#​43297](https://togithub.com/vercel/next.js/issues/43297) - Fix matchers in middleware manifest: [#​43549](https://togithub.com/vercel/next.js/issues/43549) - rsc: bundle legacy head as client component: [#​43425](https://togithub.com/vercel/next.js/issues/43425) - Remove `useState` from `next/image`: [#​43587](https://togithub.com/vercel/next.js/issues/43587) - Group redirect status imports: [#​43480](https://togithub.com/vercel/next.js/issues/43480) - Fix `Failed to copy traced files` for Edge functions and handle its files with middleware-manifest.json: [#​43326](https://togithub.com/vercel/next.js/issues/43326) - Update next/link default legacyBehavior: [#​42623](https://togithub.com/vercel/next.js/issues/42623) - fix: Dynamic Usage Error when using previewData with generateStaticParams and appDir: [#​43395](https://togithub.com/vercel/next.js/issues/43395) - Minimized runtime errors in app dir: [#​43511](https://togithub.com/vercel/next.js/issues/43511) ##### Documentation Changes - Add link back to font video in Font docs.: [#​43440](https://togithub.com/vercel/next.js/issues/43440) - docs: update known Safari bug: [#​43513](https://togithub.com/vercel/next.js/issues/43513) - Add yarn berry dependency upgrade example for Next 12 to 13 upgrade documentation.: [#​43472](https://togithub.com/vercel/next.js/issues/43472) - Clarify that publicRuntimeConfig and serverRuntimeConfig do not work with Output File Tracing: [#​43443](https://togithub.com/vercel/next.js/issues/43443) - adding note that edge api routes are not supported with ISR: [#​43572](https://togithub.com/vercel/next.js/issues/43572) - Improve docs for URL Imports: [#​43615](https://togithub.com/vercel/next.js/issues/43615) ##### Example Changes - chore(examples): Deprecate `cms-strapi`: [#​43325](https://togithub.com/vercel/next.js/issues/43325) - Add example commands for creating reproductions: [#​43375](https://togithub.com/vercel/next.js/issues/43375) - updates with-supertokens example: [#​43379](https://togithub.com/vercel/next.js/issues/43379) - Fix `with-docker-compose` example: [#​43419](https://togithub.com/vercel/next.js/issues/43419) - chore(examples): fix CLI commands for MobX examples: [#​43534](https://togithub.com/vercel/next.js/issues/43534) - Simplify and convert `with-vercel-fetch` example to TypeScript: [#​43403](https://togithub.com/vercel/next.js/issues/43403) - chore(examples): reference `main` prop in README.md in Firebase example: [#​43434](https://togithub.com/vercel/next.js/issues/43434) - chore(examples): Update active-class-name example: [#​43581](https://togithub.com/vercel/next.js/issues/43581) - Fix deploy button in with-xata example: [#​43608](https://togithub.com/vercel/next.js/issues/43608) ##### Misc Changes - Avoid turbo cache miss on root package change: [#​43309](https://togithub.com/vercel/next.js/issues/43309) - Add .pnpm-store to .gitignore: [#​43366](https://togithub.com/vercel/next.js/issues/43366) - Update @​next/font/google fonts: [#​43385](https://togithub.com/vercel/next.js/issues/43385) - Catch errors when calculating avg font width: [#​43503](https://togithub.com/vercel/next.js/issues/43503) - chore: update issue verifier: [#​43339](https://togithub.com/vercel/next.js/issues/43339) - chore: fix issue validator - chore: move comments of issue validator - chore: hardcode path for issue validator - chore: add area dropdown to bug report template: [#​43228](https://togithub.com/vercel/next.js/issues/43228) - chore: fix issue verifier issues - Merge branch 'canary' of https://github.com/vercel/next.js into canary - chore: fix issue verifier - chore: don't comment twice - chore: disable auto-labeling - Fix "infer pnpm with example" test outside test suite: [#​43487](https://togithub.com/vercel/next.js/issues/43487) - chore: add issue labeler: [#​43599](https://togithub.com/vercel/next.js/issues/43599) - chore: fix issue labeler: [#​43606](https://togithub.com/vercel/next.js/issues/43606) - Changed output mode on app directory test application: [#​43607](https://togithub.com/vercel/next.js/issues/43607) - Fix output: standalone test for app directory: [#​43618](https://togithub.com/vercel/next.js/issues/43618) ##### Credits Huge thanks to [@​kwonoj](https://togithub.com/kwonoj), [@​hanneslund](https://togithub.com/hanneslund), [@​ijjk](https://togithub.com/ijjk), [@​shuding](https://togithub.com/shuding), [@​DuCanhGH](https://togithub.com/DuCanhGH), [@​chibicode](https://togithub.com/chibicode), [@​artechventure](https://togithub.com/artechventure), [@​JanKaifer](https://togithub.com/JanKaifer), [@​huozhi](https://togithub.com/huozhi), [@​colinking](https://togithub.com/colinking), [@​rishabhpoddar](https://togithub.com/rishabhpoddar), [@​maxproske](https://togithub.com/maxproske), [@​wyattjoh](https://togithub.com/wyattjoh), [@​leerob](https://togithub.com/leerob), [@​alantoa](https://togithub.com/alantoa), [@​Haschikeks](https://togithub.com/Haschikeks), [@​balazsorban44](https://togithub.com/balazsorban44), [@​matthew-heath](https://togithub.com/matthew-heath), [@​AaronJY](https://togithub.com/AaronJY), [@​dtinth](https://togithub.com/dtinth), [@​styfle](https://togithub.com/styfle), [@​leoortizz](https://togithub.com/leoortizz), [@​ValentinH](https://togithub.com/ValentinH), [@​brvnonascimento](https://togithub.com/brvnonascimento), [@​joshuaslate](https://togithub.com/joshuaslate), [@​SferaDev](https://togithub.com/SferaDev), and [@​timeyoutakeit](https://togithub.com/timeyoutakeit) for helping! ### [`v13.0.5`](https://togithub.com/vercel/next.js/releases/tag/v13.0.5) [Compare Source](https://togithub.com/vercel/next.js/compare/v13.0.4...v13.0.5) ##### Core Changes - Remove unnecessary async function when preloading async components: [#​42957](https://togithub.com/vercel/next.js/issues/42957) - Add force-static handling for app dir: [#​43061](https://togithub.com/vercel/next.js/issues/43061) - Add experimental outputFileTracingIgnores config: [#​43103](https://togithub.com/vercel/next.js/issues/43103) - Leverage outputFileTracingIgnores for next-server trace as well: [#​43108](https://togithub.com/vercel/next.js/issues/43108) - Remove `unstable_revalidate`: [#​43119](https://togithub.com/vercel/next.js/issues/43119) - types: better type definition for internal utils: [#​43070](https://togithub.com/vercel/next.js/issues/43070) - Eagerly build swc binaries on change: [#​43142](https://togithub.com/vercel/next.js/issues/43142) - chore: Update swc_core to `v0.43.23`: [#​42977](https://togithub.com/vercel/next.js/issues/42977) - fix(next-swc/relay): make pages directory optional: [#​43116](https://togithub.com/vercel/next.js/issues/43116) - Remove the timestamp query for CSS resources: [#​43185](https://togithub.com/vercel/next.js/issues/43185) - Update experimental skipTrailingSlashRedirect handling: [#​43201](https://togithub.com/vercel/next.js/issues/43201) - Avoid bundling appDir rendering into pages edge SSR bundle: [#​43184](https://togithub.com/vercel/next.js/issues/43184) - Alias esm next document to avoid mismatch react context: [#​43192](https://togithub.com/vercel/next.js/issues/43192) - Fix middleware not executed when pages directory is empty: [#​43205](https://togithub.com/vercel/next.js/issues/43205) - Remove app routes from \_devPagesManifest: [#​43188](https://togithub.com/vercel/next.js/issues/43188) - Fix HMR error: "Cannot read properties of null (reading 'length')": [#​43145](https://togithub.com/vercel/next.js/issues/43145) - fix(ts): re-export `PageComponent` and `LayoutComponent` types: [#​43226](https://togithub.com/vercel/next.js/issues/43226) - Fix app routes are not correctly matched when src directory is used: [#​43234](https://togithub.com/vercel/next.js/issues/43234) - chore: add `firebase-admin` to default `serverComponentsExternalPackages` list: [#​43249](https://togithub.com/vercel/next.js/issues/43249) - Fix React.cache() in layout/page file: [#​43187](https://togithub.com/vercel/next.js/issues/43187) - build(cargo): bump up turbopack: [#​43273](https://togithub.com/vercel/next.js/issues/43273) - fix(next-swc): aarch64 build: [#​43275](https://togithub.com/vercel/next.js/issues/43275) - Add fallback aliases for React: [#​43203](https://togithub.com/vercel/next.js/issues/43203) - fix: apply default export interop to `next/error`: [#​43238](https://togithub.com/vercel/next.js/issues/43238) - Remove unused `use-sync-external-store` dependency: [#​43281](https://togithub.com/vercel/next.js/issues/43281) - Imageloader: collect images serverside to include images from staticp…: [#​41554](https://togithub.com/vercel/next.js/issues/41554) - Update precompiled react: [#​43288](https://togithub.com/vercel/next.js/issues/43288) - Resolve next api for layouts to esm for edge runtime: [#​43302](https://togithub.com/vercel/next.js/issues/43302) - Refactor code: [#​43291](https://togithub.com/vercel/next.js/issues/43291) - Show error for invalid page props in the TS plugin: [#​43300](https://togithub.com/vercel/next.js/issues/43300) - docs: add error link when missing `appDir: true`: [#​43293](https://togithub.com/vercel/next.js/issues/43293) ##### Documentation Changes - Add note in next/link docs about anchor props: [#​43064](https://togithub.com/vercel/next.js/issues/43064) - Remove unneeded `async` in docs.: [#​43161](https://togithub.com/vercel/next.js/issues/43161) - Add JWT example to error page.: [#​43162](https://togithub.com/vercel/next.js/issues/43162) - Updated typo in the documentation: [#​43160](https://togithub.com/vercel/next.js/issues/43160) - Add missing quote in `next/script` example: [#​43196](https://togithub.com/vercel/next.js/issues/43196) - Add a note about the auto-created empty directory: [#​43219](https://togithub.com/vercel/next.js/issues/43219) - docs: Add default browserslist configuration as a starting point: [#​43260](https://togithub.com/vercel/next.js/issues/43260) ##### Example Changes - chore: Updating Tigris example to use stable release: [#​43058](https://togithub.com/vercel/next.js/issues/43058) - examples(with-ant-design): bump antd v5.0.0: [#​43062](https://togithub.com/vercel/next.js/issues/43062) - fix: Wrong link to source in "responsive" image example: [#​43081](https://togithub.com/vercel/next.js/issues/43081) - chore(examples): with-msw update msw: [#​43224](https://togithub.com/vercel/next.js/issues/43224) - Fix With Passport example: [#​43232](https://togithub.com/vercel/next.js/issues/43232) - chore(examples): update Next.js in `with-redux-reducer`: [#​43237](https://togithub.com/vercel/next.js/issues/43237) - Updates supertokens exam

Configuration

📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.



This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 2 years ago

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: package-lock.json
npm notice 
npm notice New major version of npm available! 8.19.3 -> 9.3.0
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.3.0>
npm notice Run `npm install -g npm@9.3.0` to update!
npm notice 
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: sourcegraph-learn@0.1.0
npm ERR! Found: react@17.0.2
npm ERR! node_modules/react
npm ERR!   react@"17.0.2" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^18.2.0" from next@13.1.2
npm ERR! node_modules/next
npm ERR!   next@"^13.1.2" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate-cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate-cache/others/npm/_logs/2023-01-13T01_09_18_416Z-debug-0.log