175Component with undefined changeDetection property are now OnPush by default. Specify changeDetection: ChangeDetectionStrategy.Eager to keep the previous behavior.
179ComponentFactoryResolver and ComponentFactory are no longer available. Pass the component class directly to APIs that previously required a factory, such as ViewContainerRef.createComponent or use the standalone createComponentFunction.
| [](https://github.com/angular/angular/commit/e850643b1b8dca8cfdc12705be51441197cd987a) | Support comments in html element. |
| [](https://github.com/angular/angular/commit/b225a5d902f0ee1f6f68cde42266748cb1f2b1f8) | invalid type checking code if field name needs to be quoted |
| [](https://github.com/angular/angular/commit/ab9154ab75bdd36759c77917216b57285b243ea4) | normalize tag names with custom namespaces in DomElementSchemaRegistry (#68868) |
| [](https://github.com/angular/angular/commit/8a1533c9ad7c306e03d7c50676f87b56bade5bf6) | preserve leading commas in animation definitions |
| [](https://github.com/angular/angular/commit/194f723f6620ea3cdf490b762ecbef8df6bb2c8a) | remove dedicated support for legacy shadow DOM selectors |
| [](https://github.com/angular/angular/commit/6ff620a03364d6ab60cea47de942a04ec5a26c50) | sanitize dynamic href and xlink:href bindings on SVG a elements (#68868) |
| [](https://github.com/angular/angular/commit/7dc1017e517c077a6aa8fd749392a2af1277e1b7) | simplify handling of colon host with a selector list |
| [](https://github.com/angular/angular/commit/d99ab0e0400d256021d6cc601e2a6e16f784a406) | stop generating unused field |
| [](https://github.com/angular/angular/commit/03db2aefaa88bc73b6af6ed1c9c722b65079ab3b) | throw on duplicate input/outputs |
| [](https://github.com/angular/angular/commit/786ef8261f4faca0693ef73938d3a6275b5baf7f) | throw on invalid in expressions |
| [](https://github.com/angular/angular/commit/ccb7d427e4f07506c14c50ce0cbe87c57930ebb5) | type check invalid for loops |
### compiler-cli
| Commit | Description |
| -- | -- |
| [](https://github.com/angular/angular/commit/b8d3f36ed962bd4f5abd6bf6e55078b56ce9fffa) | add support for Node.js 26.0.0 |
| [](https://github.com/angular/angular/commit/7f9450219f5c30d1ce0a90061864e8c844c8807c) | Adds warning for prefetch without main defer trigger |
| [](https://github.com/angular/angular/commit/2eae497a04a6a9b34397181dcd64dbd103f76c47) | support external TCBs with copied content in specific mode |
| [](https://github.com/angular/angular/commit/e5f96c2d8813f95c91761ae3080065575ca3b536) | animation events not type checked properly when bound through HostListener decorator |
| [](https://github.com/angular/angular/commit/9218140348cb2e3ad301c1e7f37db4b0cdad4f9d) | resolve TCB mapping failure for safe property reads with as any |
| [](https://github.com/angular/angular/commit/444b024d49725afc8b40aec67cfdb63a1f7f23ea) | Add a `injectAsync` helper function |
| [](https://github.com/angular/angular/commit/3bc095d508653982a48b337afd51bfedbbde1f87) | Add a schematics to migrate `provideHttpClient` to keep using the `HttpXhrBackend` implementation. |
| [](https://github.com/angular/angular/commit/5a7c1e62dc2a4fa199b85150eca66914c107a6f4) | add ability to cache resources for SSR |
| [](https://github.com/angular/angular/commit/cb4cb77053a817fe800af6395783720761e29ada) | Add migration to add `ChangeDetectionStrategy.Eager` where applicable |
| [](https://github.com/angular/angular/commit/2206efa55fc1de160333d62680f8893c47525335) | add special return statuses for resource params |
| [](https://github.com/angular/angular/commit/8fe025f5149d7eb460e784a5a17bb467f85b9080) | drop support for TypeScript 5.9 |
| [](https://github.com/angular/angular/commit/a5981b83a60577d9068d2429bcbed969edca581b) | support customization of @defer's on idle behavior |
| [](https://github.com/angular/angular/commit/98eb24cea0498382cc7cf7d7b85cd9ead5ad99ad) | Support optional timeout for idle deferred triggers |
| [](https://github.com/angular/angular/commit/9f479ae9641a5c928f8eeab9c7846245002b3eff) | Update Testability to use PendingTasks for stability indicator |
| [](https://github.com/angular/angular/commit/8ebae1de330729f945391283e25661aada11b4ed) | allow service with factory on abstract classes |
| [](https://github.com/angular/angular/commit/f9d8da69243ae1cd0eb1ab197fdd80e9a34107c1) | bind global context to idle callback shims in @defer's idle service |
| [](https://github.com/angular/angular/commit/61a48e99aad1152e9ffb2fd0b4e1b472f06649e8) | do not register dom triggers when defer blocks are in manual mode |
| [](https://github.com/angular/angular/commit/49748b5c7989b4e27686798ea7935e87d804eece) | enforce return type for service factory |
| [](https://github.com/angular/angular/commit/50e599e73ec5bb8f483e749d76fff579e33b1670) | lazy-initialize debounced state to prevent computation cycle |
| [](https://github.com/angular/angular/commit/7aad302c3ee6e9c711ab10ae0a9e8bc66d35291c) | mark service decorator as stable |
| [](https://github.com/angular/angular/commit/a08e4fb93c371252da16b3b22cbf78f4ac180fa2) | normalize tag names in runtime i18n attribute security context lookup (#68868) |
| [](https://github.com/angular/angular/commit/b20f0fe07820362f7e3bddb892a2a229a820a028) | prevent rxResource from leaking a subscription |
| [](https://github.com/angular/angular/commit/22f8b0a500807e69b323378b843465a949e08abf) | resolver function not matching expected type |
| [](https://github.com/angular/angular/commit/88d138ccc84b839784f59575fddcda3fcaf18d35) | support prefix-insensitive DOM schema lookups and compile-time i18n attribute validation |
| [](https://github.com/angular/angular/commit/69fb1614eff6e40bb7dcca81f275ac32b9cbd28a) | remove `checkNoChanges` from the public API. |
| [](https://github.com/angular/angular/commit/9d76ac82290e047f1481fb38bd95233e951a77de) | remove ComponentFactoryResolver & ComponentFactory from the api surface |
| [](https://github.com/angular/angular/commit/b1f5181ffd8e9906affd486d9e2f655eb144f175) | remove ComponentFactoryResolver & ComponentFactory from the api surface"" |
### forms
| Commit | Description |
| -- | -- |
| [](https://github.com/angular/angular/commit/74f76d8075d03b1271aef37b974c9e15f9c7d3af) | add `reloadValidation` to Signal Forms to manually trigger async validation |
| [](https://github.com/angular/angular/commit/24e52d450d201e3da90bb64f84358f9eccd7877d) | add debounce option to validateAsync and validateHttp |
| [](https://github.com/angular/angular/commit/7745365910771d97c91e9b640c2c26a99bfa5a6d) | graduate signal forms APIs to public API |
| [](https://github.com/angular/angular/commit/f9f24fc6699b762d17127d0412343041ecdea70e) | shim legacy NG_VALIDATORS into parseErrors for CVA mode (#67943) |
| [](https://github.com/angular/angular/commit/41b1410cb8a333a2ce6569483cd10866effc154d) | support binding `number|null` to `<input type="text">` |
| [](https://github.com/angular/angular/commit/3983080236e348ecc17ab4e65a6a5cc0a16aa315) | support ngNoCva as an opt-out for ControlValueAccessors |
| [](https://github.com/angular/angular/commit/c4ce3f345fdb14595f0991dff488c4043a0fc71c) | template & reactive support for FVC |
| [](https://github.com/angular/angular/commit/3524de29f34bef5df941e08e88920dffe4f880c8) | Add support for range type with outside of native bounds |
| [](https://github.com/angular/angular/commit/de56d74da39178308b81a2d94c8eb4488cb0cbab) | align FormField CVA selection priority with standard forms |
| [](https://github.com/angular/angular/commit/0eeb1b5f03395ea0ddb047790af4cf1440655a07) | allow `FormRoot` to be used without submission options (#67727) |
| [](https://github.com/angular/angular/commit/394ad0c2a26eec8a8f7136b1b7971420b30a117e) | allow late-bound input types for signals forms |
| [](https://github.com/angular/angular/commit/df8b020299b5e579956578d9137cab93a8065045) | clear native date inputs correctly in signal forms when changed via native UI |
| [](https://github.com/angular/angular/commit/0ea50ffe5adb07515867e8bf30d1abee49413003) | ensure debounced async validators produce pending status during debounce |
| [](https://github.com/angular/angular/commit/3c44d7c90b2392f7307d1b1dd0734db10ede63f5) | fix orphan field error on blur during array removal |
| [](https://github.com/angular/angular/commit/5835a5e3a73686473ad064f53f93d9d9acb541a6) | prevent orphan field crashes in debounceSync and async validation |
| [](https://github.com/angular/angular/commit/3e7ce0dafcf1c0b9ed7a8c528f7120f5c796a668) | restrict `SignalFormsConfig` to a readonly API |
| [](https://github.com/angular/angular/commit/fb166772d2e987c0145bdd5bbe83b2a29d74f31c) | split the `touched` model into an input and `touch` output |
| [](https://github.com/angular/angular/commit/83032e36059ad0fc61cde2ac26c1eb0cede14e8c) | support generic unions in signal form schemas |
| [](https://github.com/angular/angular/commit/68c3abbe09f1937081b83af3c7d82ed1a044974f) | synchronize controls with the model on reset |
| [](https://github.com/angular/angular/commit/2061fd8253882a46336aae8d73a79a1b176449e0) | Untrack `setValue` in reactive forms |
| [](https://github.com/angular/angular/commit/72d3ace03c1292ba9d6fdf7b418ba3287bf54316) | use controlValue in NgControl for CVA interop (#67943) |
| [](https://github.com/angular/angular/commit/3b4ef1e2ffa7f33583b9d6c5d927e2148a507921) | avoid redundant invalidations in parser errors signal |
| [](https://github.com/angular/angular/commit/98c5afdb02192f99c886fc3fda13ec6f39018f23) | lazily instantiate signal form fields |
| [](https://github.com/angular/angular/commit/e0536091f5f6c2033e377998eea3bf65b14f5ac6) | optimize reactivity by using shallow array equality |
| [](https://github.com/angular/angular/commit/9b9769479b295bf34bae9a938ee758a256bd4b32) | shortcut deepSignal writes if value is unchanged |
| [](https://github.com/angular/angular/commit/592a12d6c947a0210020b00fd98ffa9fdaca2c20) | remove string support from min and max validation rules (#68001) |
### http
| Commit | Description |
| -- | -- |
| [](https://github.com/angular/angular/commit/5c432fb8bb69343ef2633811c37c0c6c0fd65126) | Use `FetchBackend` as default for the `HttpBackend` implementation |
| [](https://github.com/angular/angular/commit/f7b3ed8db28c69ee0de9144465da351bda7e85e4) | Introduce a max buffer size for fetch requests on SSR |
| [](https://github.com/angular/angular/commit/e6cfaf567256f5e89903f6b5625540e5a4a3bde3) | prevent `httpResource` from leaking a subscription |
| [](https://github.com/angular/angular/commit/cfd0f9950c08324e1c56f16d98a2e3081feeda58) | add Document Symbols support for Angular templates |
| [](https://github.com/angular/angular/commit/c6f98c723cdd2c209092927855f8cbaf63ecce30) | Add support for idle timeout in defer blocks |
| [](https://github.com/angular/angular/commit/dc9c72da9b4ca499eebf6e78d7ccc31ea6f63580) | Add support for `@Input` with transforms |
| [](https://github.com/angular/angular/commit/682aaf943fea3d99f9f834b0bad4d165b4b28071) | add strictTemplates to tsconfig during ng update |
| [](https://github.com/angular/angular/commit/6a435658e25f9c81ddeaaa72d9c9694fc02bbef1) | Disabling nullishCoalescingNotNullable & optionalChainNotNullable on ng update |
| [](https://github.com/angular/angular/commit/8f8972b0fdea2020800e7df5c6d85938602cb7e7) | model + output migrations |
- This change will trigger the `nullishCoalescingNotNullable` and `optionalChainNotNullable` diagnostics on exisiting projects.
You might want to disable those 2 diagnotiscs in your `tsconfig` temporarily.
- data prefixed attribute no-longer bind inputs nor outputs.
- The compiler will throw when there a when inputs, outputs or model are binding to the same input/outputs.
- `in` variables will throw in template expressions.
### compiler-cli
- Elements with multiple matching selectors will now throw at compile time.
### core
- The second arguement of appRef.bootstrap does not accept `any` anymore. Make sure the element you pass is not nullable.
- * TypeScript versions older than 6.0 are no longer supported.
- Leave animations are no longer limited to the element being removed.
- Component with undefined `changeDetection` property are now `OnPush` by default. Specify `changeDetection: ChangeDetectionStrategy.Eager` to keep the previous behavior.
- `ChangeDetectorRef.checkNoChanges` was removed. In tests use `fixture.detectChanges()` instead.
- `createNgModuleRef` was removed, use `createNgModule` instead
- `ComponentFactoryResolver` and `ComponentFactory` are no longer available. Pass the component class directly to APIs that previously required a factory, such as `ViewContainerRef.createComponent` or use the standalone `createComponentFunction`.
- `ComponentFactoryResolver` and `ComponentFactory` are no longer available. Pass the component class directly to APIs that previously required a factory, such as `ViewContainerRef.createComponent` or use the standalone `createComponent` function.
- `stream` `Resource` (which includes `rxResource`) are now resolving the value synchronously if the stream/observable returns a value sychronously. This can break some tests that assumed an asynchronous resolution of the value.
### forms
- `min` and `max` validation rules no longer support
string values. Bound values must be numbers or null.
### http
- Use the `HttpXhrBackend` with `provideHttpClient(withXhr)` if you want to keep supporting upload progress reports.
### 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 leveraging `ViewEncapsulation.Emulated` or if those styles are used by elements outside of Angular, potentially causing other DOM to appear unstyled.
- Hammer.js integration has been removed. Use your own implementation.
### router
- The return type for `TitleStrategy.getResolvedTitleForRoute`
was previously 'any' while the actual return type could only be either `string`
or `undefined`. The return type now reflects the possible values correctly.
Code that reads the value may need to be adjusted.
(cherry picked from commit ad37f52c1212164c51ffcc533067af05c2c33c89)
- The `currentSnapshot` parameter in `CanMatchFn` and the `canMatch` method of the `CanMatch` interface is now required. While this was already the behavior of the Router at runtime, existing class implementations of `CanMatch` must now include the third argument to satisfy the interface.
- paramsInheritanceStrategy now defaults to 'always'
The default value of paramsInheritanceStrategy has been changed from 'emptyOnly' to 'always'. This means that route parameters are inherited from all parent routes by default. To restore the previous behavior, set paramsInheritanceStrategy to 'emptyOnly' in your router configuration.
- `provideRoutes()` has been removed. Use `provideRouter()` or `ROUTES` as multi token if necessary.
### upgrade
- Deprecated `getAngularLib`/`setAngularLib` have been removed use `getAngularJSGlobal`/`setAngularJSGlobal` instead.
## Deprecations
### http
- `withFetch` is now deprecated, it can be safely removed.
- The `reportProgress` option is deprecated please use `reportUploadProgress` & `reportDownloadProgress` instead.