1. 17 Feb, 2022 11 commits
  2. 16 Feb, 2022 16 commits
  3. 15 Feb, 2022 11 commits
    • JJ Kasper's avatar
      v12.0.11-canary.17 · 4f054260
      JJ Kasper authored
      4f054260
    • Aman Mittal's avatar
      Add Error Handing section for ISR (#34360) · 634926d8
      Aman Mittal authored
      * Add Error Handing section for ISR
      
      * Apply suggestions from code review
      
      * update check
      Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>
      634926d8
    • Jiachi Liu's avatar
      test: add inline flight response reuse test (#34364) · 00ca8df2
      Jiachi Liu authored
      To collect the requests starting from page load, we need to register event listeners before page loading (`page.goto` API invocation). By default webdriver will wait for hydration, so we need to register events inside `browser.loadPage` to ensure we can collect the requests before hydration is done.
      
      ### Changes
      * Add `beforePageLoad` for next webdriver
      * registry page `'request'` event before loading page
      * update related tests for agruments change
      
      ### Usage
      
      ```js
      browser = await webdriver(appPort, '/path', {
         waitHydration, // default true
         retryWaitHydration, // default false
         disableCache, // default false
         beforePageLoad, // default undefined
      })
      
      ```
      00ca8df2
    • Tim Neutkens's avatar
      v12.0.11-canary.16 · 01998188
      Tim Neutkens authored
      01998188
    • JJ Kasper's avatar
      Ensure invalid request to static page is handled correctly (#34346) · 982b65a3
      JJ Kasper authored
      * Ensure invalid request to static page is handled correctly
      
      * update test
      982b65a3
    • Donny/강동윤's avatar
    • Tim Neutkens's avatar
      Add support for "type": "module" in package.json (#33637) · 62b1704e
      Tim Neutkens authored
      - [x] Add failing test for development / production
      - [x] Add failing test for client-side JavaScript
      - [x] Write `.next/package.json` with `"type": "commonjs"
      - [x] Fix issue with client-side JavaScript showing `module` is not defined
      
      Production works after these changes. Development breaks on module not existing because of the Fast Refresh loader. Working with @sokra to add alternatives to what is being used in the loader to webpack so that it can be updated.
      
      Fixes #23029, Fixes #24334
      
      
      
      ## Bug
      
      - [x] Related issues linked using `fixes #number`
      - [x] Integration tests added
      - [x] 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 `yarn lint`
      62b1704e
    • Rich Haines's avatar
      Updated failed to load error page to include info about node versions (#34362) · 127f94dc
      Rich Haines authored
      This PR updates the [failed loading swc](https://nextjs.org/docs/messages/failed-loading-swc) error page with information about switching node version and installing deps again.
      
      ## 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 `yarn lint`
      127f94dc
    • Qilin Yang's avatar
      Update image.md (#34374) · 74d0329b
      Qilin Yang authored
      - Replaced outdated Vercel Image Optimization page URL
      
      
      
      ## 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 `yarn lint`
      74d0329b
    • Syed Basim's avatar
      4c8bc158
    • Alex Castle's avatar
      Remove experimental image optimization feature (#34349) · f5163046
      Alex Castle authored
      This PR removes the experimental `optimizeImages` flag. This feature was designed to automatically add preload tags for images, but I was never able to get it to do a very good job of selecting the images that actually need preloading.
      
      This feature never graduated from experimental and in fact we never even publicized it as an experimental feature for people to try.
      
      Additionally, even if someone was using this feature, it wouldn't have a functional effect, only a performance effect (removal of some preloads).
      
      For those reasons, I believe it is safe to remove this functionality and that it is not a breaking change.
      f5163046
  4. 14 Feb, 2022 2 commits