Alan Agius
f642fcf145
build: update cross-repo angular dependencies ( #63706 )
...
See associated pull request for more information.
Closes #63685 as a pr takeover
PR Close #63706
2025-09-10 12:10:15 -07:00
Angular Robot
7569da13b7
build: update all non-major dependencies ( #63661 )
...
See associated pull request for more information.
Closes #63504 as a pr takeover
PR Close #63661
2025-09-10 07:11:54 -07:00
Angular Robot
0c64a06ea2
build: update cross-repo angular dependencies ( #63570 )
...
See associated pull request for more information.
PR Close #63570
2025-09-09 16:37:28 -07:00
Andrew Scott
c3576506b3
refactor(core): Update tests for zoneless by default ( #63668 )
...
This updates tests and examples only to prepare for zoneless by default.
These changes were identified and made as part of #63382 . Anything that
failed gets `provideZoneChangeDetection` unless the fixes were easily
and quickly determined.
It also adds the zoneless provider to the `initTestEnvironment` calls
for tests in this repo to prevent regressions before #63382 is merged.
PR Close #63668
2025-09-09 14:41:56 -07:00
Kristiyan Kostadinov
0571b335b9
feat(compiler-cli): enable type checking of host bindings by default ( #63654 )
...
Type checking of host bindings was added in v20. We're now confident enough in it to enable it by default.
BREAKING CHANGE:
* Previously hidden type issues in host bindings may show up in your builds. Either resolve the type issues or set `"typeCheckHostBindings": false` in the `angularCompilerOptions` section of your tsconfig.
PR Close #63654
2025-09-09 14:34:29 -07:00
Alan Agius
28926ba92c
feat(core): introduce BootstrapContext for improved server bootstrapping ( #63562 )
...
This commit introduces a number of changes to the server bootstrapping process to make it more robust and less error-prone, especially for concurrent requests.
Previously, the server rendering process relied on a module-level global platform injector. This could lead to issues in server-side rendering environments where multiple requests are processed concurrently, as they could inadvertently share or overwrite the global injector state.
The new approach introduces a `BootstrapContext` that is passed to the `bootstrapApplication` function. This context provides a platform reference that is scoped to the individual request, ensuring that each server-side render has an isolated platform injector. This prevents state leakage between concurrent requests and makes the overall process more reliable.
BREAKING CHANGE:
The server-side bootstrapping process has been changed to eliminate the reliance on a global platform injector.
Before:
```ts
const bootstrap = () => bootstrapApplication(AppComponent, config);
```
After:
```ts
const bootstrap = (context: BootstrapContext) =>
bootstrapApplication(AppComponent, config, context);
```
A schematic is provided to automatically update `main.server.ts` files to pass the `BootstrapContext` to the `bootstrapApplication` call.
In addition, `getPlatform()` and `destroyPlatform()` will now return `null` and be a no-op respectively when running in a server environment.
PR Close #63562
2025-09-09 10:57:09 -07:00
Angular Robot
58cb2bec32
build: update cross-repo angular dependencies ( #63395 )
...
See associated pull request for more information.
PR Close #63395
2025-08-27 16:13:08 -07:00
Andrew Scott
f86846555b
fix(upgrade): Remove deprecated UpgradeAdapter ( #61659 )
...
Deprecated since v5. Use `upgrade/static` instead, which also supports aot.
BREAKING CHANGE: `UpgradeAdapter` is no longer available. Use
`upgrade/static` instead
PR Close #61659
2025-08-27 11:11:29 -07:00
Joey Perrott
2fcafb65c5
build: rename defaults2.bzl to defaults.bzl ( #63383 )
...
Use defaults.bzl for the common macros
PR Close #63383
2025-08-25 15:45:01 -07:00
Angular Robot
790143eb9b
build: update cross-repo angular dependencies ( #63284 )
...
See associated pull request for more information.
PR Close #63284
2025-08-20 15:58:42 +00:00
Joey Perrott
718bfd2fb7
build: move from using WORKSPACE to MODULE.bazel ( #63246 )
...
Update to use MODULE.bazel
PR Close #63246
2025-08-20 08:26:17 +00:00
Angular Robot
9a59f7613c
build: update all non-major dependencies ( #63181 )
...
See associated pull request for more information.
PR Close #63181
2025-08-15 12:31:24 +02:00
Angular Robot
47b09f8f18
build: update cross-repo angular dependencies ( #63178 )
...
See associated pull request for more information.
PR Close #63178
2025-08-15 11:40:20 +02:00
Angular Robot
d733c69ce9
build: update all non-major dependencies ( #62935 )
...
See associated pull request for more information.
PR Close #62935
2025-08-14 22:09:29 +02:00
Joey Perrott
c35c0c7f2f
build: update to bazel 7.6.0 ( #63096 )
...
Update to later version of bazel
PR Close #63096
2025-08-14 13:01:30 +02:00
Matthieu Riegler
a59c3fe74e
build: remove patch-package dependency ( #63126 )
...
This dependency is no longer necessary as `pnpm` provides the same natively
PR Close #63126
2025-08-14 12:59:46 +02:00
Angular Robot
21b0fd3d13
build: update cross-repo angular dependencies ( #62952 )
...
See associated pull request for more information.
PR Close #62952
2025-08-13 09:21:28 -07:00
Alan Agius
06f5879e42
ci: several fixes for renovate ( #63083 )
...
This commit contains several fixes for renovate to work properly with `pnpm`
PR Close #63083
2025-08-11 11:03:28 -07:00
Joey Perrott
c4dcfdf644
build: update to the latest version of devinfra and rename npm2 workspace ( #63093 )
...
Rename the npm2 workspace to npm and use the latest version of devinfra which drops rules_nodejs
PR Close #63093
2025-08-11 10:35:32 -07:00
Joey Perrott
0d12eac34c
build: remove unused old toolchain dependencies ( #63039 )
...
Update to latest version of dev-infra and complete the removal of rules_nodejs from the repo
PR Close #63039
2025-08-07 09:31:45 -07:00
Joey Perrott
82cc576e6f
build: use pnpm as the package manager instead of yarn ( #62924 )
...
Use pnpm instead of yarn as the package manager and interaction tool for the repo
PR Close #62924
2025-07-31 22:06:27 +00:00
Angular Robot
216caaf5ab
build: update cross-repo angular dependencies ( #62902 )
...
See associated pull request for more information.
PR Close #62902
2025-07-31 09:52:50 +00:00
Joey Perrott
cbc258eec8
build: remove ts_project_interop infrastructure ( #62908 )
...
Remove the interop macros and final usages
PR Close #62908
2025-07-31 09:12:58 +00:00
Joey Perrott
49b7729e88
build: remove usages of rules_nodejs ( #62885 )
...
Remove rules_nodejs usages with direct migrations to rule_js alternatives
PR Close #62885
2025-07-30 08:51:27 +00:00
Joey Perrott
793ff35602
build: move http_server and generate_api_docs into defaults2.bzl ( #62878 )
...
Move http_server and generate_api_docs into defaults2.bzl as they are rules_js compliant
PR Close #62878
2025-07-29 16:53:54 +00:00
Joey Perrott
b49c1f2394
build: remove local zone.js build from usage in integration tests ( #62775 )
...
Remove the local zone.js build from dependencies in the integration tests
PR Close #62775
2025-07-25 16:53:00 +02:00
Joey Perrott
caee6ff8e7
build: remove all usages of @bazel/runfiles ( #62804 )
...
Remove usages of @bazel/runfiles throughout the repository
PR Close #62804
2025-07-25 10:04:55 +02:00
Angular Robot
6ab0d11878
build: update all non-major dependencies ( #62754 )
...
See associated pull request for more information.
PR Close #62754
2025-07-24 10:02:01 +00:00
Angular Robot
9d8c48dc4c
build: update cross-repo angular dependencies ( #62770 )
...
See associated pull request for more information.
PR Close #62770
2025-07-24 09:24:50 +00:00
Joey Perrott
8bf97d1370
build: remove all usages of the interop_deps attr for ts_project and ng_project ( #62732 )
...
Remove all of the usages of interop_deps as attributes in the repo
PR Close #62732
2025-07-21 13:03:09 -04:00
Angular Robot
8b5f814ed6
build: update all non-major dependencies ( #62701 )
...
See associated pull request for more information.
PR Close #62701
2025-07-21 10:47:49 -04:00
Angular Robot
891444d48b
build: update cross-repo angular dependencies ( #62557 )
...
See associated pull request for more information.
PR Close #62557
2025-07-18 09:47:19 -04:00
Joey Perrott
e25e6342f2
build: remove rules_nodejs based protractor tooling ( #62649 )
...
Remove the protractor setup based on rules_nodejs
PR Close #62649
2025-07-16 16:39:49 -04:00
Angular Robot
4574095a9e
build: update all non-major dependencies ( #62642 )
...
See associated pull request for more information.
PR Close #62642
2025-07-15 09:34:00 -07:00
Angular Robot
9b14791105
build: update all non-major dependencies ( #62582 )
...
See associated pull request for more information.
PR Close #62582
2025-07-11 14:46:23 -07:00
Angular Robot
959acdaad6
build: update all non-major dependencies ( #62513 )
...
See associated pull request for more information.
PR Close #62513
2025-07-10 10:20:24 -07:00
Joey Perrott
22b8e222bd
build: migrate modules to use dependencies from //modules:package.json ( #62506 )
...
Migrate to use local package.json deps
PR Close #62506
2025-07-07 20:43:28 +00:00
Angular Robot
d0b7439313
build: update all non-major dependencies ( #62419 )
...
See associated pull request for more information.
PR Close #62419
2025-07-02 14:20:48 +00:00
Angular Robot
e1991c5b81
build: update cross-repo angular dependencies ( #62407 )
...
See associated pull request for more information.
PR Close #62407
2025-07-02 07:43:11 +00:00
Angular Robot
12cc13b4d1
build: update dependency @types/node to v24.0.8 ( #62391 )
...
See associated pull request for more information.
PR Close #62391
2025-07-01 08:11:19 +00:00
Angular Robot
493f25be79
build: update all non-major dependencies ( #62355 )
...
See associated pull request for more information.
PR Close #62355
2025-06-30 08:23:50 +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
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
Kristiyan Kostadinov
f5180b6532
build: switch benchmarks to standalone ( #62096 )
...
Updates the `js-web-frameworks` and `largetable` benchmarks to use standalone which helps us benchmark the DOM-only instructions.
PR Close #62096
2025-06-23 14:24:09 +02:00
Angular Robot
0cd6f363ca
build: update cross-repo angular dependencies ( #62079 )
...
See associated pull request for more information.
PR Close #62079
2025-06-19 10:12:19 +02:00
Joey Perrott
18a7ce892c
build: migrate back to using the @npm// sourced benchmark_test macro ( #62101 )
...
Use the benchmark macro from @npm// instead of @devinfra//
PR Close #62101
2025-06-17 18:51:21 +02:00
Joey Perrott
1182fe7053
build: migrate to usages of @devinfra// instead of @npm//@angular/build-tooling ( #62050 )
...
Use workspace imported devinfra deps instead of npm dep
PR Close #62050
2025-06-16 10:23:30 +02:00
Angular Robot
1fcf67cb17
build: update cross-repo angular dependencies ( #62006 )
...
See associated pull request for more information.
PR Close #62006
2025-06-12 15:55:19 +02:00
Joey Perrott
21fc93bf4b
test: use zone from npm instead of the locally built package for modules testing ( #61947 )
...
Use zone from npm for modules testing
PR Close #61947
2025-06-06 15:20:11 -07:00
Angular Robot
78c417ace1
build: update cross-repo angular dependencies ( #61910 )
...
See associated pull request for more information.
PR Close #61910
2025-06-06 10:30:47 +02:00