FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(sanity)!: drop old Sanity dependency majors by osnoser1 · Pull Request #71 · limitless-angular/limitless-angular · GitHub

feat(sanity)!: drop old Sanity dependency majors - #71

Merged
osnoser1 merged 1 commit into
mainfrom
remove-old-sanity-dependency-support
Jun 16, 2026
Merged

feat(sanity)!: drop old Sanity dependency majors#71
osnoser1 merged 1 commit into
mainfrom
remove-old-sanity-dependency-support

Conversation

osnoser1 commented Jun 16, 2026
edited
Loading

Copy link
Copy Markdown
Member

PR Checklist

N/A

What is the new behavior?

Drops support for old Sanity and Portable Text dependency majors in @limitless-angular/sanity:

  • @sanity/client now supports ^7.0.0 only.
  • @portabletext/toolkit now supports ^5.0.0 only.
  • @portabletext/types now supports ^4.0.0 only.
  • @sanity/image-url now supports ^2.0.2 only.

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?

  • Yes
  • No

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:

  • pnpm --filter @limitless-angular/angular-compat test
  • pnpm --filter @limitless-angular/sanity test
  • pnpm --filter @limitless-angular/sanity build
  • pnpm --filter @limitless-angular/sanity lint

[Optional] What gif best describes this PR or how it makes you feel?

N/A

netlify Bot commented Jun 16, 2026
edited
Loading

Copy link
Copy Markdown

Deploy Preview for limitless-angular-sanity-example canceled.

Name Link
🔨 Latest commit 48e7ca2
🔍 Latest deploy log https://app.netlify.com/projects/limitless-angular-sanity-example/deploys/6a309d2d61d8ec00088b6ad0

osnoser1 force-pushed the remove-old-sanity-dependency-support branch from b3101f3 to f262f22 Compare June 16, 2026 00:25

pkg-pr-new Bot commented Jun 16, 2026
edited
Loading

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@limitless-angular/sanity@71

commit: 48e7ca2

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 f262f22 to 48e7ca2 Compare June 16, 2026 00:47
osnoser1 merged commit fa7fcfa into main Jun 16, 2026
18 checks passed
osnoser1 deleted the remove-old-sanity-dependency-support branch June 16, 2026 00:55
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL