# What changed in @sanity/image-url

> 4 changes in @sanity/image-url 2 from its official release notes, upgrade guides and advisories: 1 breaking, 1 deprecations, 1 new APIs and options. Each one cited. Sources checked 2026-10-21. HTML: https://unstale.sh/npm/@sanity/image-url/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @sanity/image-url 2

### Breaking changes

- Expiry is now required when creating signed URLs. (2.0.3) — [release notes](https://github.com/sanity-io/image-url/releases/tag/v2.0.3)

### Deprecations

- The ~experimental_resource property is deprecated. (2.1.0) — [release notes](https://github.com/sanity-io/image-url/releases/tag/v2.1.0)

### New APIs and options

- Clients configured with the resource property are now supported. (2.1.0) — [release notes](https://github.com/sanity-io/image-url/releases/tag/v2.1.0)

### Fixes and other changes

- Passing a canvas or dataset resource now creates a valid URL. (2.1.1) — [release notes](https://github.com/sanity-io/image-url/releases/tag/v2.1.1)
