35866 Commits

Author SHA1 Message Date
Shuaib Hasan Akib 444be37b41 docs: Indented the <docs-code> blocks inside numbered list items to ensure correct Markdown rendering and prevent the steps from breaking visually.
- Remove path from header

(cherry picked from commit aafc8e75a1)
2025-11-21 13:14:13 -05:00
Ben Hong 1dfce39775 docs: move aria tabs into content organization category
(cherry picked from commit 8f346ad070)
2025-11-21 12:25:39 -05:00
voi99 9d82c86811 docs(forms): update error class to error-list in signal forms example
(cherry picked from commit 5685e3879c)
2025-11-21 12:23:52 -05:00
Shuaib Hasan Akib 11df3d6ca8 docs: remove unnecessary standalone: true from examples
Standalone components are now the default, so explicitly specifying
`standalone: true` is no longer required. Updated relevant documentation
examples to avoid redundant configuration and keep the guides concise.

(cherry picked from commit f825547353)
2025-11-21 12:23:30 -05:00
Alan Agius 36c967e0ef build: automate GitHub release creation for vscode extension
Update the release script to automatically create a GitHub release and upload the VSIX asset.

Example release: https://github.com/angular/angular/releases/tag/vsix-21.0.0

(cherry picked from commit 74405c7e7a)
2025-11-21 12:22:22 -05:00
Angular Robot 77f059910e build: update bazel dependencies
See associated pull request for more information.
2025-11-21 12:21:20 -05:00
Syam Gadde bc34083d34 fix(compiler-cli): ignore non-existent files
Ignore files that fail fs.exists() rather than throw ENOENT.  Some applications deliberately create "broken" symbolic links that are not relevant to compilation (e.g. emacs lock files that link to owner "user@host").

(cherry picked from commit 1628125bcb)
2025-11-21 11:39:01 -05:00
Shuaib Hasan Akib 1cdcd5a947 docs: fix incorrect Signal Forms link
Updated outdated link guide/forms/signal-forms/ to the correct path guide/forms/signals/ to ensure proper navigation.

Fixes: #65461 #65462
(cherry picked from commit 68f5ceeb46)
2025-11-21 10:55:55 -05:00
Ben Hong 053bf98f57 docs: iterate on signal forms essentials guide
(cherry picked from commit b7d91a796b)
2025-11-21 10:48:04 -05:00
Shuaib Hasan Akib 2f44ede102 docs: add missing ARIA patterns and API reference
Adds the missing ARIA usage patterns and links to the relevant API reference
sections to improve accessibility guidance and ensure examples follow recommended
best practices.

(cherry picked from commit cea19803d8)
2025-11-21 10:18:39 -05:00
Alessio Pelliccione 1925721226 refactor(docs-infra): automate algolia index name based on package version
Previously, the Algolia index name was hardcoded in the configuration, requiring manual updates for every new major release branch.

This commit automates the index name selection by deriving the version directly @angular/core. It dynamically assigns:
- `angular_next_dev` for pre-releases (`-next`, `-rc`) and local snapshots (`0.0.0`).
- `angular_vXX` (e.g., `angular_v19`) for stable releases.

(cherry picked from commit 2ddf26e699)
2025-11-20 19:21:34 -05:00
SkyZeroZx b170aa925b docs: updates code block language tags in signal forms
(cherry picked from commit 889afe9aa2)
2025-11-20 19:20:33 -05:00
Raxabi fd44d7b794 docs: Fix missing single quote in the first navigateByUrl example.
(cherry picked from commit ee57b0f2fa)
2025-11-20 19:19:46 -05:00
marktechson c0a8f0c694 docs: fix update guide typo
The update from 20 to 21 featured the wrong number, this fixes that

(cherry picked from commit c4722820e7)
2025-11-20 19:19:19 -05:00
Alan Agius 70fb1d6cf2 ci: try to resolve vscode extension e2e flakes
Update e2e test runner to VS Code 1.102.0, streamline test activation, and manage temporary directories via `TEST_TMPDIR`.

(cherry picked from commit 1a094ddb2b)
2025-11-20 17:03:18 -05:00
Doug Parker da97099e67 docs: correct v21 LTS end date and v20 active end date
Updated to align the v20 active end date with the v21 release date and fix the v21 LTS to be 1-year after the active period ends.

