Releases: ngx-lottie/ngx-lottie
Releases · ngx-lottie/ngx-lottie
v11.0.2
What's Changed
- Update README.md by @rayanulhassan in #178
- feat: update to signal inputs by @arturovt in #181
Description
Transitioning inputs from @Input()
to signal inputs (input()
) is necessary to enable zoneless change detection. Angular 17 introduces provideZonelessChangeDetection
as a preview feature, wherein zone.js becomes optional, and the scheduler responds to signal updates within views.
New Contributors
- @rayanulhassan made their first contribution in #178
Full Changelog: v11.0.1...v11.0.2
v11.0.0
What's Changed
- feat: upgrade to Angular 17 by @arturovt in #173
- refactor: simplify components with new features by @arturovt in #174
- fix: change
instanceof Promise
toisPromise
to allow any promisable object by @arturovt in #176
Breaking Changes
ngx-lottie@11.0.0
supports Angular 17 minimum versionLottieModule
andLottieCacheModule
were removed to align with the changes in the standalone API of Angular. These are the changes that should be made:
- import { LottieModule } from 'ngx-lottie';
- imports: [LottieModule.forRoot({ player: () => import('lottie-web' } )]
+ import { provideLottieOptions } from 'ngx-lottie';
+ providers: [provideLottieOptions({ player: () => import('lottie-web' } })]
- Changes for the
LottieCacheModule
:
- import { LottieCacheModule } from 'ngx-lottie';
- imports: [LottieCacheModule.forRoot()]
+ import { provideCacheableAnimationLoader } from 'ngx-lottie';
+ providers: [provideCacheableAnimationLoader()]
Full Changelog: v10.0.0...v11.0.0