36240 Commits

Author SHA1 Message Date
SkyZeroZx 46269be842 feat(docs-infra): add docs-image extension for enhanced image handling in markdown
Extends the Markdown parser to support `loading`, `decoding`, and `fetchpriority` attributes for images via curly brace syntax.
2025-11-21 13:24:59 -05:00
Shuaib Hasan Akib 6f1329f34a docs: format example code blocks for consistency and readability 2025-11-21 13:24:23 -05:00
Joey Perrott f61e61ac4f refactor(docs-infra): remove the multiple code example view modes
Rather than using multiple view modes for code examples, we can just treat the previous snippet mode as
as multifile mode that just only has one file in it.
2025-11-21 13:22:00 -05:00
Joey Perrott 88753d6a5a refactor(docs-infra): improve code efficiency for adding line numbers
Only run the code for adding line numbers if line numbers are required, otherwise skip the code block
2025-11-21 13:20:46 -05:00
Joey Perrott a873c4eb1a refactor(docs-infra): remove the unnecessary whitespace using shiki
Use a transformer within shiki to remove the unnecessary whitespace between code lines
2025-11-21 13:20:46 -05:00
Joey Perrott 8ec0a4ee5c refactor(docs-infra): drop support for providing a file diff in docs-code
Drop support for exposing a diff view in the docs-code element as it is unused and costly to even check for
2025-11-21 13:20:46 -05:00
Joey Perrott fee79e37d5 refactor(docs-infra): use shiki for highlighting
Use shiki to perform highlighting instead of a postprocessing action
2025-11-21 13:20:46 -05:00
Joey Perrott a8f46e598a fix(docs-infra): link to the snippet location at the proper commit for examples
Within examples, we now link to the github URL using the commit that was made to create adev, rather than
always on main, which may change over time.
2025-11-21 13:19:53 -05:00
Shuaib Hasan Akib 9565938534 docs: format example code blocks for consistency and readability and keep only file name in header 2025-11-21 13:17:17 -05:00
Shuaib Hasan Akib 34fa11ec9d docs: clarify strictInputAccessModifiers applies to both input types
Update the strictInputAccessModifiers documentation to clarify that:
- The flag applies to both @Input() decorator and input() signal-based inputs
- The checking only applies to inputs, not outputs
- format interface with fenced block

Fixes docs part of #65243
2025-11-21 13:16:08 -05:00
SkyZeroZx 1672493d1a docs(docs-infra): update syntax highlighting for inline templates in decorators
Updates syntax highlighting rules to properly handle inline templates defined within decorators, improving readability and consistency in code examples
2025-11-21 13:14:53 -05:00
Shuaib Hasan Akib aafc8e75a1 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
2025-11-21 13:14:10 -05:00
Angular Robot 364ea11e9d build: update bazel dependencies
See associated pull request for more information.
2025-11-21 13:12:04 -05:00
Ben Hong 8f346ad070 docs: move aria tabs into content organization category 2025-11-21 12:25:36 -05:00
voi99 5685e3879c docs(forms): update error class to error-list in signal forms example 2025-11-21 12:23:49 -05:00
Shuaib Hasan Akib f825547353 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.
2025-11-21 12:23:27 -05:00
Angular Robot 200c9d94ff build: update all github actions to v6
See associated pull request for more information.
2025-11-21 12:23:04 -05:00
Alan Agius 74405c7e7a 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
2025-11-21 12:22:20 -05:00
Syam Gadde 1628125bcb 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").
2025-11-21 11:38:57 -05:00
Shuaib Hasan Akib 68f5ceeb46 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
2025-11-21 10:55:52 -05:00
Ben Hong b7d91a796b docs: iterate on signal forms essentials guide 2025-11-21 10:48:01 -05:00
Shuaib Hasan Akib cea19803d8 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.
2025-11-21 10:18:36 -05:00
Alessio Pelliccione 2ddf26e699 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.
2025-11-20 19:21:32 -05:00
SkyZeroZx 889afe9aa2 docs: updates code block language tags in signal forms 2025-11-20 19:20:30 -05:00
Raxabi ee57b0f2fa docs: Fix missing single quote in the first navigateByUrl example. 2025-11-20 19:19:43 -05:00
marktechson c4722820e7 docs: fix update guide typo
The update from 20 to 21 featured the wrong number, this fixes that
2025-11-20 19:19:17 -05:00
Andrew Scott 1ab461c846 refactor(router): Store route injector on ActivatedRoute instance
This eliminates the need to pass around the EnvironmentInjector
everywhere we need the injection context for a route.
2025-11-20 17:05:10 -05:00
Andrew Scott c25d749d85 feat(router): Execute RunGuardsAndResolvers function in injection context
Allows more sophisticated checks based on information available in DI
(e.g. the router state). Use-cases have been described in #53944 / https://github.com/angular/angular/issues/31843#issuecomment-1890955590

resolves #53944
2025-11-20 17:05:10 -05:00
Alan Agius 1a094ddb2b 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`.
2025-11-20 17:03:15 -05:00
Doug Parker 2ecdb221d3 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.
2025-11-20 16:47:27 -05:00
Johannes Hoppe 11da7a65c0 docs(core): remove outdated regex template restriction in best-practices.md
Regular expressions in templates are now supported as of Angular 21.
2025-11-20 16:42:52 -05:00
Charles Lyding 396c25ef5a 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.
2025-11-20 15:00:24 -05:00
Angular Robot 5ddeafced7 docs: update cross-repo adev docs
Updated Angular adev cross repo docs files.
2025-11-20 14:27:51 -05:00
Devin Chasanoff b8fa9cc7d5 docs: add v21 event game 2025-11-20 13:27:46 -05:00
Ben Hong be6f2f066f docs: consolidate patterns and iterate on conclusion for angular aria overview 2025-11-20 12:38:19 -05:00
JoostK 913cde8ab4 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.
2025-11-20 12:29:59 -05:00
JoostK 3760045e3e 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
2025-11-20 12:29:59 -05:00
kirjs bea7358225 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.
2025-11-20 12:26:21 -05:00
marktechson 183d194025 docs: add 20 to 21 update guide 2025-11-20 11:46:46 -05:00
Wagner Maciel 29185a864f docs: fix standlone menu overlay 2025-11-20 11:20:37 -05:00
David Kingma 0812ac3bec 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.
2025-11-20 10:49:50 -05:00
Charles Lyding 80202bffee 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.
2025-11-20 10:47:34 -05:00
Alessio Pelliccione 42c05650ff 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
2025-11-20 10:47:12 -05:00
Ben Hong fc2e414262 docs: add signal forms custom controls guide
Co-authored-by: Leon Senft <leonsenft@users.noreply.github.com>

docs: add signal forms custom controls guide
2025-11-20 10:34:58 -05:00
marktechson 890414245f docs: adds a link to the signal forms example 2025-11-19 16:41:02 -08:00
Charles e77fb1fb14 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`.
2025-11-19 16:40:35 -08:00
tsc036 34e1fe235f 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
2025-11-19 15:22:49 -08:00
Angular Robot 4c31f8ebf4 build: update cross-repo angular dependencies
See associated pull request for more information.
2025-11-19 15:00:49 -08:00
Ben Hong 38f4ea1ea8 docs: add signal forms validation guide 2025-11-19 14:53:01 -08:00
Ben Hong 4771dc9cf7 docs: add redirect for angular overview 2025-11-19 14:52:39 -08:00