Compose Breaking Change
LottieAnimation now takes progress as a () -> Float rather than a Float. This allows Lottie to redraw without triggering a recomposition every time progress updates. For more information, refer to the Compose phase docs. The existing API will exist as deprecated for one more release but will then be removed. For the vast majority of use cases:
Allow rendering at the composition frame rate (#2184)
Bugs Fixed
Fixed an NPE when decoding an invalid bitmap and for transform opacity, and transform anchor position (#2117, #2179, and #2197)
Only store application context in ImageAssetManager (#2163)
Prevent rounded corner effects from trying to round a shape that has control points on its vertices already (#2165)
Pass LottieComposition directly while building layers to avoid race conditions (#2167)
Allow progress to be restored from saved state (#2072)
Take top and left Drawable bounds into account to support things like SeekBar thumbs (#2182)
Use the correct cache key for network animations (#2198)
5.2.0
Bugs Fixed
De-dupe gradient stops. On pre-Oreo devices, if you had color and opacity stops in the same place and used hardware acceleration, you may have seen artifacts at the stop positions as of 5.1.1 #20814
5.1.1
New Features
Added support for gradient opacity stops at different points than color stops (#2062)
Allow notifying LottieDrawable that system animations are disabled (#2063)
Bugs Fixed
Removed some rounding errors that occurred when setting min/max frames (#2064)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps com.airbnb.android:lottie-compose from 1.0.0-rc02-1 to 6.0.0.
Release notes
Sourced from com.airbnb.android:lottie-compose's releases.
... (truncated)
Changelog
Sourced from com.airbnb.android:lottie-compose's changelog.
... (truncated)
Commits
83ec159
v6.0.048e6678
Only post PR comment if the workflow_run is a pull requestc81fbb1
[6.0] Bump version and update changelog (#2244)6deafd8
Update point text y offset (#2243)60ebe91
Update workflowdd543db
Update workflow0a851c3
Update workflow89e9423
Update workflowccad837
Change workflow back to completed01ef55a
Post comment with workflow_runDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)