Skip to content

Commit

Permalink
chore(deps): update dependency airbnb/lottie-spm to from: "4.3.0" (#590)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [airbnb/lottie-spm](https://togithub.com/airbnb/lottie-spm) | minor |
`from: "4.2.0"` -> `from: "4.3.0"` |

---

### Release Notes

<details>
<summary>airbnb/lottie-spm (airbnb/lottie-spm)</summary>

###
[`v4.3.0`](https://togithub.com/airbnb/lottie-spm/releases/tag/4.3.0)

[Compare
Source](https://togithub.com/airbnb/lottie-spm/compare/4.2.0...4.3.0)

**Lottie 4.3.0** adds many new features, including:

-   Official support for SwiftUI!
-   A public Core Animation `CALayer` subclass
-   Support for reduced motion
-   Support for drop shadow layer effects
-   Support for visionOS in the lottie-ios repo

You can learn more about Lottie 4.3.0 in this announcement: **[Lottie
4.3.0 now available, with official support for SwiftUI
#&#8203;2189](https://togithub.com/airbnb/lottie-ios/discussions/2189)**

#### New Features

-   Add SwiftUI `LottieView`, which wraps UIKit `LottieAnimationView`
- Add SwiftUI `LottieSwitch`, which wraps UIKit `AnimatedSwitch`
([https://github.com/airbnb/lottie-ios/pull/2138](https://togithub.com/airbnb/lottie-ios/pull/2138))
- Add SwiftUI `LottieButton`, which wraps `AnimatedButton`
([https://github.com/airbnb/lottie-ios/pull/2139](https://togithub.com/airbnb/lottie-ios/pull/2139))
- `AnimatedSwitch` and `AnimatedButton` now support macOS
([https://github.com/airbnb/lottie-ios/pull/2138](https://togithub.com/airbnb/lottie-ios/pull/2138),
[https://github.com/airbnb/lottie-ios/pull/2139](https://togithub.com/airbnb/lottie-ios/pull/2139))
- Add `LottieAnimationLayer`, a Core Animation `CALayer` subclass for
playing Lottie animations
([https://github.com/airbnb/lottie-ios/pull/2073](https://togithub.com/airbnb/lottie-ios/pull/2073))
- Add support for rendering drop shadow layer effects
([https://github.com/airbnb/lottie-ios/pull/2142](https://togithub.com/airbnb/lottie-ios/pull/2142))
- Add API for playing multiple markers sequentially
([https://github.com/airbnb/lottie-ios/pull/2084](https://togithub.com/airbnb/lottie-ios/pull/2084))
- Play "reduced motion" marker if
`UIAccessibility.isReduceMotionEnabled` is true
([https://github.com/airbnb/lottie-ios/pull/2110](https://togithub.com/airbnb/lottie-ios/pull/2110))
- Update text provider API to use full `AnimationKeypath` values
([https://github.com/airbnb/lottie-ios/pull/2183](https://togithub.com/airbnb/lottie-ios/pull/2183))
- Add support for visionOS to lottie-ios repo
([https://github.com/airbnb/lottie-ios/pull/2152](https://togithub.com/airbnb/lottie-ios/pull/2152))
- Drop support for Swift 5.5
([https://github.com/airbnb/lottie-ios/pull/2152](https://togithub.com/airbnb/lottie-ios/pull/2152))
- Add contents gravity configuration to `AnimationImageProvider`
([https://github.com/airbnb/lottie-ios/pull/2177](https://togithub.com/airbnb/lottie-ios/pull/2177))
- Add support for customizing stroke width values using
`FloatValueProvider`
([https://github.com/airbnb/lottie-ios/pull/2179](https://togithub.com/airbnb/lottie-ios/pull/2179))
- Adopt `Sendable` to support using Lottie with strict concurrency
enabled
([https://github.com/airbnb/lottie-ios/pull/2126](https://togithub.com/airbnb/lottie-ios/pull/2126))
- Add `LottiePlaybackMode` to support declarative playback configuration
([https://github.com/airbnb/lottie-ios/pull/2128](https://togithub.com/airbnb/lottie-ios/pull/2128))
- Add option make main thread rendering engine force display update on
every frame
([https://github.com/airbnb/lottie-ios/pull/2168](https://togithub.com/airbnb/lottie-ios/pull/2168))
- Add a option to prevent caching images from `AnimationImageProvider`
([https://github.com/airbnb/lottie-ios/pull/2171](https://togithub.com/airbnb/lottie-ios/pull/2171))
- Add support for customizing gradient values using
`GradientValueProvider`
([https://github.com/airbnb/lottie-ios/pull/2182](https://togithub.com/airbnb/lottie-ios/pull/2182))
- Added additional support for multiple animations in `DotLottieFile`
([https://github.com/airbnb/lottie-ios/pull/2074](https://togithub.com/airbnb/lottie-ios/pull/2074))
- Add helper method to initialize `DotLottieFile` with data
([https://github.com/airbnb/lottie-ios/pull/2090](https://togithub.com/airbnb/lottie-ios/pull/2090))

#### Bug fixes

- Remove `.../ZipFoundation/README.md` from targets and `*.md*` files
from podspec
([https://github.com/airbnb/lottie-ios/pull/2057](https://togithub.com/airbnb/lottie-ios/pull/2057))\*
- Fix issue where layers with negative X scale values could be pixelated
([https://github.com/airbnb/lottie-ios/pull/2067](https://togithub.com/airbnb/lottie-ios/pull/2067))
- Fix warnings when building with Swift 5.9
([https://github.com/airbnb/lottie-ios/pull/2072](https://togithub.com/airbnb/lottie-ios/pull/2072))
- Restructure `ValueProviderStore` to not accumulate multiple values for
the same key
([https://github.com/airbnb/lottie-ios/pull/2082](https://togithub.com/airbnb/lottie-ios/pull/2082))
- Disable bitcode when building XCFramework
([https://github.com/airbnb/lottie-ios/pull/2121](https://togithub.com/airbnb/lottie-ios/pull/2121))
- Fix unhandled file warning when building with SPM
([https://github.com/airbnb/lottie-ios/pull/213](https://togithub.com/airbnb/lottie-ios/pull/2132))
- Fix support for customizing color of `SolidLayer` using
`ColorValueProvider`
([https://github.com/airbnb/lottie-ios/pull/2154](https://togithub.com/airbnb/lottie-ios/pull/2154))
- Fix issue where shape items could be unexpectedly ignored
([https://github.com/airbnb/lottie-ios/pull/2156](https://togithub.com/airbnb/lottie-ios/pull/2156))
- Fix issue where skew keyframes would unexpectedly not animate
([https://github.com/airbnb/lottie-ios/pull/2157](https://togithub.com/airbnb/lottie-ios/pull/2157))
- Fix issue where value providers could be ignored when falling back to
main thread rendering engine
([https://github.com/airbnb/lottie-ios/pull/2164](https://togithub.com/airbnb/lottie-ios/pull/2164))

Thanks to everyone who contributed to this release!

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45My4wIiwidXBkYXRlZEluVmVyIjoiMzYuOTMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>
  • Loading branch information
cgrindel-self-hosted-renovate[bot] and Self-hosted Renovate Bot authored Sep 15, 2023
1 parent ee93d5e commit 7bf81c1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions examples/lottie_ios_example/Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/airbnb/lottie-spm",
"state" : {
"revision" : "60ea4f82fba8b4cb21a75665a889e86ed4d81c6e",
"version" : "4.2.0"
"revision" : "2ae19d3c4f1603b45e551e6bebf02f523ca22a2e",
"version" : "4.3.0"
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion examples/lottie_ios_example/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ import PackageDescription
let package = Package(
name: "lottie_ios_example",
dependencies: [
.package(url: "https://github.com/airbnb/lottie-spm", from: "4.2.0"),
.package(url: "https://github.com/airbnb/lottie-spm", from: "4.3.0"),
]
)
4 changes: 2 additions & 2 deletions examples/lottie_ios_example/swift_deps_index.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
"name": "swiftpkg_lottie_spm",
"identity": "lottie-spm",
"remote": {
"commit": "60ea4f82fba8b4cb21a75665a889e86ed4d81c6e",
"commit": "2ae19d3c4f1603b45e551e6bebf02f523ca22a2e",
"remote": "https://github.com/airbnb/lottie-spm",
"version": "4.2.0"
"version": "4.3.0"
}
}
]
Expand Down

0 comments on commit 7bf81c1

Please sign in to comment.