Commit Graph

33706 Commits

Author SHA1 Message Date
Angular Robot e60cfffc7c build: update cross-repo angular dependencies (#62349)
See associated pull request for more information.

PR Close #62349
2025-06-30 07:41:39 +00:00
hawkgs 3eec4badab refactor(devtools): abstract and reuse the tree visualizer (#62264)
Abstract the injector tree visualizer so it can be used for both the Injector Tree and Router Tree tabs without having to rely on separate identical implementations.

PR Close #62264
2025-06-30 07:39:16 +00:00
Doug Parker e63cd1f405 docs: update Angular DevTools release docs (#62352)
This makes few edits based on feedback and observations from a previous release:
1.  Moves `git pull` command before initial `git log` to make sure we're up to date before checking if a release is necessary.
2.  Updates both `git log` commands to limit to `fix`, `feat`, and `perf` changes. This ignores more than just `refactor`, such as `build`, `ci`, etc. and should be more meaningful to end users.
    *   I considered doing something with `Revert` commits, but opted not to. Instead, it will treat this just like their original commit. This does mean we might send a slightly more complicated changelog than it needs to be, but it's not worth making these commands even weirder.
3.  Removes install step prior to bumping the version numbers, as its just not needed and we have to reinstall later anyways.
4.  Switches PR target from `patch` to `minor`. We only need to merge this to the `main` branch, and it's not worth the effort to keep the `patch` branch in sync.
5.  Switches source code zip command to `git archive`. This is more portable than `zip *`, which depends on the shell configuration to determine what is included in `*` (mainly whether or not that includes dotfiles such as `.nvmrc` and `.bazelrc`).

PR Close #62352
2025-06-30 07:36:19 +00:00
Joey Perrott 059fb06b9f build: migrate modules to use @rules_browsers protractor rules (#62342)
Use the protractor rules from `@rules_browsers` for the module directory.

PR Close #62342
2025-06-27 22:27:08 +00:00
Jan Martin 53575390f4 ci: add jkrems to pullapprove (public-api) (#62340)
Allow jkrems to (co-)approve public-api changes.

PR Close #62340
2025-06-27 18:37:00 +00:00
Doug Parker 32ca3ff7de release: bump Angular DevTools version to 1.0.36 (#62341)
PR Close #62341
2025-06-27 11:32:40 -07:00
SkyZeroZx 27b7ec0a62 feat(http): add mode & redirect for fetch request in httpResource (#62337)
This commit adds support for the Fetch API's mode & redirect options when using httpResource with the withFetch provider

PR Close #62337
2025-06-27 15:01:52 +00:00
SkyZeroZx b2afa11397 docs: Update documentation http making request (#62336)
PR Close #62336
2025-06-27 13:29:33 +00:00
hawkgs f10e1bc53c fix(devtools): profiler records only the first frames from the stream (#62335)
Fixes a regression from #62215 where the profiler records only the first emitted frames from the stream.

PR Close #62335
2025-06-27 13:19:29 +00:00
SkyZeroZx 87322449a3 feat(http): add support for fetch mode and redirect options in HttpClient (#62315)
Add support for mode and redirect options in Angular's HttpClient based on fech provider to enable control CORS behavior and redirect handling

PR Close #62315
2025-06-27 13:16:25 +00:00
hawkgs f9435050d8 refactor(devtools): main nav (#62242)
Keep only the navigation elements within the `nav` rather than all toolbar elements.

PR Close #62242
2025-06-27 13:07:46 +00:00
hawkgs fd7650c404 refactor(devtools): update profiler recorder icons (#62246)
Update the recorder controls icons to match better the presented actions.

PR Close #62246
2025-06-27 13:04:53 +00:00
SkyZeroZx 6ec2900f90 docs: Update documentation httpResource with cache & priority feature (#62334)
PR Close #62334
2025-06-27 12:51:46 +00:00
Michael Small 7077520ca8 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:41 +00:00
Angular Robot 599baa24a2 build: update github/codeql-action action to v3.29.1 (#62331)
See associated pull request for more information.

PR Close #62331
2025-06-27 11:23:26 +00:00
Matthieu Riegler aa861c42ff feat(http): add timeout option on httpResource. (#62326)
This uses the option that was introduction on the HttpClient

PR Close #62326
2025-06-27 11:21:59 +00:00
Angular Robot 0390bd978e build: update cross-repo angular dependencies (#62329)
See associated pull request for more information.

PR Close #62329
2025-06-27 11:20:50 +00:00
iteriani f849803f79 refactor(core): Add return value for defineInjectable. (#62303)
This allows the return value of this function to be passed into registerInjectable.

PR Close #62303
2025-06-27 10:34:14 +00:00
Angular Robot a63c22ce46 build: update rules_sass digest to cc1e845 (#62327)
See associated pull request for more information.

PR Close #62327
2025-06-27 10:30:52 +00:00
Vincent c4cffe2063 feat(http): Add timeout option to HTTP requests (#57194)
Add timeout option to both XHR and fetch backends.

PR Close #57194
2025-06-27 09:56:25 +00:00
SkyZeroZx 55fa38a1e5 feat(http): add cache & priority support for fetch requests in httpResource (#62301)
This commit adds support for the Fetch API's cache & priority options when using httpResource with the withFetch provider

PR Close #62301
2025-06-27 09:51:31 +00:00
hawkgs e8addbf8c7 refactor(devtools): improve flamegraph UI by employing the new flamegraph API (#62299)
Use colors from the existing color palette and enable tooltips.

PR Close #62299
2025-06-27 09:27:11 +00:00
Joey Perrott 1d3449c0ce build: migrate devtools to use new sass ruleset (#62297)
Use the new sass ruleset for bazel sass building in devtools

PR Close #62297
2025-06-27 09:25:43 +00:00
Joey Perrott ad89f80969 build: migrate adev to use new sass ruleset (#62297)
Use the new sass ruleset for bazel sass building in adev

PR Close #62297
2025-06-27 09:25:43 +00:00
Angular Robot 5ccb81ec59 build: update dependency marked to v16 (#62320)
See associated pull request for more information.

PR Close #62320
2025-06-27 08:59:21 +00:00
Angular Robot df1a61fea2 build: update all non-major dependencies (#62323)
See associated pull request for more information.

Closes #62317 as a pr takeover

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

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

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

PR Close #62312
2025-06-27 07:20:39 +00:00
Joey Perrott 90cb49462b 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:18 +00:00
Joey Perrott bc4091ec44 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 a952433e64 docs: use correct link for best-practices.md (#62306)
PR Close #62306
2025-06-27 07:18:45 +00:00
Joey Perrott b84859073b build: migrate to use web test runner rules (#62292)
Migrate karma tests throughout the repo to use the new web test runner based rule instead

PR Close #62292
2025-06-26 17:19:10 +00:00
iteriani ec01599987 refactor(core): Add Constructor type to injection types (#62265)
This allows us to pass in constructors into the inject function

PR Close #62265
2025-06-26 15:55:23 +00:00
anastasiaanisimova 402eaa1c85 docs: fix deferrable views doc links (#62293)
PR Close #62293
2025-06-26 14:34:44 +00:00
arturovt 13875d0140 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 4def2a79de 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:36 +00:00
Jessica Janiuk c87f367f46 ci: remove artifacts job (#62291)
Remove the artifacts job.

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

PR Close #62288
2025-06-26 11:43:35 +00:00
Angular Robot cd30c4d40b build: update dependency rollup to v4.44.1 (#62285)
See associated pull request for more information.

PR Close #62285
2025-06-26 10:24:27 +00:00
Jessica Janiuk f1deaba004 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:44 +00:00
SkyZeroZx 3a002c2db4 docs: Update documentation httpResource with keepalive feature (#62278)
PR Close #62278
2025-06-26 08:59:00 +00:00
Angular Robot c5c9b0b4c8 build: update rules_browsers digest to 0952071 (#62279)
See associated pull request for more information.

PR Close #62279
2025-06-26 08:19:46 +00:00
Angular Robot 0a01f5b6b0 build: update cross-repo angular dependencies (#62273)
See associated pull request for more information.

PR Close #62273
2025-06-26 08:18:22 +00:00
Matthieu Riegler d3affa562f docs: add ai best practices link to first-app tutorial intro (#62140)
PR Close #62140
2025-06-26 08:13:17 +00:00
Matthieu Riegler bfb190ec87 docs: add best practices links in the learn-angular tutorial introduction. (#62139)
PR Close #62139
2025-06-26 08:12:42 +00:00
Jan Martin 556f8ebe7b release: bump Angular DevTools version to 1.0.35 (#62271)
PR Close #62271
2025-06-26 08:10:52 +00:00
lilbeqiri 85fe323c4e 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
Tristan Bastian 58aedc37d1 feat(common): add support for a custom EnvironmentInjector to NgComponentOutlet directive (#54764)
Signed-off-by: Tristan Bastian <tristan.bastian@cumulocity.com>

PR Close #54764
2025-06-25 17:02:19 +00:00
Mansi Shrivastava 7426dbbd56 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:18 +00:00