hygraph / reference-marketing-website

Next.js starter for creating a SaaS Marketing Website with Hygraph ⚡️
https://marketing-websites.withheadlesscms.com
MIT License
129 stars 52 forks source link

chore(deps): update nextjs monorepo to v12 (major) #148

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
eslint-config-next 11.1.4 -> 12.1.4 age adoption passing confidence
next (source) 11.1.4 -> 12.1.4 age adoption passing confidence

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 ` Githubissues.
  • Githubissues is a development platform for aggregating issues.