1. 30 Mar, 2021 3 commits
    • Tim Neutkens's avatar
      v10.1.2 · 1ff6057b
      Tim Neutkens authored
      1ff6057b
    • Tim Neutkens's avatar
      v10.1.2-canary.0 · 1344e2de
      Tim Neutkens authored
      1344e2de
    • Joe Haddad's avatar
      Temporarily remove experimental ESLint integration (#23521) · eecc3342
      Joe Haddad authored
      This pull request **temporarily** removes ESLint, as it was not landed in accordance with our standard experimental policies. We are fully committed to landing this change again.
      
      This is being reverted because:
      
      - Next.js has very strict goals for its install size. This feature resulted in adding over 17MB, or a 43.6% increase.
      - The feature was not first landed under the `experimental` key in `next.config.js`, rather, it was added under the stable namespace (top-level)
      - Using the feature doesn't do a "guided setup" like TypeScript, it should ask you to "bring your own" dependencies for ESLint
      - It uses a undesirable ESLint plugin name: `plugin:@next/next/recommended`. This should read out as strictly `next`, or as short as we can get it.
      - Does not provide actionable warnings (missing link to resolve issue)
      - Does not follow appropriate console output styling. We need to revisit how these are presented.
      
      To re-land this, we need to ensure the following minimums are met:
      - Very minor change in install size
      - Fully experimental (i.e. flagged) with warnings
      - Finalized package name and configuration shape, preferably so we can do ` { extends: 'next' } `.
      eecc3342
  2. 29 Mar, 2021 12 commits
  3. 28 Mar, 2021 3 commits
    • Lee Robinson's avatar
      Update `with-docker` example and deployment docs. (#23486) · d49f978a
      Lee Robinson authored
      ## 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.
      
      ## Documentation / Examples
      
      - [x] Make sure the linting passes
      d49f978a
    • Scott MacDonnell's avatar
      Add links to dependencies in with-three-js example README (#23470) · 5fde82a5
      Scott MacDonnell authored
      
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      
      ## 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.
      
      ## Documentation / Examples
      
      - [x] Make sure the linting passes
      5fde82a5
    • Jiachi Liu's avatar
      doc: fix ActiveLink detection condition (#23472) · 737c25ed
      Jiachi Liu authored
      
      
      ## Documentation / Examples
      
      - [x] Make sure the linting passes
      
      
      `router.pathname` can be dynamic routes like `/posts/[slug]`, use `router.asPath` instead to detect anchor is active
      737c25ed
  4. 26 Mar, 2021 6 commits
    • Steven's avatar
      [examples] Fix image-component typo (#23437) · 9973b8cb
      Steven authored
      
      
      ## Documentation / Examples
      
      - [x] Make sure the linting passes
      9973b8cb
    • Turadg Aleahmad's avatar
      update with-linaria example (#23332) · 4e5a359a
      Turadg Aleahmad authored
      ## Documentation / Examples
      
      * removes deprecated `@zeit/next-css`.
      * adds https://github.com/Mistereo/next-linaria to work with the new built-in CSS functionality.
      * updates Linaria to latest release (v3 will require https://github.com/Mistereo/next-linaria/pull/3 ) 
      * adds an example of using Linaria without React
      * gitignores `.linaria-cache`
      4e5a359a
    • JJ Kasper's avatar
      v10.0.10-canary.12 · f28ea89a
      JJ Kasper authored
      f28ea89a
    • Lee Robinson's avatar
      Update babel docs to mention you can use babel.config.js. (#23434) · 5ac8951e
      Lee Robinson authored
      ## 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.
      
      ## Documentation / Examples
      
      - [x] Make sure the linting passes
      5ac8951e
    • JJ Kasper's avatar
      Add handling fo beforeFiles, afterFiles, and fallback rewrites (#23407) · d130f63c
      JJ Kasper authored
      This adds support for returning an object from `rewrites` in `next.config.js` with `beforeFiles`, `afterFiles`, and `fallback` to allow specifying rewrites at different stages of routing. The existing support for returning an array for rewrites is still supported and behaves the same way. The documentation has been updated to include information on these new stages that can be rewritten and removes the outdated note of rewrites not being able to override pages. 
      
      
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      
      ## 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`
      - [x] Integration tests added
      - [x] Documentation added
      - [ ] Telemetry added. In case of a feature if it's used or not.
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes
      d130f63c
    • samsisle's avatar
      Update next.config.js rewrites · dee70f02
      samsisle authored
      dee70f02
  5. 25 Mar, 2021 1 commit
  6. 24 Mar, 2021 10 commits
    • JJ Kasper's avatar
      v10.0.10-canary.11 · 9f5b61d0
      JJ Kasper authored
      9f5b61d0
    • JJ Kasper's avatar
      Run server client/server builds serially (#23371) · a6c0d76e
      JJ Kasper authored
      
      
      Previously we special cased serverless builds and ran the client/server builds serially to allow the server build to load manifests produced in the client. To help with memory usage and for consistency this updates server mode to build in the same way.  
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      
      ## 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.
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes
      a6c0d76e
    • Shu Ding's avatar
      Make sure the image optimization endpoint only response with images (#23366) · 98211405
      Shu Ding authored
      If the upstream MIME type isn't prefixed with `image/`, the endpoint should directly response with a 400 error.
      
      ## Bug
      
      - [x] Fixes #23312
      - [x] Integration tests added
      
      ## 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.
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes
      98211405
    • JJ Kasper's avatar
      v10.0.10-canary.10 · 1dae2288
      JJ Kasper authored
      1dae2288
    • JJ Kasper's avatar
      Add has route field (#22341) · 75c721c5
      JJ Kasper authored
      This adds support for a `has` field to `rewrites`, `redirects`, and `headers` to allow matching against `header`, `cookie`, and `query` values. Documentation and additional tests for the feature is also added in this PR. 
      
      Closes: https://github.com/vercel/next.js/issues/22345
      75c721c5
    • Pedro Duarte's avatar
      `with-stitches`: Use `latest` version (#23343) · 3141b6ff
      Pedro Duarte authored
      Hey 👋 
      
      I realise neither I or you want to keep reviewing and merging these "Update Stitches" PRs
      
      So I'm setting it to the `latest`.
      
      Thanks (and sorry)
      
      ## Documentation / Examples
      
      - [x] Make sure the linting passes
      3141b6ff
    • Tobias Koppers's avatar
      upgrade webpack to 5.28.0 (#23350) · 1383bbff
      Tobias Koppers authored
      fixes some bugs and improves performance
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      
      ## 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.
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes
      1383bbff
    • Tim Neutkens's avatar
      v10.0.10-canary.9 · 34f98451
      Tim Neutkens authored
      34f98451
    • Joe Haddad's avatar
      feat: automatically enable webpack 5 (#22323) · 437c35f1
      Joe Haddad authored
      Co-authored-by: 's avatarTim Neutkens <timneutkens@me.com>
      Co-authored-by: 's avatarTim Neutkens <tim@timneutkens.nl>
      437c35f1
    • matamatanot's avatar
      Fix typo in eslint doc (#23338) · 5c7475a6
      matamatanot authored
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      
      ## 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.
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes
      5c7475a6
  7. 23 Mar, 2021 5 commits
    • Pedro Duarte's avatar
      Update with stitches example (#23326) · 873cd835
      Pedro Duarte authored
      Hey 👋 
      
      Just a quick update to the latest version of Stitches. 
      
      Thanks! <3
      
      ## Documentation / Examples
      
      - [x] Make sure the linting passes
      873cd835
    • Shu Ding's avatar
      Remove `visibility: inherit` from the image component (#23329) · 4c634565
      Shu Ding authored
      This is a follow-up PR of #19052, where `visibility: inherit` was mistakenly added back. It was removed in #23278.
      
      ## Bug
      
      - [ ] Related issues linked using `fixes #number`
      - [ ] Integration tests added
      
      ## 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.
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes
      4c634565
    • JJ Kasper's avatar
      v10.0.10-canary.8 · a16f7a38
      JJ Kasper authored
      a16f7a38
    • Houssein Djirdeh's avatar
      Add ESLint to Next.js (#22437) · e5ef60fe
      Houssein Djirdeh authored
      For #22228
      
      This PR:
      
      - Adds ESLint to toolchain
        - Included by default for builds (`next build`)
        - Can be enabled for development (`next dev`)
        - Custom formatter built for output
      - Adds appropriate tests
      - Adds two documentation pages
      e5ef60fe
    • Tim Neutkens's avatar
      Add polyfills for node_modules that are covered in webpack 4 to webpack 5 (#23316) · c219c1d9
      Tim Neutkens authored
      Brings back the remaining Node.js module polyfills to not break existing apps upgrading from webpack 4 to webpack 5.
      
      Fixes #23169
      
      
      
      ## Bug
      
      - [x] Related issues linked using `fixes #number`
      - [x] Integration tests added
      
      ## 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.
      
      ## Documentation / Examples
      
      - [ ] Make sure the linting passes
      c219c1d9