Open rewind-backups-for-github-restore[bot] opened 2 years ago
Comment by netlify[bot]:
β Deploy Preview for distracted-edison-97708a failed.
π¨ Explore the source changes: e6cadd46168008b0a8aaae62668618ecbf7d6f3d
π Inspect the deploy log: https://app.netlify.com/sites/distracted-edison-97708a/deploys/61cf9bbc11fa4800090f335a
38 pull request by renovate[bot],
This PR contains the following updates:
9.5.5
->12.0.7
^11.1.3
->12.0.7
Release Notes
vercel/next.js
### [`v12.0.7`](https://togithub.com/vercel/next.js/releases/v12.0.7) [Compare Source](https://togithub.com/vercel/next.js/compare/v12.0.6...v12.0.7) ##### Core Changes - Add test for TailwindCSS JIT mode reloading: [#32130](https://togithub.com/vercel/next.js/issues/32130) - Ensure conf type for createServer is not changed: [#32134](https://togithub.com/vercel/next.js/issues/32134) ##### Credits Huge thanks to [@timneutkens](https://togithub.com/timneutkens) for helping! ### [`v12.0.6`](https://togithub.com/vercel/next.js/releases/v12.0.6) [Compare Source](https://togithub.com/vercel/next.js/compare/v12.0.5...v12.0.6) ##### Core Changes - Fix document type import path: [#32117](https://togithub.com/vercel/next.js/issues/32117) ### [`v12.0.5`](https://togithub.com/vercel/next.js/releases/v12.0.5) [Compare Source](https://togithub.com/vercel/next.js/compare/v12.0.4...v12.0.5) **This upgrade is completely backward-compatible and recommended for all users on versions below 12.0.5. A backport of the patch to Next.js 11 is available as 11.1.3.** When a URL is provided to `next-server` that cannot be parsed, an `unhandledPromiseRejection` could occur. On Node.js versions < `v15.0.0` this isn't a fatal issue as only a warning is shown. However, in Node.js versions > `v15.0.0`, this causes the server process to exit, which can result in unexpected server crashes. #### How to Upgrade - We have released patch versions for both the stable and canary channels of Next.js. - To upgrade run `npm install next@latest --save` #### Impact - **Affected:** All of the following must be true to be affected - Next.js versions above `v11.1.0` and below `v12.0.5` - Node.js above `v15.0.0` being used - Using `next start` or a [custom server](https://nextjs.org/docs/advanced-features/custom-server) - **Not affected**: Deployments on Vercel ([vercel.com](https://vercel.com)) are not affected along with similar environments where invalid requests are filtered before reaching Next.js. We recommend everyone to upgrade regardless of whether you can reproduce the issue or not. ##### How to Assess Impact If you are running Node.js > `v15.0.0` with Next.js, you can filter any server error logs for `ERR_INVALID_URL`. #### What is Being Done As Next.js has grown in popularity and usage by enterprises, it has received the attention of security researchers and auditors. We are thankful to GitHub user `hopeless-programmer-online` for their investigation and discovery of the original bug. We've landed a patch that ensures this is handled properly so the `unhandledPromiseRejection` issue no longer occurs. Regression tests for this attack were added to the [security](https://togithub.com/vercel/next.js/blob/canary/test/integration/production/test/security.js) integration test suite - A public CVE is requested. - We encourage responsible disclosure of future reports. Please email us at `security@vercel.com`. We are actively monitoring this mailbox. *** ##### Core Changes - Add a swc transform for removal of `console.*` calls.: [#31449](https://togithub.com/vercel/next.js/issues/31449) - Support ESLint v8: [#29865](https://togithub.com/vercel/next.js/issues/29865) - fix: allow `next lint` without `eslint-config-next` installed: [#29823](https://togithub.com/vercel/next.js/issues/29823) - Remove TextEncoder and TextDecoder wrappers: [#31490](https://togithub.com/vercel/next.js/issues/31490) - simplify output messages: [#31454](https://togithub.com/vercel/next.js/issues/31454) - update webpack: [#31455](https://togithub.com/vercel/next.js/issues/31455) - NextResponse: add `.json` static method: [#31483](https://togithub.com/vercel/next.js/issues/31483) - Use \_error for development in streaming: [#31466](https://togithub.com/vercel/next.js/issues/31466) - Refactor the middleware SSR loader: [#31508](https://togithub.com/vercel/next.js/issues/31508) - Add detection for `Google-PageRenderer` bot: [#31521](https://togithub.com/vercel/next.js/issues/31521) - Click-to-open error state for development overlay [#14461](https://togithub.com/vercel/next.js/issues/14461): [#21819](https://togithub.com/vercel/next.js/issues/21819) - Ensure only one doctype is rendered: [#31534](https://togithub.com/vercel/next.js/issues/31534) - Update swc: [#31540](https://togithub.com/vercel/next.js/issues/31540) - Add/wasm build: [#31470](https://togithub.com/vercel/next.js/issues/31470) - telemetry: track usage of 'optimizeFonts': [#31522](https://togithub.com/vercel/next.js/issues/31522) - Make missing `Document` components an error: [#31505](https://togithub.com/vercel/next.js/issues/31505) - Adjust AVIF size so that its smaller than WebP size: [#31494](https://togithub.com/vercel/next.js/issues/31494) - Fix unhandled rejection on route change in dev: [#31554](https://togithub.com/vercel/next.js/issues/31554) - Re-add native package folders and ensure wasm artifacts are downloaded: [#31561](https://togithub.com/vercel/next.js/issues/31561) - Fix HMR for middleware [#30791](https://togithub.com/vercel/next.js/issues/30791): [#31548](https://togithub.com/vercel/next.js/issues/31548) - Minor simplifications to `renderToWebStream`: [#31553](https://togithub.com/vercel/next.js/issues/31553) - Fix accessing router before ready for HMR ping: [#31588](https://togithub.com/vercel/next.js/issues/31588) - Implement SWC port of next-page-disallow-re-export-all-exports: [#31582](https://togithub.com/vercel/next.js/issues/31582) - \[ESLint] Prevent `no-html-link-for-pages` from warning for static files: [#31495](https://togithub.com/vercel/next.js/issues/31495) - Move root div to an app wrapper: [#31596](https://togithub.com/vercel/next.js/issues/31596) - Add types for geo lat and long: [#31624](https://togithub.com/vercel/next.js/issues/31624) - Fix non-concurrent function \_document: [#31628](https://togithub.com/vercel/next.js/issues/31628) - Remove outdated comment about string children being deprecated in `next/link`: [#30606](https://togithub.com/vercel/next.js/issues/30606) - fix(middleware): consider localhost variations: [#31603](https://togithub.com/vercel/next.js/issues/31603) - Update swc: [#31639](https://togithub.com/vercel/next.js/issues/31639) - Extract next-swc Rust code into its own package: [#31635](https://togithub.com/vercel/next.js/issues/31635) - Fix dev router usage before router initializing: [#31632](https://togithub.com/vercel/next.js/issues/31632) - avoid mutating response.cookie options: [#31679](https://togithub.com/vercel/next.js/issues/31679) - Add cookies and headers for request using in RSC: [#31623](https://togithub.com/vercel/next.js/issues/31623) - Remove trace_target env var in favor of .next/trace: [#31697](https://togithub.com/vercel/next.js/issues/31697) - Add error link when hydration error occurs: [#31519](https://togithub.com/vercel/next.js/issues/31519) - Fix initial compile timing incorrect measurement: [#31733](https://togithub.com/vercel/next.js/issues/31733) - Lazily init getStaticPathsWorker: [#31760](https://togithub.com/vercel/next.js/issues/31760) - Remove noop import: [#31722](https://togithub.com/vercel/next.js/issues/31722) - update webpack: [#31759](https://togithub.com/vercel/next.js/issues/31759) - Fix wasm loading: [#31772](https://togithub.com/vercel/next.js/issues/31772) - Remove some watcher hacks and update version: [#31768](https://togithub.com/vercel/next.js/issues/31768) - Improve and refactor some types: [#31704](https://togithub.com/vercel/next.js/issues/31704) - read file in swc when no loaders follow the next-swc-loader: [#31682](https://togithub.com/vercel/next.js/issues/31682) - Lazy-load postcss: [#31762](https://togithub.com/vercel/next.js/issues/31762) - update webpack: [#31798](https://togithub.com/vercel/next.js/issues/31798) - Ensure middleware order is preserved: [#31801](https://togithub.com/vercel/next.js/issues/31801) - Refactor sandbox module cache: [#31822](https://togithub.com/vercel/next.js/issues/31822) - Fix hydration middleware effects: [#31800](https://togithub.com/vercel/next.js/issues/31800) - fix: support function components in \_document in no-page-custom-font: [#31560](https://togithub.com/vercel/next.js/issues/31560) - Add support for removing React properties.: [#31606](https://togithub.com/vercel/next.js/issues/31606) - Include submodules in exported type definition: [#28316](https://togithub.com/vercel/next.js/issues/28316) - Move require.resolve into the module scope: [#31799](https://togithub.com/vercel/next.js/issues/31799) - fix amp validator message format: [#31018](https://togithub.com/vercel/next.js/issues/31018) - Fix auto export condition in edge SSR: [#31845](https://togithub.com/vercel/next.js/issues/31845) - bugfix: href value is not defined when typing out the href: [#31813](https://togithub.com/vercel/next.js/issues/31813) - Do not load external binding if local was found: [#31853](https://togithub.com/vercel/next.js/issues/31853) - fix: rsc headers: [#31854](https://togithub.com/vercel/next.js/issues/31854) - Add port and hostname options to Next Server: [#31858](https://togithub.com/vercel/next.js/issues/31858) - Fix: Cannot assign to read only property 'children': [#31784](https://togithub.com/vercel/next.js/issues/31784) - Fix disabling of built-in CSS support if there is a custom loader: [#31078](https://togithub.com/vercel/next.js/issues/31078) - include no-document-import-in-page rule in plugin index: [#31890](https://togithub.com/vercel/next.js/issues/31890) - Account for platform/arch not supported by napi-rs: [#31938](https://togithub.com/vercel/next.js/issues/31938) - Removng prop writable checking in prod: [#31929](https://togithub.com/vercel/next.js/issues/31929) - Enable default functional document when concurrentFeatures is enabled: [#31954](https://togithub.com/vercel/next.js/issues/31954) - Stop using environment variables in `pages/_document`: [#31946](https://togithub.com/vercel/next.js/issues/31946) - Fix image related link prop warning with react 18 beta: [#31895](https://togithub.com/vercel/next.js/issues/31895) - Escape string when converting to regexp: [#31791](https://togithub.com/vercel/next.js/issues/31791) - Add TS types for NextMiddleware: [#30578](https://togithub.com/vercel/next.js/issues/30578) - fix(types): add missing ua type for NextRequest: [#31901](https://togithub.com/vercel/next.js/issues/31901) - Ensure that external modules are not bundled into the client for RSC: [#31968](https://togithub.com/vercel/next.js/issues/31968) - Resolve streaming data for flight requests: [#32010](https://togithub.com/vercel/next.js/issues/32010) - Allow pre-release React 18 as peer: [#31991](https://togithub.com/vercel/next.js/issues/31991) - fix(Link): Do not ignore onMouseEnter prop with absolute href: [#32012](https://togithub.com/vercel/next.js/issues/32012) - add experimental.swcFileReading flag to disable file reading in swc: [#31995](https://togithub.com/vercel/next.js/issues/31995) - Fix middleware types with skipLibCheck: false: [#32025](https://togithub.com/vercel/next.js/issues/32025) - Include page for export errors for easier debugging: [#32013](https://togithub.com/vercel/next.js/issues/32013) - avoid retaining webpack config too long: [#32053](https://togithub.com/vercel/next.js/issues/32053) - Skip warnings for Image not rendered to the dom: [#32049](https://togithub.com/vercel/next.js/issues/32049) - Improve exported root definitions: [#32077](https://togithub.com/vercel/next.js/issues/32077) - Fix running server with Polyfilled fetch: [#31935](https://togithub.com/vercel/next.js/issues/31935) - Ensure invalid URLs respond with 400 correctly: [#32092](https://togithub.com/vercel/next.js/issues/32092) - Remove future.strictPostcssConfiguration config: [#32098](https://togithub.com/vercel/next.js/issues/32098) - Revert "Fix running server with Polyfilled fetch ([#31935](https://togithub.com/vercel/next.js/issues/31935))": [#32100](https://togithub.com/vercel/next.js/issues/32100) ##### Documentation Changes - Update react-18.md: [#31476](https://togithub.com/vercel/next.js/issues/31476) - Add docs for the Rust Compiler (SWC).: [#31467](https://togithub.com/vercel/next.js/issues/31467) - Script examples: [#31181](https://togithub.com/vercel/next.js/issues/31181) - Fix type declaration for API Routes response: [#31486](https://togithub.com/vercel/next.js/issues/31486) - Update environment-variables.md: [#31525](https://togithub.com/vercel/next.js/issues/31525) - Add middleware examples to custom page extensions: [#31545](https://togithub.com/vercel/next.js/issues/31545) - Added guide for setting up Next.js with MDX: [#30869](https://togithub.com/vercel/next.js/issues/30869) - Fix typo in MDX guide: [#31709](https://togithub.com/vercel/next.js/issues/31709) - Added note on env vars: [#31237](https://togithub.com/vercel/next.js/issues/31237) - docs(next-config): extend phase lines reference: [#31711](https://togithub.com/vercel/next.js/issues/31711) - \[Docs]\[Fix] Broken Link to API Reference: [#31820](https://togithub.com/vercel/next.js/issues/31820) - Docs(router): Add type for url parameter: [#31737](https://togithub.com/vercel/next.js/issues/31737) - SWC: Add error checks and tests to next-dynamic: [#31683](https://togithub.com/vercel/next.js/issues/31683) - Docs(React 18): add missing `Suspense` import: [#31897](https://togithub.com/vercel/next.js/issues/31897) - Docs(React 18): remove unnecessary `React` import: [#31900](https://togithub.com/vercel/next.js/issues/31900) - IMPROVE: Middlerware Set Cookie API Ref: [#31707](https://togithub.com/vercel/next.js/issues/31707) - Update `next export` documentation.: [#31465](https://togithub.com/vercel/next.js/issues/31465) - Update Jest examples and docs: [#31633](https://togithub.com/vercel/next.js/issues/31633) - Add note to docs about `sharp` memory usage on default Linux setup: [#31919](https://togithub.com/vercel/next.js/issues/31919) - docs(Testing): Remove duplicate link: [#32071](https://togithub.com/vercel/next.js/issues/32071) ##### Example Changes - Replace old static path by public | typo: [#31573](https://togithub.com/vercel/next.js/issues/31573) - Update README of cms-cosmic example: [#31701](https://togithub.com/vercel/next.js/issues/31701) - 'imgix.cosmicjs.com' image domain in cms-cosmic example: [#31703](https://togithub.com/vercel/next.js/issues/31703) - Fix pwa demo: [#31734](https://togithub.com/vercel/next.js/issues/31734) - docs(examples): add secure flag explanation to with-iron-session: [#31896](https://togithub.com/vercel/next.js/issues/31896) - \[WIP] Add tracing to `with-sentry` example: [#30401](https://togithub.com/vercel/next.js/issues/30401) - Fix with-mongo example by removing deprecated function: [#30675](https://togithub.com/vercel/next.js/issues/30675) - grammatical error in alert.js: [#32062](https://togithub.com/vercel/next.js/issues/32062) ##### Misc Changes - Revert "Add docs for the Rust Compiler (SWC).": [#31484](https://togithub.com/vercel/next.js/issues/31484) - Ensure wasm package.json is written before publish: [#31568](https://togithub.com/vercel/next.js/issues/31568) - Update labeler.json - Update labeler.json - Update send-to-jaeger URL output: [#31563](https://togithub.com/vercel/next.js/issues/31563) - Fixing typo in Documentation about Testing: [#31653](https://togithub.com/vercel/next.js/issues/31653) - Add docs for the Next.js Compiler written in Rust (leveraging SWC): [#31485](https://togithub.com/vercel/next.js/issues/31485) - Fix prettier linting - Fix labels for release sections - Fix musl build - Enable require for swc_bundler: [#31663](https://togithub.com/vercel/next.js/issues/31663) - add test case: [#31691](https://togithub.com/vercel/next.js/issues/31691) - Update swc: [#31816](https://togithub.com/vercel/next.js/issues/31816) - docs(middleware): file extension consistency: [#31879](https://togithub.com/vercel/next.js/issues/31879) - Remove unpurpose test: [#31898](https://togithub.com/vercel/next.js/issues/31898) - Remove unnecessary workflow step : [#31943](https://togithub.com/vercel/next.js/issues/31943) - Update swc: [#31963](https://togithub.com/vercel/next.js/issues/31963) - docs(NextRequest): req.cookie => req.cookies: [#31975](https://togithub.com/vercel/next.js/issues/31975) - Add next-swc to labeler - Add Rich, Maedah, and Ismael to the docs label - Updated Maedahs name in label gen config: [#32005](https://togithub.com/vercel/next.js/issues/32005) - Fix copying swc binary for isolated tests locally: [#32026](https://togithub.com/vercel/next.js/issues/32026) - Lock node version for CI: [#32057](https://togithub.com/vercel/next.js/issues/32057) - Make CI build cache key more specific: [#32059](https://togithub.com/vercel/next.js/issues/32059) - Remove "yarn jest" from Next.js repo scripts: [#32042](https://togithub.com/vercel/next.js/issues/32042) - Fix the testall npm script: [#32081](https://togithub.com/vercel/next.js/issues/32081) ##### Credits Huge thanks to [@mzaien](https://togithub.com/mzaien), [@losfair](https://togithub.com/losfair), [@ykzts](https://togithub.com/ykzts), [@leerob](https://togithub.com/leerob), [@timneutkens](https://togithub.com/timneutkens), [@stefanprobst](https://togithub.com/stefanprobst), [@javivelasco](https://togithub.com/javivelasco), [@sokra](https://togithub.com/sokra), [@goncy](https://togithub.com/goncy), [@knezevicdev](https://togithub.com/knezevicdev), [@Kikobeats](https://togithub.com/Kikobeats), [@huozhi](https://togithub.com/huozhi), [@shuding](https://togithub.com/shuding), [@styfle](https://togithub.com/styfle), [@yang-feng-yfeng](https://togithub.com/yang-feng-yfeng), [@kdy1](https://togithub.com/kdy1), [@xuchaobei](https://togithub.com/xuchaobei), [@elkevinwolf](https://togithub.com/elkevinwolf), [@padmaia](https://togithub.com/padmaia), [@kyliau](https://togithub.com/kyliau), [@devknoll](https://togithub.com/devknoll), [@fabienheureux](https://togithub.com/fabienheureux), [@hanneslund](https://togithub.com/hanneslund), [@nilskaspersson](https://togithub.com/nilskaspersson), [@Andarist](https://togithub.com/Andarist), [@mathcrln](https://togithub.com/mathcrln), [@ijjk](https://togithub.com/ijjk), [@dferber90](https://togithub.com/dferber90), [@molebox](https://togithub.com/molebox), [@FranciscoMoretti](https://togithub.com/FranciscoMoretti), [@benschwarz](https://togithub.com/benschwarz), [@wendellhu95](https://togithub.com/wendellhu95), [@gazdagergo](https://togithub.com/gazdagergo), [@imabp](https://togithub.com/imabp), [@ljosberinn](https://togithub.com/ljosberinn), [@samuliasmala](https://togithub.com/samuliasmala), [@lfades](https://togithub.com/lfades), [@ka2jun8](https://togithub.com/ka2jun8), [@monsonjeremy](https://togithub.com/monsonjeremy), [@pqt](https://togithub.com/pqt), [@vvo](https://togithub.com/vvo), [@leoortizz](https://togithub.com/leoortizz), [@michel-kraemer](https://togithub.com/michel-kraemer), [@thibautsabot](https://togithub.com/thibautsabot), [@MaedahBatool](https://togithub.com/MaedahBatool), [@lobsterkatie](https://togithub.com/lobsterkatie), [@ntkoopman](https://togithub.com/ntkoopman), [@delbaoliveira](https://togithub.com/delbaoliveira), [@iicdii](https://togithub.com/iicdii), [@j-mendez](https://togithub.com/j-mendez), [@chentsulin](https://togithub.com/chentsulin), [@ericmatthys](https://togithub.com/ericmatthys), [@lennym](https://togithub.com/lennym), [@balogunkeji](https://togithub.com/balogunkeji), and [@wnr](https://togithub.com/wnr) for helping! ### [`v12.0.4`](https://togithub.com/vercel/next.js/releases/v12.0.4) [Compare Source](https://togithub.com/vercel/next.js/compare/v12.0.3...v12.0.4) ##### Core Changes - Update middleware eval checks: [#30883](https://togithub.com/vercel/next.js/issues/30883) - Optimize the SSR middleware runtime size: [#30906](https://togithub.com/vercel/next.js/issues/30906) - Improve error handling in the SSR middleware: [#31057](https://togithub.com/vercel/next.js/issues/31057) - Ensure decode error in minimal mode responds with 400 not 500: [#31037](https://togithub.com/vercel/next.js/issues/31037) - Update ServerlessPlugin to use chunkGraph: [#31058](https://togithub.com/vercel/next.js/issues/31058) - Fix custom 404 page when concurrentFeatures is enabled: [#31059](https://togithub.com/vercel/next.js/issues/31059) - Upgrade React alpha and experimental dependencies to latest: [#31039](https://togithub.com/vercel/next.js/issues/31039) - Change disabled SWC message to Log.info: [#31091](https://togithub.com/vercel/next.js/issues/31091) - Add render prop support to `Configuration
π Schedule: 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 WhiteSource Renovate. View repository job log here.