36368 Commits

Author SHA1 Message Date
Jessica Janiuk 523c29f622 release: cut the v21.1.6 release v21.1.6 2026-02-25 11:20:39 -08:00
SkyZeroZx 89e86616d9 refactor(common): log a warning when a KeyValuePipe receives a signal
Add signal warning for `KeyValuePipe` and consolidates the `invalidPipeArgumentError` function into a `utils`

(cherry picked from commit 97ed3d9e85)
2026-02-25 16:11:33 +00:00
Matthieu Riegler c235b57802 ci: update pullapprove for manual_api docs
The markdown files shouldn't require dev-infra approval.

(cherry picked from commit 0cd00b91ef)
2026-02-24 23:23:33 +00:00
Anushka Geeta Singh 24b39ab9df docs: update README to clarify app setup confirmation
Improved wording to clarify how beginners can verify their environment and IDE are correctly set up after running the app.

(cherry picked from commit bdbb7cc7af)
2026-02-24 22:22:31 +00:00
Munir Issa Said 0101922c30 docs: fix roadmap introduction text
(cherry picked from commit 035b151a17)
2026-02-24 18:52:38 +00:00
Doug Parker b858309532 fix(core): block creation of sensitive URI attributes from ICU messages
Translators are not allowed to write HTML which creates URI attributes. I opted to ban any values going into an attribute at all, to prevent even links to malicious content, rather than just sanitizing URIs.

I also converted this blocklist into an allowlist. Now, we only allowing setting known attributes (while sanitizing URI attributes). This significantly reduces risk of missing a vulnerable attribute and does not require an exhaustive list of all potential attributes.

BREAKING CHANGE: Angular now only applies known attributes from HTML in translated ICU content. Unknown attributes are dropped and not rendered.

(cherry picked from commit 306f367899)
2026-02-24 18:50:40 +00:00
Alan Agius 5c4d9b2239 docs: consolidate validation rules for Host and X-Forwarded-Host headers into a single point.
(cherry picked from commit c57ba8c6e6)
2026-02-24 17:24:34 +00:00
Matthieu Riegler 9ba517816d docs: improve responsiveness of the homepage
This fixes some layout issues when on mobile.

(cherry picked from commit 9e0acc5930)
2026-02-24 17:23:43 +00:00
Shuaib Hasan Akib 8a8c055836 docs: inline documentation and remove unused references
Replaces referenced doc blocks with inline documentation,
cleans up unused referenced code, and fixes broken list formatting

(cherry picked from commit 8739a22d28)
2026-02-24 17:22:54 +00:00
Jens Kuehlers ae45053875 docs: minor roadmap update (Ecosystem/vitest)
(cherry picked from commit dea858979e)
2026-02-24 17:22:12 +00:00
Shuaib Hasan Akib 00fecc238f docs: remove inconsistent padding in update page
Removes extra padding applied to the update page so its layout
matches the rest of the documentation where no padding exists
between the title and content.

(cherry picked from commit 15b51d0777)
2026-02-24 17:20:54 +00:00
SkyZeroZx 4e6ac9cc58 docs: Add image loader config with height parameter
(cherry picked from commit c7dc7054dc)
2026-02-23 23:30:35 +00:00
Matthieu Riegler 44b9f46206 docs: Add a compiler entry to the roadmap
(cherry picked from commit fbabd092f3)
2026-02-23 23:11:30 +00:00
marktechson d3479f122c docs: update and reformat the roadmap
(cherry picked from commit 53c1a1cee7)
2026-02-23 21:28:42 +00:00
Shuaib Hasan Akib a8dcb28d5c refactor(core): remove outdated TODO comments
Cleans up TODO comments that are no longer planned

Fixes #67191

(cherry picked from commit 5ac1c025f9)
2026-02-23 18:19:57 +00:00
Matthieu Riegler e96d10ebec docs: mention browser mode debugging
(cherry picked from commit a9ac7f87d7)
2026-02-23 18:19:27 +00:00
Miles Malerba b444772640 ci: remove mmalerba from reviewers
remove mmalerba from reviewers

(cherry picked from commit 0af9e3e9ee)
2026-02-23 18:19:01 +00:00
SkyZeroZx 0596a5b2aa docs: add Route Loading Strategies section and update navigation links
(cherry picked from commit 163dd8ee38)
2026-02-23 17:11:14 +00:00
Alan Agius b4050b30b1 docs: move server-side security and host validation documentation from ssr.md to security.md.
(cherry picked from commit 099b4a8bbb)
2026-02-23 17:08:55 +00:00
Alan Agius 275589c564 feat(docs-infra): add hideDollar option to hide the dollar sign prefix in shell code blocks.
The dollar sign is not always required.

