✨ Features
- Add Angular SSR preload and hydration helpers for server-side Convex fetches, transfer-state serialization, and
injectPreloadedQuery()client hydration. - Add callable
injectMutation()andinjectAction()helpers plus.withOptimisticUpdate(...)chains with independent state per optimistic flow. - Add React-style paginated query status values and aggregate
isLoading()support.
⚠️ Breaking Changes
-
Change
injectQueries()to React-parityqueries()semantics: each keyed value is nowresult | Error | undefined, replacing the previousresults(),errors(),statuses(), and aggregateisLoading()API. -
Change
injectMutation()andinjectAction()to callable helpers instead of.mutate()and.run()methods, and move optimistic mutation configuration to.withOptimisticUpdate(...). -
Require native Convex Clerk integration in
provideClerkAuth():sessionClaimsare now required and JWT template-based Clerk tokens are no longer supported.
🐛 Bug Fixes
- Clear stale
injectQuery()data while a subscription is in an active error state. - Stabilize Convex argument identity across query helpers and paginated optimistic updates.
- Reset paginated queries correctly after first-page failures and align pagination semantics and validation with Convex React.
- Stop action and mutation helpers from updating state after their Angular scope is destroyed.
- Surface Auth0 and Clerk token fetch failures as auth errors instead of treating them as ordinary sign-out.
- Preserve the return URL in
convexAuthGuardlogin redirects. - Align auth reauth lifecycle and helper semantics more closely with Convex React behavior.
- Require Auth0 detailed ID token responses for auth integration correctness.
- Fix
injectQuery()argument cache hydration. - Align the demo frontend routes, providers, and examples with the current
convex-angularAPI.
📖 Documentation
- Rewrite the
injectQueries()docs and landing-page examples to usequeries()and Angular-friendly derivedcomputed()helpers. - Document the new SSR preload and hydration APIs, callable mutation/action helpers, pagination status changes, and updated Clerk/Auth0 integration requirements.
View changes on GitHub: v1.6.0...v1.7.0