Joey Perrott
7f6bb91c5d
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
e11f48f65e
build: migrate forms to rules_js ( #61535 )
...
Migrate forms to use ng_project and ts_project
PR Close #61535
2025-05-21 09:16:05 +00:00
Matthieu Riegler
5a4ca62081
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:06 +00:00
Andrew Scott
c71adb1ad1
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:53 +00:00
Angular Robot
b0ee7ffa50
docs: update Angular CLI help ( #61526 )
...
Updated Angular CLI help contents.
PR Close #61526
2025-05-20 20:07:44 +00:00
Alan Agius
3947a4b9f5
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:20 +00:00
Angular Robot
bb220c0d31
build: update cross-repo angular dependencies ( #61530 )
...
See associated pull request for more information.
PR Close #61530
2025-05-20 17:45:02 +00:00
Alan Agius
cc331fda3c
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
f1f37896c5
docs(docs-infra): display CLI enum values for enums ( #61521 )
...
fixes #61516
PR Close #61521
2025-05-20 16:54:12 +00:00
Joey Perrott
69de729cde
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:20 +00:00
Angular Robot
83d004fc6a
build: update dependency undici to v7 ( #61522 )
...
See associated pull request for more information.
PR Close #61522
2025-05-20 16:51:03 +00:00
arturovt
87688942d4
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:44 +00:00
Joey Perrott
3440338d45
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:56 +00:00
Matthieu Riegler
1148b7e0c5
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:31 +00:00
Matthieu Riegler
3a7d569d35
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
8f65223bd8
fix(core): update min Node.js support to 20.19, 22.12, and 24.0 ( #61499 )
...
This is to match the versions of the Angular CLI.
See: https://github.com/angular/angular-cli/pull/30349
PR Close #61499
2025-05-20 14:15:13 +00:00
Angular Robot
6ba9adc797
build: update cross-repo angular dependencies ( #61508 )
...
See associated pull request for more information.
PR Close #61508
2025-05-20 13:42:02 +00:00
Jens Kuehlers
e2c1d00730
docs: replace material.a.io with material.a.dev ( #61513 )
...
PR Close #61513
2025-05-20 13:40:42 +00:00
Angular Robot
a62d3e72ce
build: update dependency @octokit/graphql to v9 ( #61503 )
...
See associated pull request for more information.
PR Close #61503
2025-05-20 12:28:18 +00:00
Jonathan Meier
2796f18a3d
test: set the noCheck TS compiler option in declaration-only emission compliance tests ( #61470 )
...
No type-checking is performed in declaration-only emission mode so we
should explicitly disable it in the compliance tests.
This also aligns the compiler configuration with the setup used in
`packages/compiler-cli/test/ngtsc/declaration_only_emission_spec.ts`:
https://github.com/angular/angular/blob/2b3c89dba228f55e90e298e6a1fca5850b7f40eb/packages/compiler-cli/test/ngtsc/declaration_only_emission_spec.ts#L31 .
PR Close #61470
2025-05-20 12:07:18 +00:00
Angular Robot
fb0f5aaa76
build: update cross-repo angular dependencies ( #61506 )
...
See associated pull request for more information.
PR Close #61506
2025-05-20 12:00:51 +00:00
Matthieu Riegler
2e7032e29a
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:22 +00:00
Angular Robot
c3e26907c9
build: update cross-repo angular dependencies ( #61502 )
...
See associated pull request for more information.
PR Close #61502
2025-05-20 11:07:56 +00:00
Angular Robot
c7420df449
build: update dependency google-closure-compiler to v20250518 ( #61490 )
...
See associated pull request for more information.
PR Close #61490
2025-05-20 10:06:42 +00:00
Angular Robot
233d001457
build: update dependency conventional-changelog to v7 ( #61489 )
...
See associated pull request for more information.
PR Close #61489
2025-05-20 10:03:54 +00:00
Matthieu Riegler
2b73b496e0
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:34 +00:00
Paul Gschwendtner
7e571069bc
refactor(compiler): avoid duplication between FactoryTarget type ( #61472 )
...
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 #61472
2025-05-20 10:00:43 +00:00
Paul Gschwendtner
082cc5579d
build: migrate all ng_module in packages/core/test ( #61472 )
...
Migrates all `ng_module` to `ng_project` in `packages/core/test/`.
PR Close #61472
2025-05-20 10:00:43 +00:00
Paul Gschwendtner
8ead19fe00
build: migrate all ts_library in packages/core/test ( #61472 )
...
This commit migrates all `ts_library` in `package/core/test` to
`ts_project`, and fixes deep module, or relative imports inside.
PR Close #61472
2025-05-20 10:00:43 +00:00
Paul Gschwendtner
3a106a35bc
build: move private testing helpers outside platform-browser/testing ( #61472 )
...
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 #61472
2025-05-20 10:00:43 +00:00
Milo
fc14ca5e34
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:51 +00:00
hawkgs
f5c67f1cde
refactor(devtools): introduce responsive-split directive ( #61204 )
...
The `ResponsiveSplitDirective` adds responsive behavior to the `as-split` component by a provided width to height ratio.
PR Close #61204
2025-05-20 08:51:59 +00:00
mgechev
1749ee68e3
docs: add update instructions for v20 ( #61338 )
...
PR Close #61338
2025-05-20 08:51:19 +00:00
Andrew Scott
f182886ce5
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
ef0f1a4ca8
build: move ts_project and ng_project for adev into a macro ( #61319 )
...
Move ts_project and ng_project into a macro for adev/ instead of providing a custom
tsconfig on every target
PR Close #61319
2025-05-20 08:48:29 +00:00
Joey Perrott
8ef41f3e14
build: migrate adev to use ng_project ( #61319 )
...
Move all of adev to use ng_project instead of ng_module
PR Close #61319
2025-05-20 08:48:29 +00:00
Joey Perrott
abdfbefe74
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:34 +00:00
Joey Perrott
447b2a3690
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:33 +00:00
Joey Perrott
1818a84209
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:53 +00:00
Alan Agius
da6aceef18
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
b77042a554
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:07 +00:00
Pawel Kozlowski
feb571ceaa
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
2b3c89dba2
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
1e86aa7871
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:43 +00:00
Angular Robot
a6b8b2ccd4
build: update cross-repo angular dependencies ( #61464 )
...
See associated pull request for more information.
PR Close #61464
2025-05-19 12:04:34 +00:00
Alan Agius
1a81682f29
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
Paul Gschwendtner
b148e272f6
refactor(migrations): gracefully proceed if reference cannot be resolved ( #61426 )
...
A runtime error can surface when TypeScript internally fails to resolve
a reference that is named similar to an input, but no `.d.ts` is
available for it.
See example error:
https://github.com/microsoft/TypeScript/issues/61473#issuecomment-2746537781 .
PR Close #61426
2025-05-19 11:04:52 +00:00
Angular Robot
10c2ab2a4a
build: lock file maintenance ( #61456 )
...
See associated pull request for more information.
PR Close #61456
2025-05-19 11:03:53 +00:00
Angular Robot
24ae05f3f8
build: update all non-major dependencies ( #61458 )
...
See associated pull request for more information.
PR Close #61458
2025-05-19 09:53:46 +00:00
Kristiyan Kostadinov
7a308ccc3b
refactor(core): consolidate logic to determine whether node can be hydrated ( #61409 )
...
Several instructions were repeating the logic that checks if a specific can be hydrated. These changes move it into a common location.
PR Close #61409
2025-05-19 09:30:20 +00:00