vercel/next.js
### [`v12.1.6`](https://togithub.com/vercel/next.js/releases/v12.1.6)
[Compare Source](https://togithub.com/vercel/next.js/compare/v12.1.5...v12.1.6)
##### Core Changes
- rsc: remove router injection: [#36101](https://togithub.com/vercel/next.js/issues/36101)
- Fix `export from` and native modules in server component: [#36072](https://togithub.com/vercel/next.js/issues/36072)
- feat(next-swc): Update css parser: [#36114](https://togithub.com/vercel/next.js/issues/36114)
- fix: do not add locale prefix to api route on NextURL: [#36118](https://togithub.com/vercel/next.js/issues/36118)
- Add experimental onlyGenereated flag for unstable_revalidate: [#36108](https://togithub.com/vercel/next.js/issues/36108)
- Support necessary headers in the web server response: [#36122](https://togithub.com/vercel/next.js/issues/36122)
- Fix only generated case in minimal mode: [#36130](https://togithub.com/vercel/next.js/issues/36130)
- Fix req.url of rsc dynamic routes pages gSSP in edge runtime: [#36134](https://togithub.com/vercel/next.js/issues/36134)
- Reogranize the client component detection utils: [#36135](https://togithub.com/vercel/next.js/issues/36135)
- Add support for catch-all route params in NextRequest page type declaration: [#36137](https://togithub.com/vercel/next.js/issues/36137)
- rsc: mark next head as client component: [#36138](https://togithub.com/vercel/next.js/issues/36138)
- rsc: keep static page props: [#36157](https://togithub.com/vercel/next.js/issues/36157)
- Update to target es5 for use-subscription: [#36159](https://togithub.com/vercel/next.js/issues/36159)
- Fix text decoding for chunk: [#36165](https://togithub.com/vercel/next.js/issues/36165)
- Fix symlink and copy logic to `standalone` directory when using `outputStandalone`: [#35535](https://togithub.com/vercel/next.js/issues/35535)
- Adds linting rule to avoid assignment to 'module' variable: [#35279](https://togithub.com/vercel/next.js/issues/35279)
- Fix res.json support for string / null: [#36186](https://togithub.com/vercel/next.js/issues/36186)
- Update swc: [#36187](https://togithub.com/vercel/next.js/issues/36187)
- Fix `next/image` usage in most cases of `onLoad()`: [#36176](https://togithub.com/vercel/next.js/issues/36176)
- \[eslint-config-next] Update [@typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) to v5.19.0: [#36156](https://togithub.com/vercel/next.js/issues/36156)
- Add support for tsconfig moduleResolution `node | node12 | nodenext`: [#36189](https://togithub.com/vercel/next.js/issues/36189)
- Fix missing \_app component of AppTree in gIP context: [#36206](https://togithub.com/vercel/next.js/issues/36206)
- refactor(build): no force transpile optional chaining: [#35976](https://togithub.com/vercel/next.js/issues/35976)
- NextResponse.json: pass options to Response: [#35367](https://togithub.com/vercel/next.js/issues/35367)
- Improve NextApiHandler type for early returns: [#35166](https://togithub.com/vercel/next.js/issues/35166)
- Fix build activity indicator position: [#36208](https://togithub.com/vercel/next.js/issues/36208)
- 404 page - Responsive color scheme: [#32113](https://togithub.com/vercel/next.js/issues/32113)
- perf(escapeStringRegexp): test before replace: [#34472](https://togithub.com/vercel/next.js/issues/34472)
- rsc: skip next builtin module when apply loaders: [#36202](https://togithub.com/vercel/next.js/issues/36202)
- Use finally to clean up seen requests: [#36222](https://togithub.com/vercel/next.js/issues/36222)
- fix(next-swc/ssg): less aggressive exports drop: [#36199](https://togithub.com/vercel/next.js/issues/36199)
- fix type definition for defaultGetInitialProps: [#36252](https://togithub.com/vercel/next.js/issues/36252)
- Use renderToStaticMarkup to render documentHTML: [#36213](https://togithub.com/vercel/next.js/issues/36213)
- Fix flight loader: [#36282](https://togithub.com/vercel/next.js/issues/36282)
- Add telemetry for image config formats (avif/webp): [#36289](https://togithub.com/vercel/next.js/issues/36289)
- Ensure error is cleared for missing global css: [#36292](https://togithub.com/vercel/next.js/issues/36292)
- next/jest: Allow moduleNameMapper to match before Next.js internal mappings: [#36312](https://togithub.com/vercel/next.js/issues/36312)
- Add client HMR tracing for debugging: [#36328](https://togithub.com/vercel/next.js/issues/36328)
- feat:Add support for useDefineForClassFields typescript option: [#36335](https://togithub.com/vercel/next.js/issues/36335)
- Use fallbackable path module for node and edge runtime: [#36306](https://togithub.com/vercel/next.js/issues/36306)
- Update swc: [#36269](https://togithub.com/vercel/next.js/issues/36269)
- fix(next): use moduleGraph.getIssuer to avoid deprecation warning ([#36329](https://togithub.com/vercel/next.js/issues/36329)): [#36330](https://togithub.com/vercel/next.js/issues/36330)
- Ensure beforeFiles client-side resolving handles dynamic routes: [#36317](https://togithub.com/vercel/next.js/issues/36317)
- Ensure there is only 1 render pass in concurrent rendering with getInitialProps in `_document`: [#36352](https://togithub.com/vercel/next.js/issues/36352)
- Changes to the beforeInteractive strategy to make it work for streaming: [#31936](https://togithub.com/vercel/next.js/issues/31936)
- Update swc: [#36351](https://togithub.com/vercel/next.js/issues/36351)
- Fix failing E2E deployment test cases: [#36368](https://togithub.com/vercel/next.js/issues/36368)
- chore: upgrade PostCSS dependencies: [#34354](https://togithub.com/vercel/next.js/issues/34354)
- Fix `next/image` usage of `onError()`: [#36305](https://togithub.com/vercel/next.js/issues/36305)
- Simplify the App and Component handling in render: [#36395](https://togithub.com/vercel/next.js/issues/36395)
- Do not polyfill node built-in modules on edge functions: [#36190](https://togithub.com/vercel/next.js/issues/36190)
- Fix to remove webpack message per error: [#36452](https://togithub.com/vercel/next.js/issues/36452)
- Rework behavior (backwards compatible): [#36436](https://togithub.com/vercel/next.js/issues/36436)
- Fix missing interpolation on next/head exports: [#36435](https://togithub.com/vercel/next.js/issues/36435)
- Add stitches and material-ui tests for new link behavior + fix TypeScript types when imported: [#36474](https://togithub.com/vercel/next.js/issues/36474)
- chore: remove git.io: [#36479](https://togithub.com/vercel/next.js/issues/36479)
- fix([#36435](https://togithub.com/vercel/next.js/issues/36435)): apply correct fix: [#36464](https://togithub.com/vercel/next.js/issues/36464)
- Add process env NEXT_RUNTIME: [#36383](https://togithub.com/vercel/next.js/issues/36383)
- Fix incorrect asPath with fallback rewrite in minimal mode: [#36463](https://togithub.com/vercel/next.js/issues/36463)
- Update manual revalidate response cache handling: [#36462](https://togithub.com/vercel/next.js/issues/36462)
- Pass nextRuntime in webpack context: [#36488](https://togithub.com/vercel/next.js/issues/36488)
- Support swc parse api in WASM: [#36482](https://togithub.com/vercel/next.js/issues/36482)
- Use edge compiler for middleware: [#36486](https://togithub.com/vercel/next.js/issues/36486)
- Update swc: [#36477](https://togithub.com/vercel/next.js/issues/36477)
- Remove passhref Eslint rule as it's no longer needed with new link behavior: [#36511](https://togithub.com/vercel/next.js/issues/36511)
- Add string children case for newNextLinkBehavior codemod: [#36516](https://togithub.com/vercel/next.js/issues/36516)
- Add with-edgedb example: [#35929](https://togithub.com/vercel/next.js/issues/35929)
- polish isomorphic path module: [#36521](https://togithub.com/vercel/next.js/issues/36521)
- Ensure optional params are normalized correctly in minimal mode: [#36513](https://togithub.com/vercel/next.js/issues/36513)
- Always add height and width prop to image with layout="raw": [#36523](https://togithub.com/vercel/next.js/issues/36523)
- Align behavior of SWC transform & transformSync: [#36500](https://togithub.com/vercel/next.js/issues/36500)
- Add event for swc load failure and attempt patching lockfile: [#36527](https://togithub.com/vercel/next.js/issues/36527)
- next-swc/wasm: Make span start at 0: [#36532](https://togithub.com/vercel/next.js/issues/36532)
- Add support for passing ref to next/link with new behavior enabled: [#36537](https://togithub.com/vercel/next.js/issues/36537)
- Update swc: [#36535](https://togithub.com/vercel/next.js/issues/36535)
- Refactor base server to get rid of the \__server_context hack: [#36550](https://togithub.com/vercel/next.js/issues/36550)
- Tweak lockfile patching to be eager: [#36549](https://togithub.com/vercel/next.js/issues/36549)
- unlock eslint-config-next dependencies: [#35781](https://togithub.com/vercel/next.js/issues/35781)
- Hoist the desired ReactDOM import expression: [#36552](https://togithub.com/vercel/next.js/issues/36552)
- bump styled-jsx to latest: [#36554](https://togithub.com/vercel/next.js/issues/36554)
- chore: clarify CLI network errors: [#36567](https://togithub.com/vercel/next.js/issues/36567)
- Ensure older lockfile/invalid formats are handled: [#36577](https://togithub.com/vercel/next.js/issues/36577)
- Adds inline script functionality to `next/script` for `worker` and `beforeInteractive` strategies: [#36364](https://togithub.com/vercel/next.js/issues/36364)
- Fix missing `Content-Length` header from Image Optimization API: [#36581](https://togithub.com/vercel/next.js/issues/36581)
- Refactor Page Paths utils and Middleware Plugin: [#36576](https://togithub.com/vercel/next.js/issues/36576)
- Reexports styled-jsx JSXStyle in nextjs: [#36585](https://togithub.com/vercel/next.js/issues/36585)
- Update status code for normalize error: [#36580](https://togithub.com/vercel/next.js/issues/36580)
- Add pagesDir to Jest transformer: [#36599](https://togithub.com/vercel/next.js/issues/36599)
- Add tests for routing experiment: [#36618](https://togithub.com/vercel/next.js/issues/36618)
- Update findPagesDir: [#36619](https://togithub.com/vercel/next.js/issues/36619)
- Fix swc jest pagesDir config: [#36623](https://togithub.com/vercel/next.js/issues/36623)
- Fix next node buildin module error message for edge runtime: [#36434](https://togithub.com/vercel/next.js/issues/36434)
- Handle styled-jsx in newLinkBehavior codemod: [#36628](https://togithub.com/vercel/next.js/issues/36628)
##### Documentation Changes
- Add instructions to create pages directory and add an index.js file to it: [#35971](https://togithub.com/vercel/next.js/issues/35971)
- docs: specify minimum required `react` version: [#36091](https://togithub.com/vercel/next.js/issues/36091)
- Loosen the "public" condition on getSSP: [#36018](https://togithub.com/vercel/next.js/issues/36018)
- fixed typo, that should say 'in' not 'from': [#36046](https://togithub.com/vercel/next.js/issues/36046)
- Docs: workarounds for router not resetting state (fixes [#35138](https://togithub.com/vercel/next.js/issues/35138)): [#35651](https://togithub.com/vercel/next.js/issues/35651)
- Add onLoad gotcha note to basic-features doc: [#36261](https://togithub.com/vercel/next.js/issues/36261)
- Fix introduction.md for `next.config.js`: [#36286](https://togithub.com/vercel/next.js/issues/36286)
- Clarifies that path params exist on query object: [#36321](https://togithub.com/vercel/next.js/issues/36321)
- Fix broken data fetching links in docs: [#33766](https://togithub.com/vercel/next.js/issues/33766)
- Change getStaticProps to getStaticPaths in getStaticPaths docs: [#36403](https://togithub.com/vercel/next.js/issues/36403)
- Revert "Change getStaticProps to getStaticPaths in getStaticPaths docs": [#36425](https://togithub.com/vercel/next.js/issues/36425)
- Update usage paragraph of next/script `onLoad`: [#36453](https://togithub.com/vercel/next.js/issues/36453)
- Add note about lockfile causing swc to fail to load: [#36484](https://togithub.com/vercel/next.js/issues/36484)
- Add docs on self-hosted ISR persisting across pods.: [#36520](https://togithub.com/vercel/next.js/issues/36520)
- Adds `` to example optimized font output: [#36529](https://togithub.com/vercel/next.js/issues/36529)
- Add note about running next without a sub-command: [#36560](https://togithub.com/vercel/next.js/issues/36560)
- Add docs about SSR caching (yes, you can do this with Next.js): [#36588](https://togithub.com/vercel/next.js/issues/36588)
##### Example Changes
- Fixes scripts in Electron examples.: [#36133](https://togithub.com/vercel/next.js/issues/36133)
- docs(examples/with-emotion-swc): update readme: [#36197](https://togithub.com/vercel/next.js/issues/36197)
- docs: add yoga to examples: [#36253](https://togithub.com/vercel/next.js/issues/36253)
- Adds `removeListener` handler to `with-electron-typescript` example.: [#36323](https://togithub.com/vercel/next.js/issues/36323)
- Removed unnecessary React Fragment: [#36331](https://togithub.com/vercel/next.js/issues/36331)
- updated with-rebass dependencies: [#36416](https://togithub.com/vercel/next.js/issues/36416)
- Add pnpm-debug: [#36394](https://togithub.com/vercel/next.js/issues/36394)
- added with-react-foundation example: [#36375](https://togithub.com/vercel/next.js/issues/36375)
- Grammar Changed features and API to features and it's API: [#36396](https://togithub.com/vercel/next.js/issues/36396)
- Adding Typescript and Mantine example: [#36294](https://togithub.com/vercel/next.js/issues/36294)
- \[examples] Update styled-components with Babel - add types: [#36125](https://togithub.com/vercel/next.js/issues/36125)
- Fix failing yarn PnP test from missing dependency: [#36515](https://togithub.com/vercel/next.js/issues/36515)
- docs(examples): Updated Chakra UI examples: [#36333](https://togithub.com/vercel/next.js/issues/36333)
- Fix typo: [#36592](https://togithub.com/vercel/next.js/issues/36592)
- add Script key for cache: [#36627](https://togithub.com/vercel/next.js/issues/36627)
##### Misc Changes
- Update CODEOWNERS: [#36164](https://togithub.com/vercel/next.js/issues/36164)
- Stabilize flakey prerender test: [#36193](https://togithub.com/vercel/next.js/issues/36193)
- Stabilize flakey build-output test: [#36195](https://togithub.com/vercel/next.js/issues/36195)
- Validate streaming writer chunk type in testing: [#36200](https://togithub.com/vercel/next.js/issues/36200)
- Update CI cache key to allow re-running only failed: [#36249](https://togithub.com/vercel/next.js/issues/36249)
- feat(trace): next/trace to event format converter: [#36281](https://togithub.com/vercel/next.js/issues/36281)
- Add handling for testing against deployments: [#36285](https://togithub.com/vercel/next.js/issues/36285)
- Make setup-wasm script work for local dev: [#36355](https://togithub.com/vercel/next.js/issues/36355)
- chore(create-next-app): fix pnpm create step: [#36398](https://togithub.com/vercel/next.js/issues/36398)
- Update font-optimization test snapshot: [#36492](https://togithub.com/vercel/next.js/issues/36492)
- docs: clarify triaging: [#36507](https://togithub.com/vercel/next.js/issues/36507)
- Remove extra yarn PnP example test: [#36518](https://togithub.com/vercel/next.js/issues/36518)
- Update rewrite destination for flakey rewrite tests: [#36519](https://togithub.com/vercel/next.js/issues/36519)
- Normalize font optimization snapshot to reduce flakes: [#36531](https://togithub.com/vercel/next.js/issues/36531)
- Bump react dev dep to 18.1: [#36491](https://togithub.com/vercel/next.js/issues/36491)
##### Credits
Huge thanks to [@huozhi](https://togithub.com/huozhi), [@shuding](https://togithub.com/shuding), [@kdy1](https://togithub.com/kdy1), [@nkzawa](https://togithub.com/nkzawa), [@prichey](https://togithub.com/prichey), [@manovotny](https://togithub.com/manovotny), [@balazsorban44](https://togithub.com/balazsorban44), [@remorses](https://togithub.com/remorses), [@amandeepmittal](https://togithub.com/amandeepmittal), [@mward-sudo](https://togithub.com/mward-sudo), [@eric-burel](https://togithub.com/eric-burel), [@timneutkens](https://togithub.com/timneutkens), [@styfle](https://togithub.com/styfle), [@ytkg](https://togithub.com/ytkg), [@CuriosBasant](https://togithub.com/CuriosBasant), [@bart-krakowski](https://togithub.com/bart-krakowski), [@SukkaW](https://togithub.com/SukkaW), [@jameshfisher](https://togithub.com/jameshfisher), [@Kikobeats](https://togithub.com/Kikobeats), [@bjorm](https://togithub.com/bjorm), [@alex-page](https://togithub.com/alex-page), [@fmmoret](https://togithub.com/fmmoret), [@ijjk](https://togithub.com/ijjk), [@davidbarker](https://togithub.com/davidbarker), [@kwonoj](https://togithub.com/kwonoj), [@seanparmelee](https://togithub.com/seanparmelee), [@ddgrishkin](https://togithub.com/ddgrishkin), [@mmartinsoliv](https://togithub.com/mmartinsoliv), [@byjoshuadavis](https://togithub.com/byjoshuadavis), [@sakib412](https://togithub.com/sakib412), [@Chastrlove](https://togithub.com/Chastrlove), [@padmaia](https://togithub.com/padmaia), [@janicklas-ralph](https://togithub.com/janicklas-ralph), [@MaedahBatool](https://togithub.com/MaedahBatool), [@shinkj11](https://togithub.com/shinkj11), [@youngvform](https://togithub.com/youngvform), [@zaida04](https://togithub.com/zaida04), [@therealmarzouq](https://togithub.com/therealmarzouq), [@codedbyjordan](https://togithub.com/codedbyjordan), [@deadlynjdj](https://togithub.com/deadlynjdj), [@lfades](https://togithub.com/lfades), [@Brooooooklyn](https://togithub.com/Brooooooklyn), [@renbaoshuo](https://togithub.com/renbaoshuo), [@javivelasco](https://togithub.com/javivelasco), [@triyanox](https://togithub.com/triyanox), [@rafae2k](https://togithub.com/rafae2k), [@colinhacks](https://togithub.com/colinhacks), [@atcastle](https://togithub.com/atcastle), [@leerob](https://togithub.com/leerob), [@sa3dany](https://togithub.com/sa3dany), [@nikolovlazar](https://togithub.com/nikolovlazar), [@refactorized](https://togithub.com/refactorized), [@housseindjirdeh](https://togithub.com/housseindjirdeh), [@ro11ingbutler](https://togithub.com/ro11ingbutler), and [@gusrb3164](https://togithub.com/gusrb3164) for helping!
Configuration
π Schedule: "every weekend" in timezone Asia/Jerusalem.
π¦ Automerge: Enabled.
β» 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.
[ ] If you want to rebase/retry this PR, click this checkbox.
This PR contains the following updates:
12.1.5
->12.1.6
12.1.5
->12.1.6
Release Notes
vercel/next.js
### [`v12.1.6`](https://togithub.com/vercel/next.js/releases/v12.1.6) [Compare Source](https://togithub.com/vercel/next.js/compare/v12.1.5...v12.1.6) ##### Core Changes - rsc: remove router injection: [#36101](https://togithub.com/vercel/next.js/issues/36101) - Fix `export from` and native modules in server component: [#36072](https://togithub.com/vercel/next.js/issues/36072) - feat(next-swc): Update css parser: [#36114](https://togithub.com/vercel/next.js/issues/36114) - fix: do not add locale prefix to api route on NextURL: [#36118](https://togithub.com/vercel/next.js/issues/36118) - Add experimental onlyGenereated flag for unstable_revalidate: [#36108](https://togithub.com/vercel/next.js/issues/36108) - Support necessary headers in the web server response: [#36122](https://togithub.com/vercel/next.js/issues/36122) - Fix only generated case in minimal mode: [#36130](https://togithub.com/vercel/next.js/issues/36130) - Fix req.url of rsc dynamic routes pages gSSP in edge runtime: [#36134](https://togithub.com/vercel/next.js/issues/36134) - Reogranize the client component detection utils: [#36135](https://togithub.com/vercel/next.js/issues/36135) - Add support for catch-all route params in NextRequest page type declaration: [#36137](https://togithub.com/vercel/next.js/issues/36137) - rsc: mark next head as client component: [#36138](https://togithub.com/vercel/next.js/issues/36138) - rsc: keep static page props: [#36157](https://togithub.com/vercel/next.js/issues/36157) - Update to target es5 for use-subscription: [#36159](https://togithub.com/vercel/next.js/issues/36159) - Fix text decoding for chunk: [#36165](https://togithub.com/vercel/next.js/issues/36165) - Fix symlink and copy logic to `standalone` directory when using `outputStandalone`: [#35535](https://togithub.com/vercel/next.js/issues/35535) - Adds linting rule to avoid assignment to 'module' variable: [#35279](https://togithub.com/vercel/next.js/issues/35279) - Fix res.json support for string / null: [#36186](https://togithub.com/vercel/next.js/issues/36186) - Update swc: [#36187](https://togithub.com/vercel/next.js/issues/36187) - Fix `next/image` usage in most cases of `onLoad()`: [#36176](https://togithub.com/vercel/next.js/issues/36176) - \[eslint-config-next] Update [@typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) to v5.19.0: [#36156](https://togithub.com/vercel/next.js/issues/36156) - Add support for tsconfig moduleResolution `node | node12 | nodenext`: [#36189](https://togithub.com/vercel/next.js/issues/36189) - Fix missing \_app component of AppTree in gIP context: [#36206](https://togithub.com/vercel/next.js/issues/36206) - refactor(build): no force transpile optional chaining: [#35976](https://togithub.com/vercel/next.js/issues/35976) - NextResponse.json: pass options to Response: [#35367](https://togithub.com/vercel/next.js/issues/35367) - Improve NextApiHandler type for early returns: [#35166](https://togithub.com/vercel/next.js/issues/35166) - Fix build activity indicator position: [#36208](https://togithub.com/vercel/next.js/issues/36208) - 404 page - Responsive color scheme: [#32113](https://togithub.com/vercel/next.js/issues/32113) - perf(escapeStringRegexp): test before replace: [#34472](https://togithub.com/vercel/next.js/issues/34472) - rsc: skip next builtin module when apply loaders: [#36202](https://togithub.com/vercel/next.js/issues/36202) - Use finally to clean up seen requests: [#36222](https://togithub.com/vercel/next.js/issues/36222) - fix(next-swc/ssg): less aggressive exports drop: [#36199](https://togithub.com/vercel/next.js/issues/36199) - fix type definition for defaultGetInitialProps: [#36252](https://togithub.com/vercel/next.js/issues/36252) - Use renderToStaticMarkup to render documentHTML: [#36213](https://togithub.com/vercel/next.js/issues/36213) - Fix flight loader: [#36282](https://togithub.com/vercel/next.js/issues/36282) - Add telemetry for image config formats (avif/webp): [#36289](https://togithub.com/vercel/next.js/issues/36289) - Ensure error is cleared for missing global css: [#36292](https://togithub.com/vercel/next.js/issues/36292) - next/jest: Allow moduleNameMapper to match before Next.js internal mappings: [#36312](https://togithub.com/vercel/next.js/issues/36312) - Add client HMR tracing for debugging: [#36328](https://togithub.com/vercel/next.js/issues/36328) - feat:Add support for useDefineForClassFields typescript option: [#36335](https://togithub.com/vercel/next.js/issues/36335) - Use fallbackable path module for node and edge runtime: [#36306](https://togithub.com/vercel/next.js/issues/36306) - Update swc: [#36269](https://togithub.com/vercel/next.js/issues/36269) - fix(next): use moduleGraph.getIssuer to avoid deprecation warning ([#36329](https://togithub.com/vercel/next.js/issues/36329)): [#36330](https://togithub.com/vercel/next.js/issues/36330) - Ensure beforeFiles client-side resolving handles dynamic routes: [#36317](https://togithub.com/vercel/next.js/issues/36317) - Ensure there is only 1 render pass in concurrent rendering with getInitialProps in `_document`: [#36352](https://togithub.com/vercel/next.js/issues/36352) - Changes to the beforeInteractive strategy to make it work for streaming: [#31936](https://togithub.com/vercel/next.js/issues/31936) - Update swc: [#36351](https://togithub.com/vercel/next.js/issues/36351) - Fix failing E2E deployment test cases: [#36368](https://togithub.com/vercel/next.js/issues/36368) - chore: upgrade PostCSS dependencies: [#34354](https://togithub.com/vercel/next.js/issues/34354) - Fix `next/image` usage of `onError()`: [#36305](https://togithub.com/vercel/next.js/issues/36305) - Simplify the App and Component handling in render: [#36395](https://togithub.com/vercel/next.js/issues/36395) - Do not polyfill node built-in modules on edge functions: [#36190](https://togithub.com/vercel/next.js/issues/36190) - Fix to remove webpack message per error: [#36452](https://togithub.com/vercel/next.js/issues/36452) - Rework behavior (backwards compatible): [#36436](https://togithub.com/vercel/next.js/issues/36436) - Fix missing interpolation on next/head exports: [#36435](https://togithub.com/vercel/next.js/issues/36435) - Add stitches and material-ui tests for new link behavior + fix TypeScript types when imported: [#36474](https://togithub.com/vercel/next.js/issues/36474) - chore: remove git.io: [#36479](https://togithub.com/vercel/next.js/issues/36479) - fix([#36435](https://togithub.com/vercel/next.js/issues/36435)): apply correct fix: [#36464](https://togithub.com/vercel/next.js/issues/36464) - Add process env NEXT_RUNTIME: [#36383](https://togithub.com/vercel/next.js/issues/36383) - Fix incorrect asPath with fallback rewrite in minimal mode: [#36463](https://togithub.com/vercel/next.js/issues/36463) - Update manual revalidate response cache handling: [#36462](https://togithub.com/vercel/next.js/issues/36462) - Pass nextRuntime in webpack context: [#36488](https://togithub.com/vercel/next.js/issues/36488) - Support swc parse api in WASM: [#36482](https://togithub.com/vercel/next.js/issues/36482) - Use edge compiler for middleware: [#36486](https://togithub.com/vercel/next.js/issues/36486) - Update swc: [#36477](https://togithub.com/vercel/next.js/issues/36477) - Remove passhref Eslint rule as it's no longer needed with new link behavior: [#36511](https://togithub.com/vercel/next.js/issues/36511) - Add string children case for newNextLinkBehavior codemod: [#36516](https://togithub.com/vercel/next.js/issues/36516) - Add with-edgedb example: [#35929](https://togithub.com/vercel/next.js/issues/35929) - polish isomorphic path module: [#36521](https://togithub.com/vercel/next.js/issues/36521) - Ensure optional params are normalized correctly in minimal mode: [#36513](https://togithub.com/vercel/next.js/issues/36513) - Always add height and width prop to image with layout="raw": [#36523](https://togithub.com/vercel/next.js/issues/36523) - Align behavior of SWC transform & transformSync: [#36500](https://togithub.com/vercel/next.js/issues/36500) - Add event for swc load failure and attempt patching lockfile: [#36527](https://togithub.com/vercel/next.js/issues/36527) - next-swc/wasm: Make span start at 0: [#36532](https://togithub.com/vercel/next.js/issues/36532) - Add support for passing ref to next/link with new behavior enabled: [#36537](https://togithub.com/vercel/next.js/issues/36537) - Update swc: [#36535](https://togithub.com/vercel/next.js/issues/36535) - Refactor base server to get rid of the \__server_context hack: [#36550](https://togithub.com/vercel/next.js/issues/36550) - Tweak lockfile patching to be eager: [#36549](https://togithub.com/vercel/next.js/issues/36549) - unlock eslint-config-next dependencies: [#35781](https://togithub.com/vercel/next.js/issues/35781) - Hoist the desired ReactDOM import expression: [#36552](https://togithub.com/vercel/next.js/issues/36552) - bump styled-jsx to latest: [#36554](https://togithub.com/vercel/next.js/issues/36554) - chore: clarify CLI network errors: [#36567](https://togithub.com/vercel/next.js/issues/36567) - Ensure older lockfile/invalid formats are handled: [#36577](https://togithub.com/vercel/next.js/issues/36577) - Adds inline script functionality to `next/script` for `worker` and `beforeInteractive` strategies: [#36364](https://togithub.com/vercel/next.js/issues/36364) - Fix missing `Content-Length` header from Image Optimization API: [#36581](https://togithub.com/vercel/next.js/issues/36581) - Refactor Page Paths utils and Middleware Plugin: [#36576](https://togithub.com/vercel/next.js/issues/36576) - Reexports styled-jsx JSXStyle in nextjs: [#36585](https://togithub.com/vercel/next.js/issues/36585) - Update status code for normalize error: [#36580](https://togithub.com/vercel/next.js/issues/36580) - Add pagesDir to Jest transformer: [#36599](https://togithub.com/vercel/next.js/issues/36599) - Add tests for routing experiment: [#36618](https://togithub.com/vercel/next.js/issues/36618) - Update findPagesDir: [#36619](https://togithub.com/vercel/next.js/issues/36619) - Fix swc jest pagesDir config: [#36623](https://togithub.com/vercel/next.js/issues/36623) - Fix next node buildin module error message for edge runtime: [#36434](https://togithub.com/vercel/next.js/issues/36434) - Handle styled-jsx in newLinkBehavior codemod: [#36628](https://togithub.com/vercel/next.js/issues/36628) ##### Documentation Changes - Add instructions to create pages directory and add an index.js file to it: [#35971](https://togithub.com/vercel/next.js/issues/35971) - docs: specify minimum required `react` version: [#36091](https://togithub.com/vercel/next.js/issues/36091) - Loosen the "public" condition on getSSP: [#36018](https://togithub.com/vercel/next.js/issues/36018) - fixed typo, that should say 'in' not 'from': [#36046](https://togithub.com/vercel/next.js/issues/36046) - Docs: workarounds for router not resetting state (fixes [#35138](https://togithub.com/vercel/next.js/issues/35138)): [#35651](https://togithub.com/vercel/next.js/issues/35651) - Add onLoad gotcha note to basic-features doc: [#36261](https://togithub.com/vercel/next.js/issues/36261) - Fix introduction.md for `next.config.js`: [#36286](https://togithub.com/vercel/next.js/issues/36286) - Clarifies that path params exist on query object: [#36321](https://togithub.com/vercel/next.js/issues/36321) - Fix broken data fetching links in docs: [#33766](https://togithub.com/vercel/next.js/issues/33766) - Change getStaticProps to getStaticPaths in getStaticPaths docs: [#36403](https://togithub.com/vercel/next.js/issues/36403) - Revert "Change getStaticProps to getStaticPaths in getStaticPaths docs": [#36425](https://togithub.com/vercel/next.js/issues/36425) - Update usage paragraph of next/script `onLoad`: [#36453](https://togithub.com/vercel/next.js/issues/36453) - Add note about lockfile causing swc to fail to load: [#36484](https://togithub.com/vercel/next.js/issues/36484) - Add docs on self-hosted ISR persisting across pods.: [#36520](https://togithub.com/vercel/next.js/issues/36520) - Adds `` to example optimized font output: [#36529](https://togithub.com/vercel/next.js/issues/36529) - Add note about running next without a sub-command: [#36560](https://togithub.com/vercel/next.js/issues/36560) - Add docs about SSR caching (yes, you can do this with Next.js): [#36588](https://togithub.com/vercel/next.js/issues/36588) ##### Example Changes - Fixes scripts in Electron examples.: [#36133](https://togithub.com/vercel/next.js/issues/36133) - docs(examples/with-emotion-swc): update readme: [#36197](https://togithub.com/vercel/next.js/issues/36197) - docs: add yoga to examples: [#36253](https://togithub.com/vercel/next.js/issues/36253) - Adds `removeListener` handler to `with-electron-typescript` example.: [#36323](https://togithub.com/vercel/next.js/issues/36323) - Removed unnecessary React Fragment: [#36331](https://togithub.com/vercel/next.js/issues/36331) - updated with-rebass dependencies: [#36416](https://togithub.com/vercel/next.js/issues/36416) - Add pnpm-debug: [#36394](https://togithub.com/vercel/next.js/issues/36394) - added with-react-foundation example: [#36375](https://togithub.com/vercel/next.js/issues/36375) - Grammar Changed features and API to features and it's API: [#36396](https://togithub.com/vercel/next.js/issues/36396) - Adding Typescript and Mantine example: [#36294](https://togithub.com/vercel/next.js/issues/36294) - \[examples] Update styled-components with Babel - add types: [#36125](https://togithub.com/vercel/next.js/issues/36125) - Fix failing yarn PnP test from missing dependency: [#36515](https://togithub.com/vercel/next.js/issues/36515) - docs(examples): Updated Chakra UI examples: [#36333](https://togithub.com/vercel/next.js/issues/36333) - Fix typo: [#36592](https://togithub.com/vercel/next.js/issues/36592) - add Script key for cache: [#36627](https://togithub.com/vercel/next.js/issues/36627) ##### Misc Changes - Update CODEOWNERS: [#36164](https://togithub.com/vercel/next.js/issues/36164) - Stabilize flakey prerender test: [#36193](https://togithub.com/vercel/next.js/issues/36193) - Stabilize flakey build-output test: [#36195](https://togithub.com/vercel/next.js/issues/36195) - Validate streaming writer chunk type in testing: [#36200](https://togithub.com/vercel/next.js/issues/36200) - Update CI cache key to allow re-running only failed: [#36249](https://togithub.com/vercel/next.js/issues/36249) - feat(trace): next/trace to event format converter: [#36281](https://togithub.com/vercel/next.js/issues/36281) - Add handling for testing against deployments: [#36285](https://togithub.com/vercel/next.js/issues/36285) - Make setup-wasm script work for local dev: [#36355](https://togithub.com/vercel/next.js/issues/36355) - chore(create-next-app): fix pnpm create step: [#36398](https://togithub.com/vercel/next.js/issues/36398) - Update font-optimization test snapshot: [#36492](https://togithub.com/vercel/next.js/issues/36492) - docs: clarify triaging: [#36507](https://togithub.com/vercel/next.js/issues/36507) - Remove extra yarn PnP example test: [#36518](https://togithub.com/vercel/next.js/issues/36518) - Update rewrite destination for flakey rewrite tests: [#36519](https://togithub.com/vercel/next.js/issues/36519) - Normalize font optimization snapshot to reduce flakes: [#36531](https://togithub.com/vercel/next.js/issues/36531) - Bump react dev dep to 18.1: [#36491](https://togithub.com/vercel/next.js/issues/36491) ##### Credits Huge thanks to [@huozhi](https://togithub.com/huozhi), [@shuding](https://togithub.com/shuding), [@kdy1](https://togithub.com/kdy1), [@nkzawa](https://togithub.com/nkzawa), [@prichey](https://togithub.com/prichey), [@manovotny](https://togithub.com/manovotny), [@balazsorban44](https://togithub.com/balazsorban44), [@remorses](https://togithub.com/remorses), [@amandeepmittal](https://togithub.com/amandeepmittal), [@mward-sudo](https://togithub.com/mward-sudo), [@eric-burel](https://togithub.com/eric-burel), [@timneutkens](https://togithub.com/timneutkens), [@styfle](https://togithub.com/styfle), [@ytkg](https://togithub.com/ytkg), [@CuriosBasant](https://togithub.com/CuriosBasant), [@bart-krakowski](https://togithub.com/bart-krakowski), [@SukkaW](https://togithub.com/SukkaW), [@jameshfisher](https://togithub.com/jameshfisher), [@Kikobeats](https://togithub.com/Kikobeats), [@bjorm](https://togithub.com/bjorm), [@alex-page](https://togithub.com/alex-page), [@fmmoret](https://togithub.com/fmmoret), [@ijjk](https://togithub.com/ijjk), [@davidbarker](https://togithub.com/davidbarker), [@kwonoj](https://togithub.com/kwonoj), [@seanparmelee](https://togithub.com/seanparmelee), [@ddgrishkin](https://togithub.com/ddgrishkin), [@mmartinsoliv](https://togithub.com/mmartinsoliv), [@byjoshuadavis](https://togithub.com/byjoshuadavis), [@sakib412](https://togithub.com/sakib412), [@Chastrlove](https://togithub.com/Chastrlove), [@padmaia](https://togithub.com/padmaia), [@janicklas-ralph](https://togithub.com/janicklas-ralph), [@MaedahBatool](https://togithub.com/MaedahBatool), [@shinkj11](https://togithub.com/shinkj11), [@youngvform](https://togithub.com/youngvform), [@zaida04](https://togithub.com/zaida04), [@therealmarzouq](https://togithub.com/therealmarzouq), [@codedbyjordan](https://togithub.com/codedbyjordan), [@deadlynjdj](https://togithub.com/deadlynjdj), [@lfades](https://togithub.com/lfades), [@Brooooooklyn](https://togithub.com/Brooooooklyn), [@renbaoshuo](https://togithub.com/renbaoshuo), [@javivelasco](https://togithub.com/javivelasco), [@triyanox](https://togithub.com/triyanox), [@rafae2k](https://togithub.com/rafae2k), [@colinhacks](https://togithub.com/colinhacks), [@atcastle](https://togithub.com/atcastle), [@leerob](https://togithub.com/leerob), [@sa3dany](https://togithub.com/sa3dany), [@nikolovlazar](https://togithub.com/nikolovlazar), [@refactorized](https://togithub.com/refactorized), [@housseindjirdeh](https://togithub.com/housseindjirdeh), [@ro11ingbutler](https://togithub.com/ro11ingbutler), and [@gusrb3164](https://togithub.com/gusrb3164) for helping!Configuration
π Schedule: "every weekend" in timezone Asia/Jerusalem.
π¦ Automerge: Enabled.
β» 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 WhiteSource Renovate. View repository job log here.