Miles Malerba
650cd6b903
docs: add missing component harness docs ( #63620 )
...
Add some documentation that's mentioned in the material.angular.dev version of the component hanress docs, but was missing from the adev version.
PR Close #63620
2025-09-09 14:29:28 -07:00
Ben Hong
d0f0c0824f
docs: add signals tutorial ( #62750 )
...
PR Close #62750
2025-09-09 12:57:16 -07:00
Ben Hong
b1aa2d016a
docs: add dedicated signals tutorial ( #62750 )
...
PR Close #62750
2025-09-09 12:57:16 -07:00
Christian Sarnataro
68e69670be
docs: fixed typo in output page ( #63646 )
...
Change `initiaize` to `initialize`
PR Close #63646
2025-09-09 12:56:01 -07:00
Miles Malerba
3fb7a12078
docs: add missing drag & drop docs ( #63619 )
...
Add some documentation that's mentioned in the material.angular.dev
version of the drag & drop docs, but was missing from the adev version.
PR Close #63619
2025-09-09 12:09:53 -07:00
Alan Agius
6117ccee2e
feat(core): introduce BootstrapContext for improved server bootstrapping ( #63636 )
...
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.
(cherry picked from commit 8bf80c9d2314b4f2bcf3df83ae01552a6fc49834)
PR Close #63636
2025-09-09 10:45:02 -07:00
Shuaib Hasan Akib
c7b84f5a22
docs: Update Language Service IDE list ( #63647 )
...
PR Close #63647
2025-09-08 16:31:23 -07:00
Shuaib Hasan Akib
a857f72c81
docs: should not conditionally include <ng-content> in IMPORTANT block ( #63580 )
...
PR Close #63580
2025-09-08 14:53:12 -07:00
Shuaib Hasan Akib
ad1f106f6d
docs(docs-infra): prevent empty h3 tags when title is empty ( #63573 )
...
Conditionally render h3 element only when title attribute has content
PR Close #63573
2025-09-08 14:50:47 -07:00
Matthieu Riegler
9943230f91
docs: remove installation ( #63508 )
...
We don't have that section in other parts of the docs, package name is already mentionned.
fixes #62691
PR Close #63508
2025-09-08 14:22:52 -07:00
Shuaib Hasan Akib
b3d102b475
docs: update template examples to use signal-based viewChild instead of decorator-based @ViewChild ( #63630 )
...
Co-authored-by: Matthieu Riegler <kyro38@gmail.com >
Co-authored-by: Matthieu Riegler <kyro38@gmail.com >
PR Close #63630
2025-09-08 12:52:28 -07:00
Shuaib Hasan Akib
cf690982de
docs: update package link ( #63579 )
...
PR Close #63579
2025-09-08 12:33:55 -07:00
Jessica Janiuk
f21c7565d7
docs: add CSS transitions note on animate.enter ( #63618 )
...
PR Close #63618
2025-09-08 12:32:03 -07:00
Matthieu Riegler
d124fba6ff
docs: improve headings of docs ( #63604 )
...
This is an attemp to improve the indexation of those pages by making SSR and i18N important
PR Close #63604
2025-09-08 12:10:26 -07:00
Joey Perrott
a6640e3cc5
build: add additional comments explaining deep imports in adev ( #63644 )
...
Add additional comment to explain why deep imports are required for building adev using the angular cli
PR Close #63644
2025-09-08 11:15:07 -07:00
Shuaib Hasan Akib
f2ec6fbfa7
docs(docs-infra): quote title attributes in links ( #63578 )
...
Prevent broken HTML when link titles contain spaces by properly quoting the title attribute
PR Close #63578
2025-09-08 10:14:48 -07:00
Matthieu Riegler
f18980c18d
docs(docs-infra): fix mini share icon URL. ( #63586 )
...
fixes #63569
PR Close #63586
2025-09-05 13:08:16 -07:00
Alan Agius
c3303a5f75
test: increase mermaid spec timeout to reduce flakes ( #63610 )
...
The mermaid spec test can be flaky due to timeouts. This commit increases the timeout to 25 seconds to make the test more reliable.
PR Close #63610
2025-09-05 12:53:50 -07:00
Cheng-Hsuan Tsai
f697995c26
docs(docs-infra): allow collapse code example ( #63559 )
...
PR Close #63559
2025-09-04 15:25:24 -07:00
Shuaib Hasan Akib
e1dd3b10dd
docs: uses signal, implement TODOs, and fix typos ( #63603 )
...
PR Close #63603
2025-09-04 15:21:01 -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
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
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
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
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
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
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
Matthieu Riegler
df89611bf2
docs(docs-infra): remove unused example ( #63426 )
...
PR Close #63426
2025-08-28 08:47:54 -07:00
SkyZeroZx
690405b253
docs: Add docs service worker to new options ( #63436 )
...
Add docs service worker to new options
PR Close #63436
2025-08-28 10:20:52 +00:00
Angular Robot
fe533cd244
docs: update Angular CLI help ( #63420 )
...
Updated Angular CLI help contents.
PR Close #63420
2025-08-28 10:09:09 +00:00
Shuaib Hasan Akib
a6a46e9839
docs(docs-infra): tooltip on hover and message after copied ( #63167 )
...
PR Close #63167
2025-08-27 16:56:45 -07:00
Ben Hong
9de2f078d5
docs: add customizing route behavior guide for router ( #63398 )
...
PR Close #63398
2025-08-27 16:18:39 -07:00
Shuaib Hasan Akib
40844876ea
docs(docs-infra): mark properties as readonly if they shouldn't change ( #63200 )
...
PR Close #63200
2025-08-27 16:16:25 -07:00
Angular Robot
ca61366218
build: update cross-repo angular dependencies ( #63396 )
...
See associated pull request for more information.
PR Close #63396
2025-08-27 16:14:31 -07:00
Matthieu Riegler
cd748aad47
docs: remove the ng-class migration entry ( #63430 )
...
That migration is only available in v21 / on the main branch for now.
fixes #63428
PR Close #63430
2025-08-27 16:10:18 -07:00
Joey Perrott
0bc7f154c8
build: remove ts_project_interop file ( #63421 )
...
Remove the ts_project_interop.bzl file that no longer does interop work
PR Close #63421
2025-08-27 11:23:57 -07:00
Joey Perrott
705b94bd21
refactor: remove TODOs which have been corrected ( #63421 )
...
Remove TODOs which were addressed but the comment was not removed
PR Close #63421
2025-08-27 11:23:57 -07:00