1. 01 Nov, 2022 7 commits
    • JJ Kasper's avatar
      v13.0.2-canary.0 · 0c2404a4
      JJ Kasper authored
      0c2404a4
    • JJ Kasper's avatar
    • Tim Neutkens's avatar
      Add preload for layouts / components (#41519) · 1af21b51
      Tim Neutkens authored
      Preload layout/component so that fetching starts eagerly.
      <!--
      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
      
      - [ ] 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)
      1af21b51
    • Shu Ding's avatar
    • Shu Ding's avatar
      Add sqlite3 to the default list of server externals (#42294) · fc397caa
      Shu Ding authored
      Related discussions:
      https://github.com/vercel/next.js/discussions/41745#discussioncomment-4018964
      
      ## 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)
      fc397caa
    • Wyatt Johnson's avatar
      Hybrid App Hooks Support (#41767) · 6c7e76b5
      Wyatt Johnson authored
      This adapts the new client hooks of `usePathname`, `useSearchParams`,
      and `useRouter` to work within the `pages/` directory to aid users
      attempting to migrate shared components over to the `app/` directory.
      
      > **Exception:**
      > When the pages router is not ready, `useSearchParams` will return an
      empty `URLSearchParams`. This mirrors the behavior seen in the `pages/`
      directory today in that `router.query` is not available until the client
      hydrates.
      
      This also adds a new option for `useRouter` to bring it line with the
      correct typings with the app directory. By default, calling
      `useRouter()` will return the type `NextRouter | null` to represent what
      you get when you call it from a component originating from the app
      directory. If you want to instead force it to return `NextRouter` as it
      does today, you can pass a boolean into the `useRouter` call as such:
      
      ```ts
      const router = useRouter()     // typeof router === NextRouter | null
      const router = useRouter(true) // typeof router === NextRouter
      ```
      
      This change is designed to ease the incremental adoption of app.
      6c7e76b5
    • JJ Kasper's avatar
      Update app-dir E2E tests for deploy (#42269) · b0ad8adc
      JJ Kasper authored
      x-ref:
      https://github.com/vercel/next.js/actions/runs/3364229800/jobs/5579571814
      
      ## 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)
      b0ad8adc
  2. 31 Oct, 2022 19 commits
  3. 30 Oct, 2022 14 commits