Commit e855750
authored
Bump @angular/compiler-cli from 20.3.17 to 21.2.0 in /web_embedding/ng-flutter (#2813)
Bumps [@angular/compiler-cli](https://github.com/angular/angular/tree/HEAD/packages/compiler-cli) from 20.3.17 to 21.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/angular/angular/releases"><code>@angular/compiler-cli</code>'s releases</a>.</em></p>
<blockquote>
<h2>VSCode Extension: 21.2.0</h2>
<ul>
<li>fix(vscode-extension): Highlight function calls with optional chaining (<a href="https://github.com/angular/angular/commit/4f8d3995f082929d1ef4163dcb4373d3ef7a67cf">4f8d3995f0</a>)</li>
<li>feat(language-service): add linked editing ranges for HTML tag synchronization (<a href="https://github.com/angular/angular/commit/8c21866f49ff74344551395ae0a5df1841d54c0d">8c21866f49</a>)</li>
<li>fix(vscode-extension): support highlighting for class bindings with brackets (<a href="https://github.com/angular/angular/commit/01ed57f297d6713724dfaedc9520f80471f37c10">01ed57f297</a>)</li>
<li>feat(language-service): add JSON schema for angularCompilerOptions (<a href="https://github.com/angular/angular/commit/496967e7b13dfe1ebdde69724cd62880914beb60">496967e7b1</a>)</li>
<li>fix(language-service): Detect local project version on creation (<a href="https://github.com/angular/angular/commit/8a7cbd46685874f4500c52629d09c5f7fd309080">8a7cbd4668</a>)</li>
<li>feat(language-server): Support client-side file watching via <code>onDidChangeWatchedFiles</code> (<a href="https://github.com/angular/angular/commit/6fb39d9b62cbb634e95ec00fe5ef85d84da3bdbd">6fb39d9b62</a>)</li>
<li>feat(language-server): Add completions and hover info for inline styles (<a href="https://github.com/angular/angular/commit/ebc90c26f5ff1ba1e0ca9b775a44e301ebfb9473">ebc90c26f5</a>)</li>
<li>feat(language-server): Add quick info for inline styles (<a href="https://github.com/angular/angular/commit/573aadef7eb8b6b5e83b82a16f95d2a556f27c01">573aadef7e</a>)</li>
<li>feat(language-server): Add folding range support for inline styles (<a href="https://github.com/angular/angular/commit/26fd0839c32d2ebeaa5e3ecc10ed70ab9ca17749">26fd0839c3</a>)</li>
</ul>
<h2>21.2.0</h2>
<h3>common</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://github.com/angular/angular/commit/18003a33bb0d6bb09def8a0e5939fa24069696eb"><img src="https://img.shields.io/badge/18003a33bb-feat-blue" alt="feat - 18003a33bb" /></a></td>
<td>add an 'outlet' injector option for ngTemplateOutlet</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/8bbe6dc46c9dc13bafa81a60c7613b84b5ca3761"><img src="https://img.shields.io/badge/8bbe6dc46c-feat-blue" alt="feat - 8bbe6dc46c" /></a></td>
<td>Add Location strategies to manage trailing slash on write</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/51cc91480761b7275c15b5600381207f8ca00ee5"><img src="https://img.shields.io/badge/51cc914807-feat-blue" alt="feat - 51cc914807" /></a></td>
<td>support height in ImageLoaderConfig and built-in loaders</td>
</tr>
</tbody>
</table>
<h3>compiler</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://github.com/angular/angular/commit/72534e2a3458df4e1bb097973872f00bbb92be42"><img src="https://img.shields.io/badge/72534e2a34-feat-blue" alt="feat - 72534e2a34" /></a></td>
<td>Add support for the <code>instanceof</code> binary operator</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/95b3f37d4a7d9a38f616d56df746dfcda3c2139b"><img src="https://img.shields.io/badge/95b3f37d4a-feat-blue" alt="feat - 95b3f37d4a" /></a></td>
<td>Exhaustive checks for switch blocks</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/04ba09a8d9454013bebdd643eacb737642161952"><img src="https://img.shields.io/badge/04ba09a8d9-feat-blue" alt="feat - 04ba09a8d9" /></a></td>
<td>support <code>AstVisitor.visitEmptyExpr()</code></td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/ce80136e7b9f0024d49fce835cffa024c4505855"><img src="https://img.shields.io/badge/ce80136e7b-fix-green" alt="fix - ce80136e7b" /></a></td>
<td>optimize away unnecessary restore/reset view calls</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/3242a61bae02253d13abb510b666376c665e61ac"><img src="https://img.shields.io/badge/3242a61bae-fix-green" alt="fix - 3242a61bae" /></a></td>
<td>variable counter visiting some expressions twice</td>
</tr>
</tbody>
</table>
<h3>compiler-cli</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://github.com/angular/angular/commit/473dd3e1cbd4fe3fa88ae4d5358eee35c11acb1b"><img src="https://img.shields.io/badge/473dd3e1cb-fix-green" alt="fix - 473dd3e1cb" /></a></td>
<td>attach source spans to object literal keys in TCB</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/a904d9f77b56feab407f75f8d0527fa512d5dafb"><img src="https://img.shields.io/badge/a904d9f77b-fix-green" alt="fix - a904d9f77b" /></a></td>
<td>support nested component declaration</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/2ea6dfc6c9ca11e96a2654510c980419899f8d04"><img src="https://img.shields.io/badge/2ea6dfc6c9-fix-green" alt="fix - 2ea6dfc6c9" /></a></td>
<td>update diagnostic to flag no-op arrow functions in listeners</td>
</tr>
</tbody>
</table>
<h3>core</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://github.com/angular/angular/commit/8d5210c9fedd8abdd810d7a89ec7ee9a1234f5c1"><img src="https://img.shields.io/badge/8d5210c9fe-feat-blue" alt="feat - 8d5210c9fe" /></a></td>
<td>add ChangeDetectionStrategy.Eager alias for Default</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/92d2498910caed06c182b67e39726e1441418698"><img src="https://img.shields.io/badge/92d2498910-feat-blue" alt="feat - 92d2498910" /></a></td>
<td>add host node to DeferBlockData (<a href="https://github.com/angular/angular/tree/HEAD/packages/compiler-cli/issues/66546">#66546</a>)</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/ea2016a6dce58f95ecab7c773d5dcde274354e1a"><img src="https://img.shields.io/badge/ea2016a6dc-feat-blue" alt="feat - ea2016a6dc" /></a></td>
<td>add support for nested animations</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/81cabc14777a3b4966c29d60e1505aca8c29b71c"><img src="https://img.shields.io/badge/81cabc1477-feat-blue" alt="feat - 81cabc1477" /></a></td>
<td>add support for TypeScript 6</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/1ba9b7ac5001b315cc9df78c518964dbf479d647"><img src="https://img.shields.io/badge/1ba9b7ac50-feat-blue" alt="feat - 1ba9b7ac50" /></a></td>
<td>resource composition via snapshots</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/d9923b72a20972ba6bf728d78f1afac6936ade18"><img src="https://img.shields.io/badge/d9923b72a2-feat-blue" alt="feat - d9923b72a2" /></a></td>
<td>support arrow functions in expressions</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/a7e8abbb7e738ba338c3f50c76934c99925954e5"><img src="https://img.shields.io/badge/a7e8abbb7e-fix-green" alt="fix - a7e8abbb7e" /></a></td>
<td>correctly handle SkipSelf when resolving from embedded view injector</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/0806ee38269b664f535e10d4d501b88370d3b44c"><img src="https://img.shields.io/badge/0806ee3826-fix-green" alt="fix - 0806ee3826" /></a></td>
<td>prevent animated element duplication with dynamic components in zoneless mode</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/ed78fa05c710ebafb355ae00a85b190a118b6cc4"><img src="https://img.shields.io/badge/ed78fa05c7-fix-green" alt="fix - ed78fa05c7" /></a></td>
<td>Remove note to skip arrow functions in best practices</td>
</tr>
</tbody>
</table>
<h3>forms</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://github.com/angular/angular/commit/f56bb07d83a015b0ac12e74fdb0cf1550ff36b97"><img src="https://img.shields.io/badge/f56bb07d83-feat-blue" alt="feat - f56bb07d83" /></a></td>
<td>add field param to submit action and onInvalid</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/ba009b603119299a03f9d844f93882d42d47d150"><img src="https://img.shields.io/badge/ba009b6031-feat-blue" alt="feat - ba009b6031" /></a></td>
<td>add form directive</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/22afbb2f36be89c2ae575df343571a918dec5985"><img src="https://img.shields.io/badge/22afbb2f36-feat-blue" alt="feat - 22afbb2f36" /></a></td>
<td>add parsing support to native inputs (<a href="https://github.com/angular/angular/tree/HEAD/packages/compiler-cli/issues/66917">#66917</a>)</td>
</tr>
</tbody>
</table>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/angular/angular/blob/main/CHANGELOG.md"><code>@angular/compiler-cli</code>'s changelog</a>.</em></p>
<blockquote>
<h1>20.3.17 (2026-02-25)</h1>
<h2>Breaking Changes</h2>
<h3>core</h3>
<ul>
<li>
<p>Angular now only applies known attributes from HTML in translated ICU content. Unknown attributes are dropped and not rendered.</p>
<p>(cherry picked from commit 03da204b6daa5e4583e0d0968c2107390bbd8235)</p>
</li>
</ul>
<h3>core</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://github.com/angular/angular/commit/7f9de3c118383c09fa8851708c66ec94453a9680">7f9de3c118</a></td>
<td>fix</td>
<td>block creation of sensitive URI attributes from ICU messages</td>
</tr>
</tbody>
</table>
<h1>21.2.0 (2026-02-25)</h1>
<h3>common</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://github.com/angular/angular/commit/18003a33bb0d6bb09def8a0e5939fa24069696eb">18003a33bb</a></td>
<td>feat</td>
<td>add an 'outlet' injector option for ngTemplateOutlet</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/8bbe6dc46c9dc13bafa81a60c7613b84b5ca3761">8bbe6dc46c</a></td>
<td>feat</td>
<td>Add Location strategies to manage trailing slash on write</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/51cc91480761b7275c15b5600381207f8ca00ee5">51cc914807</a></td>
<td>feat</td>
<td>support height in ImageLoaderConfig and built-in loaders</td>
</tr>
</tbody>
</table>
<h3>compiler</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://github.com/angular/angular/commit/72534e2a3458df4e1bb097973872f00bbb92be42">72534e2a34</a></td>
<td>feat</td>
<td>Add support for the <code>instanceof</code> binary operator</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/95b3f37d4a7d9a38f616d56df746dfcda3c2139b">95b3f37d4a</a></td>
<td>feat</td>
<td>Exhaustive checks for switch blocks</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/04ba09a8d9454013bebdd643eacb737642161952">04ba09a8d9</a></td>
<td>feat</td>
<td>support <code>AstVisitor.visitEmptyExpr()</code></td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/ce80136e7b9f0024d49fce835cffa024c4505855">ce80136e7b</a></td>
<td>fix</td>
<td>optimize away unnecessary restore/reset view calls</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/3242a61bae02253d13abb510b666376c665e61ac">3242a61bae</a></td>
<td>fix</td>
<td>variable counter visiting some expressions twice</td>
</tr>
</tbody>
</table>
<h3>compiler-cli</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://github.com/angular/angular/commit/473dd3e1cbd4fe3fa88ae4d5358eee35c11acb1b">473dd3e1cb</a></td>
<td>fix</td>
<td>attach source spans to object literal keys in TCB</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/a904d9f77b56feab407f75f8d0527fa512d5dafb">a904d9f77b</a></td>
<td>fix</td>
<td>support nested component declaration</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/2ea6dfc6c9ca11e96a2654510c980419899f8d04">2ea6dfc6c9</a></td>
<td>fix</td>
<td>update diagnostic to flag no-op arrow functions in listeners</td>
</tr>
</tbody>
</table>
<h3>core</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="https://github.com/angular/angular/commit/8d5210c9fedd8abdd810d7a89ec7ee9a1234f5c1">8d5210c9fe</a></td>
<td>feat</td>
<td>add ChangeDetectionStrategy.Eager alias for Default</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/92d2498910caed06c182b67e39726e1441418698">92d2498910</a></td>
<td>feat</td>
<td>add host node to DeferBlockData (<a href="https://redirect.github.com/angular/angular/pull/66546">#66546</a>)</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/ea2016a6dce58f95ecab7c773d5dcde274354e1a">ea2016a6dc</a></td>
<td>feat</td>
<td>add support for nested animations</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/81cabc14777a3b4966c29d60e1505aca8c29b71c">81cabc1477</a></td>
<td>feat</td>
<td>add support for TypeScript 6</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/1ba9b7ac5001b315cc9df78c518964dbf479d647">1ba9b7ac50</a></td>
<td>feat</td>
<td>resource composition via snapshots</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/d9923b72a20972ba6bf728d78f1afac6936ade18">d9923b72a2</a></td>
<td>feat</td>
<td>support arrow functions in expressions</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/a7e8abbb7e738ba338c3f50c76934c99925954e5">a7e8abbb7e</a></td>
<td>fix</td>
<td>correctly handle SkipSelf when resolving from embedded view injector</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/0806ee38269b664f535e10d4d501b88370d3b44c">0806ee3826</a></td>
<td>fix</td>
<td>prevent animated element duplication with dynamic components in zoneless mode</td>
</tr>
<tr>
<td><a href="https://github.com/angular/angular/commit/ed78fa05c710ebafb355ae00a85b190a118b6cc4">ed78fa05c7</a></td>
<td>fix</td>
<td>Remove note to skip arrow functions in best practices</td>
</tr>
</tbody>
</table>
<h3>forms</h3>
<table>
<thead>
<tr>
<th>Commit</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
</table>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/angular/angular/commit/c2cedd1954d4f8ec1044299341bb1691f456580a"><code>c2cedd1</code></a> refactor(compiler-cli): improve diagnostic with help link</li>
<li><a href="https://github.com/angular/angular/commit/c0cb6040f86288b1b4293350b52f86bcbec1a112"><code>c0cb604</code></a> fix(compiler-cli): detect uninvoked functions in defer trigger expressions</li>
<li><a href="https://github.com/angular/angular/commit/e45a7fe7349b77ae78467c88adc6ffc0fce160b1"><code>e45a7fe</code></a> refactor(compiler-cli): update updateImportClause away from deprecated signature</li>
<li><a href="https://github.com/angular/angular/commit/95b3f37d4a7d9a38f616d56df746dfcda3c2139b"><code>95b3f37</code></a> feat(compiler): Exhaustive checks for switch blocks</li>
<li><a href="https://github.com/angular/angular/commit/81cabc14777a3b4966c29d60e1505aca8c29b71c"><code>81cabc1</code></a> feat(core): add support for TypeScript 6</li>
<li><a href="https://github.com/angular/angular/commit/815e1a03a958c3e6f5670c8f64955805fe3944a9"><code>815e1a0</code></a> refactor(compiler-cli): Add skeleton tests around source->source compiler tra...</li>
<li><a href="https://github.com/angular/angular/commit/30f09147545b67185f93efb9796e37c1db76733a"><code>30f0914</code></a> feat(forms): support binding null to number input (<a href="https://github.com/angular/angular/tree/HEAD/packages/compiler-cli/issues/66917">#66917</a>)</li>
<li><a href="https://github.com/angular/angular/commit/e10a63453d416e760e6ec5657ffc03583e17d86a"><code>e10a634</code></a> refactor(compiler-cli): use phaseModifier for type-only import detection</li>
<li><a href="https://github.com/angular/angular/commit/3606902b33eaeb59d00ea22cf9e1a577d5e9e4fc"><code>3606902</code></a> refactor(forms): relax <code>[formField]</code> input type from <code>FieldTree</code> to <code>Field</code></li>
<li><a href="https://github.com/angular/angular/commit/e7fa177923abcdb27b7d842b3bbc9511385a6c76"><code>e7fa177</code></a> refactor(compiler-cli): removes <code>reflector</code> parameter from wrapTypeReference</li>
<li>Additional commits viewable in <a href="https://github.com/angular/angular/commits/v21.2.0/packages/compiler-cli">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>1 parent f1427f0 commit e855750
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments