Socket
Socket
Sign inDemoInstall

@angular/core

Package Overview
Dependencies
0
Maintainers
2
Versions
796
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345
80Next

18.0.0-rc.1

Diff

google-wombot
published 17.3.8 •

google-wombot
published 18.0.0-rc.0 •

Changelog

Source

18.0.0-rc.0 (2024-05-01)

core

| Commit | Type | Description | | -- | -- | -- | | 44c0ed83a6 | fix | hide implementation details of ExperimentalPendingTasks (#55516) | | a177abef1b | fix | render hooks should not specifically run outside the Angular zone (#55399) | | a5c57c7484 | fix | resolve error for multiple component instances that use fallback content (#55478) |

migrations

| Commit | Type | Description | | -- | -- | -- | | f93e5180be | fix | resolve multiple structural issues with HttpClient migration (#55557) |

router

| Commit | Type | Description | | -- | -- | -- | | aefee87074 | fix | Scroller should scroll as soon as change detection completes (#55105) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="17.3.7"></a>

google-wombot
published 17.3.7 •

Changelog

Source

17.3.7 (2024-05-01)

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | 51ac883167 | fix | don't type check the bodies of control flow nodes in basic mode (#55558) |

core

| Commit | Type | Description | | -- | -- | -- | | af0eb846a5 | fix | render hooks should not specifically run outside the Angular zone (#55399) |

router

| Commit | Type | Description | | -- | -- | -- | | 3eea50da64 | fix | Scroller should scroll as soon as change detection completes (#55105) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="18.0.0-next.6"></a>

google-wombot
published 18.0.0-next.6 •

Changelog

Source

18.0.0-next.6 (2024-04-25)

Breaking Changes

animations

  • Deprecated matchesElement method has been removed from AnimationDriver as it is unused.

core

  • async has been removed, use waitForAsync instead.

http

  • By default we now prevent caching of HTTP requests that require authorization . To opt-out from this behaviour use the includeRequestsWithAuthHeaders option in withHttpTransferCache.

    Example:

    withHttpTransferCache({
      includeRequestsWithAuthHeaders: true,
    })
    

platform-browser

  • Deprecated StateKey, TransferState and makeStateKey have been removed from @angular/platform-browser, use the same APIs from @angular/core.

Deprecations

common

  • getCurrencySymbol, getLocaleCurrencyCode, getLocaleCurrencyName, getLocaleCurrencySymbol, getLocaleDateFormat, getLocaleDateTimeFormat, getLocaleDayNames, getLocaleDayPeriods, getLocaleDirection, getLocaleEraNames, getLocaleExtraDayPeriodRules, getLocaleExtraDayPeriods, getLocaleFirstDayOfWeek, getLocaleId, getLocaleMonthNames, getLocaleNumberFormat, getLocaleNumberSymbol, getLocalePluralCase, getLocaleTimeFormat, getLocaleWeekEndRange, getNumberOfCurrencyDigits

http

  • HttpClientModule, HttpClientXsrfModule and HttpClientJsonpModule

    As mentionned, those modules can be replaced by provider function only.

animations

| Commit | Type | Description | | -- | -- | -- | | bcce85af72 | refactor | remove deprecated matchesElement from AnimationDriver (#55479) |

common

| Commit | Type | Description | | -- | -- | -- | | d34c033902 | refactor | Deprecate Local Data API functions (#54483) |

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | 7a16d7e969 | fix | don't type check the bodies of control flow nodes in basic mode (#55360) |

core

| Commit | Type | Description | | -- | -- | -- | | a730f09ae9 | feat | Add a public API to establish events to be replayed and an attribute to mark an element with an event handler. (#55356) | | 5f06ca8f55 | feat | add HOST_TAG_NAME token (#54751) | | ac863ded48 | feat | provide ExperimentalPendingTasks API (#55487) | | 5a10f405d3 | fix | complete the removal of deprecation async function (#55491) | | c175bca364 | fix | DeferBlockFixture.render should not wait for stability (#55271) | | 9894278e71 | fix | make ActivatedRoute inject correct instance inside @defer blocks (#55374) | | 5948193e13 | fix | skip defer timers on the server (#55480) |

http

| Commit | Type | Description | | -- | -- | -- | | 6f88d80758 | feat | allow caching requests with different origins between server and client (#55274) | | 8eacb6e4b9 | feat | exclude caching for authenticated HTTP requests (#55034) | | ef665a40a5 | refactor | Deprecate HttpClientModule & related modules (#54020) |

migrations

| Commit | Type | Description | | -- | -- | -- | | f914f6a362 | feat | Migration schematics for HttpClientModule (#54020) |

platform-browser

| Commit | Type | Description | | -- | -- | -- | | cba336d4f1 | refactor | remove deprecated transfer state APIs (#55474) |

platform-server

| Commit | Type | Description | | -- | -- | -- | | 5674c644ab | fix | add nonce attribute to event record script (#55495) |

router

| Commit | Type | Description | | -- | -- | -- | | 4a42961393 | feat | withNavigationErrorHandler can convert errors to redirects (#55370) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="17.3.6"></a>

google-wombot
published 17.3.6 •

Changelog

Source

17.3.6 (2024-04-25)

core

| Commit | Type | Description | | -- | -- | -- | | 826861b1fa | fix | DeferBlockFixture.render should not wait for stability (#55271) | | 5cf14da35c | fix | make ActivatedRoute inject correct instance inside @defer blocks (#55374) | | 8979fba2c5 | fix | skip defer timers on the server (#55480) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="18.0.0-next.5"></a>

google-wombot
published 18.0.0-next.5 •

Changelog

Source

18.0.0-next.5 (2024-04-17)

Breaking Changes

common

  • The deprecated isPlatformWorkerUi and isPlatformWorkerApp have been removed without replacement, as they serve no purpose since the removal of the WebWorker platform.

compiler

  • Angular only supports writable expressions inside of two-way bindings.

core

  • Angular will ensure change detection runs, even when the state update originates from outside the zone, tests may observe additional rounds of change detection compared to the previous behavior.

    This change will be more likely to impact existing unit tests. This should usually be seen as more correct and the test should be updated, but in cases where it is too much effort to debug, the test can revert to the old behavior by adding provideZoneChangeDetection({schedulingMode: NgZoneSchedulingMode.NgZoneOnly}) to the TestBed providers.

    Similarly, applications which may want to update state outside the zone and not trigger change detection can add provideZoneChangeDetection({schedulingMode: NgZoneSchedulingMode.NgZoneOnly}) to the providers in bootstrapApplication or add schedulingMode: NgZoneSchedulingMode.NgZoneOnly to the BootstrapOptions of bootstrapModule.

  • Testability methods increasePendingRequestCount, decreasePendingRequestCount and getPendingRequestCount have been removed. This information is tracked with zones.

common

| Commit | Type | Description | | -- | -- | -- | | 3b0de30b37 | refactor | remove deprecated isPlatformWorkerApp and isPlatformWorkerUi API (#55302) |

compiler

| Commit | Type | Description | | -- | -- | -- | | 7d5bc1c628 | fix | remove container index from conditional instruction (#55190) | | 4eb0165750 | fix | remove support for unassignable expressions in two-way bindings (#55342) |

core

| Commit | Type | Description | | -- | -- | -- | | fdd560ea14 | feat | Add ability to configure zone change detection to use zoneless scheduler (#55252) | | bce5e2344f | feat | Add build target for jsaction contract binary. (#55319) | | f09c5a7bc4 | feat | Add zoneless change detection provider as experimental (#55329) | | d28614b90e | feat | Modify EventType from an enum to an object. (#55323) | | 1ee9f32621 | feat | Synchronize changes from internal JSAction codebase. (#55182) | | de7447d15e | fix | Angular should not ignore changes that happen outside the zone (#55102) | | 0cec9e4f9a | fix | Fix null dereference error addEvent (#55353) | | 6534c035c0 | fix | Remove deprecated Testability methods (#53768) |

service-worker

| Commit | Type | Description | | -- | -- | -- | | 3bc63eaaf3 | fix | avoid running CDs on controllerchange (#54222) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="17.3.5"></a>

google-wombot
published 17.3.5 •

Changelog

Source

17.3.5 (2024-04-17)

<!-- CHANGELOG SPLIT MARKER -->

<a name="18.0.0-next.4"></a>

google-wombot
published 18.0.0-next.4 •

Changelog

Source

18.0.0-next.4 (2024-04-10)

common

| Commit | Type | Description | | -- | -- | -- | | 2a6f809507 | fix | invalid ImageKit quality parameter (#55193) | | 11705f58a7 | fix | skip transfer cache on client (#55012) |

compiler

| Commit | Type | Description | | -- | -- | -- | | 39624c6b12 | fix | output input flags as a literal (#55215) |

language-service

| Commit | Type | Description | | -- | -- | -- | | bd236cc150 | fix | implement getDefinitionAtPosition for Angular templates (#55269) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="17.3.4"></a>

google-wombot
published 17.3.4 •

Changelog

Source

17.3.4 (2024-04-10)

common

| Commit | Type | Description | | -- | -- | -- | | 53427d875d | fix | invalid ImageKit quality parameter (#55193) | | 766548c3ec | fix | skip transfer cache on client (#55012) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="18.0.0-next.3"></a>

2345
80Next
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc