Andrew Scott
971981e1df
fix(core): TestBed.tick should ensure test components are synchronized ( #61382 )
...
This ensures that `TestBed.tick` updates any components created with
`TestBed.createComponent`, regardless of whether autoDetectChanges is
on.
PR Close #61382
2025-05-21 15:02:52 +00:00
Angular Robot
127bad774a
build: update cross-repo angular dependencies ( #61576 )
...
See associated pull request for more information.
PR Close #61576
2025-05-21 15:00:22 +00:00
arturovt
216222f8b4
refactor(common): drop httpResource error message ( #61570 )
...
Drops `httpResource` error message in production and replaces with an error code.
PR Close #61570
2025-05-21 14:16:53 +00:00
Matthieu Riegler
dba912dd07
refactor(platform-browser): replace platform-browser-dynamic with platform-browser ( #61498 )
...
The former isn't needed anymore and is now deprecated.
PR Close #61498
2025-05-21 14:01:49 +00:00
Pawel Kozlowski
1123b314b1
refactor(core): consolidate TNode creation checks ( #61563 )
...
This change de-duplicates code executed during TNode creation
and reponsible for asserting a TNode index.
PR Close #61563
2025-05-21 13:49:32 +00:00
Pawel Kozlowski
a5a18ae191
refactor(core): minimize code in the element-like instructions ( #61563 )
...
Minor changes to the element and elementContainer instructions to
move as much code as possible out of those instructions.
PR Close #61563
2025-05-21 13:49:31 +00:00
Jonathan Meier
0cf1001715
feat(compiler-cli): support host directives with direct external references in fast type declaration emission ( #61469 )
...
In the initial implementation for experimental fast type declaration
emission introduced in e62fb35 , external references in host directives
were not supported at all.
This change adds support for direct external references in host
directives. Any other expressions indirectly using external references
are still not supported.
PR Close #61469
2025-05-21 13:46:43 +00:00
PandaByte
ba66a12ec3
docs: fix capitalization error ( #61554 )
...
PR Close #61554
2025-05-21 13:42:35 +00:00
arturovt
e7656b84b2
refactor(core): drop rxResource error messages ( #61565 )
...
Drops `rxResource` error messages in production and replaces with error codes.
PR Close #61565
2025-05-21 12:42:59 +00:00
arturovt
62185714b5
refactor(core): drop injection context assertion in production ( #61564 )
...
In other parts of the code, calls to the `assertInInjectionContext` function are guarded with `ngDevMode`. This change aligns these parts of the code with other implementations that drop such assertions in production.
PR Close #61564
2025-05-21 12:42:10 +00:00
Kristiyan Kostadinov
46af02395f
fix(compiler): avoid conflicts between HMR code and local symbols ( #61550 )
...
Currently we construct the HMR replacement URL inline by calling into the native `URL` constructor. This can cause conflicts with user code that defines a symbol called `URL`.
These changes resolve the issue by moving the URL construction into a separate function. This has a secondary benefit of making the generated code easier to follow and allowing us to update the URL without changing the compiled code.
Fixes #61517 .
PR Close #61550
2025-05-21 12:25:25 +00:00
arturovt
6bf6dbc37e
fix(core): cleanup testability subscriptions ( #61261 )
...
This commit prevents leaking memory when the application is destroyed and subscriptions are still alive.
PR Close #61261
2025-05-21 12:06:23 +00:00
Angular Robot
a2fdb497bc
build: update cross-repo angular dependencies ( #61561 )
...
See associated pull request for more information.
PR Close #61561
2025-05-21 11:55:44 +00:00
arturovt
9416483bd3
refactor(core): drop injection context assertion in production ( #61560 )
...
In other parts of the code, calls to the `assertInInjectionContext` function are guarded with `ngDevMode`. This change aligns these parts of the code with other implementations that drop such assertions in production.
PR Close #61560
2025-05-21 11:35:47 +00:00
Jessica Janiuk
fa5d7ff409
ci: temporarily disable saucelabs for push jobs ( #61558 )
...
This also disables saucelabs for the CI (push) jobs.
PR Close #61558
2025-05-21 11:07:18 +00:00
Matthieu Riegler
ef01d3c69e
refactor(core): Merge R3TemplateRef implementation and TemplateRef interface ( #61455 )
...
This was an artifact of the Ivy migration.
PR Close #61455
2025-05-21 10:07:12 +00:00
Angular Robot
e57509e0a2
build: update dependency google-closure-compiler to v20250519 ( #61551 )
...
See associated pull request for more information.
PR Close #61551
2025-05-21 10:02:05 +00:00
Paul Gschwendtner
08f7d21d5c
refactor(migrations): ensure tsurge configures file system properly ( #61553 )
...
Currently in 1P, without this commit, the tsconfig parsing picks up the
default file system (InvalidFS) and results in runtime errors.
PR Close #61553
2025-05-21 10:01:18 +00:00
Charles Lyding
7adbb9c693
docs: add a short redirect for HMR information ( #61545 )
...
The `https://angular.dev/hmr ` URL will now redirect
to the HMR information at the longer URL:
https://angular.dev/tools/cli/build-system-migration#hot-module-replacement
This shorter URL will be used within console messages within the Angular CLI.
PR Close #61545
2025-05-21 10:00:29 +00:00
Milo
33715b098a
refactor(devtools): add dagre-d3-es ( #61538 )
...
add dagre-d3-es for use by the signals graph pane. Additionally, add a
patch so that html labels display correctly within d3-zoom
PR Close #61538
2025-05-21 09:56:40 +00:00
Joey Perrott
3acc2a5f07
build: migrate router to use rules_js ( #61542 )
...
Use ts_project and ng_project for building router
PR Close #61542
2025-05-21 09:53:34 +00:00
Ahmed Hakeem
7651d37cfe
docs(docs-infra): modify bazel config to include shared docs global styles ( #61384 )
...
PR Close #61384
2025-05-21 09:51:47 +00:00
Hakeem
2807a166d1
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:47 +00:00
Jessica Janiuk
282357f042
ci: temporarily disable saucelabs ( #61555 )
...
Saucelabs is having connection issues
PR Close #61555
2025-05-21 09:50:45 +00:00
Andrew Scott
1aa57857dd
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:49 +00:00
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`:
2b3c89dba2/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