1. 27 Mar, 2019 11 commits
    • Joe Haddad's avatar
      v8.0.4-canary.26 · 4fd794e8
      Joe Haddad authored
      4fd794e8
    • Joe Haddad's avatar
      Add a leading slash to passed pages (#6808) · b871e436
      Joe Haddad authored
      b871e436
    • Alexander Nanberg's avatar
      Upgrade unfetch to v4.1.0 (#6807) · 20768ff3
      Alexander Nanberg authored
      `unfetch` ^4.0.0 is already used by `isomorphic-unfetch` so this simplifies the dependency tree a tiny bit.
      
      Release notes
      https://github.com/developit/unfetch/releases/tag/4.0.0
      https://github.com/developit/unfetch/releases/tag/4.1.0
      20768ff3
    • Jason Miller's avatar
      Add a viewport meta tag by default (#6754) · 1b4b9a34
      Jason Miller authored
      * Add default viewport meta tag (fixes #6698)
      
      * Do not inject default viewport when rendering an AMP document
      
      * Remove redundant viewport on error page
      
      * Plumb withSideEffect() to pass through props, then use that for isAmp.
      
      * Add tests for viewport meta tag.
      
      * Fix linting
      
      * Update dedupes test
      1b4b9a34
    • Joe Haddad's avatar
      v8.0.4-canary.25 · 2efad5a2
      Joe Haddad authored
      2efad5a2
    • Joe Haddad's avatar
      Specified page builds (#6796) · b835e258
      Joe Haddad authored
      * [wip] individual page builds
      
      * Make flag experimental and remove from main bin
      
      * Do not split chunks when using shared runtime
      b835e258
    • Václav Nosek's avatar
      [with-sentry] example: Make 'utils/sentry.js' more flexible (#6769) · 02966afd
      Václav Nosek authored
      * Make `ctx` optional in `captureException` function
      
      * Make 'release' optional when calling sentry util
      
      * Fix code style
      02966afd
    • Chris Cowan's avatar
      Improve with-google-analytics example (#6787) · 18884676
      Chris Cowan authored
      The with-google-analytics example had the "routeChangeComplete" event listener set up in components/Page.js, but that the event listener would only be set up if the user visited a page using that component. From the example, it's not clear if google analytics can be used without making every page use a component like components/Page.js. Someone following the example may make pages that don't use components/Page.js and fail to have page views reported, or feel compelled to force a shared component into their design unnecessarily, or might even make a mistake by making multiple different components like Page.js which each add a new "routeChangeComplete" event listener, causing page views to be over-reported when the user navigates between pages using the different components.
      
      This PR moves the "routeChangeComplete" event listener into _app.js, where it's guaranteed to be executed for every page and is more obviously decoupled from page-layout-related components.
      
      This PR also fixes a React warning about the lack of an onChange handler on an input tag, and removes the unnecessary implementation of `getInitialProps` in _document.js (the default implementation is inherited if not present, there's nothing this example needs to do with `getInitialProps` specifically, and the body of the method seems to have been based on an old version of next's internal implementation).
      
      This PR also fixes the url being passed to google tag manager incorrectly. It looks like page_path should be used instead of page_location because the `url` value only has the path, not the full url with the domain name, etc. (https://developers.google.com/analytics/devguides/collection/gtagjs/pages)
      18884676
    • Luis Fernando Alvarez D's avatar
      Remove prop-types import in the build (#6798) · da947224
      Luis Fernando Alvarez D authored
      Tests don't catch this change because `isProduction &&` is always false so I tested it with a local build
      da947224
    • Tomáš Hapl's avatar
      example with orbit-components (#6793) · 99362592
      Tomáš Hapl authored
      99362592
    • Corbin Crutchley's avatar
      Update dependencies of various examples (#6731) · 9504a389
      Corbin Crutchley authored
      Minor changes to examples. Updating major semver updates with only `package.json` changes. 
      I've done my best to make sure that these packages.json files all have `latest` for the `nextjs` package, `cross-env` for those with `server.js` files, etc.
      I also added a `package.json` to `with-dynamic-app-layout` (it was missing one previously)
      
      Made sure to test all of these packages post-upgrade to ensure maintained functionality
      9504a389
  2. 26 Mar, 2019 5 commits
  3. 25 Mar, 2019 10 commits
  4. 24 Mar, 2019 4 commits
  5. 23 Mar, 2019 6 commits
  6. 22 Mar, 2019 3 commits
  7. 20 Mar, 2019 1 commit