Angular pre-release updates#10470
Conversation
|
Important Review skippedToo many files! This PR contains 193 files, which is 43 over the limit of 150. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (193)
You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Released at |
|
Actually huge :) I hope we can get this merged |
…persistence Align reference and guides with Provider[] API; spread provideTanStackQuery in snippets, examples, and angular-cli integration.
Align TypeScript and zone.js for the CLI integration, dedupe Angular peers in the devtools-panel example, trim unused devDependencies, extend Knip workspace config, and satisfy ESLint/JSDoc on hydration and persist helpers.
3c28dc9 to
4bc212c
Compare
|
thanks for all the work you're putting on this. hope this will get merged and the angular query package will get out of experimental |
🎯 Changes
I joined my previous PR's #10340 and #9986, that continued the work of @arnoud-dv at #9893, into 2 step PRs, one for fixing multiple issues, and another one for preparing the non-experimental release.
This one gets upgrades the deps to angular +20, fixes most reported issues, and ads a couple of features that might be expected to work for SSR (like in Analog).
The core idea is that this PR is as backwards compatible as it can be, but it prepares everything for a stable release that removes the usage of deprecated angular APIs (that are not part of LTS) and marks as deprecated some of the exported APIs. It is a heavy PR since it includes some new features for SSR plus examples for it, and a lot of tests to verify correct behavior. The commits are split in a way that is easier to review commit by commit.
Ordering the changes was heavelly powered by AI, but the core internal changes were not made by it.
New things and things to be aware of:
.datakicks off theCreateQueryOptionsfunction #7488. Most of the work here is taking what was started on @arnoud-dv's PR at refactor(angular-query): require Angular v19+ and rely on component effect schedule timing #9893injectQuerieswithHydrationKey()andwithNoQueryHydration(), allowing multiple clients for hydratationa and using the same opt out of hydratation behaviour as the Angular HTTP ClientwithNoHttpTransferCache(). This might match some users expectation of how the client should work in Angular.withPersistQueryClientby allowing a different signature that only runs on the browser.I'm pushing some changes to my own scope
@benjavicente/angular-query-experimental, but I will love to have a more official PR preview channel withpkg-pr-newfor the PR, and then the fixes and features in the official package.The next PR for the stable release would be this one: benjavicente#8
✅ Checklist
pnpm run test:pr.🚀 Release Impact