- 27 10月, 2020 27 次提交
-
-
由 Steven 提交于
This does two things: - Rename `iconSizes` to `imageSizes`. - Give priority to `imageSizes` regardless of `deviceSizes` as a means to opt-out of the srcset behavior.
-
由 Jesse Jafa 提交于
-
由 Yuki Takemoto 提交于
Co-authored-by: Nkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
由 Yamagishi Kazutoshi 提交于
Co-authored-by: NTim Neutkens <timneutkens@me.com>
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
Co-authored-by: Nkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: NJoe Haddad <joe.haddad@zeit.co>
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
This is a follow-up to https://github.com/vercel/next.js/pull/18067 adding an example for i18n routing x-ref: https://github.com/vercel/next.js/pull/17370
-
由 Sam Robbins 提交于
Might be easier for some users to see a whole app set up with it
-
由 JJ Kasper 提交于
Follow-up to https://github.com/vercel/next.js/pull/18067 this adds the manifest item for the new docs
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
This is a follow-up to https://github.com/vercel/next.js/pull/17755 which adds support for returning `notFound` to `getServerSideProps` also
-
由 Tasuku Uno 提交于
* Fix test without expect for redirects from getStaticProps/getServerSideProps * Fix browser back issue of redirects from getServerSideProps / getStaticProps
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
This removes the `unstable_` prefix to prepare for stabilizing the feature
-
由 Joe Haddad 提交于
-
由 Steven 提交于
-
由 Steven 提交于
This separates the `next.config.js` property `images.sizes` into to properties: `images.deviceSizes` and `images.iconSizes`. The purpose is for images that are not intended to take up the majority of the viewport. Related to #18122
-
由 Tim Neutkens 提交于
-
由 Tim Neutkens 提交于
-
由 Tim Neutkens 提交于
-
由 Tim Neutkens 提交于
-
由 Steven 提交于
Add missing links in the documentation
-
- 26 10月, 2020 2 次提交
-
-
由 JJ Kasper 提交于
This adds checks to ensure that less than 50 domain and size items are configured and no sizes are less than 0 or greater than 10,000 x-ref: https://github.com/vercel/next.js/issues/18122Co-authored-by: NSteven <steven@ceriously.com>
-
由 Steven 提交于
There was a bug when the user defines a width on the Image component, but a larger size image is requested. This is because the browser uses the `srcset` to decide which image size to request and we had the srcset basically hardcoded. This PR fixes the behavior so that the `srcset` will never be larger than the `width` defined on the component. It also fixes a bug where the preload srcset did not match the img srcset. - Related to #18147 - Related to #18122
-
- 25 10月, 2020 6 次提交
-
-
由 JJ Kasper 提交于
* Add next/image default loader errors * Add domains check * Apply suggestions from PR * Update test
-
由 Steven 提交于
We currently always accept requests to the new `/_next/image` endpoint, even when it should not be used. Instead, we should check to see if the default loader is used as a signal to enable this API. Other loaders (such as cloudinary) will not go through the Next.js API so there is no need to expose this, instead we 404. - Analogous to https://github.com/vercel/vercel/pull/5321 - Related to #18122
-
由 Tim Neutkens 提交于
-
由 Tim Neutkens 提交于
-
由 JJ Kasper 提交于
This ensures a custom `/404` page with `getStaticProps` works correctly when leveraging the new `unstable_notFound` support in `getStaticProps` Closes: https://github.com/vercel/next.js/issues/18196 x-ref: https://github.com/vercel/next.js/pull/17755
-
由 Giuseppe 提交于
* Adds React 17 as a peer dependency
-
- 24 10月, 2020 4 次提交
-
-
由 Tim Neutkens 提交于
Solves on of the issues in https://github.com/vercel/next.js/issues/18122
-
由 Steven 提交于
Co-authored-by: NLee Robinson <me@leerob.io> Co-authored-by: NTim Neutkens <timneutkens@me.com>
-
由 Steven 提交于
For many users refactoring from `<img>` to `<Image>`, we can often support their properties as-is. The exception was width/height. This PR allows the `<Image>` component to accept strings for `width` and `height` just like `<img>`. Related to #18122
-
由 Steven 提交于
Previously, vector images like svg were being converted to webp and resized. However, vector images already handle any size so we can bypass the same we do for animated images. Related to #18122
-
- 23 10月, 2020 1 次提交
-
-
由 JJ Kasper 提交于
* Add initial i18n documentation * Apply suggestions from code review Co-authored-by: NTim Neutkens <tim@timneutkens.nl> * Apply suggestions from code review Co-authored-by: NLee Robinson <me@leerob.io> * Apply more suggestions * rephrase a bit more * Update doc Co-authored-by: NTim Neutkens <tim@timneutkens.nl> Co-authored-by: NLee Robinson <me@leerob.io> Co-authored-by: NTim Neutkens <timneutkens@me.com>
-