1. 29 Mar, 2021 8 commits
  2. 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
  3. 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
  4. 25 Mar, 2021 1 commit
  5. 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
  6. 23 Mar, 2021 11 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
    • Lee Robinson's avatar
      Update dependencies for blog starter. (#23317) · 361b56b2
      Lee Robinson authored
      Closes https://github.com/vercel/next.js/issues/23299 to fix issues with NPM 7.
      361b56b2
    • Bruno Crosier's avatar
      Add fallback for <Image /> component when JavaScript is disabled in browser (#19052) · 48dd9954
      Bruno Crosier authored
      The current `<Image />` component does not fallback gracefully when JavaScript is disabled in the client / browser.
      
      You can test this with the [official Next/Image example](https://csb-4k0kr-p8ya8f304.vercel.app/), by disabling JavaScript in the browser's DevTools. Video demo: https://streamable.com/frkvw9
      
      This PR aims to fix this behaviour by using `<noscript></noscript>` tags to conditionally display a standard `<img>` element using the `props` passed to `<Image />` when JavaScript is disabled.
      
      For browser sessions where JavaScript is enabled, this will not cause an increase in network requests, so there should be no downside.
      
      One area where this PR is a bit "hacky" is that it uses a negative `margin-top` to counteract `sizerStyle.paddingTop`. From what I can tell, `sizerStyle.paddingTop` is generated on the server side, where we can not know ahead of time whether JavaScript is enabled in the browser - hence why I've opted for this solution. 
      
      Fixes #19223
      Fixes #21214
      48dd9954
    • Mohamed SADAT's avatar
      update with-xstate example and add documentation for inspect package usage (#23287) · 9cc6ba93
      Mohamed SADAT authored
      Hello this PR is in order to update xstate to the lastest version and use the `createMachine` method instead of `Machine`.
      I also added the inspect mode in order to show how we could use into a next.js app.
      
      ## Documentation / Examples
      
      - [x] Make sure the linting passes
      9cc6ba93
    • Tim Neutkens's avatar
      Update static-dir-deprecated.md · 7ecf2448
      Tim Neutkens authored
      7ecf2448
    • Tim Neutkens's avatar
      Add manifest of error pages (#23310) · e52a224c
      Tim Neutkens 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
      e52a224c
    • Lee Robinson's avatar
      b7588fd9
  7. 22 Mar, 2021 1 commit