Socket
Socket
Sign inDemoInstall

@angular/common

Package Overview
Dependencies
4
Maintainers
1
Versions
809
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
35
81Next

18.0.0-next.1

Diff

Changelog

Source

18.0.0-next.1 (2024-03-20)

Breaking Changes

platform-browser-dynamic

  • No longer used RESOURCE_CACHE_PROVIDER APIs have been removed.

platform-server

  • deprecated platformDynamicServer has been removed. Add an import @angular/compiler and replace the usage with platformServer

  • deprecated ServerTransferStateModule has been removed. TransferState can be use without providing this module.

  • deprecated useAbsoluteUrl and baseUrl been removed from PlatformConfig. Provide and absolute url instead.

  • Legacy handling or Node.js URL parsing has been removed from ServerPlatformLocation.

    The main differences are;

    • pathname is always suffixed with a /.
    • port is empty when http: protocol and port in url is 80
    • port is empty when https: protocol and port in url is 443

router

  • This change allows Route.redirectTo to be a function in addition to the previous string. Code which expects redirectTo to only be a string on Route objects will need to be adjusted.

compiler

| Commit | Type | Description | | -- | -- | -- | | 879bd80b57 | fix | capture data bindings for content projection purposes in blocks (#54876) |

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | 6aff144232 | fix | symbol feature detection for the compiler (#54711) |

core

| Commit | Type | Description | | -- | -- | -- | | 314112de99 | fix | Prevent markForCheck during change detection from causing infinite loops (#54900) |

platform-browser-dynamic

| Commit | Type | Description | | -- | -- | -- | | eb20c1a8b1 | refactor | unused RESOURCE_CACHE_PROVIDER API has been removed (#54875) |

platform-server

| Commit | Type | Description | | -- | -- | -- | | 07ac017731 | refactor | remove deprecated platformDynamicServer API (#54874) | | e8b588d8b7 | refactor | remove deprecated ServerTransferStateModule API (#54874) | | 3b1967ca64 | refactor | remove deprecated useAbsoluteUrl and baseUrl from PlatformConfig (#54874) | | 2357d3566c | refactor | remove legacy URL handling logic (#54874) |

router

| Commit | Type | Description | | -- | -- | -- | | 2b802587f2 | feat | Allow Route.redirectTo to be a function which returns a string or UrlTree (#52606) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="17.3.1"></a>

google-wombot
published 17.3.1 •

Changelog

Source

17.3.1 (2024-03-20)

compiler

| Commit | Type | Description | | -- | -- | -- | | c0788200e2 | fix | capture data bindings for content projection purposes in blocks (#54876) |

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | 99e9474aa2 | fix | symbol feature detection for the compiler (#54711) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="17.3.0"></a>

google-wombot
published 18.0.0-next.0 •

google-wombot
published 17.3.0 •

Changelog

Source

17.3.0 (2024-03-13)

compiler

| Commit | Type | Description | | -- | -- | -- | | 1a6beae8a2 | feat | Enable template pipeline by default. (#54571) | | f386a04c9d | fix | handle two-way bindings to signal-based template variables in instruction generation (#54714) | | 1f129f114e | fix | not catching for loop empty tracking expressions (#54772) |

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | 12dc4d074e | fix | account for as expression in docs extraction (#54414) | | da7fbb40f0 | fix | detect when the linker is working in unpublished angular and widen supported versions (#54439) | | 492e03f699 | fix | flag two-way bindings to non-signal values in templates (#54714) | | 5afa4f0ec1 | fix | support ModuleWithProviders literal detection with typeof (#54650) |

core

| Commit | Type | Description | | -- | -- | -- | | 331b16efd2 | feat | add API to inject attributes on the host node (#54604) | | fb540e169a | feat | add migration for invalid two-way bindings (#54630) | | c687b8f453 | feat | expose new output() API (#54650) | | c809069f21 | feat | introduce outputFromObservable() interop function (#54650) | | aff65fd1f4 | feat | introduce outputToObservable interop helper (#54650) | | 974958913c | feat | support TypeScript 5.4 (#54414) | | 39a50f9a8d | fix | ensure all initializer functions run in an injection context (#54761) | | 243ccce624 | fix | exclude class attribute intended for projection matching from directive matching (#54800) | | 2909e9817d | fix | prevent infinite loops in clobbered elements check (#54425) | | 7243c704cf | fix | return a readonly signal on asReadonly. (#54706) | | bb35414a38 | perf | speed up retrieval of DestroyRef in EventEmitter (#54748) |

http

| Commit | Type | Description | | -- | -- | -- | | 8d37ed035c | fix | exclude caching for authenticated HTTP requests (#54746) |

router

| Commit | Type | Description | | -- | -- | -- | | c1c7384e02 | feat | Add reusable types for router guards (#54580) | | 7225485311 | fix | Navigations triggered by cancellation events should cancel previous navigation (#54710) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="17.2.4"></a>

google-wombot
published 17.3.0-rc.0 •

google-wombot
published 17.2.4 •

Changelog

Source

17.2.4 (2024-03-06)

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | 917b9bdd2e | fix | unwrap expressions with type parameters in query read property (#54647) |

core

| Commit | Type | Description | | -- | -- | -- | | 586cc24a10 | fix | apply TestBed provider overrides to @defer dependencies (#54667) | | b558a01c84 | fix | generic inference for signal inputs may break with --strictFunctionTypes (#54652) | | 443e5f1591 | fix | return a readonly signal on asReadonly. (#54719) | | ffbafc7d4a | fix | untrack various core operations (#54614) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="17.2.3"></a>

google-wombot
published 17.2.3 •

Changelog

Source

17.2.3 (2024-02-27)

common

| Commit | Type | Description | | -- | -- | -- | | 1a526f2881 | perf | AsyncPipe should not call markForCheck on subscription (#54554) |

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | 2aefed8763 | fix | catch function instance properties in interpolated signal diagnostic (#54325) | | 48aec63ee4 | fix | identify aliased initializer functions (#54480) | | daf7c611b2 | fix | identify aliased initializer functions (#54609) |

core

| Commit | Type | Description | | -- | -- | -- | | 57123524a2 | fix | collect providers from NgModules while rendering @defer block (#52881) | | 79a32816dc | fix | fix typo in injectors.svg file (#54596) |

migrations

| Commit | Type | Description | | -- | -- | -- | | dbe673b027 | fix | resolve infinite loop for a single line element with a long tag name and angle bracket on a new line (#54588) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="17.2.2"></a>

google-wombot
published 17.3.0-next.1 •

google-wombot
published 17.3.0-next.0 •

google-wombot
published 17.2.2 •

Changelog

Source

17.2.2 (2024-02-21)

common

| Commit | Type | Description | | -- | -- | -- | | d34e3298db | fix | image placeholder not removed in OnPush component (#54515) |

compiler

| Commit | Type | Description | | -- | -- | -- | | 6447c0eecc | fix | adding the inert property to the "SCHEMA" array (#53148) |

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | 0a3edfb543 | fix | correctly detect deferred dependencies across scoped nodes (#54499) | | 790f4f7c26 | fix | use correct symbol name for default imported symbols in defer blocks (#54495) |

core

| Commit | Type | Description | | -- | -- | -- | | 3bd5860c74 | fix | properly execute content queries for root components (#54457) |

migrations

| Commit | Type | Description | | -- | -- | -- | | bb57d34110 | fix | Fix cf migration regular expression to include underscores (#54533) |

router

| Commit | Type | Description | | -- | -- | -- | | 3e31f1a34e | fix | Clear internal transition when navigation finalizes (#54261) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="17.2.1"></a>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc