Closed renovate[bot] closed 2 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/graphcms/reference-marketing-website/2wD1SatFJDe7qkuAUZtYJupfXzC7
✅ Preview: https://reference-marketing-website-git-renovate-major-c70d95-graphcms.vercel.app
This PR contains the following updates:
11.1.4
->12.1.4
11.1.4
->12.1.4
Release Notes
vercel/next.js
### [`v12.1.4`](https://togithub.com/vercel/next.js/releases/v12.1.4) [Compare Source](https://togithub.com/vercel/next.js/compare/v12.1.3...v12.1.4) ##### Core Changes - Only resolve page runtime for react 18 and error on read failure: [#35705](https://togithub.com/vercel/next.js/issues/35705) - feat(next-swc): Update swc crates: [#35395](https://togithub.com/vercel/next.js/issues/35395) - Fix document styles with react 18: [#35760](https://togithub.com/vercel/next.js/issues/35760) - Fix router isReady and react 18 not being detected with no config: [#35762](https://togithub.com/vercel/next.js/issues/35762) ##### Documentation Changes - Updated create-next-app docs to include pnpm usage: [#35755](https://togithub.com/vercel/next.js/issues/35755) ##### Credits Huge thanks to [@huozhi](https://togithub.com/huozhi), [@styfle](https://togithub.com/styfle), and [@kdy1](https://togithub.com/kdy1) for helping! ### [`v12.1.3`](https://togithub.com/vercel/next.js/releases/v12.1.3) [Compare Source](https://togithub.com/vercel/next.js/compare/v12.1.2...v12.1.3) ##### Core Changes - Add deprecated JSDoc comments for the previous middleware signature: [#35448](https://togithub.com/vercel/next.js/issues/35448) - fix the dynamic routing of middleware: [#32601](https://togithub.com/vercel/next.js/issues/32601) - fix: don't override user-agent in fetch if specified: [#35547](https://togithub.com/vercel/next.js/issues/35547) - Fix typos: [#35683](https://togithub.com/vercel/next.js/issues/35683) - Fix Fast Refresh for React 18: [#35718](https://togithub.com/vercel/next.js/issues/35718) - Emotion css minify should not trim end spaces if item is not the last: [#35697](https://togithub.com/vercel/next.js/issues/35697) - Ensure the app shell is rendered before rendering the document: [#35732](https://togithub.com/vercel/next.js/issues/35732) - fix: Prevent page to scroll to top during data HMR: [#35739](https://togithub.com/vercel/next.js/issues/35739) - Fix \_document and getInitialProps with React 18: [#35736](https://togithub.com/vercel/next.js/issues/35736) - test(fix: Prevent page to scroll to top during data HMR): [#35744](https://togithub.com/vercel/next.js/issues/35744) - Update to pre-compile use-subscription: [#35746](https://togithub.com/vercel/next.js/issues/35746) - Fix useStatic404 condition: [#35749](https://togithub.com/vercel/next.js/issues/35749) - Fix streaming SSR with multi-byte characters: [#35724](https://togithub.com/vercel/next.js/issues/35724) ##### Documentation Changes - docs: fix typo in Script Component docs: [#35731](https://togithub.com/vercel/next.js/issues/35731) ##### Misc Changes - Fix next info test during stable release: [#35668](https://togithub.com/vercel/next.js/issues/35668) - Update default test timeouts for yarn install times: [#35669](https://togithub.com/vercel/next.js/issues/35669) - test(integration): emit console error when test fails: [#35507](https://togithub.com/vercel/next.js/issues/35507) ##### Credits Huge thanks to [@lfades](https://togithub.com/lfades), [@nkzawa](https://togithub.com/nkzawa), [@kwonoj](https://togithub.com/kwonoj), [@SethFalco](https://togithub.com/SethFalco), [@hiro0218](https://togithub.com/hiro0218), [@Brooooooklyn](https://togithub.com/Brooooooklyn), [@shuding](https://togithub.com/shuding), [@BWsix](https://togithub.com/BWsix), [@schickling](https://togithub.com/schickling), [@ijjk](https://togithub.com/ijjk), and [@martinnabhan](https://togithub.com/martinnabhan) for helping! ### [`v12.1.2`](https://togithub.com/vercel/next.js/releases/v12.1.2) [Compare Source](https://togithub.com/vercel/next.js/compare/v12.1.1...v12.1.2) ##### Core Changes - RSC: handle commonjs in flight loader: [#35563](https://togithub.com/vercel/next.js/issues/35563) - Update rsc refresh typing and doc example: [#35543](https://togithub.com/vercel/next.js/issues/35543) - Revert "Revert "Make concurrent features independent from the global runtime option" [#35405](https://togithub.com/vercel/next.js/issues/35405)": [#35490](https://togithub.com/vercel/next.js/issues/35490) - Update terminal tree view for switchable runtime: [#35394](https://togithub.com/vercel/next.js/issues/35394) - Prevent spaces between expressions from being removed: [#35613](https://togithub.com/vercel/next.js/issues/35613) - Fix: disable script worker in edge and fix rsc loader and runtime: [#35604](https://togithub.com/vercel/next.js/issues/35604) - enhance: detect ESM by ast type: [#35627](https://togithub.com/vercel/next.js/issues/35627) - Clean up legacy react 18 tests: [#35615](https://togithub.com/vercel/next.js/issues/35615) - Fix server component render condition: [#35663](https://togithub.com/vercel/next.js/issues/35663) - Rename createRSCHook to createFlightHook: [#35665](https://togithub.com/vercel/next.js/issues/35665) - Ensure eslint plugins dont conflict: [#35667](https://togithub.com/vercel/next.js/issues/35667) ##### Documentation Changes - docs: update styling support for streaming: [#35375](https://togithub.com/vercel/next.js/issues/35375) - Fix typo in rewrites docs: [#35639](https://togithub.com/vercel/next.js/issues/35639) - Update middleware examples list: [#35622](https://togithub.com/vercel/next.js/issues/35622) ##### Misc Changes - Fix create-next-app failing without yarn installed: [#35608](https://togithub.com/vercel/next.js/issues/35608) - Fix hydration issue in the switchable runtime tests: [#35616](https://togithub.com/vercel/next.js/issues/35616) ##### Credits Huge thanks to [@huozhi](https://togithub.com/huozhi), [@shuding](https://togithub.com/shuding), [@Brooooooklyn](https://togithub.com/Brooooooklyn), [@TianenPang](https://togithub.com/TianenPang), [@lfades](https://togithub.com/lfades), and [@timneutkens](https://togithub.com/timneutkens) for helping! ### [`v12.1.1`](https://togithub.com/vercel/next.js/releases/v12.1.1) [Compare Source](https://togithub.com/vercel/next.js/compare/v12.1.0...v12.1.1) ##### Core Changes - refactor: move `HtmlContext`: [#34482](https://togithub.com/vercel/next.js/issues/34482) - rsc: clean client buffer cache after flushed: [#34475](https://togithub.com/vercel/next.js/issues/34475) - Ensure config's `experimental` field exists: [#34500](https://togithub.com/vercel/next.js/issues/34500) - Only log experiments warning if user actually opted in to an experiment(s): [#34413](https://togithub.com/vercel/next.js/issues/34413) - Add `unstable_useFlushEffects` hook: [#34117](https://togithub.com/vercel/next.js/issues/34117) - fix: mock image path as `next/image` expects it: [#34350](https://togithub.com/vercel/next.js/issues/34350) - fix process polyfill on middleware: [#34426](https://togithub.com/vercel/next.js/issues/34426) - Ensure workers are not left open: [#34503](https://togithub.com/vercel/next.js/issues/34503) - Leverage existing component checking warning for streaming: [#34526](https://togithub.com/vercel/next.js/issues/34526) - build(next-swc): linux glibc compatible issue: [#34481](https://togithub.com/vercel/next.js/issues/34481) - Fix `next/image` incorrectly warning for `position: absolute` parent: [#34551](https://togithub.com/vercel/next.js/issues/34551) - Remove `useMaybeDeferContent` hook: [#34506](https://togithub.com/vercel/next.js/issues/34506) - Allow reading request bodies in middlewares ([#34294](https://togithub.com/vercel/next.js/issues/34294)): [#34519](https://togithub.com/vercel/next.js/issues/34519) - Update swc crates: [#34491](https://togithub.com/vercel/next.js/issues/34491) - feat(react-dev-overlay): export getErrorByType and add preventDisplay prop: [#34237](https://togithub.com/vercel/next.js/issues/34237) - Improve `next/image` warnings to avoid printing more than once: [#34562](https://togithub.com/vercel/next.js/issues/34562) - Support trailingSlash in middleware SSR: [#34544](https://togithub.com/vercel/next.js/issues/34544) - Update to latest version of jscodeshift: [#34563](https://togithub.com/vercel/next.js/issues/34563) - Don't import internally from types in `next-env.d.ts`: [#34394](https://togithub.com/vercel/next.js/issues/34394) - Improve type imports in server/render and optimize the Edge SSR loader: [#34552](https://togithub.com/vercel/next.js/issues/34552) - remove commons chunk config: [#34445](https://togithub.com/vercel/next.js/issues/34445) - Add `cargo clippy` and `cargo fmt` to CI: [#34625](https://togithub.com/vercel/next.js/issues/34625) - Fix rsc bootstrap buffer missing in the future renders: [#34631](https://togithub.com/vercel/next.js/issues/34631) - fix: match `redirect` and `rewrite` destination types: [#34617](https://togithub.com/vercel/next.js/issues/34617) - fix: make sure `image-config.ts` gets transpiled to ES5: [#34677](https://togithub.com/vercel/next.js/issues/34677) - Normalize image optimizer error status codes: [#34699](https://togithub.com/vercel/next.js/issues/34699) - Fix CSS Loader Detection False Positives: [#34584](https://togithub.com/vercel/next.js/issues/34584) - Upgrade [@napi-rs/triples](https://togithub.com/napi-rs/triples) to support android arm platform: [#34752](https://togithub.com/vercel/next.js/issues/34752) - Add proper headers to responses in web server: [#34723](https://togithub.com/vercel/next.js/issues/34723) - produce source maps for middlewares: [#34409](https://togithub.com/vercel/next.js/issues/34409) - Reduce the size of web server: [#34767](https://togithub.com/vercel/next.js/issues/34767) - collect telemetry for ESLint rules: [#34564](https://togithub.com/vercel/next.js/issues/34564) - Refactor entries generation in hot-reloader: [#34733](https://togithub.com/vercel/next.js/issues/34733) - Integrate tsec into the linting process: [#33746](https://togithub.com/vercel/next.js/issues/33746) - Add API config to allow disabling response size warning: [#34700](https://togithub.com/vercel/next.js/issues/34700) - fix([#34030](https://togithub.com/vercel/next.js/issues/34030)): ignore non-checkable jsx spread attribute: [#34473](https://togithub.com/vercel/next.js/issues/34473) - fix eslint-plugin-react version to avoid jsx-key error: [#34800](https://togithub.com/vercel/next.js/issues/34800) - fix: [#34711](https://togithub.com/vercel/next.js/issues/34711) ensure distDir inside project folder: [#34795](https://togithub.com/vercel/next.js/issues/34795) - Update to ncc dev overlay during build instead of pre-compile: [#34813](https://togithub.com/vercel/next.js/issues/34813) - Add warning for Yarn PnP v3 with Node.js < 16.14: [#34818](https://togithub.com/vercel/next.js/issues/34818) - lock eslint-config-next dependencies: [#34823](https://togithub.com/vercel/next.js/issues/34823) - Clean-up error when starting next with non-existent dir: [#34830](https://togithub.com/vercel/next.js/issues/34830) - Ensure unstable_revalidate does not error from notFound: true: [#34826](https://togithub.com/vercel/next.js/issues/34826) - Update eslint-plugin-react to latest version: [#34819](https://togithub.com/vercel/next.js/issues/34819) - Add CLI command typo detection: [#34836](https://togithub.com/vercel/next.js/issues/34836) - Fix flight loader for shared components: [#34692](https://togithub.com/vercel/next.js/issues/34692) - refactor: re-use existed escapeRegex: [#34470](https://togithub.com/vercel/next.js/issues/34470) - Fix only byte stream writing is allowed in CF workers: [#34893](https://togithub.com/vercel/next.js/issues/34893) - Only warn styles and scripts under next head in concurrent mode: [#34897](https://togithub.com/vercel/next.js/issues/34897) - Fix image optimization invalid internal upstream image: [#34899](https://togithub.com/vercel/next.js/issues/34899) - feat(next-swc): Update swc: [#34878](https://togithub.com/vercel/next.js/issues/34878) - Simplify next-flight-server-loader: [#34902](https://togithub.com/vercel/next.js/issues/34902) - Ensure non-matching API routes can be rewritten: [#33966](https://togithub.com/vercel/next.js/issues/33966) - Optimize component type filters: [#34941](https://togithub.com/vercel/next.js/issues/34941) - Expose WASM bindings in Middleware: [#34437](https://togithub.com/vercel/next.js/issues/34437) - Provide page runtime parsing utils: [#34922](https://togithub.com/vercel/next.js/issues/34922) - Refactor export marks of server components: [#34945](https://togithub.com/vercel/next.js/issues/34945) - Fix `next/image` noscript when blur and priority: [#34973](https://togithub.com/vercel/next.js/issues/34973) - Fix named export missing from client components: [#34974](https://togithub.com/vercel/next.js/issues/34974) - Adopt react 18 rc1: [#34972](https://togithub.com/vercel/next.js/issues/34972) - Fix typescript 4.6.2 randomUUID(): [#34976](https://togithub.com/vercel/next.js/issues/34976) - Update ISR error handling: [#34931](https://togithub.com/vercel/next.js/issues/34931) - Handle de-duping revalidations in minimal mode: [#34935](https://togithub.com/vercel/next.js/issues/34935) - feat: allow dotenv default expansion: [#34765](https://togithub.com/vercel/next.js/issues/34765) - Support colons in Middleware NextResponse.rewrite path: [#32543](https://togithub.com/vercel/next.js/issues/32543) - Generate static html for bots: [#35004](https://togithub.com/vercel/next.js/issues/35004) - Enable import assertion syntax parsing: [#33750](https://togithub.com/vercel/next.js/issues/33750) - Split up & tweak `next/client` initialization: [#33838](https://togithub.com/vercel/next.js/issues/33838) - Normalize root path according to trailingSlash option in default next/image loader [#21337](https://togithub.com/vercel/next.js/issues/21337): [#22453](https://togithub.com/vercel/next.js/issues/22453) - Fix animated png bypass from Image Optimization API: [#35120](https://togithub.com/vercel/next.js/issues/35120) - watch node_modules: [#35140](https://togithub.com/vercel/next.js/issues/35140) - feat(trace): postprocess trace reporter for datadog: [#35032](https://togithub.com/vercel/next.js/issues/35032) - \[next] Fix to not call middleware with shallow push, fix middleware call wit…: [#35047](https://togithub.com/vercel/next.js/issues/35047) - fix post request hangs when no body is consumed on middleware: [#35131](https://togithub.com/vercel/next.js/issues/35131) - fix: hard-navigate when preflight request fails: [#35145](https://togithub.com/vercel/next.js/issues/35145) - Per-page runtime: [#35011](https://togithub.com/vercel/next.js/issues/35011) - Delay prefix flushing: [#35170](https://togithub.com/vercel/next.js/issues/35170) - Change to loadBindings for swc parse: [#35171](https://togithub.com/vercel/next.js/issues/35171) - Ensure mjs files are transformed with jest: [#34698](https://togithub.com/vercel/next.js/issues/34698) - Disable the functions manifest plugin: [#35155](https://togithub.com/vercel/next.js/issues/35155) - Adopt react 18 rc2: [#35161](https://togithub.com/vercel/next.js/issues/35161) - Convert server.js to module.exports: [#35181](https://togithub.com/vercel/next.js/issues/35181) - Fix `next/image` when src is webp but browser doesnt support it: [#35190](https://togithub.com/vercel/next.js/issues/35190) - \[Fix] Adds try/catch to gracefully handle performance observer exception: [#35202](https://togithub.com/vercel/next.js/issues/35202) - Render resolved streaming content for static render result: [#35221](https://togithub.com/vercel/next.js/issues/35221) - feat(next-swc): Update crates: [#35133](https://togithub.com/vercel/next.js/issues/35133) - Ensure that pages manifest contains pages of both runtimes: [#35243](https://togithub.com/vercel/next.js/issues/35243) - chore: upgrade `cssnano-simple`: [#35258](https://togithub.com/vercel/next.js/issues/35258) - fix(Script): allow passing defer=false to Script component: [#34850](https://togithub.com/vercel/next.js/issues/34850) - Remove the special `_document-concurrent` component: [#35242](https://togithub.com/vercel/next.js/issues/35242) - Adds web worker support to `` using Partytown: [#34244](https://togithub.com/vercel/next.js/issues/34244) - Bump styled-jsx to 5.0.1: [#35290](https://togithub.com/vercel/next.js/issues/35290) - Add new 'raw' image layout: [#34339](https://togithub.com/vercel/next.js/issues/34339) - SWC emotion transform plugin: [#34687](https://togithub.com/vercel/next.js/issues/34687) - enhance: cover re-exported gsp cases for runtime fallback: [#35326](https://togithub.com/vercel/next.js/issues/35326) - Make concurrent features independent from the global runtime option: [#35245](https://togithub.com/vercel/next.js/issues/35245) - Update comments for the web server: [#35366](https://togithub.com/vercel/next.js/issues/35366) - Add libc fields to Linux platform packages: [#35354](https://togithub.com/vercel/next.js/issues/35354) - Drop browser field for edge runtime: [#35335](https://togithub.com/vercel/next.js/issues/35335) - Make router able to navigate between rsc pages: [#35344](https://togithub.com/vercel/next.js/issues/35344) - Revert "Make concurrent features independent from the global runtime option": [#35405](https://togithub.com/vercel/next.js/issues/35405) - Update on-demand ISR to skip fetch locally: [#35386](https://togithub.com/vercel/next.js/issues/35386) - Use hasConcurrentFeatures instead of reactRoot as the condition of Fizz: [#35407](https://togithub.com/vercel/next.js/issues/35407) - Abstract out stream related utils from render and web/utils: [#35372](https://togithub.com/vercel/next.js/issues/35372) - Keep fouc tags for streaming: [#35417](https://togithub.com/vercel/next.js/issues/35417) - Fix: change the timing for clearing the inlined data buffer: [#35413](https://togithub.com/vercel/next.js/issues/35413) - fix(document): accepts nodearray for head's children: [#35424](https://togithub.com/vercel/next.js/issues/35424) - Update to latest [@vercel/nft](https://togithub.com/vercel/nft) and leverage new reason types: [#35446](https://togithub.com/vercel/next.js/issues/35446) - Add test to ensure `fs.readFile()` works with Output File Tracing: [#35338](https://togithub.com/vercel/next.js/issues/35338) - feat(next-swc): embed target triple string: [#35416](https://togithub.com/vercel/next.js/issues/35416) - Typo in URL removed: [#35472](https://togithub.com/vercel/next.js/issues/35472) - feat(telemetry): report swc target triple to telemetry: [#35420](https://togithub.com/vercel/next.js/issues/35420) - Update trace ignore check to check reasons correctly: [#35511](https://togithub.com/vercel/next.js/issues/35511) - SWC import modularization plugin: [#34969](https://togithub.com/vercel/next.js/issues/34969) - Reduce hello-world middleware bundle size from 128k to 88k: [#35512](https://togithub.com/vercel/next.js/issues/35512) - Update next/link error when no children are provided: [#35453](https://togithub.com/vercel/next.js/issues/35453) - Normalize ssgCacheKey for /index with minimalMode de-duping: [#35536](https://togithub.com/vercel/next.js/issues/35536) - Merge rsc queries handling: [#35545](https://togithub.com/vercel/next.js/issues/35545) - Upgrade react-server-dom-webpack: [#35524](https://togithub.com/vercel/next.js/issues/35524) - Fix styled transform in next-swc/emotion: [#35527](https://togithub.com/vercel/next.js/issues/35527) - Fix `next info` accidentally printing stderr: [#35556](https://togithub.com/vercel/next.js/issues/35556) - chore: replace deprecated String.prototype.substr(): [#35421](https://togithub.com/vercel/next.js/issues/35421) - test: warn on substr() usage: [#35499](https://togithub.com/vercel/next.js/issues/35499) ##### Documentation Changes - Update docs for image optimization swr: [#34483](https://togithub.com/vercel/next.js/issues/34483) - Fix 404 links in React 18 docs: [#34486](https://togithub.com/vercel/next.js/issues/34486) - Fix snippet language sh -> bash: [#34487](https://togithub.com/vercel/next.js/issues/34487) - Add info on rendering an error page when using getServerSideProps: [#34488](https://togithub.com/vercel/next.js/issues/34488) - Update details about Cache Control Headers: [#34416](https://togithub.com/vercel/next.js/issues/34416) - Update wrong code snippet: [#34520](https://togithub.com/vercel/next.js/issues/34520) - fix: change showcase url: [#34590](https://togithub.com/vercel/next.js/issues/34590) - Add note about public folder with standalone mode: [#34646](https://togithub.com/vercel/next.js/issues/34646) - added styled-components & replay support in swc: [#34647](https://togithub.com/vercel/next.js/issues/34647) - Provide more detail to static folder placement: [#34651](https://togithub.com/vercel/next.js/issues/34651) - Update testing.md: [#34661](https://togithub.com/vercel/next.js/issues/34661) - Remove page-specific font example from docs: [#34694](https://togithub.com/vercel/next.js/issues/34694) - Fix typo in documentation: [#34734](https://togithub.com/vercel/next.js/issues/34734) - Improve rewrites documentation: [#34725](https://togithub.com/vercel/next.js/issues/34725) - Add Error Handling document: [#34329](https://togithub.com/vercel/next.js/issues/34329) - Update inlineCode reference: [#34817](https://togithub.com/vercel/next.js/issues/34817) - Add redirect for error doc rename: [#34791](https://togithub.com/vercel/next.js/issues/34791) - Fix issues in getStaticPaths docs: [#34840](https://togithub.com/vercel/next.js/issues/34840) - Improve TypeScript documentation.: [#34690](https://togithub.com/vercel/next.js/issues/34690) - Fix broken link in react-18 streaming docs.: [#34884](https://togithub.com/vercel/next.js/issues/34884) - Add missing closing parenthesis in docs: [#34924](https://togithub.com/vercel/next.js/issues/34924) - \[examples] Update styled-components to use SWC: [#34770](https://togithub.com/vercel/next.js/issues/34770) - feat: support `pnpm` with `create-next-app`: [#34947](https://togithub.com/vercel/next.js/issues/34947) - Fix missing parenthesis for link in docs: [#35090](https://togithub.com/vercel/next.js/issues/35090) - Update shallow routing caveat: [#35052](https://togithub.com/vercel/next.js/issues/35052) - Add `next/image` docs section for animated images: [#35123](https://togithub.com/vercel/next.js/issues/35123) - Add info on `context.ctx` argument in \_app docs page: [#35303](https://togithub.com/vercel/next.js/issues/35303) - Encourage installation of sass as a devDep: [#35323](https://togithub.com/vercel/next.js/issues/35323) - \[docs] Update docs about Cache-Control default headers.: [#35336](https://togithub.com/vercel/next.js/issues/35336) - \[docs] Update going to production docs around caching headers: [#35374](https://togithub.com/vercel/next.js/issues/35374) - Update `next/image` docs for width & height: [#35188](https://togithub.com/vercel/next.js/issues/35188) - Added note about why Next.js used 307 and 308 status codes: [#35325](https://togithub.com/vercel/next.js/issues/35325) - Fix typo in getServerSideProps doc page: [#35467](https://togithub.com/vercel/next.js/issues/35467) - clarify use of Script: [#35491](https://togithub.com/vercel/next.js/issues/35491) - Server component docs use wrong next version: [#35313](https://togithub.com/vercel/next.js/issues/35313) - Add link for revalidate from notFound section: [#35553](https://togithub.com/vercel/next.js/issues/35553) - Fix typo in docs: [#35561](https://togithub.com/vercel/next.js/issues/35561) ##### Example Changes - Convert custom-server-hapi Example to Typescript: [#34507](https://togithub.com/vercel/next.js/issues/34507) - Updated head, img -> Image, type { NextPage } as default next-app: [#34513](https://togithub.com/vercel/next.js/issues/34513) - removing redundant/unnecessary lines as these are defaults: [#34587](https://togithub.com/vercel/next.js/issues/34587) - Sentry example: add js types to SentryWebpackPluginOptions: [#28726](https://togithub.com/vercel/next.js/issues/28726) - Add .git to .dockerignore in docker examples: [#34628](https://togithub.com/vercel/next.js/issues/34628) - Updates with-supertokens example: [#34679](https://togithub.com/vercel/next.js/issues/34679) - Convert `with-redis` example to TypeScript: [#34720](https://togithub.com/vercel/next.js/issues/34720) - Update MySQL example.: [#34784](https://togithub.com/vercel/next.js/issues/34784) - Some minor adjustments to MySQL example.: [#34792](https://togithub.com/vercel/next.js/issues/34792) - docs: update CMS examples to use the new tw grid gaps: [#34917](https://togithub.com/vercel/next.js/issues/34917) - docs: update cms-sanity example: [#34898](https://togithub.com/vercel/next.js/issues/34898) - Update cms-wordpress example: [#34944](https://togithub.com/vercel/next.js/issues/34944) - Update supertokens demo app: [#35007](https://togithub.com/vercel/next.js/issues/35007) - fix(examples/with-docker): add npm comment for yarn build: [#35040](https://togithub.com/vercel/next.js/issues/35040) - \[examples] Add Tina CMS blog starter: [#35045](https://togithub.com/vercel/next.js/issues/35045) - \[examples] Use more semantic footer element: [#35033](https://togithub.com/vercel/next.js/issues/35033) - Re-add \_document to with-styled-components example: [#35163](https://togithub.com/vercel/next.js/issues/35163) - docs(examples): add on-demand ISR to cms-sanity: [#35220](https://togithub.com/vercel/next.js/issues/35220) - examples: update instructions for create-strapi-app: [#35288](https://togithub.com/vercel/next.js/issues/35288) - Remove with-custom-reverse-proxy example: [#35340](https://togithub.com/vercel/next.js/issues/35340) - Change README structure in examples: [#35349](https://togithub.com/vercel/next.js/issues/35349) - use initial state for rootReducer in with-redux-saga example: [#35406](https://togithub.com/vercel/next.js/issues/35406) ##### Misc Changes - chore: clarify GitHub action (bot) comments: [#34546](https://togithub.com/vercel/next.js/issues/34546) - Add test for multiple cookies coming from middleware: [#34465](https://togithub.com/vercel/next.js/issues/34465) - Simplify .env.local gitignores: [#34471](https://togithub.com/vercel/next.js/issues/34471) - Clarify test types during scaffolding: [#34638](https://togithub.com/vercel/next.js/issues/34638) - Ensure rust-check skips on docs only change: [#34648](https://togithub.com/vercel/next.js/issues/34648) - Update CODEOWNERS to include renamed files: [#34686](https://togithub.com/vercel/next.js/issues/34686) - Lock yarn pnp version in tests: [#34688](https://togithub.com/vercel/next.js/issues/34688) - Fix create-next-app Multiple calls to the function 'makeDir': [#34669](https://togithub.com/vercel/next.js/issues/34669) - chore: Move test for streaming and RSC: [#34724](https://togithub.com/vercel/next.js/issues/34724) - Fix react-dom type error in CNA typescript template: [#34623](https://togithub.com/vercel/next.js/issues/34623) - Update test concurrency for CI: [#34827](https://togithub.com/vercel/next.js/issues/34827) - Update to use whatwg validator for test: [#34891](https://togithub.com/vercel/next.js/issues/34891) - dep: upgrade [@swc/core](https://togithub.com/swc/core) v1.2.148 , [@swc/cli](https://togithub.com/swc/cli) v0.1.55: [#35054](https://togithub.com/vercel/next.js/issues/35054) - Run tests against node LTS (v16) and current (v17): [#35414](https://togithub.com/vercel/next.js/issues/35414) - test: add document head multi child prod test: [#35426](https://togithub.com/vercel/next.js/issues/35426) - Use check on prerender test assertion: [#35482](https://togithub.com/vercel/next.js/issues/35482) ##### Credits Huge thanks to [@styfle](https://togithub.com/styfle), [@shuding](https://togithub.com/shuding), [@balazsorban44](https://togithub.com/balazsorban44), [@huozhi](https://togithub.com/huozhi), [@amandeepmittal](https://togithub.com/amandeepmittal), [@bennettdams](https://togithub.com/bennettdams), [@sophiabits](https://togithub.com/sophiabits), [@MaedahBatool](https://togithub.com/MaedahBatool), [@devknoll](https://togithub.com/devknoll), [@nkzawa](https://togithub.com/nkzawa), [@kinetifex](https://togithub.com/kinetifex), [@elrumordelaluz](https://togithub.com/elrumordelaluz), [@Brooooooklyn](https://togithub.com/Brooooooklyn), [@mitchell-abbott](https://togithub.com/mitchell-abbott), [@Schniz](https://togithub.com/Schniz), [@natew](https://togithub.com/natew), [@nrjdalal](https://togithub.com/nrjdalal), [@dephraiim](https://togithub.com/dephraiim), [@lfades](https://togithub.com/lfades), [@sokra](https://togithub.com/sokra), [@AmirhBeigi](https://togithub.com/AmirhBeigi), [@marshalcode](https://togithub.com/marshalcode), [@timneutkens](https://togithub.com/timneutkens), [@mxgnus-de](https://togithub.com/mxgnus-de), [@MoltenCoffee](https://togithub.com/MoltenCoffee), [@jonespen](https://togithub.com/jonespen), [@NoamNol](https://togithub.com/NoamNol), [@khuezy](https://togithub.com/khuezy), [@rishabhpoddar](https://togithub.com/rishabhpoddar), [@kara](https://togithub.com/kara), [@reubn](https://togithub.com/reubn), [@luciy](https://togithub.com/luciy), [@Pauldic](https://togithub.com/Pauldic), [@brodyd795](https://togithub.com/brodyd795), [@eungyeole](https://togithub.com/eungyeole), [@kyliau](https://togithub.com/kyliau), [@Nutlope](https://togithub.com/Nutlope), [@jgoping](https://togithub.com/jgoping), [@crice88](https://togithub.com/crice88), [@leerob](https://togithub.com/leerob), [@SukkaW](https://togithub.com/SukkaW), [@thibautsabot](https://togithub.com/thibautsabot), [@sincovschi](https://togithub.com/sincovschi), [@ahollenbach](https://togithub.com/ahollenbach), [@kolarski](https://togithub.com/kolarski), [@AFusco](https://togithub.com/AFusco), [@stipsan](https://togithub.com/stipsan), [@sisp](https://togithub.com/sisp), [@kdy1](https://togithub.com/kdy1), [@lydiahallie](https://togithub.com/lydiahallie), [@Skagoo](https://togithub.com/Skagoo), [@ijjk](https://togithub.com/ijjk), [@klarstrup](https://togithub.com/klarstrup), [@midgleyc](https://togithub.com/midgleyc), [@perkinsjr](https://togithub.com/perkinsjr), [@bnoguchi](https://togithub.com/bnoguchi), [@fhinkel](https://togithub.com/fhinkel), [@fliptheweb](https://togithub.com/fliptheweb), [@kwonoj](https://togithub.com/kwonoj), [@leyanlo](https://togithub.com/leyanlo), [@ericponto](https://togithub.com/ericponto), [@huzaifarif](https://togithub.com/huzaifarif), [@chemicalkosek](https://togithub.com/chemicalkosek), [@chentsulin](https://togithub.com/chentsulin), [@housseindjirdeh](https://togithub.com/housseindjirdeh), [@bernard-lin](https://togithub.com/bernard-lin), [@atcastle](https://togithub.com/atcastle), [@kylemh](https://togithub.com/kylemh), [@samsisle](https://togithub.com/samsisle), [@Gomurmamma](https://togithub.com/Gomurmamma), [@molebox](https://togithub.com/molebox), [@Xairoo](https://togithub.com/Xairoo), [@nelodev](https://togithub.com/nelodev), [@SevlaMare](https://togithub.com/SevlaMare), [@lukahartwig](https://togithub.com/lukahartwig), [@losfair](https://togithub.com/losfair), [@cramforce](https://togithub.com/cramforce), [@hiro0218](https://togithub.com/hiro0218), and [@CommanderRoot](https://togithub.com/CommanderRoot) for helping! ### [`v12.1.0`](https://togithub.com/vercel/next.js/releases/v12.1.0) [Compare Source](https://togithub.com/vercel/next.js/compare/v12.0.10...v12.1.0) ##### Core Changes - Relay Support in Rust Compiler: [#33702](https://togithub.com/vercel/next.js/issues/33702) - fix eslint link-passhref rule: [#33857](https://togithub.com/vercel/next.js/issues/33857) - update webpack: [#33831](https://togithub.com/vercel/next.js/issues/33831) - Flush buffered vitals metrics on page mount: [#33867](https://togithub.com/vercel/next.js/issues/33867) - fix problem with HMR when middleware and page reference the same node_module: [#33873](https://togithub.com/vercel/next.js/issues/33873) - Refactor page component getter in web server: [#33759](https://togithub.com/vercel/next.js/issues/33759) - update NextResponse default redirect status to 307 to match docs: [#33505](https://togithub.com/vercel/next.js/issues/33505) - Bug fix: dynamic page should not be interpreted as predefined page: [#33808](https://togithub.com/vercel/next.js/issues/33808) - Group streaming experimental apis: [#33878](https://togithub.com/vercel/next.js/issues/33878) - Encapsulate routing and initial hydration: [#33875](https://togithub.com/vercel/next.js/issues/33875) - Optimize offline condition judgment: [#33238](https://togithub.com/vercel/next.js/issues/33238) - Ensure external beforeFiles rewrites are handled with next/link: [#33888](https://togithub.com/vercel/next.js/issues/33888) - Fix parsing params for i18n optional route in minimal mode: [#33896](https://togithub.com/vercel/next.js/issues/33896) - Ensure browserslist extends works properly: [#33890](https://togithub.com/vercel/next.js/issues/33890) - Fix image cache race condition: [#33883](https://togithub.com/vercel/next.js/issues/33883) - Add support for Relay projects without `artifactDirectory`: [#33918](https://togithub.com/vercel/next.js/issues/33918) - fix: handle jsxspreadattribute in inline-script-id eslint rule: [#32421](https://togithub.com/vercel/next.js/issues/32421) - feat(next-swc): Update swc: [#33724](https://togithub.com/vercel/next.js/issues/33724) - Update to latest version of amphtml-validator: [#33967](https://togithub.com/vercel/next.js/issues/33967) - Warn in dev mode when script tags are added with next/head: [#33968](https://togithub.com/vercel/next.js/issues/33968) - Ensure optional chaining in swc matches babel: [#33995](https://togithub.com/vercel/next.js/issues/33995) - Use `react-dom/server.browser` in Node.js: [#33950](https://togithub.com/vercel/next.js/issues/33950) - Ensure external middleware rewrite is handled correctly: [#33962](https://togithub.com/vercel/next.js/issues/33962) - Update Terser to v5.10.0, fix minification issues: [#33045](https://togithub.com/vercel/next.js/issues/33045) - Warn in dev mode when stylesheets are added using next/head: [#34004](https://togithub.com/vercel/next.js/issues/34004) - Use `ReadableStream` in `RenderResult`: [#34005](https://togithub.com/vercel/next.js/issues/34005) - Fix suffix ordering while streaming: [#34011](https://togithub.com/vercel/next.js/issues/34011) - Don't use yarn if a package-lock.json file is found: [#31926](https://togithub.com/vercel/next.js/issues/31926) - Do not warn when application/ld+json scripts are used with next/head: [#34021](https://togithub.com/vercel/next.js/issues/34021) - Babel & next-swc: Fix exporting page config with AsExpression: [#32702](https://togithub.com/vercel/next.js/issues/32702) - Detect per page runtime config for functions manifest: [#33945](https://togithub.com/vercel/next.js/issues/33945) - Add JSDoc to config options: [#32915](https://togithub.com/vercel/next.js/issues/32915) - Update font-stylesheet-gathering-plugin.ts: [#30709](https://togithub.com/vercel/next.js/issues/30709) - Add decoratorMetadata flag if enabled by tsconfig: [#32914](https://togithub.com/vercel/next.js/issues/32914) - fix: data url handling in css-loader: [#34034](https://togithub.com/vercel/next.js/issues/34034) - Place 'charset' element at the top of : [#28119](https://togithub.com/vercel/next.js/issues/28119) - Fix detection of anchor click events inside svg: [#23272](https://togithub.com/vercel/next.js/issues/23272) - Allow passing nothing as custom jest config: [#32328](https://togithub.com/vercel/next.js/issues/32328) - Fixes [#31240](https://togithub.com/vercel/next.js/issues/31240): Adding a recursive addPackagePath function in webpack-config: [#31264](https://togithub.com/vercel/next.js/issues/31264) - Require component rendered as child of `Link` to pass event to `onClick` handler: [#27723](https://togithub.com/vercel/next.js/issues/27723) - Allow scroll prevention on hash change: [#31921](https://togithub.com/vercel/next.js/issues/31921) - Add support for async fn / promise in next.config.js/.mjs: [#33662](https://togithub.com/vercel/next.js/issues/33662) - Fix `lazyRoot` functionality for `next/image`: [#33933](https://togithub.com/vercel/next.js/issues/33933) - Change SWC minify from beta to release candidate: [#34056](https://togithub.com/vercel/next.js/issues/34056) - Make `Router` state immutable: [#33925](https://togithub.com/vercel/next.js/issues/33925) - Stop exposing internal `render` and `renderError` methods from `next/client`: [#34069](https://togithub.com/vercel/next.js/issues/34069) - Add api-utils helper for testing: [#34078](https://togithub.com/vercel/next.js/issues/34078) - feat(next-swc): Update swc: [#34045](https://togithub.com/vercel/next.js/issues/34045) - Deprecate `concurrentFeatures` with `runtime`: [#34068](https://togithub.com/vercel/next.js/issues/34068) - Add check for resolveWeak to next/dynamic: [#33908](https://togithub.com/vercel/next.js/issues/33908) - remove unneeded and broken plugin: [#34087](https://togithub.com/vercel/next.js/issues/34087) - Remove experimental warning from next/jest: [#34096](https://togithub.com/vercel/next.js/issues/34096) - fix: arrow function export in rsc client component: [#34105](https://togithub.com/vercel/next.js/issues/34105) - Use `renderToStream` with React 18: [#34106](https://togithub.com/vercel/next.js/issues/34106) - Fix static result being piped: [#34111](https://togithub.com/vercel/next.js/issues/34111) - Polyfill pipeTo and pipeThrough: [#34112](https://togithub.com/vercel/next.js/issues/34112) - Update to leverage response-cache for image-optimizer: [#34075](https://togithub.com/vercel/next.js/issues/34075) - fix: `next/image` usage from `node_modules`: [#33559](https://togithub.com/vercel/next.js/issues/33559) - Fix included flight manifest on node runtime: [#34113](https://togithub.com/vercel/next.js/issues/34113) - Fix: Use `react-dom/server.browser` when `reactRoot: true`: [#34116](https://togithub.com/vercel/next.js/issues/34116) - Fix image-optimizer requires in next-server: [#34141](https://togithub.com/vercel/next.js/issues/34141) - Fix required files matching in rsc: [#34137](https://togithub.com/vercel/next.js/issues/34137) - Throw error when ts file contains css.resolve: [#34149](https://togithub.com/vercel/next.js/issues/34149) - Chore/stable swc compiler options: [#34074](https://togithub.com/vercel/next.js/issues/34074) - Fix bug with "Circular Structure" error: [#23905](https://togithub.com/vercel/next.js/issues/23905) - Add \_document and \_app pre-import: [#23261](https://togithub.com/vercel/next.js/issues/23261) - Ensure standalone server handles SIGTERM: [#34151](https://togithub.com/vercel/next.js/issues/34151) - Bump nft to 0.17.5: [#34190](https://togithub.com/vercel/next.js/issues/34190) - feat: copy `.env` file in standalone mode: [#34143](https://togithub.com/vercel/next.js/issues/34143) - Fix reuse of inline flight response and 404 for RSC in node runtime: [#34202](https://togithub.com/vercel/next.js/issues/34202) - Use updated recursive rm fs method for image-optimizer: [#34210](https://togithub.com/vercel/next.js/issues/34210) - Fix link for "Delete Query Params in Middleware" error message in `next-server.ts`: [#34230](https://togithub.com/vercel/next.js/issues/34230) - Enable dynamic HTML in minimal mode: [#34222](https://togithub.com/vercel/next.js/issues/34222) - Fix uncaught error in getInitialProps when `runtime` is set to `nodejs`: [#34228](https://togithub.com/vercel/next.js/issues/34228) - Optimize the web server size: [#34242](https://togithub.com/vercel/next.js/issues/34242) - feat: allow `node-sass@7` as peer dependency: [#34107](https://togithub.com/vercel/next.js/issues/34107) - Adding step to build the app with docker in existing projects: [#34083](https://togithub.com/vercel/next.js/issues/34083) - Changed all occurrences of etc to match: [#34280](https://togithub.com/vercel/next.js/issues/34280) - Align reactRoot config between server and webpack config: [#34328](https://togithub.com/vercel/next.js/issues/34328) - Fix `Configuration
📅 Schedule: "before 3am on Monday" (UTC).
🚦 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 WhiteSource Renovate. View repository job log here.