github TanStack/query @tanstack/angular-query@5.0.0-rc.5

latest releases: @tanstack/svelte-query-devtools@6.3.4, @tanstack/solid-query-persist-client@5.104.4, @tanstack/solid-query-devtools@5.104.4...
pre-release3 hours ago

Major Changes

  • Add the stable Angular Query adapter for Angular 20.1+. It includes SSR support, Resource API interoperability, persistence integration, improved internal subscription and pending tasks management, stable injectQueries and consistency improvements in the API.

Minor Changes

  • Bundle an Angular 20.1-compatible migrate-from-experimental schematic that updates imports, migrates Angular and Nx workspace dependencies, and reports remaining API changes. Include opt-in migrations for ambiguous client references and query-core imports, with optional peer dependencies for schematic tooling.

Patch Changes

  • Fix the migrate-from-experimental schematic aborting with Path "…" is a file. when a project source imports a package subpath that names a file, such as @noble/hashes/sha3.js.

  • Improve Angular migration and typing:

    • Replace experimental npm aliases for query and devtools packages and preserve exact dependency pins, including opted-in query-core migrations.
    • Discover application and test sources across Angular, Nx, manually configured runners, and standalone libraries, including project references. Respect explicit test configurations and TypeScript exclusions after merging project declarations.
    • Fix status-helper calls on heterogeneous injectQueries results while preserving signal typing and status-based narrowing. Keep optional initial data undefined-capable.
    • Document gradual migration, shared ngneat clients, import restrictions, and asynchronous testing patterns. Run Zone.js regression tests alongside zoneless library tests by default.
  • #12054 9464a5e - Update the Angular packages to the latest Query core and incorporate upstream adapter fixes, type coverage, and tooling updates.

  • #12054 9464a5e - Build the Angular packages with Vite 8 while preserving their module entry points and external dependencies.

Don't miss a new query release

NewReleases is sending notifications on new releases.