Releases: lorenzodejong/next-sanity-image
v6.1.1
v6.1.0
6.0.0
This release fixes common typing issues when using newer versions of @sanity/client, specifically using the SanityClientLike
type.
Breaking changes
Version 6.0.0 of this library includes breaking changes on peer dependencies. The following peer dependencies were changed:
@sanity/client
now expects^5.0.0
- Dropped support for
next
versions^11.0.0
and^12.0.0
- Dropped support for
react
versions^17.0.0
Full Changelog: https://github.com/lorenzodejong/next-sanity-image/commits/6.0.0
5.0.0
Breaking changes
Version 5.0.0 of this library has removed support for the blur options. The reason for this is that this could not be correctly standardised from the library, the only way to support blur up was to request a low quality placeholder image from the Sanity CDN. Sanity already provides a base 64 lqip from the asset's metadata (https://www.sanity.io/docs/image-metadata#74bfd1db9b97).
Checkout the Responsive layout example on how to use the lqip in your Image component.
What's Changed
- feat(deps): allow Next 13 peer dep by @jimCresswell in #47
New Contributors
- @jimCresswell made their first contribution in #47
Full Changelog: 4.1.0...5.0.0