Releases: angular/angular
Releases Β· angular/angular
22.0.0-next.8
compiler
| Commit | Description |
|---|---|
| allow safe navigation to correctly narrow down nullables | |
| don't escape dollar sign in literal expression |
compiler-cli
| Commit | Description |
|---|---|
| animation events not type checked properly when bound through HostListener decorator |
core
forms
| Commit | Description |
|---|---|
| shim legacy NG_VALIDATORS into parseErrors for CVA mode (#67943) | |
| use controlValue in NgControl for CVA interop (#67943) |
http
| Commit | Description |
|---|---|
| add CSP nonce support to JsonpClientBackend | |
| Don't on Passthru outside of reactive context |
migrations
| Commit | Description |
|---|---|
| Disabling nullishCoalescingNotNullable & optionalChainNotNullable on ng update | |
| Fix typo for strict-template migration |
platform-browser
| Commit | Description |
|---|---|
| make incremental hydration default behavior |
platform-server
| Commit | Description |
|---|---|
| prevent SSRF bypasses via protocol-relative and backslash URLs |
router
| Commit | Description |
|---|---|
| normalize multiple leading slashes in URL parser |
service-worker
| Commit | Description |
|---|---|
| resolve TS 6.0 compatibility for messageerror listener |
Breaking Changes
compiler
- This change will trigger the
nullishCoalescingNotNullableandoptionalChainNotNullablediagnostics on exisiting projects.
You might want to disable those 2 diagnotiscs in yourtsconfigtemporarily.
21.2.9
core
| Commit | Description |
|---|---|
| escape forward slashes in transfer state to prevent crawler indexing |
http
| Commit | Description |
|---|---|
| add CSP nonce support to JsonpClientBackend | |
| Don't on Passthru outside of reactive context |
platform-server
| Commit | Description |
|---|---|
| prevent SSRF bypasses via protocol-relative and backslash URLs |
router
| Commit | Description |
|---|---|
| normalize multiple leading slashes in URL parser |
20.3.19
19.2.21
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 |