1. 02 Oct, 2022 6 commits
  2. 01 Oct, 2022 18 commits
  3. 30 Sep, 2022 16 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
    • Hannes Bornö's avatar
      Accept variable prop in google font loader (#41065) · fa96d870
      Hannes Bornö authored
      Fixes local weight type which could break if you wrote "regular" instead of 400. Adds `variable` property to google font loader to let you define the name of the CSS variable.
      
      ## 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)
      fa96d870
    • Shu Ding's avatar
      Use deterministic module IDs for server (#41066) · 67a5076b
      Shu Ding authored
      Currently, we use the `isClient ? 'deterministic' : 'named'` condition
      for module IDs. We did that because in the context of server compiler,
      the server graph (RSC) can directly know the module ID of the referenced
      module in the client graph (SSR). The client module's ID _is_ the module
      reference module's resource path. However, that makes the server bundle
      and the manifest file larger because these module IDs cannot be
      minified.
      
      In this PR we are changing it to `deterministic`, with another mapping
      for server SSR.
      
      ## 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)
      67a5076b
    • Lee Robinson's avatar
      [docs] Improve documentation around `pageExtensions` (#40039) · 4f793fd7
      Lee Robinson authored
      Reverts vercel/next.js#40016.
      
      `pageExtensions` is not frequently used – as is mostly a workaround
      until the Layouts RFC lands. Thus, it doesn't make sense to place a note
      on the Middleware page and expect readers to need to connect the dots
      and understand `pageExtensions`.
      
      Further, the example docs linked could be more specific about Middleware
      to prevent this confusion. I will also make that change here.
      Co-authored-by: 's avatarBalázs Orbán <info@balazsorban.com>
      4f793fd7
    • Hannes Bornö's avatar
      Full page reload when navigating to new root layout (#40751) · 93ff04b4
      Hannes Bornö authored
      Finds the root layout segments for flight requests. If those segments doesn't match the FlightRouterState it's a new root layout and a full page reload is required.
      
      ## 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)
      Co-authored-by: 's avatarTim Neutkens <6324199+timneutkens@users.noreply.github.com>
      93ff04b4
    • Balázs Orbán's avatar
      chore: make sure polyfills are built for `pnpm dev` (#41062) · a83cfcdc
      Balázs Orbán authored
      Re-lands #40335 but without modifying the lock file.
      
      
      ## 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)
      a83cfcdc
    • Jamie Barton's avatar
      chore(examples): use correct name in `with-xata` example (#41063) · 9863df3f
      Jamie Barton authored
      ## 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)
      
      This PR fixes the npm/pnpm/yarn commands to use with-xata instead of Contentful.
      9863df3f
    • Saurabh Burade's avatar
      examples/evm-multichain-dapp (#39206) · 92db7f16
      Saurabh Burade authored
      
      
      
      ## 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.md#adding-examples)
      
      
      The template repository can be found [here](https://github.com/saurabhburade/with-evm-chains)
      Public reviews, and improvement suggestions are welcome!
      ## Supported Blockchains
      1. ETHEREUM
      2. ROPSTEN
      3. RINKEBY
      4. GÖRLI
      5. KOVAN
      6. MATIC
      7. MATIC_TESTNET
      8. FANTOM
      9. FANTOM_TESTNET
      10. XDAI
      11. BSC
      12. BSC_TESTNET
      13. ARBITRUM
      14. ARBITRUM_TESTNET
      15. MOONBEAM_TESTNET
      16. AVALANCHE
      and more
      
      
      ### Note 
      - This template has the flexibility to seamlessly extend to other EVM Blockchains.
      - It has web3.js and wallet connection modules.
      - It supports blockchain Read and Write functionalities.
      Co-authored-by: 's avatarBalázs Orbán <18369201+balazsorban44@users.noreply.github.com>
      92db7f16
    • John Carlo Austria's avatar
      chore(examples): Add `vanilla-extract` example (#41061) · f09c3bec
      John Carlo Austria 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 lint`
      - [ ] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
      
      
      Response to #29165
      Co-authored-by: 's avatarBalázs Orbán <18369201+balazsorban44@users.noreply.github.com>
      f09c3bec
    • Tim Neutkens's avatar
      v12.3.2-canary.16 · 304730e6
      Tim Neutkens authored
      304730e6
    • Tim Neutkens's avatar
    • Tim Neutkens's avatar
      a78ce92e