(cherry picked from commit efcf76ea61)
2026-02-23 17:08:55 +00:00
Alan Agius 4b8f0b73e0 docs: convert SSR guide's important note list to HTML <ul> for proper rendering.
(cherry picked from commit 75fd6c0ff2)
2026-02-23 17:08:55 +00:00
Alan Agius b87eed1449 docs: add documentation for SSR security and host validation, including details on allowedHosts configuration
This document adds more information about `allowedHost` option

(cherry picked from commit 944aefe854)
2026-02-23 17:08:54 +00:00
SkyZeroZx 31d3d56496 fix(common): fix LCP image detection with duplicate URLs
Addresses an issue where the LCP image observer incorrectly identified LCP elements when the same image URL was used multiple times on a page

Fixes #53278

(cherry picked from commit 38749698d0)
2026-02-20 21:23:27 +00:00
Jessica Janiuk 0f4ba4a454 ci: update ng-dev config and pullapprove
This updates the pullapprove to remove the auto labeling of requires: TGP and instead moves it to the ng-dev config for pr updates.

(cherry picked from commit d7ddebca90)
2026-02-20 19:02:13 +00:00
Ben Hong 866da08c18 docs: add new debugging and troubleshooting di guide
(cherry picked from commit 13e019a1bb)
2026-02-20 18:01:15 +00:00
splincode c143de2771 refactor(compiler-cli): improve diagnostic with help link
Add help link to extended template diagnostic messages to provide
users with additional guidance and documentation resources. This
enhancement improves developer experience by making it easier to
understand and resolve complex template issues through direct
access to relevant Angular documentation with detailed examples
and explanations for each diagnostic type.

(cherry picked from commit 66b472e2bc)
2026-02-20 17:40:21 +00:00
Matthieu Riegler 3b64e7dd27 refactor(common): log a warning when a JsonPipe receives a signal
The JsonPipe does not unwrap signals and `JSON.stringify` will return `undefined` for signals.
To avoid confusion, we log a warning when a signal is passed to the pipe.

(cherry picked from commit 0d652ba4da)
2026-02-20 17:17:05 +00:00
Matthieu Riegler 110696d23d docs: improve signal demo example
(cherry picked from commit b7cf37d3e1)
2026-02-20 17:15:36 +00:00
SkyZeroZx 24b578ce90 fix(compiler-cli): detect uninvoked functions in defer trigger expressions
Wrap `@defer` trigger expressions (`when`, `prefetch when`, `hydrate when`)
in a conditional context within the TCB to enable TypeScript's TS2774
diagnostic for detecting functions used without invocation.

Previously, signals and functions passed to `when` triggers without
parentheses would silently evaluate to truthy, causing unexpected behavior.
Now the compiler reports an error when a function is used as a condition
without being called.

(cherry picked from commit f90e5565e0)
2026-02-20 16:57:07 +00:00
Bas ten Feld 01d7287cf2 docs(docs-infra): fix typo 'requiredSync' instead of 'requireSync'
(cherry picked from commit 57edfaf435)
2026-02-20 16:53:24 +00:00
Matthieu Riegler c1c310c4a9 docs(docs-infra): remove toString from the API docs
(cherry picked from commit fc8140cff4)
2026-02-20 16:52:00 +00:00
SkyZeroZx 64b1a79d90 docs: update NgTemplateOutlet documentation with injector
(cherry picked from commit 67b22d509a)
2026-02-20 00:06:28 +00:00
SkyZeroZx 138526e7fd docs: add section on reactive context and async operations
(cherry picked from commit f68078b3e3)
2026-02-19 23:59:59 +00:00
SkyZeroZx cccaed0d3d docs(docs-infra): preserve content before docs-card-container in adev
The tokenizer regex pattern `[^<]*` was consuming all non-`<` content
before custom HTML tags, causing lost content.

Changed to `\s*` which only allows leading whitespace, letting marked
properly tokenize preceding content.

(cherry picked from commit bc473cf60f)
2026-02-19 23:48:48 +00:00
Matthieu Riegler 9943cb79da ci: add zone.js to minimumReleaseAgeExclude
This is a package we control the release of.

(cherry picked from commit d501506aa6)
2026-02-19 20:41:24 +00:00
Walter Breakell 94f0809b79 docs: fix grammar, syntax, and broken link in elements guide
(cherry picked from commit 7d21996b1e)
2026-02-19 20:39:03 +00:00
Joey Perrott 77fc7b9ad2 docs: update changelog to note no changes in 21.1.5 release
(cherry picked from commit e8cc910965)
2026-02-19 19:23:48 +00:00
SkyZeroZx 210ddf9ca8 docs(docs-infra): fixed missing gray color palette definitions for light and dark modes
Adds the missing gray color palette definitions for both light and dark modes

(cherry picked from commit 1771d54fb7)
2026-02-19 16:55:01 +00:00
Matthieu Riegler debcae76a1 docs: new homepage 2026-02-19 08:49:46 -08:00
Andrew Scott 5eb47cc126 release: cut the zone.js-0.16.1 release
(cherry picked from commit ac8b5ff938)
2026-02-18 16:26:39 -08:00
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