feat(sanity)!: drop old Sanity dependency majors - #71
Merged
Merged
Conversation
✅ Deploy Preview for limitless-angular-sanity-example canceled.
|
osnoser1
force-pushed
the
remove-old-sanity-dependency-support
branch
from
June 16, 2026 00:25
b3101f3 to
f262f22
Compare
commit: |
BREAKING CHANGE: @limitless-angular/sanity now requires @sanity/client ^7.0.0, @portabletext/toolkit ^5.0.0, @portabletext/types ^4.0.0, and @sanity/image-url ^2.0.2.
osnoser1
force-pushed
the
remove-old-sanity-dependency-support
branch
from
June 16, 2026 00:47
f262f22 to
48e7ca2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Checklist
N/A
What is the new behavior?
Drops support for old Sanity and Portable Text dependency majors in @limitless-angular/sanity:
This also refreshes the pnpm lockfile importer metadata and adds an angular-compat manifest policy assertion so the dropped majors are not accidentally reintroduced.
Because @sanity/image-url v2 is now required, the image-loader entry point also removes its local v1-compatible image URL type copies, imports the v2 ImageUrlBuilderOptionsWithAliases and SanityImageSource types directly, and uses the named createImageUrlBuilder export.
Does this PR introduce a breaking change?
BREAKING CHANGE: @limitless-angular/sanity consumers must upgrade to @sanity/client ^7.0.0, @portabletext/toolkit ^5.0.0, @portabletext/types ^4.0.0, and @sanity/image-url ^2.0.2.
Migration path: update applications to the supported dependency majors before upgrading to this release.
Other information
Validation:
[Optional] What gif best describes this PR or how it makes you feel?
N/A