Skip to content

Releases: lorenzodejong/next-sanity-image

v6.1.1

13 Nov 20:14
Compare
Choose a tag to compare

6.1.1 (2023-11-13)

Peer dependency changes

  • this package now supports next@^14.0.0 from the peerDependencies

Bug Fixes

  • export SanityClientOrProjectDetails to prevent the build from erroring. (1179d90)

This release is also available on:

v6.1.0

17 Jun 19:54
Compare
Choose a tag to compare

6.1.0 (2023-06-17)

Features

  • allow @sanity/client ^6.0.0 as peer dependency. (553b5c6)

Bug Fixes

  • remove dry-run from the release CI script. (446e076)
  • remove duplicate conditional statement (e1eb37f)

This release is also available on:

6.0.0

18 Mar 13:08
Compare
Choose a tag to compare

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

05 Nov 11:28
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: 4.1.0...5.0.0