Skip to content

Commit

Permalink
chore(docs): update version history of next/image (#73923) (#74570)
Browse files Browse the repository at this point in the history
Backport #73923 to 15.1.x
  • Loading branch information
styfle authored Jan 7, 2025
1 parent 5a501d3 commit 7b195a8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/01-app/03-api-reference/02-components/image.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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. |
Expand Down

0 comments on commit 7b195a8

Please sign in to comment.