36240 Commits
Author SHA1 Message Date
Leon Senft 70668befde release: cut the v21.1.3 release v21.1.3 2026-02-04 16:06:24 -08:00
Matthieu Riegler 767c6b4754 fix(vscode-extension): support highlighting for class bindings with brackets
Tailwind classes can often be quite complex strings. This change adds supports for classes with backets.

fixes #66818

(cherry picked from commit 01ed57f297)
2026-02-04 15:45:08 -08:00
SkyZeroZx 1bf6bfc07f test(forms): 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 7dfbacbcf8)
2026-02-04 15:38:13 -08:00
Walter Breakell 70313f13fe docs: fix syntax errors and improve grammar in navigation guide
(cherry picked from commit d6585fe837)
2026-02-04 15:37:21 -08:00
Jef f9b69cc67b docs: fix typo
Add missing n to componet(s)

(cherry picked from commit 81876c2583)
2026-02-04 15:36:52 -08:00
Ben Hong 52dfcd9865 docs: add guidance on submit and novalidate for signal forms
(cherry picked from commit 38428945ac)
2026-02-04 15:36:22 -08:00
Angular Robot d793dde00f build: update cross-repo angular dependencies
See associated pull request for more information.
2026-02-04 15:30:54 -08:00
Kristiyan Kostadinov 04d518bc26 refactor(forms): work around internal issue
Works around an internal property renaming issue by changing how we declare the interface for `InteropNgControl`.

(cherry picked from commit 680d99b1c3)
2026-02-04 14:25:48 -08:00
David Neil 2cf4da0ea1 fix(core): hold constructors weakly in DepsTracker cache
Otherwise a component can be held in memory longer than
the component constructor is reachable from application code.

(cherry picked from commit cab5ddd526)
2026-02-03 12:44:27 -08:00
Matthieu Riegler f15d33d68b docs(docs-infra): extract call signature return type.
fixes #66799

(cherry picked from commit 43d61ecbb2)
2026-02-03 12:31:40 -08:00
Shuaib Hasan Akib 33e8cde034 docs: generalize wording for CSP nonce configuration options
Replaces “one of two ways” with “one of the following ways” to avoid
hardcoding the number of supported approaches and keep the
documentation accurate if options change.

fixes: #66861
(cherry picked from commit cfa7664361)
2026-02-03 12:27:15 -08:00
Angular Robot 8343b05ad7 build: lock file maintenance
See associated pull request for more information.
2026-02-03 12:26:06 -08:00
Matthieu Riegler 443654ac77 docs(docs-infra): fix foot width
This was due to a regression introduced by #66825

fixes #66880

(cherry picked from commit 9c032972a8)
2026-02-03 12:25:46 -08:00
David Neil 49a36f4cc7 perf(router): Use .bind to avoid holding other closures in memory
In many JS runtimes all closures created in the same scope share a context
this means that data held in one of the closures is not collected until all of the closures are collected.
This change prevents the returned promise from holding a reaction that holds the entire `Router` object in memory.

(cherry picked from commit 3867cd8554)
2026-02-03 12:25:02 -08:00
Angular Robot 6505a26ee0 docs: update cross-repo adev docs
Updated Angular adev cross repo docs files.
2026-02-02 15:11:22 -08:00
Shahar Har-Shuv 96095f435e docs: Rename Field directive -> FormField in form-logic.md
(cherry picked from commit f29fcd882a)
2026-02-02 14:41:03 -08:00
Alex Rickabaugh 2b254bc050 fix(core): linkedSignal.update should propagate errors
Unlike a normal `signal()`, a `linkedSignal()` can be in an error state when
its computation fails. Currently, there's a bug where `linkedSignal.update`
does not account for this error state, and will pass the internal `ERRORED`
`Symbol` as the current value to the updater function.

This commit fixes the issue by having `update()` check and throw the error
instead of calling the updater function.

(cherry picked from commit aff9e36a98)
2026-02-02 12:21:36 -08:00
Kristiyan Kostadinov e5110b4fa1 fix(core): export DirectiveWithBindings
Exports the `DirectiveWithBindings` interface since it's part of the public API of `createComponent`.

Fixes #66851.

(cherry picked from commit 8ab433abdd)
2026-02-02 11:08:45 -08:00
SkyZeroZx f1e4446071 feat(docs-infra): Implements select component using Angular Aria
Replaces the native select element with a custom combobox implementation for improved accessibility and styling.

(cherry picked from commit 70615117a2)
2026-02-02 11:07:58 -08:00
AleksanderBodurri 79519409cd feat(devtools): promote router tree to stable
Previous the router tree was an opt-in feature that required manual enablement in settings.

Now the router tree is enabled by default whenever the application supports it and routes are detected.

(cherry picked from commit 35046d3dba)
2026-02-02 11:06:45 -08:00
SkyZeroZx 4729e804ac docs(docs-infra): Fix border color issue on aria select when closing on outside click
Prevents incorrect border color from appearing on close triggered by an outside click

(cherry picked from commit cdbb957334)
2026-02-02 11:04:48 -08:00
dominicbachmann 575f8a39c7 docs(animations): fix small typo in animations migrations docs
(cherry picked from commit a64a90dbbe)
2026-02-02 10:18:10 -08:00
Jaime Burgos f80e6c2f77 docs: remove component suffix router guide
(cherry picked from commit bd27aa2cf3)
2026-02-02 10:17:41 -08:00
SkyZeroZx bbd5cf82b1 test(forms): migrate reactive forms and value accessors to zoneless
Migrates reactive forms, template-driven forms, and value accessors to zoneless tests.

(cherry picked from commit 4aae3379c2)
2026-02-02 10:17:03 -08:00
SkyZeroZx c64db1d0f3 docs: update llms.txt
(cherry picked from commit 825122b6d2)
2026-02-02 10:14:07 -08:00
kirjs 5301711b4e docs: rename agents.md to AGENTS.md
(cherry picked from commit 19aa1eb95e)
2026-02-02 10:10:45 -08:00
kirjs 92ac00d507 docs: add PR section to agents.md
(cherry picked from commit a8d0155303)
2026-02-02 10:10:45 -08:00
kirjs fdd7a4deb5 docs: add agent configuration guide
Adds agents.md to the root directory to provide context and instructions for AI agents working in this repository.

(cherry picked from commit 9306abe883)
2026-02-02 10:10:45 -08:00
SkyZeroZx df7bf134fe docs(docs-infra): ensure code preview copy preserves spaces
Preserve whitespace when copying code examples from the docs. Fixes the copy handler so copied snippets keep original spacing.

Fixes #66790

(cherry picked from commit 522c5ba868)
2026-02-02 10:09:39 -08:00
Jaime Burgos 665b33ecdc docs: update zoneless guide
(cherry picked from commit 3d09d8e831)
2026-02-02 10:05:26 -08:00