Unverified Commit 501c7238 authored by Steven's avatar Steven Committed by GitHub

chore(docs): update version history of `next/image` (#73923)

These features were added in Next.js 15.x but then back-ported to 14.x
since they can impact billing.

So we should land this docs PR and then also back-port it.

I also noticed that the heading was wrong for `localPatterns`.
parent e45fe1d9
......@@ -493,7 +493,7 @@ Other properties on the `<Image />` component will be passed to the underlying
In addition to props, you can configure the Image Component in `next.config.js`. The following options are available:
## `localPatterns`
### `localPatterns`
You can optionally configure `localPatterns` in your `next.config.js` file in order to allow specific paths to be optimized and block all others paths.
......@@ -1075,7 +1075,9 @@ This `next/image` component uses browser native [lazy loading](https://caniuse.c
| Version | Changes |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `v15.0.0` | `decoding` prop added. `contentDispositionType` configuration default changed to `attachment`. |
| `v15.0.0` | `contentDispositionType` configuration default changed to `attachment`. |
| `v14.2.15` | `decoding` prop added and `localPatterns` configuration added. |
| `v14.2.14` | `remotePatterns.search` prop added. |
| `v14.2.0` | `overrideSrc` prop added. |
| `v14.1.0` | `getImageProps()` is stable. |
| `v14.0.0` | `onLoadingComplete` prop and `domains` config deprecated. |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment