Skip to content

Releases: ngx-lottie/ngx-lottie

v11.0.2

17 Mar 00:32
Compare
Choose a tag to compare

What's Changed

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

Full Changelog: v11.0.1...v11.0.2

v11.0.0

04 Feb 13:47
Compare
Choose a tag to compare

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 to isPromise to allow any promisable object by @arturovt in #176

Breaking Changes

  • ngx-lottie@11.0.0 supports Angular 17 minimum version
  • LottieModule and LottieCacheModule 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

v10.0.0

20 Nov 18:16
Compare
Choose a tag to compare

Features

Breaking Changes

  • ngx-lottie@10.0.0 supports Angular 15 minimum version

v9.1.0

26 Sep 07:01
Compare
Choose a tag to compare

Features

  • mark declarables as standalone and export providers as functions (50f70c0)

v9.0.0

28 Aug 16:41
Compare
Choose a tag to compare

Features

Breaking Changes

  • ngx-lottie@9.0.0 supports Angular 14 minimum version

v8.3.0

28 Aug 16:08
Compare
Choose a tag to compare

Features

  • do not trigger change detection when loading library and on rAF (bfb1f2c)

v8.2.1

08 Aug 14:36
Compare
Choose a tag to compare

Fixes

  • update BM* types to match the latest version (763e35f)

v8.2.0

21 Apr 03:53
Compare
Choose a tag to compare

Features

  • add useWebWorker option (422f227)

v8.1.1

09 Apr 16:25
Compare
Choose a tag to compare

Fixes

  • do not read animation data on each HTTP request (f6852cd)

v8.1.0

09 Apr 00:26
Compare
Choose a tag to compare

Fixes

  • provide generic renderer type (a631502)

BREAKING CHANGES

  • The ngx-lottie now requires 5.9.2 minimum version of the lottie-web, since they introduced a breaking change to its typings in the following commit (airbnb/lottie-web@cc2d4f3).