36368 Commits

Author SHA1 Message Date
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
Matthieu Riegler 6c14e3af2e build: update Jasmine to 6.0.0
Jasmine enables `forbidDuplicateNames: true` by default. So we also need to desambiguate duplicate spec names.
2026-02-09 15:57:12 -08:00
Angular Robot 2fe2398b33 build: update cross-repo angular dependencies
See associated pull request for more information.
2026-02-09 15:53:17 -08:00
Jaime Burgos 19542a30b1 test(common): remove zone-based testing utilities
Removes usages of zone-based helpers such as `fakeAsync` , `tick`
`waitForAsync` as part of the migration to zoneless tests.

Completes the transition to zoneless.

(cherry picked from commit c6d7500203)
2026-02-09 14:47:40 -08:00
Jessica Janiuk d6aeac504c fix(core): Fix flakey test due to document injection
This fixes the test issues with the transfer state by using the DOCUMENT from src/document.

(cherry picked from commit e53c8abaf9)
2026-02-09 14:16:29 -08:00
SkyZeroZx 3905015ccc fix(http): correctly parse ArrayBuffer and Blob in transfer cache
Encodes arraybuffer and blob response bodies as base64 when storing in the transfer cache, ensuring correct retrieval and usage on the client side.

Fixes #66827

(cherry picked from commit cb1163e5e5)
2026-02-09 12:32:17 -08:00
SkyZeroZx 6f5c233f1d refactor(common): extract argument assertion
Deduplicates string argument validation logic across pipes
by introducing a local assertion helper

(cherry picked from commit 66e8385b6a)
2026-02-09 12:26:10 -08:00
Kristiyan Kostadinov caab23dfe6 fix(compiler): add geolocation element to schema
A new `geolocation` tag was recently added to Chrome. These changes update the schema to account for it.

See https://developer.chrome.com/blog/geolocation-html-element

(cherry picked from commit 11834a4274)
2026-02-09 12:25:41 -08:00
Alan Agius 17cc82872a ci: add myself to pull approve dev-infra reviewers
Add myself to the dev-infra reviewers.

(cherry picked from commit d019ee3c0b)
2026-02-09 12:22:22 -08:00
Angular Robot 6855296a36 build: update pnpm to v10.29.1
See associated pull request for more information.
2026-02-09 12:21:48 -08:00
SkyZeroZx c3600b3d99 docs(docs-infra): fix heading ID generation and display
Ensures that custom heading IDs are properly handled

(cherry picked from commit dd15efb7c3)
2026-02-09 12:20:18 -08:00