Skip to content

feat(sanity): align preview kit with v6.2.0#43

Merged
osnoser1 merged 1 commit into
mainfrom
osnoser1/angular-preview-kit-v6-2-0
Jun 10, 2026
Merged

feat(sanity): align preview kit with v6.2.0#43
osnoser1 merged 1 commit into
mainfrom
osnoser1/angular-preview-kit-v6-2-0

Conversation

@osnoser1

Copy link
Copy Markdown
Member

PR Checklist

Aligns the Angular preview-kit implementation with @sanity/preview-kit v6.2.0.

Closes #

What is the new behavior?

  • Uses the Sanity Live Content API for live preview updates via client.live.events(), syncTags, and lastLiveEventId.
  • Adds Angular-native live query provider internals for live events, query state, pause state, constants, and cache-key utilities.
  • Removes the old polling/revalidation implementation and deprecates the exposed refresh interval API as a no-op compatibility surface.
  • Adds per-query perspective support to createLiveData.
  • Removes obsolete lru-cache and mendoza dependencies from the package.
  • Updates the presentation smoke harness to emit matching live sync-tag events.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Verified with:

  • pnpm --filter @limitless-angular/sanity build
  • pnpm --filter @limitless-angular/sanity test
  • pnpm --filter @limitless-angular/sanity lint
  • pnpm --filter analog-sanity-blog-example build
  • SANITY_E2E_PREVIEW_PORT=4303 SANITY_E2E_PREVIEW_URL=http://localhost:4303 pnpm --filter sanity-presentation-e2e exec playwright test fake-presentation-host.spec.ts

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

@osnoser1 osnoser1 force-pushed the osnoser1/angular-visual-editing-v5-4-3 branch 2 times, most recently from c5577dc to 60b575d Compare June 10, 2026 20:08
@osnoser1 osnoser1 force-pushed the osnoser1/angular-preview-kit-v6-2-0 branch 2 times, most recently from 819cfcc to 5b758bd Compare June 10, 2026 20:09
Base automatically changed from osnoser1/angular-visual-editing-v5-4-3 to main June 10, 2026 20:13
@osnoser1 osnoser1 force-pushed the osnoser1/angular-preview-kit-v6-2-0 branch from 5b758bd to e61e99e Compare June 10, 2026 20:13
@pkg-pr-new

pkg-pr-new Bot commented Jun 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: e61e99e

@osnoser1 osnoser1 merged commit f86f34b into main Jun 10, 2026
12 checks passed
@osnoser1 osnoser1 deleted the osnoser1/angular-preview-kit-v6-2-0 branch June 10, 2026 20:21
@netlify

netlify Bot commented Jun 10, 2026

Copy link
Copy Markdown

Deploy Preview for limitless-angular-sanity-example ready!

Name Link
🔨 Latest commit e61e99e
🔍 Latest deploy log https://app.netlify.com/projects/limitless-angular-sanity-example/deploys/6a29c587e9700f0008ee6442
😎 Deploy Preview https://deploy-preview-43--limitless-angular-sanity-example.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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