33930 Commits

Author SHA1 Message Date
Angular Robot e2e1cb6def build: lock file maintenance (#62794)
See associated pull request for more information.

Closes #62622 as a pr takeover

PR Close #62794
2025-07-24 10:59:16 +00:00
Andrew Scott a967f92078 test(router): Use autoTick feature in router tests (#62776)
This updates async router tests to use the jasmine autoTick feature. Observed test timings
for the chromium tests went down from ~7.5s to ~3.5-4s. For node, these decreased from ~5.5s to ~3s.

In addition to the speed improvement, this feature:

* Removes the need to be careful about timeout ordering when there are several timeouts in tests.
* Removes the need to ensure test timeouts are kept sufficiently small
* Reduces overall flakiness

PR Close #62776
2025-07-24 10:04:06 +00:00
Walter Breakell 502bb4de9c docs: update link to git fixup documentation (#62717)
PR Close #62717
2025-07-24 10:02:41 +00:00
Angular Robot f2f1af97ab build: update dependency angular-split to v20 (#62756)
See associated pull request for more information.

PR Close #62756
2025-07-24 09:41:32 +00:00
Sebastian Barfurth 15670d8417 fix(http): propagate plain errors when parsing fails (#62765)
The fetch backend now propagates the plain body when parsing the body fails.
This replicates the behavior of the XHR backend introduced in #19773.

The current state completely obfuscates errors of the "wrong" response type.
However, it's not uncommon for successful requests to return one type and
errors to return another type. Propagating the plain error allows downstream
error consumers to reason about the error body and decide how to parse it
depending on application needs.

PR Close #62765
2025-07-24 09:23:24 +00:00
Matthieu Riegler a83ef0ecdf refactor(compiler): Error on comment only interpolations (#62590)
This commit introduces a ParserError to prevent an error later in the pipepine

fixes #34084

PR Close #62590
2025-07-24 09:19:47 +00:00
Matheus B. 19bc917c62 docs(docs-infra): fix indentation in documentation (#62774)
fix minor indentation issue in a code block to improve readability
PR Close #62774
2025-07-24 09:17:55 +00:00
Jan Martin 6c925139d8 docs: call out cleanup steps in devtools release process (#62769)
PR Close #62769
2025-07-24 09:16:13 +00:00
Matthieu Riegler a082f315db docs: add mentions of dynamic title resolver / strategy (#62751)
PR Close #62751
2025-07-24 09:15:29 +00:00
Kirill Cherkashin d53649c8fb release: cut the v20.1.3 release 20.1.3 2025-07-23 16:54:37 -04:00
Andrew Scott 006eaf3d90 build: update bazel rules_browsers dependency (#62772)
Updates only rules_browsers since
https://github.com/angular/angular/pull/62542 is having difficulty with
other deps updated at the same time

PR Close #62772
2025-07-23 15:42:05 -04:00
Matthieu Riegler 155dbee71a docs: guard a resource error with hasValue() (#62708)
fixes #62687

PR Close #62708
2025-07-23 14:00:47 -04:00
Jan Martin 6398baa215 release: bump Angular DevTools version to 1.0.40 (#62767)
PR Close #62767
2025-07-23 09:25:24 -07:00
Kristiyan Kostadinov 2fd1f7beb5 fix(platform-browser): resolve component resources before bootstrapping in JIT mode (#62758)
Currently if the app has some external resources and it gets bootstrapped in JIT mode, the user will get an error about calling `resolveComponentResources`. These changes add a call to `resolveComponentResources` automatically inside `bootstrapApplication`.

Note that we don't need similar logic for `bootstrapModule`, because it calls into `compileNgModuleFactory` internally which in turn calls `resolveComponentResources`.

PR Close #62758
2025-07-23 11:05:20 -04:00
Angular Robot f38ee0d0e9 build: update all non-major dependencies (#62755)
See associated pull request for more information.

PR Close #62755
2025-07-23 11:04:41 -04:00
Charles Lyding b7c745b12d docs: create MCP server setup guide (#62746)
Introduces a new guide for setting up the Angular CLI's Model Context Protocol (MCP) server.

The guide includes:
- Instructions on how to use the command.
- IDE-specific JSON configurations for VS Code, JetBrains, Firebase Studio, and Cursor.
- Clarification on the different JSON structures required by each IDE.

PR Close #62746
2025-07-23 07:24:48 -04:00
Jessica Janiuk c00359dd14 ci: update renovate reviewers (#62761)
This restores the framework-team availability, since the setting was not working as intended.

PR Close #62761
2025-07-23 07:24:13 -04:00
Angular Robot 91bdd178f4 build: update @angular/ng-dev digest to 75a2aee (#62745)
See associated pull request for more information.

PR Close #62745
2025-07-22 12:32:30 -04:00
Joey Perrott db8f7ce0ba build: move generating doc files for @angular/ssr to using an intermediate typescript file (#62734)
Use an intermediate typescript file to rexport all of all of @angular/ssr rather than reaching into the npm package files

PR Close #62734
2025-07-22 10:13:28 -04:00
Joey Perrott e361deae30 build: remove unused @bazel/* npm packages (#62711)
Remove the unused bazel npm packages

PR Close #62711
2025-07-22 10:10:18 -04:00
Joey Perrott 807c4d7973 build: move nodejs_test to js_test (#62711)
Move nodejs_test to js_test and remove unnecessary files after move

PR Close #62711
2025-07-22 10:10:18 -04:00
Joey Perrott ca10fbde5a build: remove unused rules/macros from defaults.bzl (#62711)
Remove rules/macros that are not longer used in the repo

PR Close #62711
2025-07-22 10:10:18 -04:00
Joey Perrott 91f5a3c0ec build: migrate tslint rules from dev-infra to local (#62711)
Migrate the tslint rules used in dev-infra to locally defined rules as they are unused in other repos

PR Close #62711
2025-07-22 10:10:17 -04:00
Angular Robot 1151c45086 build: update github/codeql-action action to v3.29.3 (#62741)
See associated pull request for more information.

PR Close #62741
2025-07-22 10:05:41 -04:00
Matthieu Riegler 38b7ab26fb refactor(core): add a getTransferState for the devtools (#62722)
`getTransferState` will expose public data from the transfer state. It will for example remove internal hydration data.

PR Close #62722
2025-07-21 17:00:28 -04:00
AleksanderBodurri 45d3eeffaf test(devtools): bump cypress timeout to 10 seconds (#62726)
By default this is 4 seconds. In CI we have unreliable runtime performance so we this change gives us a bit of wiggle room to validate application behaviour.

PR Close #62726
2025-07-21 16:35:40 -04:00
Angular Robot f041042947 build: update cross-repo angular dependencies (#62731)
See associated pull request for more information.

PR Close #62731
2025-07-21 16:12:26 -04:00
Aristeidis Bampakos 74e47782c6 docs: fix minor typos in styleguide (#62706)
PR Close #62706
2025-07-21 13:38:40 -04:00
Joey Perrott b388f1e518 build: remove all usages of the interop_deps attr for ts_project and ng_project (#62733)
Remove all of the usages of interop_deps as attributes in the repo

PR Close #62733
2025-07-21 13:10:18 -04:00
AleksanderBodurri aee5260610 fix(devtools): stop reseting currentlyMatchedIndex when a node is selected in the component explorer (#62727)
This was causing some unintended behaviour when paired with our new zoneless configuration. I'm not sure why currentlyMatchedIndex was getting set to -1 here. With this removed it seems like things are working as expected. Previously a select call would reset this index *after* a search filter was applied, which would cause weird behaviour with the "next" and "prev" buttons.

PR Close #62727
2025-07-21 12:15:02 -04:00
Angular Robot 70d0c10d6c docs: update Angular CLI help (#62730)
Updated Angular CLI help contents.

PR Close #62730
2025-07-21 12:06:28 -04:00
Angular Robot bca8a3c73b build: update dependency node to v22.17.1 (#62715)
See associated pull request for more information.

PR Close #62715
2025-07-21 10:54:11 -04:00
Angular Robot a1a78b2e13 build: update all non-major dependencies (#62716)
See associated pull request for more information.

PR Close #62716
2025-07-21 10:22:12 -04:00
Johnny Huang cf48b13706 docs: fix code snippet (#62720)
changes code snippet on first-app tutorials (https://angular.dev/tutorials/first-app/09-services) for the step "Add a new file level import for the HousingService:" from 

imports: [HousingLocation], 

to

import {HousingService} from '../housing.service';
PR Close #62720
2025-07-21 09:37:46 -04:00
Angular Robot c36de9e6ca build: update cross-repo angular dependencies (#62651)
See associated pull request for more information.

PR Close #62651
2025-07-18 10:19:36 -04:00
Matthieu Riegler 409287add3 docs: split devtools doc to prepare for upcomming updates (#62597)
PR Close #62597
2025-07-18 10:07:46 -04:00
Elizabeth 2c522efbe5 fix(core): fix change tracking for Resource#hasValue (#62595)
When using `hasValue()` I would expect it to behave like any other
reactive value such that changes to the internal `value()` that do not
cause `hasValue()` to return anything different do not trigger change
detection, but this was not the case. This change wraps the value
checking in a `computed` such that it behaves as expected again while
still preserving the type narrowing.

PR Close #62595
2025-07-18 10:01:44 -04:00
Andrew Scott ba8a5d826e refactor(core): Use promise.finally for task removal (#62674)
Updates the approach from https://github.com/angular/angular/pull/62631 to
use Promise.finally for task removal. This is a bit cleaner and also handles
rejections from the donePromise

PR Close #62674
2025-07-18 07:19:49 -04:00
Joey Perrott 1e9bfe54b1 build: migrate to new toolchain usage for api goldens (#62688)
Migrate api golden usage to be based on rules_js toolchain implementation

PR Close #62688
2025-07-17 18:13:43 -04:00
Kirill Cherkashin c53abd96f1 release: cut the v20.1.2 release 20.1.2 2025-07-17 17:47:43 -04:00
Jonathan Pribesh e7e2dea9c8 docs: fixes binding box typo in httpResource.value() template example (#62661)
PR Close #62661
2025-07-17 14:31:08 -04:00
Matthieu Riegler 8ad10fd63b fix(compiler): fix detection of directive deps in JIT (#62666)
This fix also matches the implementation to the jsdoc for `hasDirectiveDependencies` "Whether any of the component's dependencies are directives"

fixes #62573

PR Close #62666
2025-07-17 14:20:32 -04:00
Joey Perrott c2625575aa build: remove ts_library definition (#62686)
Remove the ts_library macro from our defaults.bzl file

PR Close #62686
2025-07-17 14:16:02 -04:00
Joey Perrott 8b62b313e1 build: migrate zone.js to use ts_project instead of ts_library (#62686)
Use ts_project instead of ts_library for building zone.js

PR Close #62686
2025-07-17 14:16:02 -04:00
hawkgs dcab8c928b refactor(devtools): rearrange main toolbar menu buttons (#62684)
Place the version in the info menu and move both the info and gear buttons to the right-hand side of the toolbar.

PR Close #62684
2025-07-17 14:06:32 -04:00
Tony Conway 1930e99e14 docs: Update versions.md to use canonical Baseline site (#62680)
replace `tonypconway` fork URL with canonical `web-platform-dx` URL

PR Close #62680
2025-07-17 13:26:41 -04:00
Joey Perrott 0db3613565 build: remove rules_nodejs based protractor tooling (#62649)
Remove the protractor setup based on rules_nodejs

PR Close #62649
2025-07-16 16:39:50 -04:00
Joey Perrott bcf07e4559 build: remove extra toolchain registration (#62649)
Remove extra toolchain registration that is redundant as we already add the toolchains elsewhere

PR Close #62649
2025-07-16 16:39:50 -04:00
Joey Perrott 3e8e16bce7 build: migrate protractor test to new toolchain (#62649)
Migrate to new toolchain for protractor test in packages/examples/upgrade

PR Close #62649
2025-07-16 16:39:50 -04:00
Joey Perrott 5aed352abd ci: use new size tracking in integration tests (#62652)
Use the new size tracking within integration tests

PR Close #62652
2025-07-16 16:36:13 -04:00