1. 04 Oct, 2022 2 commits
    • JJ Kasper's avatar
      v12.3.2-canary.18 · b56c039e
      JJ Kasper authored
      b56c039e
    • Keen Yee Liau's avatar
      add attribution to web vitals (#39368) · c7ab8314
      Keen Yee Liau authored
      This commit implements the main proposal presented in
      https://github.com/vercel/next.js/issues/39241
      to add attribution to web vitals.
      
      Attribution adds more specific debugging info to web vitals,
      for example in the case of Cumulative Layout Shift (CLS),
      we might want to know
      > What's the first element that shifted when the single largest layout shift occurred?
      
      on in the case of Largest Contentful Paint (LCP),
      > What's the element corresponding to the LCP for the page?
      > If it is an image, what's the URL of the image resource?
      
      Attribution is *disabled* by default because it could potentially
      generate a lot data and overwhelm the RUM backend.
      It is enabled *per metric* (LCP, FCP, CLS, etc)
      
      As part of this change, `web-vitals` has been upgraded to v3.0.0
      This version contains minor bug fixes, please see changelog at
      https://github.com/GoogleChrome/web-vitals/commit/9fe3cc02c875cb70ac0f1803f5e11b428e7a4014
      
      Fixes #39241 
      
      
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have helpful link attached, see `contributing.md`
      
      ## 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`
      - [x] Integration tests added
      - [x] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      - [ ] Errors have helpful link attached, see `contributing.md`
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `pnpm lint`
      - [x] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
      Co-authored-by: 's avatarJJ Kasper <22380829+ijjk@users.noreply.github.com>
      c7ab8314
  2. 03 Oct, 2022 9 commits
  3. 02 Oct, 2022 6 commits
  4. 01 Oct, 2022 18 commits
  5. 30 Sep, 2022 5 commits
    • Jiachi Liu's avatar
      Skip pagesDirRules when pagesDir is not present (#41075) · a7f0332b
      Jiachi Liu authored
      Follow up for #40132
      
      Do not apply pages lint rule `@next/next/no-html-link-for-pages` for
      appDir
      a7f0332b
    • sanruiz's avatar
      Fix: [slug].tsx in wordpress example (#41074) · fd6c9079
      sanruiz authored
      Fixing the image URL in the meta property og:image
      
      <!--
      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:
      -->
      ## Documentation / Examples
      
      - [x] Make sure the linting passes by running `pnpm lint`
      - [x] The "examples guidelines" are followed from [our contributing
      doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      fd6c9079
    • OJ Kwon's avatar
      build(next/swc): consolidate swc_core dependency version (#41043) · 3b346024
      OJ Kwon 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:
      -->
      
      This PR utilizes cargo's new feature from latest release (1.64.0),
      inheriting dependency from a workspace.
      
      In short, top-level workspace cargo manifest can specify a version of
      dependency to use, then actual packages uses it without re-declaring
      version per each via workspace = true. This will help to dedupe
      different versions of packages, also potentially avoid conflicts if
      forgot to bump up specific versions.
      
      In this pr only touches swc_core, which is a base dependency we use in
      several place. One another benefit for this is bump up PR can be lot
      more simplified, only need to update single Cargo.toml when we bump up.
      
      Note rust-toolchain has updated to use nightly version after 1.64.0 to
      enable this.
      
      ## 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 lint`
      - [ ] The "examples guidelines" are followed from [our contributing
      doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      3b346024
    • Henrik Wenz's avatar
      chore: update with-react-intl example (#40999) · cae96f27
      Henrik Wenz authored
      ## Changes
      
      see commits
      
      ## Additional Info
      
      Since this example is quite complex I tried to remove additional noise
      (unused type inference).
      
      ## Documentation / Examples
      
      - [x] Make sure the linting passes by running `pnpm lint`
      - [x] The "examples guidelines" are followed from [our contributing
      doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      
      ## Related
      
      Closes: #40975
      cae96f27
    • Hannes Bornö's avatar
      Font loader call json parsing fix (#41052) · 7bc28538
      Hannes Bornö authored
      Stringify into one json object instead. Previously parsing would break if a string included a semicolon.
      
      ## 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 lint`
      - [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      7bc28538