1. 07 Jul, 2021 2 commits
  2. 06 Jul, 2021 9 commits
    • JJ Kasper's avatar
      v11.0.2-canary.6 · 697756f8
      JJ Kasper authored
      697756f8
    • JJ Kasper's avatar
      c53b60a8
    • Alexander's avatar
      Fix: (rewrites) incorrect parsing of destination query (#26619) · f8269fd4
      Alexander authored
      fixes #26609
      
      ## Bug
      
      - [x]  Related issues linked using fixes #number
      - [x]   Integration tests added
      
      ## Documentation / Examples
      
      - [x]  Make sure the linting passes
      f8269fd4
    • Paul Schultz's avatar
      Updated next-transpile-modules to 8.0.0 (#26971) · 5b1c3e39
      Paul Schultz authored
      
      
      ## Bug
      
      - [x] Related issues linked using `fixes #26970`
      - [ ] Integration tests added
      - [ ] Errors have helpful link attached, see `contributing.md`
      5b1c3e39
    • Theo Strahlen's avatar
      (next/image): Merge query string params in imgix loader (#26719) · 38a4e56c
      Theo Strahlen authored
      If the `Image` src url had existing query params, the imgix loader would simply append another query string with `?` causing both query strings to break.
      
      This PR adds a way to safely merge query strings if needed using [URLSearchParams](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams).
      
      ## Bug
      
      - [X] fixes #26288
      - [X] Integration tests added
      38a4e56c
    • Gerald Monaco's avatar
      f7bc8f4b
    • Gerald Monaco's avatar
      More explicit typing for `IncrementalCache` API (#26941) · 53123ad6
      Gerald Monaco authored
      Make the typing for `IncrementalCache` more explicit. With streaming, we’ll want to stream page data as well as HTML. This is a bit complicated now because we’re overloading `pageData` for both redirects and pages.
      
      This PR makes the different types explicit. With streaming, the data for redirects is synchronously available, while the data for pages will become a stream.
      
      A follow up PR will add a “stream through” cache in front of `IncrementalCache` 
      53123ad6
    • Jeongyeon Lee 이정연's avatar
      d476c91a
    • Gerald Monaco's avatar
      Add initial `ResponsePayload` support (#26938) · 2795b799
      Gerald Monaco authored
      Refactors the internals of `next-server` to use `ResponsePayload` instead of `string | null` and manual `sendPayload` calls. This is the first step toward streaming support.
      
      I split `renderToResponseWithComponents` into a separate `renderToResponseWithComponentsInternal` function for ease of review: GitHub's diff rendering was highly misleading, making it seem as though more of the function had changed. The separate function just makes the actual change clearer: we split `renderToHTMLWithComponents` into two promises; one that represents the actual render result, and one that represents all of the work (including background work for e.g. revalidation) that needs to be done as part of generating the result.
      
      These changes make it easier to bubble up a `ResponsePayload`, instead of sometimes calling `sendPayload` out-of-band, centralizing all payload handling in `sendResponse` and eventually a similar function for public APIs that return a string. This centralization will make it much easier to handle a response that needs to be streamed, which is coming soon in another PR.
      2795b799
  3. 05 Jul, 2021 2 commits
  4. 04 Jul, 2021 1 commit
    • Sachin Raja's avatar
      include image types in `create-next-app` next-env.d.ts (#26890) · ba88bfde
      Sachin Raja authored
      
      Previous TypeScript template in `create-next-app` only had the following in `next-env.d.ts`
      ```ts
      /// <reference types="next" />
      /// <reference types="next/types/global" />
      ```
      
      New `next-env.d.ts` has this:
      ```ts
      /// <reference types="next" />
      /// <reference types="next/types/global" />
      /// <reference types="next/image-types/global" />
      ```
      
      Next.js automatically adds the `image-types` reference, but it won't be included in the initial commit. 
      ## Documentation / Examples
      
      - [x] Make sure the linting passes
      ba88bfde
  5. 02 Jul, 2021 12 commits
  6. 01 Jul, 2021 13 commits
  7. 30 Jun, 2021 1 commit