Commit Graph

2510 Commits

Author SHA1 Message Date
Angular Robot 0007723a03 build: update cross-repo angular dependencies
See associated pull request for more information.
2026-03-25 13:32:59 -07:00
Michael Small 89629d8ac1 docs(forms): replace rxResource request w/ params 2026-03-25 13:04:52 -07:00
Matthieu Riegler 1938054f34 docs(docs-infra): remove explicit OnPush 2026-03-25 12:58:39 -07:00
Kristiyan Kostadinov 9ee4f83705 build: update to TypeScript 6 stable
Updates the repo to the stable version of TypeScript 6.
2026-03-25 12:57:49 -07:00
Alan Agius 6f20fb513c docs: reword allowedHosts security warning
Update the allowedHosts security warning in the security guide to remove the mention of DNS rebinding, which is primarily relevant for the dev server, and refocus on host header injection and SSRF. Additionally, clarify that allowing all hosts with "*" is only appropriate when header validation is handled by an external layer.
2026-03-25 12:56:42 -07:00
guidettj 050b14bd7f docs: fix incorrect getHarnesses() method to getAllHarnesses and broken link 2026-03-24 15:35:32 -07:00
SkyZeroZx 098553bfe4 docs: update defer section to Markdown and fix absolute URL to relative in adev 2026-03-24 15:34:57 -07:00
hawkgs 78c2d0aa19 docs(docs-infra): redefine /guide/pipes redirect
Update the definition of the `/guide/pipes` redirect in order to avoid breaking the `a.dev/guide` redirect to Not Found page.
2026-03-24 15:17:11 -07:00
Fausto Davila c9f7a7f649 docs: fix typo in end-to-end.md regarding e2e command 2026-03-24 15:15:10 -07:00
Jens Kuehlers b4ae9cf040 docs: update release date to not clash with Google I/O 2026 2026-03-24 15:14:34 -07:00
Angular Robot 1533242577 build: lock file maintenance
See associated pull request for more information.
2026-03-24 15:08:28 -07:00
weedorflow 37b1c5d0fe docs: clarify size budget configuration 2026-03-24 14:49:34 -07:00
SkyZeroZx 5879f310b4 docs: Update docs with ComponentInputBindingOptions 2026-03-24 14:48:52 -07:00
Matthieu Riegler 8bc31a515f feat(core): Allow other expression for exhaustive typechecking
When the switched expression is nested within a union, exhaustive typechecking needs to know which expression to check.
This change adds the possibility of specifying the expression to check:

```
@Component({
  selector: 'app-root',
  imports: [],
  template: `
    @switch (state.mode) {
      @case ('show') { {{ state.menu }}; }
      @case ('hide') {}
      @default never(state);
    }
  `,
  changeDetection: ChangeDetectionStrategy.OnPush,
})
export class App {
  state!: { mode: 'hide' } | { mode: 'show'; menu: number };;
}
```

fixes #67406
2026-03-24 14:42:28 -07:00
SkyZeroZx 946f4eacfe docs(docs-infra): remove redundant provide http and zoneless providers
Removes `provideHttpClient(withFetch())` and `provideZonelessChangeDetection()` from the root config since both are already provided by default
2026-03-23 14:48:02 -07:00
SkyZeroZx 6d2eed61a1 docs(docs-infra): fix aria-label parsing breaking headings
Strip all HTML tags and escape quotes in aria-label to avoid breakage
2026-03-23 10:33:15 -07:00
SkyZeroZx ad3991cd0b docs(docs-infra): replace non-interactive buttons with spans
These elements are not interactive, so using <button> is misleading for accessibility
(screen readers and keyboard navigation expect an action).
2026-03-23 10:24:08 -07:00
Angular Robot eb5bb93195 docs: update cross-repo adev docs
Updated Angular adev cross repo docs files.
2026-03-20 15:46:34 -07:00
Angular Robot 275a436a33 build: lock file maintenance
See associated pull request for more information.
2026-03-20 15:11:24 -07:00
SkyZeroZx dacd357016 docs: add documentation for NG8023 2026-03-19 16:12:02 -07:00
Jaime Burgos eb53392b10 docs(forms): add section on managing validators dynamically in form validation guide 2026-03-19 16:07:50 -07:00
Angular Robot f7f6f8d8fc build: update all non-major dependencies
See associated pull request for more information.
2026-03-19 16:05:08 -07:00
Alex Rickabaugh 74f76d8075 feat(forms): add reloadValidation to Signal Forms to manually trigger async validation
This commit introduces a formal mechanism to manually re-trigger
asynchronous validations in Signal Forms, addressing #66994.

It exposes a `reloadValidation` method on the `FieldState` interface
that recursively cascades down the form tree and invokes the underlying
`ResourceRef`'s `reload()` method for any metadata keys tagged with the
internal `IS_ASYNC_VALIDATION_RESOURCE` symbol.

