1. 13 Jul, 2022 8 commits
    • Tim Neutkens's avatar
      v12.2.3-canary.4 · 722e64f0
      Tim Neutkens authored
      722e64f0
    • Tim Neutkens's avatar
      Pass server context to Flight render (#38582) · 1e2b30dd
      Tim Neutkens authored
      Ensures you can use server context when navigating.
      
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have 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 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.md#adding-examples)
      1e2b30dd
    • Tim Neutkens's avatar
      Handle server context being refreshed (#38580) · 13557eac
      Tim Neutkens authored
      Temporary fix for refreshing of serverContext. We'll want to make a change for development with `createServerContext` to React itself in the future.
      
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have 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 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.md#adding-examples)
      13557eac
    • Tim Neutkens's avatar
      Add error when createServerContext is not available (#38578) · 84254125
      Tim Neutkens authored
      Ensures you get a clearer error when createServerContext is missing.
      
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have 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 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.md#adding-examples)
      84254125
    • Tim Neutkens's avatar
      v12.2.3-canary.3 · c1b2ee63
      Tim Neutkens authored
      c1b2ee63
    • Jiachi Liu's avatar
    • Shu Ding's avatar
      Fix independent CSSModule missing from flight manifest (#38575) · d403218c
      Shu Ding authored
      In certain cases, mini-css-extractor will create independent `CSSModule` to the module graph, which doesn't have a user request or resource. Hence we can't match them in the flight manifest plugin like before. This PR adds a work around to use `mod.type` and `mod._identifier` to get such CSS assets.
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have 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 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.md#adding-examples)
      d403218c
    • Jiachi Liu's avatar
  2. 12 Jul, 2022 13 commits
    • Jiachi Liu's avatar
      Handle dev fouc for layout styling (#38557) · b251e552
      Jiachi Liu authored
      * Handle dev fouc for layout styling
      
      * refactor
      
      * fix renderOpts.dev
      
      * dedupe css loading
      
      * keep css module id in dev
      b251e552
    • Shu Ding's avatar
      Optimize Edge SSR bundle size (#38570) · 70a53e07
      Shu Ding authored
      Both `Buffer` and `node-html-parser` are not necessary to be introduced to the Edge SSR bundle. This makes the bundle size 25% smaller.
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have 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 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.md#adding-examples)
      70a53e07
    • JJ Kasper's avatar
      Add test env variables to readme (#38566) · 82801143
      JJ Kasper authored
      * Add test env variables to readme
      
      * Add more info/clarity as suggested
      82801143
    • Shu Ding's avatar
      Fix injecting CSS link tags before page content (#38559) · f0d56190
      Shu Ding authored
      * inject the link tags before page content in layout router
      
      * fix flight handling during client navigation
      
      * fix buffering
      Co-authored-by: 's avatarkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
      f0d56190
    • Steven's avatar
      Update docs for `next/future/image` with browser support (#38563) · 11825da7
      Steven authored
      * Update docs for `next/future/image` with browser support
      
      * Mention blur constraints
      11825da7
    • Steven Tey's avatar
      [DOCS]: Middleware doesn't execute for on-demand ISR (#38562) · 38a0276d
      Steven Tey authored
      Updated docs to reflect that
      
      
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have 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 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.md#adding-examples)
      Co-authored-by: 's avatarLee Robinson <9113740+leerob@users.noreply.github.com>
      38a0276d
    • Tim Neutkens's avatar
      Rename todos (#38560) · 81b554f3
      Tim Neutkens authored
      Renames todos to split them / make it easier to find what has to be done for the new router.
      
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have 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 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.md#adding-examples)
      81b554f3
    • Gal Schlezinger's avatar
      Upgrade edge-runtime + make EdgeRuntime value overridable with an env var on compilation (#38331) · 62eb16b6
      Gal Schlezinger authored
      This PR introduces an environment variable that allows to modify the `EdgeRuntime` value on compilation time.
      This is done to allow cloud providers like Vercel to have a different value, and enable user code and 3rd party libraries to have different code paths depending on the Edge Functions provider.
      
      ## Related
      
      - Related to #30739
      
      ## Bug
      
      - [x] Related issues linked using `fixes #number`
      - [x] Integration tests added
      - [ ] Errors have helpful link attached, see `contributing.md`
      62eb16b6
    • JJ Kasper's avatar
      Fix e2e rsc test for deploy mode (#38538) · 3ae15e16
      JJ Kasper authored
      3ae15e16
    • Tim Neutkens's avatar
      v12.2.3-canary.2 · 114e151c
      Tim Neutkens authored
      114e151c
    • Tim Neutkens's avatar
      Handle development error when Server Component throws (#38550) · cd570982
      Tim Neutkens authored
      Handles the case where an error is introduced which causes a Fast Refresh and then it's fixed.
      
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have 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 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.md#adding-examples)
      cd570982
    • Shu Ding's avatar
      CSS modules support improvements for Server Components (#38536) · c2b40d07
      Shu Ding authored
      Improve CSS modules support in server components.
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [x] Integration tests added
      - [ ] Errors have 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 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.md#adding-examples)
      Co-authored-by: 's avatarJiachi Liu <4800338+huozhi@users.noreply.github.com>
      c2b40d07
    • Donny/강동윤's avatar
      feat(next-swc/auto-cjs): Detect `__esModule` (#38181) · 9342a6cc
      Donny/강동윤 authored
      
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have 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 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.md#adding-examples)
      
      ---
      
       - Closes #38117 
      9342a6cc
  3. 11 Jul, 2022 19 commits