36328 Commits

Author SHA1 Message Date
Matthew Beck f9d6d98d8c release: cut the v21.1.5 release v21.1.5 2026-02-18 14:22:20 -08:00
Ben Hong b90a0fc0cb docs: update best practice performances nav structure to be more comprehensive
(cherry picked from commit 9a9f4e7f93)
2026-02-18 11:40:23 -08:00
Ben Hong a4eb347a98 docs: add signal forms async operations guide
Co-authored-by: Matthieu Riegler <kyro38@gmail.com>
(cherry picked from commit b8811b45d8)
2026-02-18 11:03:59 -08:00
Andrew Scott fe44f20abe refactor(docs-infra): Add writing guide skill
This adds a writing skill for writing and reviewing adev content

(cherry picked from commit c36385c691)
2026-02-18 09:28:25 -08:00
Angular Robot 3c494b4a52 build: update cross-repo angular dependencies
See associated pull request for more information.
2026-02-18 08:54:20 -08:00
SkyZeroZx 46786b5778 build: updates Bazel commands in ssr-benchmarks to use pnpm for consistency
(cherry picked from commit 5a3cacaaac)
2026-02-18 08:49:26 -08:00
Andrew Scott 42b43bd9ca docs(zone.js): update release and publish commands in DEVELOPER.md
(cherry picked from commit 98610aabaf)
2026-02-18 08:47:59 -08:00
Andrew Scott c320b507d8 docs(zone.js): update build command in DEVELOPER.md
(cherry picked from commit d99e336a03)
2026-02-18 08:47:59 -08:00
Andrew Scott f7acf7f51e docs(zone.js): update instructions to use pnpm
(cherry picked from commit c2f7eaa833)
2026-02-18 08:47:58 -08:00
kirjs 25ebceb811 docs: fix custom control metadata example in signal forms guide
It was incorretly assuming FieldState is passeed to formField input

(cherry picked from commit 680e1c05c6)
2026-02-18 07:12:47 -08:00
SkyZeroZx 7e8b0474c3 refactor(forms): simplify destroy subject handling
Remove unnecessary conditional check when completing the destroy subject, since it is always defined

(cherry picked from commit fd956f675a)
2026-02-18 07:12:07 -08:00
aparziale 76d1a37993 docs(docs-infra): Signal forms docs
Update docs signal forms errors input wrong typing

fixes #66844

(cherry picked from commit 8de0d25ffa)
2026-02-17 14:36:04 -08:00
Angular Robot 49f0cc0b5e build: update cross-repo angular dependencies
See associated pull request for more information.
2026-02-17 14:24:56 -08:00
SkyZeroZx 4953622294 docs: fix enableProfiling note
(cherry picked from commit 064749e010)
2026-02-17 13:34:31 -08:00
SkyZeroZx 7f5a7289d0 refactor(compiler-cli): update updateImportClause away from deprecated signature
Updates the `updateImportClause` call to use the non-deprecated signature.
Also update test `new Buffer` to `Buffer.from`

(cherry picked from commit e45a7fe734)
2026-02-17 12:56:08 -08:00
Andrew Scott 9c1ec6c93e fix(zone.js): support passthrough of Promise.try API
When Zone patches Promise, it uses ZoneAwarePromise. The new Promise.try API was undefined on ZoneAwarePromise, making it unavailable when zone was present. This change gracefully passes through Promise.try to the native Promise implementation, if available, without patching it to execute in the right zone (our stance is not to add new patches but avoid destructively making new APIs unavailable).

Fixes #67057

(cherry picked from commit fc557f0276)
2026-02-17 11:32:53 -08:00
Angular Robot fc873cd0b2 build: lock file maintenance
See associated pull request for more information.
2026-02-17 08:51:23 -08:00
Rajveer 58eba77b7f refactor(core): remove outdated TODO comments referencing TypeScript 2.1
Angular requires TypeScript >=5.9, making TODO comments that reference TypeScript 2.1 features obsolete. These comments existed in keyvalue_differs.ts and ng_for_of.ts and referenced type improvements that were deferred until TS 2.1, which has long since been surpassed.

