🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@angular/animations

Package Overview
Dependencies
Maintainers
2
Versions
848
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular/animations - npm Package Versions

2345
85

20.0.0-rc.0

Diff
google-wombot
published 20.0.0-rc.0 •
google-wombot
published 19.2.10 •
google-wombot
published 20.0.0-next.9 •

Changelog

Source

20.0.0-next.9 (2025-04-30)

Breaking Changes

core

  • the TestBed.flushEffects() was removed - use the TestBed.tick() instead.

  • provideExperimentalCheckNoChangesForDebug has several breaking changes:

    • It is renamed to provideCheckNoChangesConfig
    • The behavior applies to all checkNoChanges runs
    • The useNgZoneOnStable option is removed. This wasn't found to be generally more useful than interval
  • afterRender was renamed to afterEveryRender.

  • This commit deprecates ng-reflect-* attributes and updates the runtime to stop producing them by default. Please refactor application and test code to avoid relying on ng-reflect-* attributes.

    To enable a more seamless upgrade to v20, we've added the provideNgReflectAttributes() function (can be imported from the @angular/core package), which enables the mode in which Angular would be producing those attribites (in dev mode only). You can add the provideNgReflectAttributes() function to the list of providers within the bootstrap call.

common

| Commit | Type | Description | | -- | -- | -- | | b7d3f3dbfc | feat | Allow passing ScrollOptions to ViewportScroller (#61002) | | fc4a56d5c5 | fix | rename httpResource function in factory (#60022) |

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | c889382a20 | feat | detect missing structural directive imports (#59443) |

core

| Commit | Type | Description | | -- | -- | -- | | d5fd7349fb | feat | introduce TestBed.tick() (#60993) | | e711f99d81 | feat | move provideExperimentalCheckNoChangesForDebug to provideCheckNoChangesConfig (#60906) | | d8fbb909ce | feat | rename afterRender to afterEveryRender and stabilize (#60999) | | 8d82a39a60 | fix | async EventEmitter error should not prevent stability (#61028) | | 624be2ef0c | fix | prevent stash listener conflicts (#59635) | | c2987d8402 | refactor | stop producing ng-reflect attributes by default (#60973) |

http

| Commit | Type | Description | | -- | -- | -- | | ccc5cc068f | feat | add keepalive support for fetch requests (#60621) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="19.2.9"></a>

google-wombot
published 19.2.9 •

Changelog

Source

19.2.9 (2025-04-30)

core

| Commit | Type | Description | | -- | -- | -- | | 946b844e0d | fix | async EventEmitter error should not prevent stability (#61028) | | dbb87026ca | fix | call DestroyRef on destroy callback if view is destroyed [patch] (#61061) | | 2e140a136a | fix | prevent stash listener conflicts [patch] (#61063) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="20.0.0-next.8"></a>

google-wombot
published 20.0.0-next.8 •

Changelog

Source

20.0.0-next.8 (2025-04-23)

Breaking Changes

compiler

  • 'in' in an expression now refers to the operator

core

  • provideExperimentalZonelessChangeDetection is renamed to provideZonelessChangeDetection as it is now "Developer Preview" rather than "Experimental".

router

  • The RedirectFn can now return Observable or Promise. Any code that directly calls functions returning this type may need to be adjusted to account for this.
  • Several methods in the public API of the Router which required writable arrays have now been updated to accept readonly arrays when no mutations are done.

Deprecations

platform-server

  • @angular/platform-server/testing

    Use e2e tests to verify SSR behavior instead.

compiler

| Commit | Type | Description | | -- | -- | -- | | 1b8e7ab9fe | feat | support the in keyword in Binary expression (#58432) |

core

| Commit | Type | Description | | -- | -- | -- | | 953c4b2580 | feat | Move zoneless change detection to dev preview (#60748) | | 0ac949c266 | fix | do not run change detection on global error events (#60944) | | 0162ceb427 | fix | inject migration should treat @Attribute as optional (#60916) |

forms

| Commit | Type | Description | | -- | -- | -- | | be995623cd | fix | make NgForm emit FormSubmittedEvent and FormResetEvent (#60887) |

platform-server

| Commit | Type | Description | | -- | -- | -- | | 2240a21c97 | refactor | deprecate the testing entry point (#60915) |

router

| Commit | Type | Description | | -- | -- | -- | | 62de7d930a | feat | add asynchronous redirects (#60863) | | 2419060fef | fix | relax required types on router commands to readonly array (#60345) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="19.2.8"></a>

google-wombot
published 19.2.8 •

Changelog

Source

19.2.8 (2025-04-23)

forms

| Commit | Type | Description | | -- | -- | -- | | ea4a211216 | fix | make NgForm emit FormSubmittedEvent and FormResetEvent (#60887) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="20.0.0-next.7"></a>

google-wombot
published 20.0.0-next.7 •

Changelog

Source

20.0.0-next.7 (2025-04-16)

common

| Commit | Type | Description | | -- | -- | -- | | cbbea70fa3 | fix | issue a warning instead of an error when NgOptimizedImage exceeds the preload limit (#60879) |

core

| Commit | Type | Description | | -- | -- | -- | | 65adb3024d | feat | Add provider which reports unhandled errors on window to ErrorHandler (#60704) | | c1bcae91dd | feat | expose performance data in Chrome DevTools (#60789) | | 727cda3856 | feat | mark linkedSignal API as public (#60865) | | 567522398f | feat | stabilize incremental hydration api (#60888) | | bf8492b871 | feat | stabilize withI18nSupport() api (#60889) | | 11d441ff8b | fix | inject migration: replace param with this. (#60713) |

http

| Commit | Type | Description | | -- | -- | -- | | 9f31947aad | fix | Include HTTP status code and headers when HTTP requests errored in httpResource (#60802) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="19.2.7"></a>

google-wombot
published 19.2.7 •

Changelog

Source

19.2.7 (2025-04-16)

common

| Commit | Type | Description | | -- | -- | -- | | 37ab6814f5 | fix | issue a warning instead of an error when NgOptimizedImage exceeds the preload limit (#60883) |

core

| Commit | Type | Description | | -- | -- | -- | | b144126612 | fix | inject migration: replace param with this. (#60713) |

http

| Commit | Type | Description | | -- | -- | -- | | d39e09da41 | fix | Include HTTP status code and headers when HTTP requests errored in httpResource (#60802) |

<!-- CHANGELOG SPLIT MARKER -->

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

google-wombot
published 20.0.0-next.6 •

Changelog

Source

20.0.0-next.6 (2025-04-09)

Breaking Changes

core

  • Animations are guaranteed to be flushed when Angular runs automatic change detection or manual calls to ApplicationRef.tick. Prior to this change, animations would not be flushed in some situations if change detection did not run on any views attached to the application. This change can affect tests which may rely on the old behavior, often by making assertions on DOM elements that should have been removed but weren't because DOM removal is delayed until animations are flushed.

compiler

| Commit | Type | Description | | -- | -- | -- | | 7a971766dc | feat | add extended diagnostic for uninvoked track function on @for blocks (#60495) |

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | 8744c9a165 | fix | ensure HMR works with different output module type (#60797) |

core

| Commit | Type | Description | | -- | -- | -- | | 4e88e18a8e | feat | mark toObservable as stable (#60449) | | 8d050b5bfc | feat | stabilize linkedSignal API (#60741) | | 866cea9a05 | feat | Stabilize PendingTasks Injectable (#60716) | | 39a4e00464 | fix | fix ng generate @angular/core:output-migration. Fixes angular#58650 (#60763) | | 0b69b61929 | fix | Flush animations when no component has been checked (#58089) | | 3d85d9363c | fix | reduce total memory usage of various migration schematics (#60774) | | 0ae1889560 | fix | run ApplicationRef.prototype.bootstrap in NgZone (#60720) |

http

| Commit | Type | Description | | -- | -- | -- | | 5795e03cdf | fix | Delay stabilization until next app synchronization (#60656) |

language-service

| Commit | Type | Description | | -- | -- | -- | | a22b13f990 | fix | Do not provide element completions in end tag (#60616) | | b9cf414790 | fix | Ensure dollar signs are escaped in completions (#60597) |

<!-- CHANGELOG SPLIT MARKER -->

<a name="19.2.6"></a>

google-wombot
published 19.2.6 •

Changelog

Source

19.2.6 (2025-04-09)

compiler

| Commit | Type | Description | | -- | -- | -- | | 3441f7b914 | fix | error if rawText isn't estimated correctly (#60529) (#60753) |

compiler-cli

| Commit | Type | Description | | -- | -- | -- | | fc946c5f72 | fix | ensure HMR works with different output module type (#60797) |

core

| Commit | Type | Description | | -- | -- | -- | | 00bbd9b382 | fix | fix docs for output migration (#60764) | | f2bfa3151e | fix | fix ng generate @angular/core:output-migration. Fixes angular#58650 (#60763) | | 9241615ad0 | fix | reduce total memory usage of various migration schematics (#60776) |

language-service

| Commit | Type | Description | | -- | -- | -- | | 0e82d42774 | fix | Do not provide element completions in end tag (#60616) | | fcdef1019f | fix | Ensure dollar signs are escaped in completions (#60597) |

<!-- CHANGELOG SPLIT MARKER -->

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

2345
85