- 21 10月, 2020 4 次提交
-
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
-
由 Tim Neutkens 提交于
-
由 Steven 提交于
Co-authored-by: NTim Neutkens <timneutkens@me.com>
-
- 20 10月, 2020 5 次提交
-
-
由 Alex Castle 提交于
Co-authored-by: NTim Neutkens <timneutkens@me.com>
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
This makes sure that we detect the correct default locale for domain specific locales since a domain can have a different default locale residing at the root and we need to check this on the client for prerendered/auto-static pages. This also makes sure we disable the built-in redirect handling when on Vercel since it's handled already. Tests for this are tricky since we need to load the browser with a custom domain which requires editing the host file. Existing tests should ensure this doesn't break non-domain specific locale behavior though. This was also tested manually while testing https://github.com/vercel/vercel/pull/5298 x-ref: https://github.com/vercel/next.js/pull/17370
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
This updates the new image optimizer endpoint to instead of relying on the `host` and `proto` headers for relative files to use the internal route handling in `next-server` to load files from the public directory. The existing tests for relative files with the endpoint should cover these changes
-
- 19 10月, 2020 1 次提交
-
-
由 Ludovico Fischer 提交于
Co-authored-by: NTim Neutkens <timneutkens@me.com> Co-authored-by: Nkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
- 18 10月, 2020 4 次提交
-
-
由 Yamagishi Kazutoshi 提交于
Follow-up #17916 Correcting type errors and organizing redundant descriptions.
-
由 JJ Kasper 提交于
This makes sure the image optimizer doesn't de-animate images by transforming them with sharp since sharp doesn't currently handle outputting animated images x-ref: https://github.com/vercel/next.js/pull/17749
-
由 Alex Castle 提交于
Co-authored-by: NTim Neutkens <timneutkens@me.com> Co-authored-by: NTim Neutkens <tim@timneutkens.nl>
-
由 Tim Neutkens 提交于
-
- 17 10月, 2020 8 次提交
-
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
由 Yamagishi Kazutoshi 提交于
![Screenshot on VS Code](https://user-images.githubusercontent.com/12539/96300300-43fc1280-1030-11eb-89ae-dba8beeca583.png) The only attribute that must be used with Image Component is src, but all attributes are required and TypeScript will warn you.
-
由 Yamagishi Kazutoshi 提交于
Unify the confusing `config.images.sizes` ([Image Optimizer](https://github.com/vercel/next.js/discussions/17141)) and `config.images.breakpoints` ([Image Component](https://github.com/vercel/next.js/discussions/16832)).
-
由 Yamagishi Kazutoshi 提交于
Image Optimizer only accepts the name of the width parameter as a `w`. ref https://github.com/vercel/next.js/blob/v9.5.6-canary.3/packages/next/next-server/server/image-optimizer.ts#L71
-
由 JJ Kasper 提交于
-
由 Tim Neutkens 提交于
Co-authored-by: NSteven <steven@ceriously.com>
-
由 Tim Neutkens 提交于
-
- 16 10月, 2020 8 次提交
-
-
由 Tim Neutkens 提交于
-
由 Steven 提交于
Co-authored-by: NJJ Kasper <jj@jjsweb.site>
-
由 JJ Kasper 提交于
This makes sure the correct `initialRevalidateSeconds` field is populated in the `prerender-manifest` for non-dynamic SSG pages since they will be inserted into the `initialPageRevalidationMap` under their locale prefixed variant with `i18n` enabled x-ref: https://github.com/vercel/next.js/pull/17370
-
由 Joe Haddad 提交于
This PR adjust the Web Vitals reporting to be called *after* rendering occurs. It used to work like this, but React's render method is no longer synchronous—so we have to do it in an effect. Existing tests should cover this code path, and IMO it's unfeasible to test that it's invoked _after_ hydration. Also removed the `&& ST` condition which is not relevant to Web Vitals.
-
由 JJ Kasper 提交于
* Ensure i18n support with AMP * Fix type error * Update size-limit
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
This adds the i18n config items to the routes-manifest so that they can accessed in the builder. This doesn't increment the routes-manifest version as existing value shapes haven't been modified and an additional non-breaking value is being added x-ref: https://github.com/vercel/next.js/pull/17370
-
- 15 10月, 2020 4 次提交
-
-
由 Tim Neutkens 提交于
-
由 Slawek Kolodziej 提交于
Co-authored-by: NTim Neutkens <tim@timneutkens.nl> Co-authored-by: Nkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
由 JJ Kasper 提交于
This adds the `locale` prop for `next/link` to allow transitioning between locales client-side and also allows passing the locale to `router.push/replace` via the transition options similar to `shallow` e.g. `router.push('/another', '/another, { locale: 'nl' })` x-ref: https://github.com/vercel/next.js/pull/17370
-
由 JJ Kasper 提交于
This updates to set the `NEXT_LOCALE` cookie to the default locale when the user prefers a different locale from the default in their `accept-language` header but visits the default locale path e.g. `/en-US` with a `accept-language` preferred header of `nl` will set the `NEXT_LOCALE=en-US` header and then redirect to `/` x-ref: https://github.com/vercel/next.js/pull/17370
-
- 14 10月, 2020 6 次提交
-
-
由 Tim Neutkens 提交于
-
由 Tommaso De Rossi 提交于
Co-authored-by: NLuis Alvarez D <luis@vercel.com> Co-authored-by: NTim Neutkens <tim@timneutkens.nl>
-
由 Simone Corsi 提交于
-
由 Alex Castle 提交于
Co-authored-by: NTim Neutkens <timneutkens@me.com> Co-authored-by: NTim Neutkens <tim@timneutkens.nl>
-
由 JJ Kasper 提交于
Co-authored-by: Nkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
由 Jan Potoms 提交于
Co-authored-by: NJJ Kasper <jj@jjsweb.site> Co-authored-by: Nkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-