Commit Graph

36308 Commits

Author SHA1 Message Date
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
SkyZeroZx 1f82b6aea7 docs: add missing error codes to the error overview list
(cherry picked from commit fd293d3397)
2026-02-09 12:19:44 -08:00
SkyZeroZx 29f70072a8 docs(docs-infra): simplify external link rendering for pill
Renders the external link icon for docs pills using CSS instead of a `docs-icon` component.

(cherry picked from commit 0b9d1cfb7b)
2026-02-09 12:19:12 -08:00
Miles Malerba fe7f25403b build: configure gemini cli to look for AGENTS.md
By default gemini cli looks for GEMINI.md, these settings change it to
consider AGENTS.md as well

(cherry picked from commit 85d6a2bc6e)
2026-02-09 12:15:22 -08:00
Miles Malerba 0f8dddc7f0 docs: add gemini custom command for generating skills
Adds a Gemini CLI custom command (`/explain`) to generate skills for
working with code packages in this repo. Usage:

1. Add skill for a new package:
  `/explain packages/common`
2. Update the skill for a package:
  `/explain Update the skill for packages/core`
3. Add supplemental information:
  `/explain Add supplemental info to the signal forms skill about how
   schema logic is implemented`

Also adds a few skills for working with some of the packages I commonly
interact with, including:

- packages/forms/signals
- packages/core
- packages/compiler-cli

(cherry picked from commit 7ddd10bb44)
2026-02-09 12:14:19 -08:00
Andrew Kushnir e3729c6327 Revert "refactor(service-worker): remove zone-based testing utilities"
This reverts commit 12b770dd3e.
2026-02-09 10:46:38 -08:00
Matthieu Riegler c298694a79 refactor(benchpress): remove zone-based testing utilities
Transition to zoneless.

(cherry picked from commit 4b3b149ba1)
2026-02-09 07:55:17 -08:00
Matthieu Riegler 12b770dd3e refactor(service-worker): remove zone-based testing utilities
Transition to zoneless.

(cherry picked from commit ec26d38778)
2026-02-09 07:55:17 -08:00
Matthieu Riegler 3f0fbaa0bc refactor(compiler): remove zone-based testing utilities
Having zone.js here already wasn't necessary.

(cherry picked from commit a1441a432d)
2026-02-09 07:55:16 -08:00
Shuaib Hasan Akib 4311ba7290 refactor(common): remove unused imports and standalone: false from examples
Cleans up example code by removing explicit `standalone: false`, since
standalone components are the default and recommended approach.

(cherry picked from commit 14f16226aa)
2026-02-09 07:53:37 -08:00
aparziale 054972c8e0 docs: Signal forms custom validator with 'fieldTree' field in validation result error
Update docs for fieldTree property

fixes #66687

(cherry picked from commit 63d828aa33)
2026-02-06 15:11:03 -08:00