(cherry picked from commit 2ecdb221d3)
2025-11-20 16:47:29 -05:00
Johannes Hoppe 65c39ea324 docs(core): remove outdated regex template restriction in best-practices.md
Regular expressions in templates are now supported as of Angular 21.

(cherry picked from commit 11da7a65c0)
2025-11-20 16:42:55 -05:00
Charles Lyding b9181f1172 docs: prioritize ng add for Tailwind CSS and clarify manual steps
This commit updates the Tailwind CSS integration guide (`adev/src/content/guide/tailwind.md`) to introduce `ng add tailwindcss` as the primary, automated method for integrating Tailwind CSS.

(cherry picked from commit 396c25ef5a)
2025-11-20 15:00:28 -05:00
Angular Robot 82c085d0b6 docs: update cross-repo adev docs
Updated Angular adev cross repo docs files.
2025-11-20 14:24:05 -05:00
Devin Chasanoff 72197597b9 docs: add v21 event game
(cherry picked from commit b8fa9cc7d5)
2025-11-20 13:27:49 -05:00
Ben Hong cd86de1447 docs: consolidate patterns and iterate on conclusion for angular aria overview
(cherry picked from commit be6f2f066f)
2025-11-20 12:38:22 -05:00
Matthieu Riegler 5467cdcaff docs: backport content from main 2025-11-20 12:37:13 -05:00
JoostK d7484f0519 refactor(core): let the profiler handle asymmetric events leniently
Although the prior commit has made more profiler events guaranteed symmetric
through the use of finally-blocks, there continue to be some situations
that could potentially result in asymmetric events, e.g. application
bootstrap doesn't guarantee symmetric events. This commit makes the profiler
lenient to these situations by unrolling the stack past the asymmetric event
data, eventually reaching the expected start event.

(cherry picked from commit 913cde8ab4)
2025-11-20 12:30:02 -05:00
JoostK a55482fca3 fix(core): notify profiler events in case of errors
Profiler events are expected to be symmetric, yet in the case of errors this symmetry may break
if events aren't always kept in sync with their corresponding start event. This commit moves
various end events to be run from a finally-block, allowing them to notify the profiler even
when an error has occurred.

Fixes #62947

(cherry picked from commit 3760045e3e)
2025-11-20 12:30:02 -05:00
kirjs cc3b4ae701 docs: remove unnecessary @ts-ignore from signal forms playground
The @ts-ignore comment is no longer needed as the module resolution
issue has been fixed in the playground editor configuration.

(cherry picked from commit bea7358225)
2025-11-20 12:26:25 -05:00
marktechson eadc8deaf8 docs: add 20 to 21 update guide
(cherry picked from commit 183d194025)
2025-11-20 11:46:49 -05:00
Wagner Maciel f349a9168b docs: fix standlone menu overlay
(cherry picked from commit 29185a864f)
2025-11-20 11:20:41 -05:00
David Kingma 630a3b29d8 refactor(core): add debugName option to rxjs-interop toSignal
toSignal predates the debugName option for signals to name the signals in the Angular dev-tools This adds the debugName option to toSignal.

(cherry picked from commit 0812ac3bec)
2025-11-20 10:49:54 -05:00
Charles Lyding 2a614aa25c docs: add note about Karma/Jasmine examples in testing services guide
This guide currently contains Karma/Jasmine specific code examples.
Adding a note to inform readers that Vitest equivalents are being worked on.

(cherry picked from commit 80202bffee)
2025-11-20 10:47:37 -05:00
Alessio Pelliccione 8d6d13afd2 fix(docs-infra): prevent icons from being translated in aria guide
This commit adds the `translate="no"` attribute to the icon elements to ensure they are preserved in their original form and not modified by translation tools.

Closes #65406

(cherry picked from commit 42c05650ff)
2025-11-20 10:47:15 -05:00
Ben Hong cf7579f506 docs: add signal forms custom controls guide
Co-authored-by: Leon Senft <leonsenft@users.noreply.github.com>

docs: add signal forms custom controls guide
(cherry picked from commit fc2e414262)
2025-11-20 10:35:01 -05:00
marktechson f31fbdd0b9 docs: adds a link to the signal forms example
(cherry picked from commit 890414245f)
2025-11-20 00:41:05 +00:00
Charles 88559649bb docs: separate Zone.js-specific testing utilities into new guide
This commit moves documentation for Zone.js-dependent testing utilities
(`waitForAsync`, `fakeAsync`, `tick`, `discardPeriodicTasks`, `flushMicrotasks`)
from `testing/utility-apis.md` to a new dedicated guide:
`testing/zone-js-testing-utilities.md`.

