17 Commits

Author SHA1 Message Date
Kristiyan Kostadinov 5b4fd22194 release: cut the v19.2.17 release 2025-12-01 12:40:42 +01:00
Alan Agius 92db2bac88 release: cut the v19.2.16 release 2025-11-26 09:04:39 +01:00
Alan Agius b2c79793c8 build: update lock files (#63719)
Update pnpm and aspect lock files to make builds green.

PR Close #63719
2025-09-11 15:35:19 +00:00
Alan Agius 70d0639bc1 fix(core): introduce BootstrapContext for improved server bootstrapping (#63639)
* fix(core): introduce `BootstrapContext` for improved server bootstrapping

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.
2025-09-09 10:56:38 -07:00
Andrew Scott cb1b1675c7 release: cut the v19.2.14 release 2025-05-28 06:32:02 -07:00
Andrew Scott 517cde4e4f release: cut the v19.2.13 release 2025-05-23 10:22:48 -07:00
Andrew Scott ac76549d07 release: cut the v19.2.12 release 2025-05-21 12:49:04 -07:00
Joey Perrott 88d6c43107 build: migrate adev to use ng_project (#61344)
Move all of adev to use ng_project instead of ng_module

PR Close #61344
2025-05-20 14:26:03 +00:00
Paul Gschwendtner 2da8e42e8b build: update dev-infra for latest RBE changes (#61413)
Updates dev-infra for the latest RBE changes.

PR Close #61413
2025-05-16 13:56:57 +00:00
Alex Rickabaugh ae503b7282 release: cut the v19.2.11 release 2025-05-15 08:26:28 -07:00
Paul Gschwendtner 0d025c5013 build: support new ng_project rule (#61336)
Supports the `ng_project` rule with the local compiler-cli version
from HEAD.

PR Close #61336
2025-05-14 08:31:33 -07:00
Alan Agius 7440a16c34 build: bump domino to 93e720f143d0296dd2726ffbcf4fc12283363a7b (#61302)
Update domino to latest SHA.

PR Close #61302
2025-05-14 10:44:21 +00:00
Joey Perrott 84b66f3b04 build: migrate adev shared-docs package to use ts_project (#61217)
Migrate the build rules for shared docs to use ts_project

PR Close #61217
2025-05-09 16:32:06 +00:00
Paul Gschwendtner 1312eb1600 build: remove irrelevant madge circular deps tests (#61209)
We don't need this tooling anymore because we are already validating
that there are no circular dependencies via the `ng-dev` tooling that
checks `.ts` files directly.

Also these tests never actually failed to my knowledge.

PR Close #61209
2025-05-08 09:23:47 -07:00
Andrew Kushnir 4282488195 release: cut the v19.2.10 release 2025-05-07 09:22:38 -07:00
Joey Perrott 0f7e5de556 build: migrate documentation site deploy script to use ts_project (#61103)
Migrate to the new toolchain

PR Close #61103
2025-05-06 13:34:22 -07:00
Joey Perrott a3300fa31b build: setup rules_js and link dependencies (#61088)
Sets up `rules_js` and links dependencies into the bazel-bin.

PR Close #61088
2025-05-02 09:14:17 -07:00