1. 31 Jul, 2019 3 commits
  2. 30 Jul, 2019 7 commits
  3. 29 Jul, 2019 11 commits
  4. 28 Jul, 2019 1 commit
  5. 27 Jul, 2019 6 commits
  6. 26 Jul, 2019 4 commits
  7. 25 Jul, 2019 8 commits
    • Luis Fernando Alvarez D's avatar
      a2b2a2a3
    • Olivier Tassinari's avatar
      Fix onError prop-type warning in Link (#8021) · 71f9288a
      Olivier Tassinari authored
      The warning
      
      > Warning: Failed prop type: Link: unknown props found: onError
      
      can happen in this case:
      
      ```tsx
      import * as React from 'react';
      import NextLink, { LinkProps as NextLinkProps } from 'next/link';
      
      type NextComposedProps = React.AnchorHTMLAttributes<HTMLAnchorElement> & NextLinkProps;
      
      const NextComposed = React.forwardRef<HTMLAnchorElement, NextComposedProps>((props, ref) => {
        const { as, href, replace, scroll, passHref, shallow, prefetch, onError, ...other } = props;
      
        return (
          <NextLink
            href={href}
            prefetch={prefetch}
            as={as}
            replace={replace}
            scroll={scroll}
            shallow={shallow}
            passHref={passHref}
            onError={onError}
          >
            <a ref={ref} {...other} />
          </NextLink>
        );
      });
      ```
      
      *Taken from Material-UI Next.js integration example*
      71f9288a
    • Joe Haddad's avatar
      v9.0.3-canary.3 · 22b58b1c
      Joe Haddad authored
      22b58b1c
    • Lukáš Huvar's avatar
      Fix index.js for API routes (#8112) · bbcb448e
      Lukáš Huvar authored
      This fixes the problem with `/pages/api/index.js` not creating serverless function. Fixes #8111 
      bbcb448e
    • Sergio Garcia Mondaray's avatar
      Dynamic routes clarification (#8110) · eae1f6b7
      Sergio Garcia Mondaray authored
      As talked in https://github.com/zeit/next.js/issues/8101 dynamic routing documentation could be confusing. This PR tries to clarify it a bit.
      eae1f6b7
    • Joe Haddad's avatar
      Fix extension for module/nomodule · 8b0a93b0
      Joe Haddad authored
      8b0a93b0
    • Gerald Monaco's avatar
      Add next-head-count & remove next-head class (#8020) · e68307df
      Gerald Monaco authored
      Fixes #3494
      
      Removes `class="next-head"` from the children of the `<Head>` component. Instead, a single sentinel meta element named `next-head-count` is appended. The content is the number of contiguous elements immediately preceding the sentinel that _would have had_ the `class="next-head"` attribute.
      
      During an update, instead of searching for `class="next-head"`, the sentinel is located and the N previous elements are considered candidates for `oldTags`. New elements are inserted before the sentinel, and finally the sentinel is updated to reflect the new count.
      e68307df
    • Lukáš Huvar's avatar
      Configuration for body parsing size limit (#7896) · 3ee5ec44
      Lukáš Huvar authored
      This PR introduces the possibility to change the size of the parsed body. This brings features like:
      - Adjusting the size of the incoming message
      - Better security 
      3ee5ec44