(cherry picked from commit e77fb1fb14)
2025-11-20 00:40:38 +00:00
tsc036 2bf0c52775 refactor(core): export profile event as enum and move profile_types.ts and framework to shared devtools folder
move framework enum and profile_types to a shared folder so it can be used by wiz

(cherry picked from commit 34e1fe235f)
2025-11-19 23:22:53 +00:00
Ben Hong dff1233cc1 docs: add signal forms validation guide 2025-11-19 15:18:16 -08:00
Angular Robot e0026c870a build: update cross-repo angular dependencies
See associated pull request for more information.
2025-11-19 15:08:39 -08:00
Joey Perrott 6ead2ce995 build: fix lockfile
Fix the missing lockfile entries
2025-11-19 15:08:06 -08:00
Ben Hong ac54791140 docs: add redirect for angular overview
(cherry picked from commit 4771dc9cf7)
2025-11-19 22:52:42 +00:00
SkyZeroZx cb15142190 docs: Adds documentation for generic type argument to SimpleChanges
(cherry picked from commit e9ba63a4c1)
2025-11-19 22:31:57 +00:00
Joey Perrott a877e8abaa build: update to latest ng-dev tooling for caretaker handoff update
Update to the latest tooling to upate how caretaker handoff is handled, using new standardized groupings

(cherry picked from commit 0bb09dc5ba)
2025-11-19 22:30:20 +00:00
Shuaib Hasan Akib 35dc3ecfda refactor(common): update examples to align with Angular best practices
Updated examples to use the standalone component approach and the latest

(cherry picked from commit c7affdfbc9)
2025-11-19 22:29:53 +00:00
Kristiyan Kostadinov cc1ec09931 perf(core): avoid repeat searches for field directive
The `getControlDirective` is called multiple times, both at init and during each update run. Under the hood it performs a linear search for the `Field` directive.

We can speed this up by finding its index once and reusing it since the array of directive matches is static.

(cherry picked from commit 5e6d8573f4)
2025-11-19 22:28:59 +00:00
Kristiyan Kostadinov 279824c953 refactor(compiler): remove interpolation-related symbols
We removed the ability to customize the interpolation some time ago. These changes remove the remaining code related to them.

(cherry picked from commit 81ce1ba1d9)
2025-11-19 22:28:23 +00:00
Kristiyan Kostadinov 00531864e0 refactor(compiler): remove container blocks config
Removes the ability to specify container blocks when creating an i18n parser. We were only passing in `switch` and it likely won't change.

(cherry picked from commit b6c141bf8b)
2025-11-19 22:28:23 +00:00
Miles Malerba de5fca94c5 fix(forms): run reset as untracked
Run the signal forms `reset()` as untracked so it does not trigger
`effect` to rerun when the model changes

Fixes https://github.com/angular/angular/issues/65322

(cherry picked from commit 7ddf4a6b07)
2025-11-19 22:27:55 +00:00
Alan Agius 47fc721202 refactor: improve release process instructions and vsce login handling
This commit introduces several improvements to the release process:

- Adds a clear warning and instructions to test the extension before merging the release PR
- Removes the explicit `vsce login` command.

(cherry picked from commit 22ad71d752)
2025-11-19 22:22:48 +00:00
Cheng-Hsuan Tsai d9017a4fcc docs: update aria overview page
(cherry picked from commit d2fe8674f1)
2025-11-19 22:11:23 +00:00
Alessio Pelliccione 404e90dd29 docs: add style binding example to style guide
Adds a parallel example for style bindings alongside the existing class binding example, demonstrating the preferred syntax of [style.property] and [style] over [ngStyle] directive.

(cherry picked from commit 7e5fca2608)
2025-11-19 22:09:50 +00:00
Alan Agius 2a38387466 docs: add release document
Adds the initial documentation for the VSCode Angular Language Service release.
2025-11-19 14:08:36 -08:00
Alan Agius f88e950f65 build: add vsce script
Adds a "vsce" script to package.json to facilitate easier VSCE packaging.
2025-11-19 14:08:36 -08:00