33459 Commits

Author SHA1 Message Date
Pawel Kozlowski 6a4fdbad7d release: cut the v20.0.4 release 20.0.4 2025-06-18 19:33:26 +02:00
Joey Perrott f201df9b83 build: migrate to using new jasmine_test (#62106)
Use the new jasmine_test based on rules_js instead of jasmine_node_test from rules_nodejs

PR Close #62106
2025-06-18 17:59:50 +02:00
Angular Robot b40613f70d build: lock file maintenance (#62068)
See associated pull request for more information.

PR Close #62068
2025-06-18 15:58:43 +02:00
Kristiyan Kostadinov 82bf9848a1 fix(migrations): more robust trailing comma removal in unused imports migration (#62118)
Fixes the following issues with the logic in the unused imports migration that deals with trailing commas:
1. It was generating overlapping text ranges which can break internally.
2. It wasn't handling some cases that produce trailing commas.

PR Close #62118
2025-06-18 15:57:13 +02:00
Andrew Scott ae212b51ee fix(core): Wrap ErrorEvent with no error property (#62081)
This commit updates the global error listener to wrap the global ErrorEvent in a new Error with cause
if the error property is undefined.

fixes #62078

PR Close #62081
2025-06-18 13:57:25 +02:00
Angular Robot 4aa262b425 build: update cross-repo angular dependencies (#62116)
See associated pull request for more information.

PR Close #62116
2025-06-18 13:28:13 +02:00
Angular Robot 7636048aa0 build: update dependency google-closure-compiler to v20250615 (#62115)
See associated pull request for more information.

PR Close #62115
2025-06-18 10:48:11 +02:00
Matthieu Riegler 8e33f82788 docs(docs-infra): cookie consent should be top-most (#62103)
PR Close #62103
2025-06-18 10:40:54 +02:00
guimasi1 2e1e9aae85 docs: remove duplicate entry for tagged template literals (#62082)
The value literal table listed tagged template strings as both supported and unsupported. The row under Unsupported literals was removed.
PR Close #62082
2025-06-18 09:42:08 +02:00
Angular Robot fecfb89ca5 build: update dependency aspect_rules_js to v2.3.8 (#62091)
See associated pull request for more information.

PR Close #62091
2025-06-18 09:30:19 +02:00
Angular Robot 24b4484f7f build: update cross-repo angular dependencies (#62080)
See associated pull request for more information.

PR Close #62080
2025-06-18 09:10:08 +02:00
Ben Hong 9453ce956c docs: add dedicated redirecting routes guide (#62005)
docs: update language block

Co-authored-by: Matthieu Riegler <kyro38@gmail.com>

docs: enhance redirects function docs

docs: fix future tense usage

docs: update phrasing to be present tense

docs: update redirect guides to use better phrasing and examples

docs: fix typo on code example

Co-authored-by: Andrew Scott <atscott01@gmail.com>

docs: fix typo in code example

Co-authored-by: Andrew Scott <atscott01@gmail.com>

docs: update syntax of code snippet

Co-authored-by: Andrew Scott <atscott01@gmail.com>

docs: update description on redirect function and api docs

PR Close #62005
2025-06-18 09:07:34 +02:00
Matthieu Riegler bcef6e4a26 docs: explicit that class bindings still support object (#62102)
PR Close #62102
2025-06-18 09:03:35 +02:00
kodeti ead96a0c71 docs(docs-infra): fix minor typo on Components page (#62112)
Fix typo on Introduction > Essentials > Components page as "Use profile" is likely meant to be written as "User profile".
PR Close #62112
2025-06-18 09:01:24 +02:00
Joey Perrott 04e0d4f102 build: update the ts_integrity expected for the typescript version in WORKSPACE (#62109)
Update the WORKSPACE to expect the correct sha.

PR Close #62109
2025-06-17 23:42:16 +00:00
marktechson 1c73f5482a docs: add update AI instructions (#62089)
Adds context information for use with LLMs, IDEs and more.

PR Close #62089
2025-06-17 19:30:26 +02:00
Joey Perrott a6c5742f94 build: migrate back to using the @npm// sourced benchmark_test macro (#62101)
Use the benchmark macro from @npm// instead of @devinfra//

PR Close #62101
2025-06-17 18:51:22 +02:00
Shuaib Hasan Akib fb56d516c6 docs(router): improve discoverability of route guard section (#62060)
PR Close #62060
2025-06-17 11:19:15 +02:00
Matthieu Riegler 734c13ae55 docs: remove mention of ngModel in directives overview (#62088)
Fixes #62072

PR Close #62088
2025-06-17 10:50:43 +02:00
Andreas Gödecke 398fc5dbb7 docs: fix markdown syntax (#62084)
PR Close #62084
2025-06-17 10:46:28 +02:00
Angular Robot deaa292550 build: lock file maintenance (#62063)
See associated pull request for more information.

PR Close #62063
2025-06-16 11:27:38 +02:00
Joey Perrott 8403bc731b build: migrate to usages of @devinfra// instead of @npm//@angular/build-tooling (#62050)
Use workspace imported devinfra deps instead of npm dep

PR Close #62050
2025-06-16 10:23:30 +02:00
Matthieu Riegler f69ec36784 refactor(localize): add tripleslash type of Application builder (#62037)
Prior to this change, the triple slash directive was only added on the angular-devkit application builder.

Fixes #61968

PR Close #62037
2025-06-15 12:39:36 +02:00
Jam Hsu 9b330893d0 docs: remove developer preview hint for withI18nSupport (#62039)
PR Close #62039
2025-06-13 12:32:41 +02:00
Matthieu Riegler 5ac903cfbe docs: fix code spans in Mapping section on elements.md (#61994)
PR Close #61994
2025-06-13 12:31:28 +02:00
Joey Perrott 3ea4ec16f5 build: migrate adev to use new jasmine_test (#62034)
Use jasmine_test instead of jasmine_node_test in adev

PR Close #62034
2025-06-13 12:30:16 +02:00
arturovt 67f657e4a3 fix(core): inject APP_ID before injector is destroyed (#61885)
In this commit, we request `APP_ID` outside the `onDestroy` callback because the injector might already be in a destroyed state when the callback runs.

PR Close #61885
2025-06-12 15:56:51 +02:00
Matthieu Riegler de7aa608c9 refactor(migrations): support local string tokens for inject migration (#62013)
The `localTypeChecker` allows us to at least support locally defined strings in addition to string literals.

PR Close #62013
2025-06-12 15:53:21 +02:00
Michael Berger 4bba6d95ef docs(core): correct standalone jsdocs (#62025)
PR Close #62025
2025-06-12 15:51:24 +02:00
Angular Robot b24d5406de build: update dependency google-closure-compiler to v20250609 (#62009)
See associated pull request for more information.

PR Close #62009
2025-06-12 13:39:49 +02:00
Suhas Talekar 1e9b1e11fc docs: fix typos (#62022)
Fixes typo error
PR Close #62022
2025-06-12 13:38:51 +02:00
Jessica Janiuk e343cdfb86 fix(core): Fixes template outlet hydration (#62012)
Projected nodes were missing ssrId information and were skipping annotating template information, which caused templates to be destroyed and recreated rather than hydrated.

fixes: #50543

PR Close #62012
2025-06-12 12:54:27 +02:00
Paul Gschwendtner 43ef2ea628 build: fix hermetic execution of packages/core/test/... (#62027)
Due to a bug that is currently in progress of being resolved in the
`rules_js` toolchain (see:
https://github.com/aspect-build/rules_js/issues/362), we were seeing
subtle differences between `main` and PRs/local builds as RBE is a
strict sandbox environment while the normal linux/darwin sandbox isn't
necessarily.

This commit fixes the issue by avoiding the interop targets that don't
bring in the actual transitive node modules.

PR Close #62027
2025-06-12 12:16:56 +02:00
Angular Robot 30e4cfd9aa build: update github/codeql-action action to v3.29.0 (#62024)
See associated pull request for more information.

PR Close #62024
2025-06-12 10:13:51 +02:00
Angular Robot 44468bfe48 build: update cross-repo angular dependencies (#62008)
See associated pull request for more information.

PR Close #62008
2025-06-12 10:03:41 +02:00
Matthieu Riegler 0a23eb3246 docs: add guide for httpResource (#61993)
PR Close #61993
2025-06-12 10:01:37 +02:00
Paul Gschwendtner d16c1cf462 build: migrate packages/core/test to new jasmine_test rule (#61902)
Migrates `packages/core/test` to the new `jasmine_test` rule. As part of
this, we are also removing an unnecessary/unused test fixture.

PR Close #61902
2025-06-12 10:00:10 +02:00
Paul Gschwendtner 7c43fa6932 build: update node loader to support zone.js (#61902)
Temporarily updates the new Node loader to work with `zone.js` `.mjs`
files that are still ending up at runtime due to this package using
`ts_library`.

PR Close #61902
2025-06-12 10:00:10 +02:00
Paul Gschwendtner a696ce2267 build: add jasmine_test macro for replacing jasmine_node_test legacy rule (#61902)
This commit introduces the new `jasmine_test` macro that can be an
"almost" drop-in replacement for `jasmine_test`.

PR Close #61902
2025-06-12 10:00:10 +02:00
Paul Gschwendtner ff3d2278f6 build: add small comment for ng_package_link_interop.bzl (#61902)
This should make the intent a little more clearer if someone
just looks at this file.

PR Close #61902
2025-06-12 10:00:10 +02:00
Pawel Kozlowski 6412d4e544 release: cut the v20.0.3 release 20.0.3 2025-06-11 15:24:20 +02:00
hawkgs 554b81e90c docs(docs-infra): retain the results in the search dialog while typing (#61935)
Due to `resource()` not retaining its value while there is a request in progress, the results list flickers. The new `searchResults` signal retains that previous value until the request is completed.

PR Close #61935
2025-06-11 13:34:46 +02:00
Angular Robot 492d76f6cf build: update cross-repo angular dependencies (#61944)
See associated pull request for more information.

PR Close #61944
2025-06-11 13:30:56 +02:00
Angular Robot ff27f21142 build: update all non-major dependencies (#61954)
See associated pull request for more information.

PR Close #61954
2025-06-11 12:05:39 +02:00
Bernie Telles 06979c6ed2 docs: navigate-to-routes.md to include RouterLink in imports. (#61965)
Without adding the RouterLink import to the component, users won't be able to use the routerLink directive.

PR Close #61965
2025-06-11 11:35:05 +02:00
Angular Robot e73f2486a1 build: update dependency google-closure-compiler to v20250608 (#61997)
See associated pull request for more information.

PR Close #61997
2025-06-11 10:45:28 +02:00
Andrew Kushnir ca478a27fb Revert "docs(docs-infra): retain the results in the search dialog while typing (#61935)" (#61995)
This reverts commit dbdfc2a99a.

PR Close #61995
2025-06-10 18:25:54 -07:00
Angular Robot 229c6b440c build: update dependency typescript to v5.8.3 (#61958)
See associated pull request for more information.

PR Close #61958
2025-06-10 17:26:45 -07:00
hawkgs eac1b89eba docs(docs-infra): retain the results in the search dialog while typing (#61935)
Due to `resource()` not retaining its value while there is a request in progress, the results list flickers. The new `searchResults` signal retains that previous value until the request is completed.

PR Close #61935
2025-06-10 17:24:24 -07:00
Joey Perrott eef6faf6a8 ci: update to latest version of dev-infra actions (#61990)
Update to the latest sha of the dev-infra actions

PR Close #61990
2025-06-10 15:50:09 -07:00