Releases: angular/angular
Releases Β· angular/angular
22.0.0-next.7
compiler
| Commit | Description |
|---|---|
| handle nested brackets in host object bindings |
compiler-cli
| Commit | Description |
|---|---|
| Adds warning for prefetch without main defer trigger | |
| error for type parameter declarations | |
| resolve TCB mapping failure for safe property reads with as any |
core
forms
| Commit | Description |
|---|---|
| align FormField CVA selection priority with standard forms | |
| allow late-bound input types for signals forms | |
| deduplicate writeValue calls in CVA interop |
language-service
| Commit | Description |
|---|---|
| get quick info at local var location to align with TS semantics and support type narrowing |
migrations
| Commit | Description |
|---|---|
| Add migration for CanMatchFn snapshot parameter (#67452) |
platform-browser
| Commit | Description |
|---|---|
remove unused styles when associated host is dropped |
router
| Commit | Description |
|---|---|
| make currentSnapshot required in CanMatchFn (#67452) |
Breaking Changes
core
- The second arguement of appRef.bootstrap does not accept
anyanymore. Make sure the element you pass is not nullable. -
- TypeScript versions older than 6.0 are no longer supported.
ComponentFactoryResolverandComponentFactoryare no longer available. Pass the component class directly to APIs that previously required a factory, such asViewContainerRef.createComponentor use the standalonecreateComponentFunction.ComponentFactoryResolverandComponentFactoryare no longer available. Pass the component class directly to APIs that previously required a factory, such asViewContainerRef.createComponentor use the standalonecreateComponentfunction.
platform-browser
- This removes styles when they appear to no longer be used by an associated
host. However other DOM on the page may still be affected by those styles if not leveragingViewEncapsulation.Emulatedor if those styles are used by elements outside of Angular, potentially causing other DOM to appear unstyled.
router
- The
currentSnapshotparameter inCanMatchFnand thecanMatchmethod of theCanMatchinterface is now required. While this was already the behavior of the Router at runtime, existing class implementations ofCanMatchmust now include the third argument to satisfy the interface.
21.2.8
compiler
| Commit | Description |
|---|---|
| handle nested brackets in host object bindings |
compiler-cli
| Commit | Description |
|---|---|
| error for type parameter declarations |
core
| Commit | Description |
|---|---|
| handle missing serialized container hydration data | |
| remove obsolete iOS cursor pointer hack in event delegation |
language-service
| Commit | Description |
|---|---|
| get quick info at local var location to align with TS semantics and support type narrowing |
22.0.0-next.6
compiler
| Commit | Description |
|---|---|
| register SVG animation attributes in URL security context (#67797) |
compiler-cli
| Commit | Description |
|---|---|
| prevent recursive scope checks for invalid NgModule imports |
core
| Commit | Description |
|---|---|
| prevent binding unsafe attributes on SVG animation elements (#67797) | |
| resolve component import by exact specifier in route lazy-loading schematic | |
treat object[data] as resource URL context (#67797) |
localize
| Commit | Description |
|---|---|
| validate locale in getOutputPathFn to prevent path traversal |
migrations
| Commit | Description |
|---|---|
| add strictTemplates to tsconfig during ng update |
router
| Commit | Description |
|---|---|
| pass outlet context to split to fix empty path named outlets |
21.2.7
compiler
| Commit | Description |
|---|---|
| register SVG animation attributes in URL security context (#67797) |
compiler-cli
| Commit | Description |
|---|---|
| prevent recursive scope checks for invalid NgModule imports |
core
| Commit | Description |
|---|---|
| prevent binding unsafe attributes on SVG animation elements (#67797) | |
| resolve component import by exact specifier in route lazy-loading schematic | |
treat object[data] as resource URL context (#67797) |
localize
| Commit | Description |
|---|---|
| validate locale in getOutputPathFn to prevent path traversal |
router
| Commit | Description |
|---|---|
| pass outlet context to split to fix empty path named outlets |
22.0.0-next.5
common
| Commit | Description |
|---|---|
| avoid redundant image fetch on destroy with auto sizes |
compiler
| Commit | Description |
|---|---|
| Support comments in html element. | |
| abstract emitter producing incorrect code for dynamic imports | |
| prevent shimCssText from adding extra blank lines per CSS comment |
compiler-cli
| Commit | Description |
|---|---|
| introduce NG8023 compile-time diagnostic for duplicate selectors |
core
forms
| Commit | Description |
|---|---|
add reloadValidation to Signal Forms to manually trigger async validation |
|
| add debounce option to validateAsync and validateHttp | |
| add FieldState.getError() | |
| support binding `number | |
allow FormRoot to be used without submission options (#67727) |
|
| change FieldState optional properties to non-optional | |
| clear native date inputs correctly in signal forms when changed via native UI | |
| lazily instantiate signal form fields |
migrations
| Commit | Description |
|---|---|
| inject migration not work in multi-project workspace with option path |
platform-browser
| Commit | Description |
|---|---|
| remove Hammer integration |
Breaking Changes
compiler-cli
- Elements with multiple matching selectors will now throw at compile time.
core
- Component with undefined
changeDetectionproperty are nowOnPushby default. SpecifychangeDetection: ChangeDetectionStrategy.Eagerto keep the previous behavior.
platform-browser
- Hammer.js integration has been removed. Use your own implementation.
21.2.6
common
| Commit | Description |
|---|---|
| avoid redundant image fetch on destroy with auto sizes |
compiler
| Commit | Description |
|---|---|
| prevent shimCssText from adding extra blank lines per CSS comment |
core
| Commit | Description |
|---|---|
| fixes a regression with animate.leave and reordering |
migrations
| Commit | Description |
|---|---|
| inject migration not work in multi-project workspace with option path |
22.0.0-next.4
compiler
| Commit | Description |
|---|---|
| ensure generated code compiles | |
| parse named HTML entities containing digits | |
| stop generating unused field |
compiler-cli
| Commit | Description |
|---|---|
| escape template literal in TCB | |
| generic types not filled out correctly in type check block | |
| transform dropping exclamationToken from properties |
core
forms
| Commit | Description |
|---|---|
| support ngNoCva as an opt-out for ControlValueAccessors | |
| template & reactive support for FVC | |
| support generic unions in signal form schemas |
language-service
| Commit | Description |
|---|---|
| add Document Symbols support for Angular templates |
migrations
| Commit | Description |
|---|---|
| prevent trailing comma syntax errors after removing NgStyle |
router
| Commit | Description |
|---|---|
Add options optional parameter for withComponentInputBinding |
service-worker
| Commit | Description |
|---|---|
| preserve redirect policy on reconstructed asset requests |
Breaking Changes
core
- Leave animations are no longer limited to the element being removed.
ChangeDetectorRef.checkNoChangeswas removed. In tests usefixture.detectChanges()instead.
21.2.5
compiler
| Commit | Description |
|---|---|
| ensure generated code compiles | |
| parse named HTML entities containing digits |
compiler-cli
| Commit | Description |
|---|---|
| escape template literal in TCB | |
| generic types not filled out correctly in type check block |
core
| Commit | Description |
|---|---|
| clean up dehydrated views during HMR component replacement | |
| run linked signal equality check without reactive consumer |
migrations
| Commit | Description |
|---|---|
| prevent trailing comma syntax errors after removing NgStyle |
service-worker
| Commit | Description |
|---|---|
| preserve redirect policy on reconstructed asset requests |