Fixes #66994
2026-03-19 15:22:13 -07:00
Angular Robot c9e6263e0e build: update cross-repo angular dependencies
See associated pull request for more information.
2026-03-19 15:04:54 -07:00
Matthieu Riegler cc07d46e49 docs(docs-infra): fix deprecation style for light theme 2026-03-19 15:00:27 -07:00
Angular Robot f02be58aa9 docs: update cross-repo adev docs
Updated Angular adev cross repo docs files.
2026-03-18 14:07:06 -06:00
SkyZeroZx a8bf957086 docs: update import and note formatting in guides 2026-03-18 14:04:17 -06:00
SkyZeroZx b72a040eca docs(docs-infra): improve semantic HTML in update guide
Improves update guide's semantic HTML
2026-03-18 09:33:17 -06:00
Alan Agius d0086e493b docs: clarify X-Forwarded-Prefix header validation rules 2026-03-17 13:50:11 -06:00
Angular Robot d1cd6dfcd4 docs: update cross-repo adev docs
Updated Angular adev cross repo docs files.
2026-03-16 14:46:15 -06:00
Angular Robot 5e21431ba3 docs: update cross-repo adev docs
Updated Angular adev cross repo docs files.
2026-03-16 12:25:12 -06:00
Angular Robot 4bbcf9f426 build: update dependency jsdom to v29
See associated pull request for more information.
2026-03-16 10:53:07 -06:00
SkyZeroZx 3720b2de0f docs(docs-infra): add spacing between reference option and description
Add a spacing class to `docs-reference-option` to prevent the text from appearing too close together.
2026-03-16 10:00:46 -06:00
Akash Patel b9ff865b49 docs: update uninstallation commands for Karma packages
Added 'jasmine-core' to the list of packages to uninstall when migrating to Vitest.
2026-03-16 09:59:34 -06:00
SkyZeroZx acd6f690bd docs: fix type code block language
fix type code block language
2026-03-16 09:59:08 -06:00
guidettj 7d483f28a4 docs: use lighter lodash isEqual import in equality example 2026-03-16 09:58:40 -06:00
Angular Robot ada150c693 build: update cross-repo angular dependencies
See associated pull request for more information.
2026-03-13 16:26:41 -06:00
ibrahim-hussien-dev e127927807 docs: combine multiple documentation typo fixes 2026-03-13 13:10:55 -06:00
Alan Agius e8cfa44b10 refactor: ensure modules with 'declare global' are correctly handled by Rollup
Explicitly adding an `export {}` to modules containing declare global fixes an issue where Rollup would incorrectly claim that the global variable is not defined in the emitted .d.ts files.

Needed to land the latest rules_angular.
2026-03-13 13:07:28 -06:00
SkyZeroZx 7cd474d1d6 docs(docs-infra): remove tap highlight for API reference list filter
Prevents the default translucent highlight from appearing on touch devices when interacting with the API reference list filter.
2026-03-13 13:04:03 -06:00
Angular Robot a92949421f docs: update cross-repo adev docs
Updated Angular adev cross repo docs files.
2026-03-12 16:10:11 -06:00
Angular Robot 81d0807242 build: update all non-major dependencies
See associated pull request for more information.
2026-03-12 16:08:35 -06:00
Matthieu Riegler a38497756a build: update mermaid to 11.13.0
partial takeover of #67637
2026-03-12 14:51:09 -06:00
wokis 3d25953e69 docs: document coverageExclude option for excluding files from coverage 2026-03-11 14:31:06 -07:00
Jon Snow 88235a0d12 docs(forms): clarify zoneless change detection for reactive FormArray updates
Document that reactive forms model mutations such as FormArray.push() do not schedule component change detection in zoneless applications and show the recommended ways to notify Angular.

Fixes #65536
2026-03-11 14:13:17 -07:00
Alan Agius 667219230a test: remove duplicate tests (#67518)
These tests are duplicate and have been removed.

PR Close #67518
2026-03-11 13:37:33 -07:00
Alan Agius 4febb8ad31 build: update aspect_rules_js to 3.0.2 (#67518)
This updates the major version of `aspect_rules_js`.

PR Close #67518
2026-03-11 13:37:33 -07:00
Angular Robot 4c532bdfb4 build: lock file maintenance
See associated pull request for more information.
2026-03-11 10:08:58 -07:00
Thomas Willberger eafce6ed09 docs: remove duplicate aria-hidden attribute in angular aria ngTree example 2026-03-11 10:03:09 -07:00
Angular Robot 48d9b4b2d8 docs: update cross-repo adev docs
Updated Angular adev cross repo docs files.
2026-03-11 09:56:36 -07:00