33397 Commits

Author SHA1 Message Date
Joey Perrott 58532c7602 build: migrate router to use rules_js (#61543)
Use ts_project and ng_project for building router

PR Close #61543
2025-05-21 09:54:27 +00:00
Ahmed Hakeem 6e3270c6d1 docs(docs-infra): modify bazel config to include shared docs global styles (#61384)
PR Close #61384
2025-05-21 09:51:49 +00:00
Hakeem 5bf75b8016 docs(docs-infra): fix docs pages overflow when specific example-viewer exists (#61384)
enforce content to be fluid until a specific max width, and rollback breakpoints to be applied when 1430px is the current win size
as widths between 1430px and 1431px will be broken

PR Close #61384
2025-05-21 09:51:49 +00:00
Jessica Janiuk 7ea3b5e862 ci: temporarily disable saucelabs (#61555)
Saucelabs is having connection issues

PR Close #61555
2025-05-21 09:50:46 +00:00
Andrew Scott 641411b767 refactor(core): Remove _cdRefInjectingView from markForRefresh (#60918)
The code was not compatible with property renaming so it was always
using _lView. This didn't matter because they're always the same for the
only place the function is used. Casting to any would fix the
renaming problem but introduce a risk of getting "broken" by a refactor
that changes the private variable name. This change removes the
private member access entirely.

PR Close #60918
2025-05-21 09:46:50 +00:00
Joey Perrott 3cc0910928 build: update compiler-cli to not be stamped when used for the compiler in ng_project (#61535)
The compiler-cli package needs to be unstamped and will the resulting generated code will be stamped as expected.

PR Close #61535
2025-05-21 09:16:06 +00:00
Joey Perrott f6b4602e1e build: migrate forms to rules_js (#61535)
Migrate forms to use ng_project and ts_project

PR Close #61535
2025-05-21 09:16:06 +00:00
Matthieu Riegler 0a82e58c21 docs: fix info about descendants for content queries. (#61534)
- `descendants` option  is `true` for `contentChild`
- `descendants` option is `false` for `contentChildren`

PR Close #61534
2025-05-21 09:06:07 +00:00
Andrew Scott b57084267e fix(compiler-cli): Always retain prior results for all files (#61487)
This change ensures that prior results for all files are retained even when
a request is made such that we only need a shim for a single file. Prior
to this change, any prior results that were not part of the request were discarded.

PR Close #61487
2025-05-21 08:56:55 +00:00
Angular Robot 3b564e7d80 docs: update Angular CLI help (#61527)
Updated Angular CLI help contents.

PR Close #61527
2025-05-20 20:08:33 +00:00
Alan Agius 38d936b5d5 ci: change action: review to action: merge in update docs (#61533)
Simplifies the workflow by reducing the number of required actions for the caretaker or reviewer, similar to Renovate PRs.

PR Close #61533
2025-05-20 20:04:22 +00:00
Angular Robot 7a447271de build: update cross-repo angular dependencies (#61531)
See associated pull request for more information.

PR Close #61531
2025-05-20 17:45:32 +00:00
Alan Agius 60f8481fa4 Revert "ci: clean untracked files before running postUpgradeTasks (#61494)" (#61529)
This reverts commit da6aceef18 as the
issue was resolved upstream.

PR Close #61529
2025-05-20 17:42:18 +00:00
Matthieu Riegler 272ad0454c docs(docs-infra): display CLI enum values for enums (#61521)
fixes #61516

PR Close #61521
2025-05-20 16:54:14 +00:00
Joey Perrott 5009278a23 build: migrate angular-in-memory-web-api to use rules_js (#61524)
Use ts_project and ng_project for building angular-in-memory-web-api

PR Close #61524
2025-05-20 16:53:22 +00:00
Angular Robot 9de1d4fbbf build: update dependency undici to v7 (#61523)
See associated pull request for more information.

PR Close #61523
2025-05-20 16:52:24 +00:00
arturovt 966df84351 fix(common): prevent reading chunks if app is destroyed (#61354)
Prevents processing response chunks after the application has been destroyed.

PR Close #61354
2025-05-20 15:09:46 +00:00
Joey Perrott 6aa1d06efb build: migrate common to use rules_js based toolchain (#61433)
Migrate packages/common to use ts_project and ng_project.

PR Close #61433
2025-05-20 15:07:57 +00:00
Matthieu Riegler 5dbeb42308 fix(core): unregister onDestroy in toSignal. (#61514)
We cleanup if the observable completes before the onDestroy fires.

fixes #61511

PR Close #61514
2025-05-20 14:43:33 +00:00
Matthieu Riegler 43588f3ff4 docs(docs-infra): fix substitution regex (#61515)
It was replacing `rgba(0,0,0,0)` with `rgba(99.99.99, 0)`

PR Close #61515
2025-05-20 14:27:27 +00:00
Alan Agius 30e081287d fix(core): update min Node.js support to 20.19, 22.12, and 24.0 (#61500)
This is to match the versions of the Angular CLI.

See: https://github.com/angular/angular-cli/pull/30349

PR Close #61500
2025-05-20 14:17:20 +00:00
Angular Robot 6218b381c7 build: update cross-repo angular dependencies (#61509)
See associated pull request for more information.

PR Close #61509
2025-05-20 13:50:57 +00:00
Paul Gschwendtner df05049b6b refactor(compiler): avoid duplication between FactoryTarget type (#61476)
Avoids duplication of the `FactoryTarget` enums. This is necessary
now because we are exposing the previously deeply-imported JIT facade
now via the exports; and the typing integration tests surface a type
conflict due to the different duplicated enums.

PR Close #61476
2025-05-20 13:46:16 +00:00
Paul Gschwendtner 81b2b516e9 build: migrate all ng_module in packages/core/test (#61476)
Migrates all `ng_module` to `ng_project` in `packages/core/test/`.

PR Close #61476
2025-05-20 13:46:16 +00:00
Paul Gschwendtner 809aad842e build: migrate all ts_library in packages/core/test (#61476)
This commit migrates all `ts_library` in `package/core/test` to
`ts_project`, and fixes deep module, or relative imports inside.

PR Close #61476
2025-05-20 13:46:16 +00:00
Paul Gschwendtner 3433021475 build: move private testing helpers outside platform-browser/testing (#61476)
These helpers are often imported by various tests throughout the
repository, but the helpers aren't exported/exposed from the public
entry-point; even though they confusingly reside in there.

This commit fixes this, and moves the helpers into
`packages/private/testing`. This is a preparation for the `ts_project`
migration where we don't want to leverage deep imports between packages.

PR Close #61476
2025-05-20 13:46:15 +00:00
Jens Kuehlers 16d7a7bb7f docs: replace material.a.io with material.a.dev (#61513)
PR Close #61513
2025-05-20 13:40:45 +00:00
Angular Robot 29d8283d65 build: update dependency @octokit/graphql to v9 (#61505)
See associated pull request for more information.

PR Close #61505
2025-05-20 12:31:14 +00:00
Angular Robot 3c5b0296cd build: update cross-repo angular dependencies (#61507)
See associated pull request for more information.

PR Close #61507
2025-05-20 12:01:28 +00:00
Matthieu Riegler 6e6d952554 build: replace platform-browser-dynamic with platform-browser (#61497)
The former isn't needed anymore and is now deprecated.

PR Close #61497
2025-05-20 11:27:23 +00:00
Angular Robot f0ce891d27 build: update cross-repo angular dependencies (#61504)
See associated pull request for more information.

PR Close #61504
2025-05-20 11:08:30 +00:00
Angular Robot f702f0e217 build: update dependency conventional-changelog to v7 (#61491)
See associated pull request for more information.

PR Close #61491
2025-05-20 10:22:09 +00:00
Angular Robot b55fa4ee4d build: update dependency google-closure-compiler to v20250518 (#61492)
See associated pull request for more information.

PR Close #61492
2025-05-20 10:08:27 +00:00
Matthieu Riegler de7d8bebf9 test: replace platform-browser-dynamic with platform-browser (#61495)
The former isn't needed anymore and is now deprecated.

PR Close #61495
2025-05-20 10:01:36 +00:00
Joey Perrott 82b51c6ac1 build: move ts_project and ng_project for adev into a macro (#61345)
Move ts_project and ng_project into a macro for adev/ instead of providing a custom
tsconfig on every target

PR Close #61345
2025-05-20 09:17:08 +00:00
Joey Perrott a66e71d338 build: migrate adev to use ng_project (#61345)
Move all of adev to use ng_project instead of ng_module

PR Close #61345
2025-05-20 09:17:07 +00:00
Milo 650bac5e96 refactor(devtools): switch default font to material symbols (#61281)
update from Material Icons to Material Symbols, and use the local
font copy instead of Google fonts to avoid version mismatches

PR Close #61281
2025-05-20 08:53:53 +00:00
mgechev d12844e4c3 docs: add update instructions for v20 (#61338)
PR Close #61338
2025-05-20 08:51:19 +00:00
Andrew Scott 9585ed3a6c refactor(core): Disallow autoDetectChanges(false) in zoneless (#61430)
This removes the ability to use `autoDetectChanges(false)` when
`provideZonelessChangeDetection` is used.

PR Close #61430
2025-05-20 08:49:06 +00:00
Joey Perrott 2651ac1a77 build: use an unstamped version of compiler-cli for running the angular compiler in ng_project (#61479)
Use an unstamped version of the compiler when it runs in `ng_project` as it will get stamped appropriately
whenever the generated code gets stamped after its usage."

PR Close #61479
2025-05-20 08:46:36 +00:00
Joey Perrott 6f74458e53 build: migrate animations to use rules_js based toolchain (#61479)
Migrate animations to use `ts_project` and `ng_project`

PR Close #61479
2025-05-20 08:46:36 +00:00
Joey Perrott 62435f6a18 build: migrate benchpress to use rules_js (#61486)
Use ts_project to build targets in benchpress package

PR Close #61486
2025-05-20 08:44:56 +00:00
Alan Agius e9eba9f257 ci: clean untracked files before running postUpgradeTasks (#61494)
Not sure what changed overnight, but Renovate is now committing .npmrc files that we didn't generate.
Example: https://github.com/angular/angular/pull/61492/files

We should revisit this once we transition away from Yarn.

PR Close #61494
2025-05-20 08:44:03 +00:00
Miles Malerba de602b4220 docs: point cdk drag-drop doc links to adev api pages (#61437)
Now that the drag and drop API pages are on adev we can link to those
instead of external linking to material.angular.io

PR Close #61437
2025-05-19 16:04:09 +00:00
Pawel Kozlowski fcd4355ab0 refactor(core): expose enableProfiling() on from @angular/core (#61465)
This commit exposes the experimental enableProfiling() API that
enables Angular integration with the Chrome DevTools performance
panel. Previously this integration was exposed on the ng. namespace
only but there are legitimate cases where developers might want to
expose the integration earlier (ex.: bootstrap profiling).

PR Close #61465
2025-05-19 14:22:34 +00:00
Pawel Kozlowski c5177a6299 refactor(core): re-introduce TestBed.flushEffects()" (#61462)
Our intention was to remove TestBed.flushEffects() in Angular v20
as it was a developer preview API that doesn't need to follow our
deprecation policy. It turned out, though, that the angular.dev
documentation wasn't displaying the @developerPreview annotation
properly so some of the developers might have been unaware of the
non-stable nature of this API.

This commits re-introduces the TestBed.flushEffects() API. This
API call will delegate to TestBed.tick().

PR Close #61462
2025-05-19 13:26:52 +00:00
Paul Gschwendtner 76100ec106 build: --config=debug should not disable sandbox for all actions (#61468)
Instead of disabling sandbox/workers for every action; which also could
slow-down development turnaround significantly, the flag should only
disable sandboxing for the test actions; allowing for e.g. DevTools to
connect to them, even if they are inside the sandbox.

Arguably, this strategy isn't seemingly necessary in all environments,
but given that we enable network sandboxing in this repo, it seems
reasonable. Ideally we'd also expose `_debug` targets for e.g. Node
tests that have the proper no-sandbox, or requires-network tag.

PR Close #61468
2025-05-19 12:36:46 +00:00
Angular Robot a30fc96e98 build: update cross-repo angular dependencies (#61466)
See associated pull request for more information.

PR Close #61466
2025-05-19 12:05:27 +00:00
Alan Agius 15826107e1 ci: replace yarn ng-dev misc update-generated-files with separate update commands for specific targets (#61467)
Currently, `yarn ng-dev misc update-generated-files` attempts to update 67 targets, but only 4 actually require updating. Running the full script causes Renovate to slow down significantly, adding around 7 minutes to the process. By replacing it with individual update commands for just the necessary targets, we improve performance and reduce Renovate’s runtime considerably.

PR Close #61467
2025-05-19 11:21:26 +00:00
Angular Robot 425b9656a3 build: lock file maintenance (#61457)
See associated pull request for more information.

PR Close #61457
2025-05-19 11:20:51 +00:00