1. 11 Nov, 2022 4 commits
    • JJ Kasper's avatar
      v13.0.3 · 4240dcc4
      JJ Kasper authored
      4240dcc4
    • JJ Kasper's avatar
      v13.0.3-canary.4 · 895d8959
      JJ Kasper authored
      895d8959
    • JJ Kasper's avatar
      Track page counts during builds (#42766) · 3a22e976
      JJ Kasper authored
      Ensures we keep track of page counts during builds. 
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the
      feature request has been accepted for implementation before opening a
      PR.
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
      - [ ] The "examples guidelines" are followed from [our contributing
      doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      3a22e976
    • Jiachi Liu's avatar
      Fix resolving for esm package with only exports.import condition (#42767) · 028b8d04
      Jiachi Liu authored
      Should be able to resolve `exports.import` condition for esm packages only when import them in server components
      
      Fixes: #42534
      
      ## Bug
      
      - [x] Related issues linked using `fixes #number`
      - [x] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      028b8d04
  2. 10 Nov, 2022 20 commits
    • Oskar Grunning's avatar
      fix: enable emotion import map (#42750) · cb8fdc6d
      Oskar Grunning authored
      
      
      This PR aims to add support for the `importMap` option for `emotion`. It's already supported by `swc_emotion`.
      
      Fixes https://github.com/vercel/next.js/issues/41646.
      
      ## Feature
      
      - [x] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
      - [x] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [x] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      cb8fdc6d
    • Ismael's avatar
      font api updates (#42724) · 29f20d30
      Ismael authored
      <!--
      Thanks for opening a PR! Your contribution is much appreciated.
      To make sure your PR is handled as smoothly as possible we request that
      you follow the checklist sections below.
      Choose the right checklist for the change that you're making:
      -->
      
      Update the next fonts API reference to match the latest changes from
      [beta.nextjs.org](https://beta.nextjs.org/docs/api-reference/components/font)
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the
      feature request has been accepted for implementation before opening a
      PR.
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [x] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
      - [ ] The "examples guidelines" are followed from [our contributing
      doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      29f20d30
    • Tim Neutkens's avatar
      Don't pushState when already on the url (#42735) · 6490252b
      Tim Neutkens authored
      Solves the case where you click a link to the page you're on already that pushes additional history entries, uses replaceState for that instead. This mirrors the default `<a>` behavior.
      
      
      
      ## Bug
      
      - [x] Related issues linked using `fixes #number`
      - [x] Integration tests added
      - [x] Errors have a helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
      - [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      6490252b
    • Shu Ding's avatar
      Add test case for image generation (#42693) · f612acff
      Shu Ding authored
      This PR adds a basic test case to ensure Next.js and Edge Runtime
      changes don't break the image generation feature, as well as record the
      usage.
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the
      feature request has been accepted for implementation before opening a
      PR.
      - [ ] Related issues linked using `fixes #number`
      - [x] Integration tests added
      - [ ] Documentation added
      - [x] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
      - [ ] The "examples guidelines" are followed from [our contributing
      doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      f612acff
    • Tim Neutkens's avatar
      Handle hydration replaceState for static page with searchParams (#42744) · 9d30e777
      Tim Neutkens authored
      Ensures the searchParams do not get removed when the page is static.
      
      Fixes #42697
      
      <!--
      Thanks for opening a PR! Your contribution is much appreciated.
      To make sure your PR is handled as smoothly as possible we request that
      you follow the checklist sections below.
      Choose the right checklist for the change that you're making:
      -->
      
      ## Bug
      
      - [x] Related issues linked using `fixes #number`
      - [x] Integration tests added
      - [x] Errors have a helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the
      feature request has been accepted for implementation before opening a
      PR.
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
      - [ ] The "examples guidelines" are followed from [our contributing
      doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      9d30e777
    • Shu Ding's avatar
      Eagerly bundle external ESM dependencies for pages (#42741) · 276533d0
      Shu Ding authored
      One potential risk is ESM dependencies that can't be bundled will cause
      a build error. This also means that the `esmExternals` configuration
      will be affected.
      
      Closes #42249, closes #42588. Related: #1395.
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [x] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the
      feature request has been accepted for implementation before opening a
      PR.
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
      - [ ] The "examples guidelines" are followed from [our contributing
      doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      Co-authored-by: 's avatarkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
      276533d0
    • Hannes Bornö's avatar
      @next/font return types (#42753) · 6ab52ed4
      Hannes Bornö authored
      Currently the return type is the same when you declare a variable and
      when you don't.
      ```tsx
      const inter1 = Inter()
      const inter2 = Inter({ variable: "--inter-font" })
      
      inter1.variable // string | undefined
      inter2.variable // string | undefined
      ```
      
      With this change you get a type error if you try to access `.variable`
      without providing a variable name.
      ```tsx
      const inter1 = Inter()
      const inter2 = Inter({ variable: "--inter-font" })
      
      inter1.variable // Property 'variable' does not exist on type 'NextFont'.ts(2339)
      inter2.variable // string
      ```
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the
      feature request has been accepted for implementation before opening a
      PR.
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
      - [ ] The "examples guidelines" are followed from [our contributing
      doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      6ab52ed4
    • OJ Kwon's avatar
      784d9a73
    • JJ Kasper's avatar
      v13.0.3-canary.3 · b50ade89
      JJ Kasper authored
      b50ade89
    • JJ Kasper's avatar
      Revert "Update to latest version of turbo CLI (#42711)" · abaaf80f
      JJ Kasper authored
      This reverts commit 2c199c4c.
      abaaf80f
    • Hugh Lilly's avatar
      fix comma splice in `verifyRootLayout.ts` (#42324) · 031ed555
      Hugh Lilly authored
      The phrase "Your page X did not have a root layout, we created Y for
      you." creates a [comma
      splice](https://en.wikipedia.org/wiki/Comma_splice). This PR fixes it.
      Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>
      031ed555
    • cvolant's avatar
      Fix as option with optional catch all routes url object syntax (#42355) · 101a70ba
      cvolant authored
      In `Link`, `router.push`, and `router.replace`, `as` option used to
      throw for optional catch all routes with url object syntax: optional
      attribute were not taken into account when checking missing parameters
      in router change method.
      This PR just add a condition in the filter callback to filter out
      optional routes.
      Fixes #41624
      
      ## Bug
      
      - [X] Related issues linked using `fixes #number`
      - [X] Integration tests added
      - [X] Errors have a helpful link attached, see `contributing.md`
      101a70ba
    • Mark Ladyshau's avatar
      Change condition to check for string attribute in lint rules utility function (#42625) · 2b85da77
      Mark Ladyshau authored
      <!--
      Thanks for opening a PR! Your contribution is much appreciated.
      To make sure your PR is handled as smoothly as possible we request that
      you follow the checklist sections below.
      Choose the right checklist for the change that you're making:
      -->
      
      Fixes #42604.
      
      ## Bug
      
      - [x] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the
      feature request has been accepted for implementation before opening a
      PR.
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
      - [ ] The "examples guidelines" are followed from [our contributing
      doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      2b85da77
    • Parbez's avatar
      fix: publish compat folder (#42613) · eed63e1e
      Parbez authored
      <!--
      Thanks for opening a PR! Your contribution is much appreciated.
      To make sure your PR is handled as smoothly as possible we request that
      you follow the checklist sections below.
      Choose the right checklist for the change that you're making:
      -->
      #42502 added `next/compat` but it's top level export folder wasn't
      published to nextjs
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the
      feature request has been accepted for implementation before opening a
      PR.
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
      - [ ] The "examples guidelines" are followed from [our contributing
      doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      eed63e1e
    • Jiachi Liu's avatar
      Alias next public api to esm on edge runtime (#42709) · 3174c730
      Jiachi Liu authored
      Cases like `next/link` and `next/router` imports are not alias since
      they're not matching the existing alias pattern setting for edge
      runtime, which causes router-context being bundled twice (both with cjs
      and esm) into edge worker bundle.
      so we resolve their paths and alias them to esm bundle for webpack
      bundling.
      
      Other minor changes:
      
      * update `require` calls to `import` expressions in edge ssr loaders
      * remove client layer for apps without `appDir` enabled
      * export `type` for ts typings in next/image to avoid alias to break
      resolving
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [x] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      3174c730
    • JJ Kasper's avatar
      Update to latest version of turbo CLI (#42711) · 2c199c4c
      JJ Kasper authored
      Ensures we have latest patches in turbo CLI. 
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the
      feature request has been accepted for implementation before opening a
      PR.
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
      - [ ] The "examples guidelines" are followed from [our contributing
      doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      2c199c4c
    • Jiachi Liu's avatar
      Use import to load page and layout (#42325) · 05bdd715
      Jiachi Liu authored
      Fixes #42534
      
      * Use eager `import()` to load page/layout to avoid esm module resolution error, eager is to make sure all the sub resources like css are also included
      * Fix layer detection, should use `module.layer` directly since `module.resourceResolveData` is not alway presented. It lost when switching from `require()` to `import()` for page/layout component
      
      ## Bug
      
      - [x] Related issues linked using `fixes #number`
      - [x] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      05bdd715
    • JJ Kasper's avatar
      Fix replaceAll usage in post-process (#42714) · e0b946a4
      JJ Kasper authored
      Similar to https://github.com/vercel/next.js/pull/42550
      
      Fixes:
      https://dev.azure.com/nextjs/next.js/_build/results?buildId=43629&view=logs&jobId=14d0eb3f-bc66-5450-3353-28256327ad6c
      x-ref: https://github.com/vercel/next.js/pull/42495
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the
      feature request has been accepted for implementation before opening a
      PR.
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
      - [ ] The "examples guidelines" are followed from [our contributing
      doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      e0b946a4
    • JJ Kasper's avatar
      Ensure appDir is included in webpack configVars (#42710) · d124189a
      JJ Kasper authored
      This ensures the webpack cache is updated when toggling between `appDir:
      true/false`.
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the
      feature request has been accepted for implementation before opening a
      PR.
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
      - [ ] The "examples guidelines" are followed from [our contributing
      doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      d124189a
    • Shu Ding's avatar
      Fix CSS handling rules (#42615) · 18134f87
      Shu Ding authored
      This PR fixes (and simplifies) CSS loader rules, major things fixed with
      this PR:
      - (Tests added) Even if `appDir` isn't enabled, CSS/SASS/CSSM/SASSM
      should still be transpiled for packages in node_modules, configured via
      `transpilePackages`.
      - They should be transpiled from other packages in the same monorepo
      (not inside node_modules).
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [x] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the
      feature request has been accepted for implementation before opening a
      PR.
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
      - [ ] The "examples guidelines" are followed from [our contributing
      doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      18134f87
  3. 09 Nov, 2022 9 commits
  4. 08 Nov, 2022 7 commits
    • Artem's avatar
      chore: update scripts to work on windows (#42632) · 1f6c0d0f
      Artem authored
      Update `package.json` for Windows users.
      1. `concurrently` isn't working with single quotes 🤷🏻
      2. `--watch` isn't actually passed, because of that `tailwind` compiles only once and exits.
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
      - [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      1f6c0d0f
    • Hannes Bornö's avatar
      @next/font/google fetch error dev (#42637) · 06969207
      Hannes Bornö authored
      If `@next/font/google` fails to fetch the font in DEV, return the
      fallback font instead of throwing so you still can run the app. In build
      it still throws.
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the
      feature request has been accepted for implementation before opening a
      PR.
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
      - [ ] The "examples guidelines" are followed from [our contributing
      doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      06969207
    • JJ Kasper's avatar
      Ensure skip normalize is handled correctly (#42642) · 85b200a8
      JJ Kasper authored
      x-ref: [slack
      thread](https://vercel.slack.com/archives/C01224Q5M99/p1667927545637489?thread_ts=1664536480.045539&cid=C01224Q5M99)
      x-ref: https://github.com/vercel/vercel/pull/8873
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the
      feature request has been accepted for implementation before opening a
      PR.
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
      - [ ] The "examples guidelines" are followed from [our contributing
      doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      85b200a8
    • Josh Story's avatar
      update react builtin deps for next channel (#42639) · 677c04f0
      Josh Story authored
      Updates builtin react to latest release on next channel
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the
      feature request has been accepted for implementation before opening a
      PR.
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
      - [ ] The "examples guidelines" are followed from [our contributing
      doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      677c04f0
    • Jimmy Lai's avatar
      feat: add --no-mangling to next build + fix --profile option (#42633) · bccf1861
      Jimmy Lai authored
      This PR adds a `--no-mangling` option to `next build` and fixes the `--profile` option so that you can use the React profiling build on production.
      
      The advantage of disabling only mangling versus disabling minification altogether is that we still run terser and still benefit from DCE with this approach, so the `--no-mangling` does not impact performance as much.
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
      - [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      bccf1861
    • Hannes Bornö's avatar
      Also create head when creating root layout (#42571) · 25d5d8c2
      Hannes Bornö authored
      When creating a root layout automatically in dev - also create a default
      head file.
      
      This PR also makes sure more cases are covered when creating root
      layouts by trying to find an available dir as close to `
      app/` as possible that won't affect other layouts.
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the
      feature request has been accepted for implementation before opening a
      PR.
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
      - [ ] The "examples guidelines" are followed from [our contributing
      doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      25d5d8c2
    • Hannes Bornö's avatar
      Add telemetry for @next/font (#42579) · 81890c8c
      Hannes Bornö authored
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [ ] Implements an existing feature request or RFC. Make sure the
      feature request has been accepted for implementation before opening a
      PR.
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have a helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
      - [ ] The "examples guidelines" are followed from [our contributing
      doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      81890c8c