-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Comparing changes
Open a pull request
base repository: angular/angular
base: main@{1day}
head repository: angular/angular
compare: main
- 15 commits
- 193 files changed
- 10 contributors
Commits on Mar 24, 2026
-
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
Configuration menu - View commit details
-
Copy full SHA for 8bc31a5 - Browse repository at this point
Copy the full SHA 8bc31a5View commit details -
refactor(router): expose
ComponentInputBindingOptionsin public APIExpose `ComponentInputBindingOptions` as part of the public API
Configuration menu - View commit details
-
Copy full SHA for 1782114 - Browse repository at this point
Copy the full SHA 1782114View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5879f31 - Browse repository at this point
Copy the full SHA 5879f31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37b1c5d - Browse repository at this point
Copy the full SHA 37b1c5dView commit details -
fix(forms): change FieldState optional properties to non-optional | u…
…ndefined This improves compatibility with TypeScript's exactOptionalPropertyTypes. Fixes #67246
Configuration menu - View commit details
-
Copy full SHA for ee8d209 - Browse repository at this point
Copy the full SHA ee8d209View commit details -
feat(forms): add FieldState.getError()
Added a `getError(kind: string)` method to `FieldState` that returns the first validation error of a given kind, or `undefined` if no such error exists. This method is reactive and will re-evaluate when errors change. Fixes #63905 Also updated public API goldens and added unit tests.
Configuration menu - View commit details
-
Copy full SHA for 709f5a3 - Browse repository at this point
Copy the full SHA 709f5a3View commit details -
See associated pull request for more information.
Configuration menu - View commit details
-
Copy full SHA for 1533242 - Browse repository at this point
Copy the full SHA 1533242View commit details -
build: update cross-repo angular dependencies
See associated pull request for more information.
Configuration menu - View commit details
-
Copy full SHA for 9192dfe - Browse repository at this point
Copy the full SHA 9192dfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4ae9cf - Browse repository at this point
Copy the full SHA b4ae9cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for c9f7a7f - Browse repository at this point
Copy the full SHA c9f7a7fView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 78c2d0a - Browse repository at this point
Copy the full SHA 78c2d0aView commit details -
refactor(core): expand input flags type
Expands the type for the input flags in definitions since the current one prevents some of the generated code from compiling.
Configuration menu - View commit details
-
Copy full SHA for d9712e6 - Browse repository at this point
Copy the full SHA d9712e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 098553b - Browse repository at this point
Copy the full SHA 098553bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 050b14b - Browse repository at this point
Copy the full SHA 050b14bView commit details -
feat(core): Set default Component changeDetection strategy to OnPush
The default change detection strategy is now OnPush. BREAKING CHANGE: Component with undefined `changeDetection` property are now `OnPush` by default. Specify `changeDetection: ChangeDetectionStrategy.Eager` to keep the previous behavior.
Configuration menu - View commit details
-
Copy full SHA for eae8f7e - Browse repository at this point
Copy the full SHA eae8f7eView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main@{1day}...main