Commit graph

34294 commits

Author SHA1 Message Date
Shuaib Hasan Akib
e1dd3b10dd docs: uses signal, implement TODOs, and fix typos (#63603)
PR Close #63603
2025-09-04 15:21:01 -07:00
Avcharov Hryhorii
a3f808d7c8 fix: remove refresh button from transfer state tab (#63592)
TransferState is only written into the DOM once during SSR and is not kept in sync with the runtime state on the client. Pressing the refresh button always re-reads the initial serialized script tag, which never changes after bootstrap.

PR Close #63592
2025-09-04 09:23:24 -07:00
Angular Robot
951701dabb build: update cross-repo angular dependencies (#63581)
See associated pull request for more information.

PR Close #63581
2025-09-03 20:56:00 -07:00
Miles Malerba
08d363e2cc release: cut the v20.2.4 release 2025-09-03 12:36:46 -07:00
Angular Robot
320f1d6537 build: update @angular/ng-dev digest to 435c59b (#63571)
See associated pull request for more information.

PR Close #63571
2025-09-03 09:51:59 -07:00
Joey Perrott
991785fc18 build: use common jasmine rule from dev-infra (#63568)
Use the new common jasmine rule from dev-infra which include sourcemap rewriting support and esm file loading

PR Close #63568
2025-09-03 16:34:09 +00:00
Joey Perrott
fc80684fa3 build: add zone.js/test/typings to bazelignore (#63568)
Add the zone.js/test/typings node_modules directory to the bazelignore list

PR Close #63568
2025-09-03 16:34:09 +00:00
Angular Robot
452abfc33c build: update cross-repo angular dependencies (#63566)
See associated pull request for more information.

PR Close #63566
2025-09-03 16:33:33 +00:00
Shuaib Hasan Akib
869312ef71 docs: discourage use of ng as a component or directive selector prefix (#63567)
PR Close #63567
2025-09-03 09:31:17 -07:00
Alan Agius
0c2255bde8 refactor(platform-server): simplify transfer state serialization tracking (#63525)
The logic to track if the transfer state has been serialized is simplified by removing the need for `APP_ID`. Instead of maintaining a `Set` of application IDs, a simple boolean flag is used.

PR Close #63525
2025-09-03 09:15:53 -07:00
Alan Agius
d1d32db972 fix(platform-server): prevent false warning for duplicate state serialization (#63525)
The `TRANSFER_STATE_SERIALIZED_FOR_APPID` provider was previously configured at the platform level, causing its state to be shared across all concurrent server-side rendering requests. This created a race condition where one request could see the `appId` from a different, concurrent request, leading to false warnings about duplicate state serialization.

This commit changes the provider's scope to ensure that each application instance gets its own unique state. This correctly isolates the serialization check to each individual request, resolving the issue of false warnings in concurrent environments.

Closes #63524

PR Close #63525
2025-09-03 09:15:53 -07:00
Shuaib Hasan Akib
f4a2d0abc5 docs: fix #63555 (#63560)
PR Close #63560
2025-09-03 09:01:37 -07:00
Angular Robot
7bbcb54241 build: lock file maintenance (#63523)
See associated pull request for more information.

PR Close #63523
2025-09-02 12:40:04 -07:00
Angular Robot
1e47a87fc6 build: update cross-repo angular dependencies (#63553)
See associated pull request for more information.

PR Close #63553
2025-09-02 11:54:45 -07:00
aparziale
dc64f3e478 fix(core): Fixed inject migration schematics for migrate destructured properties (#62832)
Fixes #62626 - Properties used with the destructor are also managed during migration.

PR Close #62832
2025-09-02 10:59:47 -07:00
Angular Robot
957b36798f build: update github/codeql-action action to v3.30.0 (#63540)
See associated pull request for more information.

PR Close #63540
2025-09-02 17:10:21 +00:00
Angular Robot
bf74c56fe1 build: update pnpm to v10.15.1 (#63527)
See associated pull request for more information.

PR Close #63527
2025-09-02 17:09:04 +00:00
Matthieu Riegler
c664af8dec docs(docs-infra): highlight & parse api descriptions. (#63536)
The prevent future regression of this, this commit introduces additional tests.

PR Close #63536
2025-09-02 16:49:11 +00:00
Shuaib Hasan Akib
d6f7f68012 docs(docs-infra): signal property should be readonly (#63166)
PR Close #63166
2025-09-02 16:44:13 +00:00
Shuaib hasan akib
043017871c docs: fix wrong file reference and update Tailwind CSS guide link (#63533)
PR Close #63533
2025-09-02 16:42:07 +00:00
Shuaib hasan akib
3b42314bb5 docs(docs-infra): export class (#63506)
PR Close #63506
2025-09-02 16:36:48 +00:00
Shuaib Hasan Akib
15fa2ce1c4 docs(docs-infra): apply migration script changes (#63514)
PR Close #63514
2025-09-02 09:32:01 -07:00
Shuaib Hasan Akib
f204b54f9a docs(docs-infra): marks properties protected used in template (#63513)
PR Close #63513
2025-09-02 09:31:29 -07:00
Duncan Faulkner
3bd3c902ad docs: add full example for multiple content projections with card-title and card-body components (#63515)
PR Close #63515
2025-09-02 09:28:47 -07:00
Miles Malerba
dddce8311f ci: add more team members as approvers (#63495)
adds amishne, leonsenft, mattrbeck to approve but not receive review
requests

PR Close #63495
2025-08-29 15:12:13 -07:00
Shuaib Hasan Akib
e9096b9aab docs(docs-infra): properties should be readonly (#63492)
PR Close #63492
2025-08-29 14:06:34 -07:00
Sean Bright
6e5647f028 docs: fix up some clunky wording (#63491)
PR Close #63491
2025-08-29 14:06:02 -07:00
Jan Melcher
5bb4b75488 docs: fix rxResource example (#63484)
PR Close #63484
2025-08-29 19:00:16 +00:00
Angular Robot
8dbeac1341 build: update cross-repo angular dependencies (#63478)
See associated pull request for more information.

PR Close #63478
2025-08-29 08:53:44 -07:00
Matthieu Riegler
ed50120d4c refactor(animations): remove dependency on @angular/common (#63248)
`DOCUMENT` was move to `@angular/core`, so we don't need to depend on common anymore.

PR Close #63248
2025-08-29 08:51:32 -07:00
Angular Robot
1abf6d5abd build: update cross-repo angular dependencies to 06d3af5 (#63476)
See associated pull request for more information.

PR Close #63476
2025-08-29 13:45:58 +00:00
Shuaib hasan akib
c357a03bc6 docs(docs-infra): makes signal readonly (#63449)
PR Close #63449
2025-08-29 13:01:54 +00:00
Maryannah
6a5d12a186 docs: update documentation for Vitest use (#62798)
PR Close #62798
2025-08-29 13:00:53 +00:00
Emiliano González
7f5c1310f3 docs: Correct description of lesson outcome (#62710)
PR Close #62710
2025-08-29 13:00:21 +00:00
Angular Robot
22214593ab build: update cross-repo angular dependencies (#63468)
See associated pull request for more information.

PR Close #63468
2025-08-29 12:59:02 +00:00
Angular Robot
5a989f26f3 build: update dependency node to v22.19.0 (#63464)
See associated pull request for more information.

PR Close #63464
2025-08-29 12:57:34 +00:00
Angular Robot
ae2a1faaad build: update google-github-actions/auth digest to c200f36 (#63462)
See associated pull request for more information.

PR Close #63462
2025-08-29 12:55:53 +00:00
Jessica Janiuk
64ddde21af release: cut the v20.2.3 release 2025-08-29 14:33:36 +02:00
Jessica Janiuk
479a919f42 fix(compiler): fixes regression with event parsing and animate prefix (#63470)
The new animations was not correctly looking for the `.` when parsing bindings. This resulted in arbitrary event bindings creating animate.leave instruction calls.

fixes: #63466

PR Close #63470
2025-08-29 11:53:30 +00:00
Angular Robot
98468c0d7a build: update cross-repo angular dependencies (#63444)
See associated pull request for more information.

PR Close #63444
2025-08-28 09:21:54 -07:00
Hongxu Xu
b549cd28ae refactor(bazel): reduce build deps (#63348)
clean up deps in bazel build scripts

PR Close #63348
2025-08-28 09:16:10 -07:00
Angular Robot
cef1449ac7 docs: update Angular CLI help (#63446)
Updated Angular CLI help contents.

PR Close #63446
2025-08-28 09:11:46 -07:00
Alan Agius
05a9322c75 build: remove rulesJsInteropMode (#63448)
This is no longer needed.

PR Close #63448
2025-08-28 08:49:25 -07:00
Matthieu Riegler
df89611bf2 docs(docs-infra): remove unused example (#63426)
PR Close #63426
2025-08-28 08:47:54 -07:00
Milo
35dea23580 build: simplify pnpm scripts in package.json (#63310)
remove unnecessary pnpm prefix for bin scripts from node_modules

PR Close #63310
2025-08-28 08:46:23 -07:00
Vincent
596b545130 fix(core): Prevent an error on cleanup when an rxResource stream threw before returning an Observable (#63342)
Before this commit, it was wrongly assumed that the stream subscription could not be `undefined`.

Fixes #63341

PR Close #63342
2025-08-28 08:44:52 -07:00
arturovt
1e3999ec36 refactor(core): replace Optional/SkipSelf deps with inject() flags (#63386)
This commit updates provider definitions that relied on the `deps` array
with `new Optional()` and `new SkipSelf()` to instead use the modern
`inject(..., { optional: true, skipSelf: true })` API.

Previously:
  deps: [[KeyValueDiffers, new SkipSelf(), new Optional()]]

Now:
  const parent = inject(KeyValueDiffers, { optional: true, skipSelf: true });

**Bundle size reduction**: `Optional` and `SkipSelf` are runtime values
created by `makeParamDecorator()`. Even in production builds, esbuild
and other bundlers must keep their factory code because they are
referenced with `new Optional()` / `new SkipSelf()`. With `inject()`,
those classes are no longer referenced, allowing them and the
`makeParamDecorator` scaffolding to be tree-shaken when unused.

As a result, production bundles can drop both `Optional`, `SkipSelf`, and
their supporting factory code when not used elsewhere, reducing code size
while keeping the same behavior.

PR Close #63386
2025-08-28 08:43:17 -07:00
Jessica Janiuk
114906d2d6 fix(core): Fix cancellation of animation enter classes (#63442)
When toggling visibility on an element over and over, the enter animations were supposed to be cancelled and then the classes removed. There was a race condition happening that resulted in the cancelled animation being the leave animation. Rather than using the animation.cancel functionality, it's safer to just remove the enter classes.

fixes: #63439

PR Close #63442
2025-08-28 14:11:06 +00:00
Alan Agius
2e05deaffb ci: remove old options from workflows (#63441)
The `cache-node-modules` option has been removed as pnpm store cache is enabled by default.

PR Close #63441
2025-08-28 14:05:45 +00:00
Alan Agius
2fb029de04 ci: fix and improve devtools step (#63441)
This commit updates the devtools step by disabling the package manager cache. This change is necessary because Cypress downloads its binary to a cache directory during installation, which requires a post-install script. However, when the cache is hit this is skipped.

This update also disables `pnpm install` in the Cypress action to avoid a redundant installation step. And adds a seperate cache for the downloaded Cypress binary.

See: https://docs.cypress.io/app/get-started/install-cypress#pnpm-configuration

PR Close #63441
2025-08-28 14:05:45 +00:00