1. 26 Jan, 2022 12 commits
  2. 25 Jan, 2022 5 commits
  3. 24 Jan, 2022 12 commits
  4. 23 Jan, 2022 3 commits
  5. 22 Jan, 2022 1 commit
  6. 21 Jan, 2022 7 commits
    • JJ Kasper's avatar
      Ensure optional value normalizing is correct for index (#33547) · f5fb1819
      JJ Kasper authored
      This fixes a case where optional catch-all route values aren't normalized to an array properly when the `index` value is passed. An additional test case has been added to prevent regressing on this. 
      
      x-ref: [slack thread](https://vercel.slack.com/archives/CGU8HUTUH/p1642791113093400)
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [x] Integration tests added
      - [ ] Errors have helpful link attached, see `contributing.md`
      f5fb1819
    • JJ Kasper's avatar
      v12.0.9-canary.6 · 2a349c76
      JJ Kasper authored
      2a349c76
    • Sævar Berg's avatar
      Update middleware documentation for custom server (#33535) · f4c1594a
      Sævar Berg authored
      Upgrading from 12.0.0 to 12.0.8 results in `[dev] error - Error: To use middleware you must provide a `hostname` and `port` to the Next.js Server` and this requirement did not seem to be documented anywhere. Fixes #33450 which seems to have been erroneously closed.
      
      
      
      ## 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`
      Co-authored-by: 's avatarJJ Kasper <22380829+ijjk@users.noreply.github.com>
      f4c1594a
    • Jiachi Liu's avatar
      Bump styled-jsx (#33546) · ebe95f44
      Jiachi Liu authored
      Use stable v5 of styled-jsx
      ebe95f44
    • JJ Kasper's avatar
      Fix static file check with i18n (#33503) · 69524c29
      JJ Kasper authored
      69524c29
    • Jiachi Liu's avatar
      Simplify getMiddlewareInfo calls (#33542) · 557a9725
      Jiachi Liu authored
      Subtask of #31506
      
      * move `serverBuildDir` and getter function of `publicDir` to next-server as only used place
      * simplify `getMiddlewareInfo`, remove `distDir` and other params could be accessed from web server itself
      557a9725
    • Shu Ding's avatar
      Implement abstract methods to get manifest files in the base server (#33537) · 76b9a549
      Shu Ding authored
      Related to #31506, this PR adds `getPrerenderManifest` and `getRoutesManifest` methods to provide manifest files to the base server. In the future, we can consider making these methods async, or provide necessary manifests from the very top.
      
      ## 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`
      76b9a549