(cherry picked from commit a8aab64809)
2026-02-17 08:49:38 -08:00
hawkgs 2f86006930 refactor(devtools): improve formatting of injector providers token labels
Use `InjectionToken.toString` for the string representation of `InjectionToken`s for better readibility.

(cherry picked from commit 9f4c025531)
2026-02-17 08:33:45 -08:00
aparziale 24d00e9bb3 docs: typo in documentation
Fix typo in documentation signal

Fixes #67090

(cherry picked from commit b8d1164e0f)
2026-02-17 08:25:08 -08:00
Miles Malerba 68a3da816b docs: add testing tips to AGENTS.md
Add testing tips to AGENTS.md

(cherry picked from commit ee7b4eb24d)
2026-02-17 08:24:03 -08:00
Andrew Scott a3588a0e1f refactor(compiler-cli): Add skeleton tests around source->source compiler transform mode
adds skeleton and tests for source->source compiler transform.

(cherry picked from commit 815e1a03a9)
2026-02-13 16:48:17 -08:00
Casper Jacobsen 670dee9bfc docs: fix formatting in pipes.md example
Example "without parentheses" still had parentheses

(cherry picked from commit a37b6c55a8)
2026-02-13 23:42:42 +00:00
Angular Robot 4f9446343b build: update cross-repo angular dependencies
See associated pull request for more information.
2026-02-13 12:26:41 -08:00
marktechson 5a865288b5 docs: Adds new agent skills to Angular
The first agent skill is a workflow for building a new Angular app from scratch. Using this skill agents will use Angular tooling for code generation where appropriate. Also includes important hints.

(cherry picked from commit 29a17ed791)
2026-02-13 18:07:59 +00:00
SkyZeroZx 23c0858e67 refactor(compiler-cli): use phaseModifier for type-only import detection
The `isTypeOnly` property was deprecated in TypeScript and replaced by `phaseModifier`.

Updates the check to use `phaseModifier`, which is the recommended API for detecting type-only imports.

Additionally, removes the unused `metadata` parameter from the `NgModuleExtractor`

(cherry picked from commit e10a63453d)
2026-02-13 17:42:52 +00:00
Matthieu Riegler 9c3022d053 refactor(platform-server): split zone/zoneless tests.
The Zone tests are a subset of tests that we still using the Zone CD provider.

(cherry picked from commit 08ea105aa3)
2026-02-13 17:41:14 +00:00
Angular Robot 50c53534ea build: update pnpm to v10.29.3
See associated pull request for more information.
2026-02-13 09:19:51 -08:00
Jef a3ffef2556 docs: Clarify sentence in attribute-directives.md
(cherry picked from commit 3cad0d644e)
2026-02-13 17:16:50 +00:00
SkyZeroZx 55b501a8f8 refactor(common): improve image directive typings
Add image directive typings to improve type safety and removes an unused parameter from the observer registration.

(cherry picked from commit ddfc833df9)
2026-02-13 00:51:54 +00:00
Miles Malerba 5cf357bdce build: lock file maintenance
See associated pull request for more information.
2026-02-12 16:42:54 -08:00
Matthieu Riegler cb5eb2fde1 refactor(language-service): split tests into multiple targets
The helps with fighting flakiness
2026-02-12 16:40:21 -08:00
Angular Robot 7a8ba5cb3d build: update cross-repo angular dependencies
See associated pull request for more information.
2026-02-12 11:15:39 -08:00
Angular Robot 65a8df125a build: update bazel dependencies
See associated pull request for more information.
2026-02-12 09:39:44 -08:00
Angular Robot 937e98f4df build: update pnpm to v10.29.2
See associated pull request for more information.
2026-02-11 15:37:15 -08:00
Miles Malerba 4ef0f1ffa2 build: add workspace rule for antigravity
Antigravity does not support AGENTS.md, instead it has "workspace rules" (antigravity.google/docs/rules-workflows). This commit adds a symlink for the workspace rule.

(cherry picked from commit 62453330f5)
2026-02-11 23:23:08 +00:00
Angular Robot 7150df2f11 build: update cross-repo angular dependencies to v21.1.4
See associated pull request for more information.
2026-02-11 14:43:26 -08:00
Angular Robot 6060aadf4b docs: update cross-repo adev docs
Updated Angular adev cross repo docs files.
2026-02-11 14:10:25 -08:00
Jessica Janiuk aa03843d92 ci: update pullapprove reviewer list
This cleans up the pullapprove reviewers.

(cherry picked from commit 4937d162f5)
2026-02-11 22:00:05 +00:00
Matthieu Riegler c514c78d38 build: add node type for api extraction
Without this the node types are `any`.

fixes #67027

(cherry picked from commit 7b5bcbf401)
2026-02-11 21:58:01 +00:00
Miles Malerba 886813095f build: add skills in antigravity
Adds a symlink `.agent/skills` to `.gemini/skills`. This will allow
antrigravity which searches under `.agent` to see them.

(cherry picked from commit 50e74add52)
2026-02-11 21:39:55 +00:00
Andrew Kushnir 289ddc9e29 release: cut the v21.1.4 release v21.1.4 2026-02-11 09:49:26 -08:00
Matt Lewis 2b99eaa019 fix(core): capture animation dependencies eagerly to avoid destroyed injector
Animation runner functions (runEnterAnimation, runLeaveAnimations,
runLeaveAnimationFunction) execute asynchronously from the animation
queue via afterNextRender. By that time the lView injector may have
been destroyed, causing lView[INJECTOR].get(NgZone) to throw NG0205.

Move the NgZone and MAX_ANIMATION_TIMEOUT lookups into the setup
instructions (ɵɵanimateEnter, ɵɵanimateLeave, ɵɵanimateLeaveListener)
which run synchronously during template processing when the injector
is guaranteed to be valid, and pass them through the closures.

(cherry picked from commit bd2868e915)
2026-02-10 13:31:27 -08:00
Weddly Rodrigues bdcd1b3ca0 docs: rename loadUser mock API to getUserData
(cherry picked from commit c6ca1cd725)
2026-02-10 13:30:48 -08:00
Matthieu Riegler d9ec23e46b test: add test about mapped attributes to input
The dynamic component has `[value]` in its selector and this has always been reflected as a DOM attribute on the dynamically created host element, which is now also synced into the component instance.

fixes #60157

(cherry picked from commit e229328b39)
2026-02-10 13:29:35 -08:00
Charles Lyding a5bd444880 docs: remove legacy e2e configuration from i18n example
Removes the unused 'e2e' configuration block using '@angular-devkit/build-angular:private-protractor' from the i18n example configuration.

(cherry picked from commit 8b4eec6683)
2026-02-10 13:28:52 -08:00
Matthieu Riegler 083f0fa263 fix(vscode-extension): Highlight function calls with optional chaining
eg: `foo?.()` should be highlighted as `foo()`.

fixes #65513

(cherry picked from commit 4f8d3995f0)
2026-02-10 09:42:07 -08:00
SkyZeroZx 2c3f3cc336 refactor(forms): use optional chaining for safer method calls in form directives
Simplifies null checks by leveraging optional chaining when invoking
optional callbacks

(cherry picked from commit 8b3b069be7)
2026-02-10 07:43:02 -08:00
SkyZeroZx ae3c8fbc38 refactor(compiler-cli): removes reflector parameter from wrapTypeReference
The `wrapTypeReference` function no longer needs the `reflector` because it only uses the `clazz` parameter to create a `WrappedNodeExpr`.

(cherry picked from commit e7fa177923)
2026-02-10 07:42:29 -08:00
moraisacr c6bbf403a3 docs(forms): replace 'legacy' with 'existing' in migration guide and navigation
Updates terminology from 'Legacy Forms' to 'Existing Forms' in:
- Migration guide documentation
- Navigation entries label

Backport of #66969
2026-02-09 15:57:57 -08:00