1. 25 Mar, 2022 2 commits
  2. 24 Mar, 2022 3 commits
  3. 23 Mar, 2022 6 commits
    • Steven's avatar
      Fix `next info` accidentally printing stderr (#35556) · ef7b5352
      Steven authored
      I noticed a few issues that had "Output from `next info`" with the first line as
      
      ```
      /bin/sh: pnpm: command not found
      ```
      
      This was because `execSync()` was still printing to stderr when a command was not found.
      
      Changing to `execFileSync()` fixed it so we no longer print to stderr when a command is not found.
      ef7b5352
    • LongYinan's avatar
      Fix styled transform in next-swc/emotion (#35527) · 59905c10
      LongYinan authored
      Fix https://github.com/vercel/next.js/issues/35525
      
      
      
      ## Bug
      
      - [x] 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`
      59905c10
    • Shu Ding's avatar
      Upgrade react-server-dom-webpack (#35524) · ebe1b4cb
      Shu Ding authored
      There're some changes since our last update that we'll need (e.g. server context).
      
      ## 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`
      ebe1b4cb
    • JJ Kasper's avatar
      432261a1
    • Jiachi Liu's avatar
    • JJ Kasper's avatar
      Normalize ssgCacheKey for /index with minimalMode de-duping (#35536) · 9fef0d55
      JJ Kasper authored
      * Normalize ssgCacheKey for /index
      
      * apply test changes to i18n suite as well
      9fef0d55
  4. 22 Mar, 2022 6 commits
  5. 21 Mar, 2022 5 commits
    • Luka Hartwig's avatar
      Server component docs use wrong next version (#35313) · af95b0cb
      Luka Hartwig authored
      The docs for the react server components preview refer refer to `next@latest` which doesn't work. The linked demo uses `canary` so I replaced it in the install command.
      af95b0cb
    • JJ Kasper's avatar
      v12.1.1-canary.16 · 92da36f1
      JJ Kasper authored
      92da36f1
    • Thiago M's avatar
      clarify use of Script (#35491) · cd479841
      Thiago M authored
      Leave more clear that <Script> component can't be used inside Head. Current it says "without need", which don't implies it can't be used.
      
      
      
      ## 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
      
      - [x] Make sure the linting passes by running `yarn lint`
      cd479841
    • JJ Kasper's avatar
      Use check on prerender test assertion (#35482) · da3760bb
      JJ Kasper authored
      da3760bb
    • Nelo's avatar
      Fix typo in getServerSideProps doc page (#35467) · 40a5c94c
      Nelo authored
      While reading the documentation, I noticed that this paragraph was not correctly written and was hard to read. I fixed it adding a dot.
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes by running `yarn lint`
      40a5c94c
  6. 20 Mar, 2022 1 commit
  7. 19 Mar, 2022 2 commits
    • Rich Haines's avatar
      Added note about why Next.js used 307 and 308 status codes (#35325) · 6f24c200
      Rich Haines authored
      This PR looks to clear up some confusion users are having around our decision to use 307 and 308 redirects, instead of 301 and 302
      
      ## 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
      - [x] 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`
      Co-authored-by: 's avatarJJ Kasper <22380829+ijjk@users.noreply.github.com>
      6f24c200
    • OJ Kwon's avatar
      feat(next-swc): embed target triple string (#35416) · 9be56aa6
      OJ Kwon authored
      
      
      This PR straightly port over swc's target triple metadata (https://github.com/swc-project/swc/pull/4058) into next-swc, mainly for the tracking purpose of usages.
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      - [ ] Errors have helpful link attached, see `contributing.md`
      
      ## Feature
      
      - [x] 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`
      9be56aa6
  8. 18 Mar, 2022 8 commits
  9. 17 Mar, 2022 7 commits
    • Shu Ding's avatar
      Abstract out stream related utils from render and web/utils (#35372) · 757a0c70
      Shu Ding authored
      The `readableStreamTee` util is only used by server/render.tsx, but ended up in the middleware runtime bundle. So it's better to add all the utils in one place, and we can remove them once upstream implementation of ReadableStream is ready.
      
      ## 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`
      757a0c70
    • JJ Kasper's avatar
      Run tests against node LTS (v16) and current (v17) (#35414) · 4365463f
      JJ Kasper authored
      * Run tests against node LTS (v16) and current (v17)
      
      * update pnp tests
      4365463f
    • Steven's avatar
      Update `next/image` docs for width & height (#35188) · bc460229
      Steven authored
      - Fixes #30219 
      Co-authored-by: 's avatarRich Haines <hello@richardhaines.dev>
      bc460229
    • JJ Kasper's avatar
      v12.1.1-canary.14 · 9129bb9a
      JJ Kasper authored
      9129bb9a
    • Shu Ding's avatar
      Use hasConcurrentFeatures instead of reactRoot as the condition of Fizz (#35407) · 62b46772
      Shu Ding authored
      We should use the `hasConcurrentFeatures` as the condition to enable Fizz, instead of reactRoot, otherwise just by installing React 18 will break stuff such as CSS imports.
      
      Currently `hasConcurrentFeatures` still needs to opt-in via the global `runtime` option. Once we fixed all the CSS bugs and add back #35245, we can flip the condition here 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`
      62b46772
    • JJ Kasper's avatar
      d3a53a6f
    • Shu Ding's avatar
      Revert "Make concurrent features independent from the global runtime option" (#35405) · 24f450e8
      Shu Ding authored
      Reverts vercel/next.js#35245
      24f450e8