33561 Commits

Author SHA1 Message Date
Jessica Janiuk 5766ba6a5e release: cut the v20.0.6 release 20.0.6 2025-07-01 18:40:02 +02:00
Matthieu Riegler 9cd1c4263c docs: update breaking change for nullish coalesching + parenthesis (#62382)
This breakages was introduced by #60169

fixes #62375

PR Close #62382
2025-07-01 09:34:22 +00:00
Angular Robot bf881cc7bd build: update github/codeql-action action to v3.29.2 (#62394)
See associated pull request for more information.

PR Close #62394
2025-07-01 08:25:36 +00:00
Angular Robot a20799571a build: update dependency @types/node to v24.0.8 (#62393)
See associated pull request for more information.

PR Close #62393
2025-07-01 08:25:00 +00:00
Angular Robot 7c82f26c5e build: lock file maintenance (#62369)
See associated pull request for more information.

PR Close #62369
2025-06-30 09:25:01 +00:00
Angular Robot 4bc8187b7e build: update all non-major dependencies (#62356)
See associated pull request for more information.

PR Close #62356
2025-06-30 08:47:31 +00:00
Shuaib Hasan Akib 85d6474d8c refactor(core): update NG0303 error message (#62363)
This adds mention of the `input()` signal function
to the error message.

PR Close #62363
2025-06-30 08:15:12 +00:00
Joan a06ec75735 docs: fix broken link on assertNotInReactiveContext ref page (#62360)
PR Close #62360
2025-06-30 08:13:45 +00:00
Veerabhadra Rao Chikka e145a83bb0 docs: update router read-route-state.md file (#62367)
ActivedRoute variable name updated to route

PR Close #62367
2025-06-30 08:05:47 +00:00
aliroshandev db68645570 docs: fix syntax error in tutorial (#62361)
PR Close #62361
2025-06-30 07:58:20 +00:00
Angular Robot 5edbb5429c build: update rules_browsers digest to 800d91c (#62359)
See associated pull request for more information.

PR Close #62359
2025-06-30 07:43:55 +00:00
Angular Robot 175e4802b8 build: update cross-repo angular dependencies (#62350)
See associated pull request for more information.

PR Close #62350
2025-06-30 07:42:15 +00:00
Joey Perrott 8d581502ca build: migrate modules to use @rules_browsers protractor rules (#62345)
Use the protractor rules from `@rules_browsers` for the module directory.

PR Close #62345
2025-06-27 22:27:52 +00:00
Jan Martin 0866077c31 ci: add jkrems to pullapprove (public-api) (#62340)
Allow jkrems to (co-)approve public-api changes.

PR Close #62340
2025-06-27 18:37:01 +00:00
Michael Small c0532f0ce5 docs: add page NG8115 (uninvokedTrackFunction) (#61962)
Pull request that added the diagnostic:

https://github.com/angular/angular/pull/60495

PR Close #61962
2025-06-27 11:54:42 +00:00
Angular Robot 82cdd5ce24 build: update github/codeql-action action to v3.29.1 (#62332)
See associated pull request for more information.

PR Close #62332
2025-06-27 11:23:59 +00:00
Angular Robot 84fe149dc7 build: update cross-repo angular dependencies (#62330)
See associated pull request for more information.

PR Close #62330
2025-06-27 11:21:21 +00:00
Angular Robot 74004f60ef build: update rules_sass digest to cc1e845 (#62328)
See associated pull request for more information.

PR Close #62328
2025-06-27 10:31:22 +00:00
Joey Perrott e3103fe60d build: migrate devtools to use new sass ruleset (#62298)
Use the new sass ruleset for bazel sass building in devtools

PR Close #62298
2025-06-27 09:26:16 +00:00
Joey Perrott 3e0437f902 build: migrate adev to use new sass ruleset (#62298)
Use the new sass ruleset for bazel sass building in adev

PR Close #62298
2025-06-27 09:26:16 +00:00
Angular Robot 41230e6719 build: update dependency marked to v16 (#62322)
See associated pull request for more information.

PR Close #62322
2025-06-27 08:59:58 +00:00
Angular Robot 308c82d87b build: update all non-major dependencies (#62324)
See associated pull request for more information.

Closes #62321 as a pr takeover

PR Close #62324
2025-06-27 08:35:53 +00:00
Matthieu Riegler ac7fe2c6f2 docs: remove list of APIs with a providers array. (#62296)
fixes #62295

PR Close #62296
2025-06-27 07:45:24 +00:00
Jessica Janiuk 5c2a9426e4 ci: restore flamegraph dep (#62304)
The flamegraph dep was fixed upstream.

PR Close #62304
2025-06-27 07:23:19 +00:00
Angular Robot ff37af9f76 build: update cross-repo angular dependencies (#62313)
See associated pull request for more information.

PR Close #62313
2025-06-27 07:21:12 +00:00
Joey Perrott 6a4263a186 build: migrate to @devinfra for toolchains (#62302)
Migrate the toolchains we depend on to use @devinfra instead of @npm//

PR Close #62302
2025-06-27 07:19:19 +00:00
Joey Perrott 69ddabb11c build: migrate integration tests to use @devinfra dependencies (#62302)
Use @devinfra// dependencies for integration tests

PR Close #62302
2025-06-27 07:19:18 +00:00
Can Özkan 69c8a24662 docs: use correct link for best-practices.md (#62306)
PR Close #62306
2025-06-27 07:18:46 +00:00
Joey Perrott 31e3eb20f9 build: migrate to use web test runner rules (#62294)
Migrate karma tests throughout the repo to use the new web test runner based rule instead

PR Close #62294
2025-06-26 17:20:49 +00:00
anastasiaanisimova 8955ed2c53 docs: fix deferrable views doc links (#62293)
PR Close #62293
2025-06-26 14:34:45 +00:00
arturovt a3c246abae refactor(common): remove redundant ɵloadImpl check in client bundles (#62191)
In this commit, the conditional branching around `ɵloadImpl` is removed from client-side code, as `ɵloadImpl` is never defined in client bundles. This makes the logic simpler and improves tree-shaking, allowing the `from()` import to be dropped from the common bundle in browser builds.

PR Close #62191
2025-06-26 12:02:51 +00:00
arturovt fb7bfa6149 refactor(common): replace forEach with index loop for Domino compatibility (#62290)
In this commit, the use of `images.forEach` was replaced with a traditional `for (let i = 0; ...)` loop to ensure compatibility with Domino. Domino may return a custom internal data structure (e.g., a lazily evaluated query result) that does not fully support standard iteration protocols like `forEach` or `for...of`.

Naturally, this would never happen in any browser. It occurs only in unit tests when using `renderApplication()`, because Domino's `querySelectorAll` returns the following:

```js
var nodes = select(selector, context);
return nodes.item ? nodes : new NodeList(nodes);
```

In certain unit tests, it returns an object like:
`{ root: document, filter: function(e) { ... }, lastModTime: 1, done: true, cache: [] }`,
which means that the object does not have a `forEach` method.

As a result, this causes an `afterAll` error: `forEach is not a function`.

PR Close #62290
2025-06-26 12:01:37 +00:00
Jessica Janiuk bee0409525 ci: remove artifacts job (#62291)
Remove the artifacts job.

PR Close #62291
2025-06-26 12:01:00 +00:00
Angular Robot 8b861e2caf build: update cross-repo angular dependencies (#62289)
See associated pull request for more information.

PR Close #62289
2025-06-26 11:44:06 +00:00
Angular Robot 92ecd6900d build: update dependency rollup to v4.44.1 (#62286)
See associated pull request for more information.

PR Close #62286
2025-06-26 10:25:00 +00:00
Jessica Janiuk 029043c009 ci: temp add flamegraph dep to ignoredDeps (#62287)
there is a bad flamegraph release and we need to ignore it for now.

PR Close #62287
2025-06-26 09:22:45 +00:00
SkyZeroZx 19eaf71396 docs: Update documentation httpResource with keepalive feature (#62278)
PR Close #62278
2025-06-26 08:59:01 +00:00
Angular Robot c39b80f837 build: update rules_browsers digest to 0952071 (#62281)
See associated pull request for more information.

PR Close #62281
2025-06-26 08:20:23 +00:00
Angular Robot 8822d6c1bc build: update cross-repo angular dependencies (#62274)
See associated pull request for more information.

PR Close #62274
2025-06-26 08:18:51 +00:00
Matthieu Riegler cc46181de2 docs: add ai best practices link to first-app tutorial intro (#62140)
PR Close #62140
2025-06-26 08:13:18 +00:00
Matthieu Riegler a51f6eecec docs: add best practices links in the learn-angular tutorial introduction. (#62139)
PR Close #62139
2025-06-26 08:12:43 +00:00
lilbeqiri a7a6a5b4cc refactor(devtools): inject number and symbol values with injection tokens (#56898)
Handle injecting number and symbol values with injection tokens and update contributing file

PR Close #56898
2025-06-25 17:02:54 +00:00
Mansi Shrivastava 4400b1c9a9 refactor(common): allow HttpErrorResponse with successful status codes (#61107)
This adds the ability to mock out errors even when successful status codes are returned.

Fixes #26161

PR Close #61107
2025-06-25 17:01:19 +00:00
Rodrigo Damazio Bovendorp 2b4098cd76 docs(core): mark after{Next,Every}Render overloads as stable (#62153)
Your blog post signaled that afterNextRender and afterEveryRender
are now stable:
https://angular.love/angular-20-whats-new#Signal%20related%20APIs

However, only 1 of the overloads of those was marked as stable.

I detected this because angular-eslint errors on calls even to
to the publicApi overload - and while that should probably be
fixed on their end, your announcement wasn't specific about only
one overload being stable, so I assume this was an oversight.

angular-eslint related issue:
https://github.com/angular-eslint/angular-eslint/issues/2534

PR Close #62153
2025-06-25 17:00:20 +00:00
Jessica Janiuk c6f0f54cdd release: cut the v20.0.5 release 20.0.5 2025-06-25 18:45:56 +02:00
Matthieu Riegler a2e6f317a7 fix(core): allow to set a resource in an error state (#62253)
A resource is error state should still remain writable.

fixes #62241

PR Close #62253
2025-06-25 13:20:43 +00:00
Angular Robot 31a21253ed build: update cross-repo angular dependencies (#62263)
See associated pull request for more information.

PR Close #62263
2025-06-25 13:19:42 +00:00
Jessica Janiuk 17a8ca30ec ci: Update pullapprove ownership for compiler and zonejs (#62261)
This updates the zone.js owners and adds thePunderWoman to compiler approvers.

PR Close #62261
2025-06-25 12:46:41 +00:00
Matthieu Riegler c43f632dc0 docs: fix deprecation message on ngIf/ngSwitch (#62149)
fixes #62147

PR Close #62149
2025-06-25 11:22:16 +00:00
arturovt b40c9d0e59 refactor(common): move ngServerMode check outside tap() to enable tree-shaking (#62238)
In this commit, the `ngServerMode` check is moved outside the RxJS `pipe()` to ensure that server-only logic is excluded from client bundles. Previously, the `tap()` operator and its closure were always included in the output, even though `ngServerMode` was false on the client and the side effect was never triggered.

By guarding the observable chain earlier, this reduces the RxJS stack frame depth, which simplifies debugging by avoiding unnecessary operator noise in client-side stack traces.

The resulting logic is also easier to reason about and avoids evaluating `HttpResponse` instances where not needed.

PR Close #62238
2025-06-25 11:13:22 +00:00