sourcegraph / learn

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

Update nextjs monorepo to ^12.0.4 #396

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

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

Release Notes

vercel/next.js ### [`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 `
`: [#​30156](https://togithub.com/vercel/next.js/issues/30156) - Change .web extension of document page to part of path: [#​31116](https://togithub.com/vercel/next.js/issues/31116) - Enable code splitting for the web runtime build: [#​31090](https://togithub.com/vercel/next.js/issues/31090) - Give priority to document.title over h1 when announcing page change: [#​31147](https://togithub.com/vercel/next.js/issues/31147) - Add webpack5 namespace to fix type errors: [#​31140](https://togithub.com/vercel/next.js/issues/31140) - Add warning when image has unused `sizes` prop: [#​31064](https://togithub.com/vercel/next.js/issues/31064) - Add experimental next-swc jest transform: [#​30993](https://togithub.com/vercel/next.js/issues/30993) - fix: support --cache-strategy ESLint argument (fixes [#​29926](https://togithub.com/vercel/next.js/issues/29926)): [#​29928](https://togithub.com/vercel/next.js/issues/29928) - fixes [#​31060](https://togithub.com/vercel/next.js/issues/31060): NullReferenceException: [#​31061](https://togithub.com/vercel/next.js/issues/31061) - use loader-utils 2 for resolve-url-loader to fix `./data:` urls in sass: [#​31134](https://togithub.com/vercel/next.js/issues/31134) - Update reason message for isolatedModules and esModuleInterop: [#​31150](https://togithub.com/vercel/next.js/issues/31150) - Add input/output test for 30091: [#​31166](https://togithub.com/vercel/next.js/issues/31166) - Fix `useId` mismatches on hydration: [#​31102](https://togithub.com/vercel/next.js/issues/31102) - Do not hide body when concurrentFeatures is enabled: [#​31187](https://togithub.com/vercel/next.js/issues/31187) - Fix middleware i18n rewrites: [#​31174](https://togithub.com/vercel/next.js/issues/31174) - next-swc: Add `displayNameAndId` of `styled-components`: [#​31189](https://togithub.com/vercel/next.js/issues/31189) - Use require.resolve to detect "framework" packages (fix pnpm): [#​21048](https://togithub.com/vercel/next.js/issues/21048) - Add all cases where webpack5 type is used: [#​31206](https://togithub.com/vercel/next.js/issues/31206) - Add test for styled-components SWC transform disabled: [#​31214](https://togithub.com/vercel/next.js/issues/31214) - Add initial standalone build handling: [#​31003](https://togithub.com/vercel/next.js/issues/31003) - fix(middleware): expose `CryptoKey` and `globalThis.CryptoKey`: [#​31193](https://togithub.com/vercel/next.js/issues/31193) - Disable styled-components displayName in production: [#​31216](https://togithub.com/vercel/next.js/issues/31216) - fix(31013): add base path to preflight request url: [#​31101](https://togithub.com/vercel/next.js/issues/31101) - share collections in middleware vm context: [#​31043](https://togithub.com/vercel/next.js/issues/31043) - Support assetPrefix specific protocol: [#​31213](https://togithub.com/vercel/next.js/issues/31213) - upgrade webpack: [#​31034](https://togithub.com/vercel/next.js/issues/31034) - Update swc: [#​31233](https://togithub.com/vercel/next.js/issues/31233) - run middleware parser handler only for middleware modules: [#​31219](https://togithub.com/vercel/next.js/issues/31219) - Update swc minifier: [#​31242](https://togithub.com/vercel/next.js/issues/31242) - Fix process.env overriden in web runtime: [#​31261](https://togithub.com/vercel/next.js/issues/31261) - fix: replaced useless let: [#​31239](https://togithub.com/vercel/next.js/issues/31239) - Experimental next/jest config helper: [#​31246](https://togithub.com/vercel/next.js/issues/31246) - correctly assess node equality when nonce attribute is present: [#​27573](https://togithub.com/vercel/next.js/issues/27573) - bugfix/i18n Do not support the second locale in the pathname: [#​31229](https://togithub.com/vercel/next.js/issues/31229) - Fix typo in `next build` log: [#​31295](https://togithub.com/vercel/next.js/issues/31295) - Ensure next/jest is published: [#​31296](https://togithub.com/vercel/next.js/issues/31296) - Update swc for `jsc.paths`: [#​31290](https://togithub.com/vercel/next.js/issues/31290) - next/jest: Ensure typeof window is not transformed in jsdom environment: [#​31304](https://togithub.com/vercel/next.js/issues/31304) - Output where preference is saved: [#​31305](https://togithub.com/vercel/next.js/issues/31305) - Upgrade webpack: [#​31313](https://togithub.com/vercel/next.js/issues/31313) - Ensure asPath is correctly normalized in minimalMode with i18n: [#​31281](https://togithub.com/vercel/next.js/issues/31281) - Automatically using different port to start dev server for non-explicit port: [#​30736](https://togithub.com/vercel/next.js/issues/30736) - Resolve stream piper on complete shell for renderToReadableStream: [#​31186](https://togithub.com/vercel/next.js/issues/31186) - fix(middleware): fetch resource may be a URL instance (or any stringifiable value): [#​31260](https://togithub.com/vercel/next.js/issues/31260) - Ensure NODE_ENV is replaced correctly with swc: [#​31274](https://togithub.com/vercel/next.js/issues/31274) - Add support for jsxImportSource in tsconfig/jsconfig: [#​31358](https://togithub.com/vercel/next.js/issues/31358) - fix(30724): clear "x-middleware-next" header when chaining middlewares: [#​30866](https://togithub.com/vercel/next.js/issues/30866) - Add eslint rule to prevent importing next/server outside of \_middleware: [#​30973](https://togithub.com/vercel/next.js/issues/30973) - Don't proxy middleware if host is the same: [#​31180](https://togithub.com/vercel/next.js/issues/31180) - Add support for legacy decorators through tsconfig/jsconfig: [#​31376](https://togithub.com/vercel/next.js/issues/31376) - Update swc & fix `styled-jsx`: [#​31407](https://togithub.com/vercel/next.js/issues/31407) - show `(middleware only)` when a middleware is added to the compiler: [#​31409](https://togithub.com/vercel/next.js/issues/31409) - Add minify debug env var to investigate minifier bugs: [#​31417](https://togithub.com/vercel/next.js/issues/31417) - add filename to babel warning about anonymous function default exports: [#​31322](https://togithub.com/vercel/next.js/issues/31322) - Refactor server/render for SSR streaming: [#​31231](https://togithub.com/vercel/next.js/issues/31231) - Remove moment locale replace from craCompat as it's a default in Next.js 12: [#​31431](https://togithub.com/vercel/next.js/issues/31431) - Fix basePath replacing server-side and `normalizeLocalePath()` when path is empty string: [#​30978](https://togithub.com/vercel/next.js/issues/30978) - Close stream when fatal error occurs: [#​31164](https://togithub.com/vercel/next.js/issues/31164) - middleware: add request referrer support: [#​31343](https://togithub.com/vercel/next.js/issues/31343) ##### Documentation Changes - Expands `next/script` documentation: [#​31063](https://togithub.com/vercel/next.js/issues/31063) - Fix minor typos: [#​31161](https://togithub.com/vercel/next.js/issues/31161) - Include www subdomain example in Domain Routing: [#​30487](https://togithub.com/vercel/next.js/issues/30487) - Fix heading levels in URL imports docs.: [#​31163](https://togithub.com/vercel/next.js/issues/31163) - Update upgrading.md: [#​31173](https://togithub.com/vercel/next.js/issues/31173) - docs: fix typo in css-in-js page: [#​31244](https://togithub.com/vercel/next.js/issues/31244) - Testing Docs: Add links to jump to sections: [#​31311](https://togithub.com/vercel/next.js/issues/31311) - Changes in dev script (package.json): [#​31245](https://togithub.com/vercel/next.js/issues/31245) - Typo fixes on Markdown files: [#​31380](https://togithub.com/vercel/next.js/issues/31380) - Update data-fetching.md: [#​31394](https://togithub.com/vercel/next.js/issues/31394) - Update image-optimization.md: [#​31401](https://togithub.com/vercel/next.js/issues/31401) - Fix function syntax for API Routes documentation: [#​31414](https://togithub.com/vercel/next.js/issues/31414) - docs: next-iron-session renamed to iron-session: [#​31292](https://togithub.com/vercel/next.js/issues/31292) - Clarify with commas: [#​31224](https://togithub.com/vercel/next.js/issues/31224) - docs(auth): fix iron-session example url + API: [#​31413](https://togithub.com/vercel/next.js/issues/31413) ##### Example Changes - Optimise bundle size for with-supertokens example: [#​31040](https://togithub.com/vercel/next.js/issues/31040) - Update remark and remark-html dependencies: [#​31051](https://togithub.com/vercel/next.js/issues/31051) - Docs/examples/with iron session updates: [#​30956](https://togithub.com/vercel/next.js/issues/30956) - Fix Auth0 Example: [#​31284](https://togithub.com/vercel/next.js/issues/31284) - Updates with-supertokens example to add sign in with apple: [#​31200](https://togithub.com/vercel/next.js/issues/31200) - Auth0 Example: `getSession` should be called with `req` and `res`: [#​31330](https://togithub.com/vercel/next.js/issues/31330) - examples: fix README with google analytics: [#​31384](https://togithub.com/vercel/next.js/issues/31384) - Add Playwright example: [#​29426](https://togithub.com/vercel/next.js/issues/29426) - Fix storybook styled-jsx example with styled-jsx 5: [#​31357](https://togithub.com/vercel/next.js/issues/31357) ##### Misc Changes - improve windows support for benchmark: [#​31032](https://togithub.com/vercel/next.js/issues/31032) - Add integration test for Suspense and streaming: [#​31197](https://togithub.com/vercel/next.js/issues/31197) - Bump cancel-workflow-action to 0.9.1: [#​31210](https://togithub.com/vercel/next.js/issues/31210) - test: skip flaky dynamic import tests: [#​31221](https://togithub.com/vercel/next.js/issues/31221) - Add integration test of API routes with `concurrentFeatures` enabled: [#​31227](https://togithub.com/vercel/next.js/issues/31227) - Update contributing doc with trouble shooting section for swc: [#​31265](https://togithub.com/vercel/next.js/issues/31265) - Fix test-pnp stalling in CI: [#​31282](https://togithub.com/vercel/next.js/issues/31282) - Fix failed-loading-swc link in Troubleshooting: [#​31314](https://togithub.com/vercel/next.js/issues/31314) - Maintain co-authors when kodiak merges: [#​31316](https://togithub.com/vercel/next.js/issues/31316) - bugfix/second-locale-in-pathname remove console.log: [#​31289](https://togithub.com/vercel/next.js/issues/31289) - Rewrite send-trace-to-jaeger in Rust: [#​31392](https://togithub.com/vercel/next.js/issues/31392) - Ensure Git feature.manyFiles is enabled: [#​31408](https://togithub.com/vercel/next.js/issues/31408) - Remove .only and ensure jest lint rules apply for all tests: [#​31456](https://togithub.com/vercel/next.js/issues/31456) - Ensure swc dep is copied for isolated tests: [#​31462](https://togithub.com/vercel/next.js/issues/31462) ##### Credits Huge thanks to [@​javivelasco](https://togithub.com/javivelasco), [@​shuding](https://togithub.com/shuding), [@​rishabhpoddar](https://togithub.com/rishabhpoddar), [@​chemicalkosek](https://togithub.com/chemicalkosek), [@​huozhi](https://togithub.com/huozhi), [@​timneutkens](https://togithub.com/timneutkens), [@​devknoll](https://togithub.com/devknoll), [@​sokra](https://togithub.com/sokra), [@​KittyGiraudel](https://togithub.com/KittyGiraudel), [@​styfle](https://togithub.com/styfle), [@​padmaia](https://togithub.com/padmaia), [@​housseindjirdeh](https://togithub.com/housseindjirdeh), [@​OKinane](https://togithub.com/OKinane), [@​KonstHardy](https://togithub.com/KonstHardy), [@​BrandonRomano](https://togithub.com/BrandonRomano), [@​leerob](https://togithub.com/leerob), [@​furcan](https://togithub.com/furcan), [@​dusanralic](https://togithub.com/dusanralic), [@​kdy1](https://togithub.com/kdy1), [@​elliottsj](https://togithub.com/elliottsj), [@​vvo](https://togithub.com/vvo), [@​Kikobeats](https://togithub.com/Kikobeats), [@​hi-ogawa](https://togithub.com/hi-ogawa), [@​panva](https://togithub.com/panva), [@​genetschneider](https://togithub.com/genetschneider), [@​thundermiracle](https://togithub.com/thundermiracle), [@​stefano-rainieri](https://togithub.com/stefano-rainieri), [@​ericbiewener](https://togithub.com/ericbiewener), [@​vordgi](https://togithub.com/vordgi), [@​stevejarvis](https://togithub.com/stevejarvis), [@​ihmpavel](https://togithub.com/ihmpavel), [@​ijjk](https://togithub.com/ijjk), [@​delbaoliveira](https://togithub.com/delbaoliveira), [@​matamatanot](https://togithub.com/matamatanot), [@​dyarfaradj](https://togithub.com/dyarfaradj), [@​iheyunfei](https://togithub.com/iheyunfei), [@​thibautsabot](https://togithub.com/thibautsabot), [@​ascorbic](https://togithub.com/ascorbic), [@​fytriht](https://togithub.com/fytriht), [@​emzoumpo](https://togithub.com/emzoumpo), [@​onurtemiz](https://togithub.com/onurtemiz), [@​a-ursino](https://togithub.com/a-ursino), [@​mxschmitt](https://togithub.com/mxschmitt), [@​knezevicdev](https://togithub.com/knezevicdev), [@​bywo](https://togithub.com/bywo), [@​OArnarsson](https://togithub.com/OArnarsson), and [@​TurekBot](https://togithub.com/TurekBot) for helping!

Configuration

πŸ“… Schedule: "on the 1st through 7th day of the month" in timezone America/Los_Angeles.

🚦 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.

netlify[bot] commented 2 years ago

βœ”οΈ Deploy Preview for sourcegraph-learn ready!

πŸ”¨ Explore the source changes: c7b99fc1a82200c8bb5b64818be49f278ef9afd4

πŸ” Inspect the deploy log: https://app.netlify.com/sites/sourcegraph-learn/deploys/61a79c7fd374140007e49973

😎 Browse the preview: https://deploy-preview-396--sourcegraph-learn.netlify.app