Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lottie upstream #2

Merged
merged 382 commits into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
382 commits
Select commit Hold shift + click to select a range
9708cbf
Bump version in podspec and package.json (#1668)
calda Jul 26, 2022
6d308e5
Fix CocoaPods installation issue by removing `.swift-version` file (#…
calda Jul 28, 2022
dd5873c
Automatically close issues marked as "can't reproduce" after two week…
calda Jul 29, 2022
183f176
Fix performance test flakiness by reducing memory usage (#1679)
calda Jul 29, 2022
b8e3cbe
Change default behaviour when bundle image is not found from assertio…
rfigini Jul 29, 2022
d286982
Fix issue where `isAnimationPlaying` would be incorrect when using `L…
calda Jul 31, 2022
c5fdf8a
Fix regression where `InvertedMatteLayer`s wouldn't animate (#1684)
calda Aug 1, 2022
28c8eb1
Add support for Repeater shape items (#1688)
calda Aug 2, 2022
9aaae63
Respect `LayerModel.hidden` and `ShapeItem.hidden` flags (#1689)
calda Aug 2, 2022
8aadc1b
Fix issue where stroke wouldn't render if `dashLengths` was zero (#1691)
takeshi-1000 Aug 3, 2022
897f243
Support animating multiple properties of shape bezier paths (#1690)
calda Aug 3, 2022
f7eff33
Ignore masks with `MaskMode.none` (#1693)
calda Aug 4, 2022
6de67b5
Support non-integer animation widths/heights (#1694)
calda Aug 4, 2022
9573f2d
Fix issue where animation with negative stroke offset would render in…
calda Aug 4, 2022
f2914c2
Support combining shapes with different keyframe timings into the sam…
calda Aug 4, 2022
f0205dd
Add `fillMode` support to `GradientFill` shape items (#1702)
calda Aug 4, 2022
2edfa5f
Fix issue that caused descenders to be cut off when rendering some fo…
weisunOW Aug 5, 2022
c23ff9e
Add workaround for issue where airbnb/swift dependency causes Xcode t…
calda Aug 9, 2022
e973fe8
Fall back to Main Thread rendering engine when attempting to apply `T…
calda Aug 9, 2022
25f6a43
Fix bug in `AnimationView.play(fromFrame:toFrame:)` with `fromFrame: …
calda Aug 9, 2022
1e4419e
Add support for inverted matte layers (#1712)
calda Aug 10, 2022
095f10c
Fix issue where some spatial keyframes would be ignored (#1714)
calda Aug 10, 2022
350b177
Fix issue where some Group items weren't represented in AnimationKeyp…
calda Aug 11, 2022
d0aa8c2
Fix issue where stroke with dash pattern could unexpectedly be render…
calda Aug 15, 2022
4ca8023
Fix issue where large `GradientFill` / `GradientStroke` would be cut …
calda Aug 16, 2022
91f46bf
Add `TextProvider` support to Core Animation rendering engine (#1723)
lostinstaches Aug 19, 2022
477b364
Add support for time stretch to PreCompLayer (#1726)
calda Aug 22, 2022
74d9394
Update `CoreAnimationLayer.isAnimationPlaying` to respect pending ani…
oblador Aug 23, 2022
890b188
Fix issue where `hidden` flag would be ignored on some shape items (#…
calda Aug 23, 2022
5965c20
Added ability to use a custom URLSession in the Animation Downloader …
john-brunelle Aug 26, 2022
24bb047
Fix issue where `CAGradientLayer` locations / color stops were being …
calda Aug 26, 2022
e618a02
Fix performance issue with line dash patterns (#1736)
calda Aug 29, 2022
b3dd4d8
Fix issue where alpha gradient could unexpectedly not render (#1737)
calda Aug 29, 2022
314537e
Bump version to 3.4.3 (#1738)
calda Aug 29, 2022
b7fb43c
Change `animationDidSet` from public to open. (#1746)
Nirma Sep 12, 2022
ad7ef42
Make begin / end tracking open to overriding in subclasses of Animate…
Nirma Sep 13, 2022
671662e
Add marker duration support (#1749)
kmcbride Sep 15, 2022
e142fa3
Add option to `AnimatedSwitch` to not animate update when changing an…
Nirma Sep 19, 2022
3cf8ade
Use `warn` instead of `assertionFailure` when detecting Repeater use…
AlexanderKvamme Sep 19, 2022
ff8642e
Update snapshot testing package dependency (#1756)
calda Sep 26, 2022
1d7eadb
Fix issue where manually-interpolated shape animations would ignore t…
calda Sep 26, 2022
e9dbb07
Clarify support links
calda Sep 27, 2022
54aa874
Bump version to 3.4.4 (#1760)
calda Oct 7, 2022
b4bd060
Rename public types that conflict with SwiftUI types (#1761)
calda Oct 10, 2022
3b0d2ec
Fix deprecation warnings in iOS example app (#1765)
calda Oct 11, 2022
bca4799
Use `RenderingEngineOption.automatic` by default (#1764)
calda Oct 11, 2022
36f9d95
Fix issue where inverted mask layer was clipped incorrectly (#1763)
calda Oct 11, 2022
d45521f
Bump to 4.0.0, remove backwards compatibility typealiases (#1768)
calda Oct 12, 2022
55616e9
Update `LottieBackgroundBehavior.default` from `.pause` to `.pauseAnd…
calda Oct 12, 2022
b2c2247
Adds ability to not play the frame of the end marker (#1758) (#1772)
lennartstolz Oct 17, 2022
b2614f8
Change LottieAnimationHelpers default animation cache to LRUAnimation…
pejato Oct 17, 2022
1f773c2
Update LottieConfiguration to use DecodingStrategy. dictionaryBased b…
marcelofabri Oct 18, 2022
cb58033
Allow customizing default AnimationCacheProvider (#1779)
marcelofabri Oct 18, 2022
818cf21
Replace `LRUAnimationCache` with a thread-safe `NSCache`-based cache …
marcelofabri Oct 19, 2022
e167559
Update minimum Swift version to 5.5 (#1787)
calda Oct 21, 2022
4be0499
Fix Android Link in README.md (#1788)
Oct 23, 2022
41b05dd
Add support for loading `.lottie` archives (#1785)
eharrison Nov 1, 2022
982a8f1
Add support for rounded corners to Main Thread rendering engine (#1795)
johnny-duo Nov 2, 2022
0c43942
Add snapshot tests for dot lottie animations, and other cleanup (#1794)
calda Nov 2, 2022
c162666
Update to latest version of Airbnb style formatter plugin (#1797)
calda Nov 3, 2022
be849b9
Add rounded corner support to Core Animation rendering engine (#1796)
calda Nov 3, 2022
abe71a7
Add support for animating `startPoint` and `endPoint` of radial gradi…
calda Nov 4, 2022
9e19fd1
Update Core Animation rendering engine to use device RGB color space …
calda Nov 7, 2022
89cfc5f
Fix typo in README (#1811)
Jager-yoo Nov 14, 2022
51329d2
Set `maskToBounds = true` on animation layer (#1814)
BugorBN Nov 21, 2022
50fddd3
Update documentation link in readme (#1817)
Gurrium Nov 28, 2022
1007dda
Add completion callbacks to `LottieAnimationView` DotLottie initializ…
calda Nov 29, 2022
6b96292
Use Git Large File Storage for snapshot images (#1824)
calda Dec 1, 2022
57fd1ec
Bump cocoapods-downloader from 1.5.1 to 1.6.3 (#1829)
cengit Dec 6, 2022
9cb0a2a
Revert "Use Git Large File Storage for snapshot images (#1824)" (#1835)
calda Dec 8, 2022
a4622b4
Add more directories to .npmignore (#1842)
calda Dec 8, 2022
9ce485d
Made DotLottieAnimation attributes optional to simplify Manifest file…
eharrison Dec 9, 2022
178cfee
Remove unused CocoaPods configuration (#1849)
keith Dec 13, 2022
0ceb3ec
Fix heap buffer overflow in CGColor+RGB extensions (#1858)
anlaital Dec 16, 2022
3a0e11e
Add support for configuring color space via LottieConfiguration.color…
alexisbronchart Dec 20, 2022
2e9008d
Revert workaround for Xcode 14.0 SPM binary dependency issue (#1873)
calda Dec 20, 2022
a651e3d
Fix issue where ShapeTransform could incorrectly affect stroke width …
calda Dec 20, 2022
b45fae1
Fix issue where empty trim item would take precedence over non-empty …
calda Dec 21, 2022
3b90792
Fix issue where some top-level shape items would be silently ignored …
calda Dec 21, 2022
0ea00b8
Add rendering engine configuration support to CompatibleAnimationView…
snow-google Dec 26, 2022
85630ac
Remove `translatesAutoresizingMaskIntoConstraints = false` call from …
snow-google Dec 28, 2022
86f6fda
Add support for displaying solid strokes around gradient fill shape i…
exevil Dec 28, 2022
f24ad55
Decrease `veryLargeRect` size to fix issue with masks (#1884)
nevil Dec 30, 2022
f1a853a
Fix issue where Fill following other Fill would be silently ignored (…
calda Jan 1, 2023
93ba022
Fix issue where negative `scale.x` values didn't render correctly on …
calda Jan 4, 2023
e2afbe5
Fix issue where `LottieAnimationView.currentFrame` would be incorrect…
calda Jan 5, 2023
03eeda8
Fix issue where shape items could be applied in incorrect order (#1899)
calda Jan 5, 2023
1c40880
Fix issue where stroke and fill could be rendered in incorrect order …
calda Jan 6, 2023
d7568f7
Add script for building XCFramework, instructions to README (#1843)
calda Jan 9, 2023
25aa0ab
Move issue_1902.json to correct folder (#1906)
calda Jan 9, 2023
79ae25e
Fix issue where `play(fromProgress: 1, toProgress: 0)` animation woul…
calda Jan 9, 2023
f2ed8ef
Add support for skew animations (#1917)
calda Jan 18, 2023
2cdcb8e
Build XCFramework using Xcode 13.2.1 / Swift 5.5.2 (#1922)
calda Jan 18, 2023
31c914b
Add info about lottie-spm repo (#1921)
calda Jan 19, 2023
ad510b8
Update Package.resolved version in Lottie.xcodeproj to fix Swift Pack…
calda Jan 19, 2023
4e60df9
Fix issue where XCFramework archive built by CI was double-zipped and…
calda Jan 20, 2023
f262407
Bump version to 4.1.1 (#1928)
calda Jan 20, 2023
420c411
Fix typo in README.md
calda Jan 22, 2023
440a6ee
Bump version to 4.1.2 (#1931)
calda Jan 23, 2023
4e7d954
Add support for 3D rotations on X and Y axis (#1930)
ipodishima Jan 23, 2023
adda6ed
Update color parsing to ignore alpha values for consistency with othe…
calda Jan 24, 2023
4247a7a
Mark `LottieAnimationView` and `play` methods as `open` (#1937)
lehmacdj Jan 26, 2023
3dffa23
Add `CompatibleDictionaryTextProvider` for `CompatibleAnimationView` …
ciss1995 Feb 2, 2023
439a5b4
Add dispatch queue parameter to dotLottie loading methods (#1956)
mkj-is Feb 15, 2023
0e5d3c0
Fix typo in README (#1959)
teddy5518 Feb 15, 2023
4e51b71
Fix macOS build issues for apps using lottie-spm XCFramework (#1960)
calda Feb 15, 2023
951be44
Fix issue where rounded corners algorithm would return incorrect path…
calda Feb 17, 2023
7987c88
Rename bundle name to avoid conflict with the swift-generated module …
bsrz Feb 17, 2023
e1a05ad
Improve error handling for dotLottie animation methods (#1969)
mkj-is Feb 21, 2023
acd56fa
Add support for loading dotLottie animations synchronously (#1968)
ilendemli Feb 21, 2023
b407c11
Fix compilation of iOS example project in Xcode 14.3 beta (#1966)
mkj-is Feb 21, 2023
70e22dd
Update ZIPFoundation to 0.9.16 (#1978)
calda Mar 4, 2023
4fedaf9
Fix issue where ** wildcard incorrectly required matching at least on…
calda Mar 10, 2023
0909133
Fix issue where completion handler could be called unexpectedly when …
calda Mar 11, 2023
8bf6161
Add back public error values that were removed in #1969 (#1970)
calda Mar 11, 2023
6952351
Add `LottieAnimationView.allHierarchyKeypaths()` to get list of keypa…
Bjorninn1 Mar 25, 2023
9c2d64e
Log a warning when playing animation that uses unsupported After Effe…
calda Mar 27, 2023
cc7b5c6
Add `LottieAnimationView.maskAnimationToBounds` configuration (#2008)
johnny-duo Mar 28, 2023
cdc01fb
Trim whitespaces and newlines before decoding base 64 string to image
rohit9934 Apr 1, 2023
43a8c7f
Add support for configuring `LottieBackgroundBehavior` to Objective-C…
calda Apr 5, 2023
6e5ad7a
Fix issue where Trim could be applied to too many shape items (#2041)
calda Apr 26, 2023
f8ff9a5
Set `animationLayer` to `nil` when removing oldAnimation (#2034)
ainopara Apr 26, 2023
7ca907b
Add support for Opacity, Position, Scale, and Rotation value provider…
calda Apr 26, 2023
eb12040
Update minimum macOS version to 10.11, fix build (#2050)
calda Apr 27, 2023
939613e
Fix issue where Trim strokeStart / strokeEnd could be rendered in inc…
calda Apr 27, 2023
11efcf9
Use `XCTExpectFailure(strict: false)` for tests that are flaky in CI …
calda Apr 27, 2023
0fd25a1
Fix issue where calling `setValueProvider` would reset animation prog…
calda Apr 27, 2023
8558603
Fix issue where trim offset could be calculated incorrectly (#2053)
calda Apr 27, 2023
d6feea2
Bump version to 4.2.0 (#2054)
calda Apr 27, 2023
165b8c6
Update Package.swift comment to mention lottie-spm
calda Apr 27, 2023
a205eec
Fix typo in Package.swift
calda Apr 27, 2023
731e349
Remove `.../ZipFoundation/README.md` from targets and `*.md` files fr…
reggian May 4, 2023
df55b4c
Fix issue where layers with negative X scale values could be pixelate…
calda May 20, 2023
b68c705
Fix Swift 5.9 warnings (#2072)
keith Jun 6, 2023
ecdadec
Add public LottieAnimationLayer CALayer subclass (#2073)
eromanc Jun 7, 2023
1f48b65
Add support for multiple animations in dotLottie files (#2074)
eharrison Jun 13, 2023
fdd8b11
Restructure `ValueProviderStore` to not accumulate multiple values fo…
adamastern Jun 21, 2023
598b677
Add API for playing multiple markers sequentially (#2084)
calda Jun 22, 2023
4ff8174
Add helper method to initialize DotLottieFile with Data (#2090)
kirti-swiggy Jun 26, 2023
c4dc4d7
Add source for EpoxyCore library to support open-source SwiftUI view …
calda Jun 28, 2023
5189094
Add SwiftUI LottieView (#2092)
calda Jun 28, 2023
c7807b2
Fix breaking API changes from #2073 (#2093)
calda Jun 28, 2023
e9f2f93
Add public `configure` API to LottieView (#2095)
calda Jun 29, 2023
079b12c
Mark animation as optional in LottieView.init (#2098)
fonkadelic Jul 4, 2023
adef809
Fix typo in TransformAnimations.swift (#2102)
eltociear Jul 9, 2023
dd0854c
Add public `animationLayer` property to `LottieAnimationLayer` (#2103)
eromanc Jul 10, 2023
a3fb3e4
Add LottieView support on macOS using EpoxyCore 0.10.0 (#2104)
calda Jul 12, 2023
173b119
Improve SwiftUI APIs for configuring value providers, image providers…
calda Jul 14, 2023
dafefe1
Remove unused class (#2111)
noahsmartin Jul 18, 2023
14fd78f
Add SwiftUI APIs to get and set current progress / current frame (#2108)
calda Jul 20, 2023
2f2ab3c
Play "reduced motion" marker if `UIAccessibility.isReduceMotionEnable…
calda Jul 20, 2023
edf0dd8
Fix default `ReducedMotionOption` (#2116)
calda Jul 25, 2023
5f21ab0
Add SwiftUI support for loading async LottieAnimations and DotLottieF…
miguel-jimenez-0529 Jul 26, 2023
951daf7
Add `loadAnimationTrigger` to support calling `loadAnimation` again a…
miguel-jimenez-0529 Jul 27, 2023
3a02801
Disable bitcode when building XCFramework (#2121)
calda Aug 1, 2023
25a50f2
Support using SwiftUI LottieView with strict concurrency enabled (#2126)
calda Aug 3, 2023
6126d6e
Improve SwiftUI async animation loading APIs (#2127)
miguel-jimenez-0529 Aug 3, 2023
70ef458
Add SwiftUI APIs for controlling playback behavior using `LottiePlayb…
calda Aug 3, 2023
46202c7
Update to latest version of Airbnb Swift Style Guide (#2131)
calda Aug 10, 2023
8b89a43
Fix unhandled file warning when building with SPM (#2132)
calda Aug 10, 2023
5290d19
Add cross-platform SwiftUI wrapper for AnimatedSwitch (#2138)
calda Aug 11, 2023
25b87a8
Add `animationDidFinish` API to LottieView (#2134)
calda Aug 11, 2023
e2582dc
Add size test (#2140)
noahsmartin Aug 15, 2023
acb433e
Add emerge PR uploads (#2141)
noahsmartin Aug 15, 2023
283a303
Add cross-platform SwiftUI wrapper for AnimatedButton (#2139)
calda Aug 15, 2023
80d7e9a
fix: printed directory path name (#2147)
0o001 Aug 19, 2023
cba5984
Add support for rendering drop shadows (#2142)
calda Aug 22, 2023
f984053
Remove iOS-only UIKit example app in favor of multiplatform SwiftUI e…
calda Aug 23, 2023
759b1f2
Fix support for customizing color of SolidLayer using ColorValueProvi…
calda Aug 24, 2023
f864891
Fix issue where shape items could be unexpectedly ignored (#2156)
calda Aug 24, 2023
d70b750
Fix issue where skew keyframes would unexpectedly not animate (#2157)
calda Aug 25, 2023
e7dc5c1
Add option make main thread rendering engine force display update on …
calda Aug 31, 2023
4a9e46f
Add support for visionOS, drop support for Swift 5.5 (#2152)
calda Sep 6, 2023
bc76b33
Add API for AnimationImageProvider to indicate that its results shoul…
JerryFans Sep 7, 2023
97cea95
Add LottieView.animationDidLoad API (#2172)
calda Sep 7, 2023
e94b888
Fix issue where value providers could be ignored when falling back to…
calda Sep 8, 2023
70d39d2
Improve conversion from After Effects shadow softness value to `CALay…
calda Sep 11, 2023
6277300
Add simplified `play()` API to LottieView (#2178)
calda Sep 11, 2023
8bff4aa
Add support for configuring image content gravity (#2177)
matthewcheok Sep 12, 2023
f7d758c
Add support for customizing stroke width values using FloatValueProvi…
calda Sep 12, 2023
ccd7a10
Add support for customizing gradient values using GradientValueProvid…
calda Sep 14, 2023
dc9316c
Update text provider API to use full AnimationKeypath values (#2183)
calda Sep 14, 2023
4f8c775
Fix issue where LottieAnimationLayer.pause() didn't update currentPla…
calda Sep 14, 2023
2d62621
Update current version to 4.3.0
calda Sep 14, 2023
b1f170b
Add support for using CompatibleAnimationView in xib files / storyboa…
Saratsin Sep 15, 2023
01a3ac1
Fix layout animation regression introduced in 4.3.0 (#2194)
calda Sep 20, 2023
68c3342
Reduce log volume from warning about After Effects expressions (#2196)
calda Sep 20, 2023
1760543
Fix test failure from race condition between #2194 and #2196
calda Sep 20, 2023
6617574
Fix CI jobs using Xcode 15.0 by disabling visionOS build (#2199)
calda Sep 25, 2023
1945eb3
Restructure LottiePlaybackMode, add support for pausing at start or e…
matthewcheok Sep 26, 2023
5197d6f
Bump version to 4.3.2
calda Sep 26, 2023
45517c3
Fix unexpected crossfade animation when updating Lottie animation or …
calda Sep 29, 2023
ae48d2a
Fix parsing regression in 4.3.0 from addition of parsing layer effect…
calda Oct 16, 2023
3421eeb
Remove old animation layer when creating a new animation layer (#2214)
junjielu Oct 18, 2023
ffdd592
Add option to remove animated bounds changes (#2218)
thedrick Oct 18, 2023
73280cb
Change pod dependencies `SwiftUI` and `Combine` to `weak` to ensure c…
florianrhein Oct 20, 2023
cdf8499
Fix issue where Repeater would be ignored if not at top level (#2221)
calda Oct 20, 2023
f081afa
Use `UITraitCollection.current.displayScale` instead of deprecated `U…
hyun99999 Nov 2, 2023
3d46f3f
Dispatch dot lottie file loading onto a single serial queue (#2229)
erichoracek Nov 7, 2023
7873c03
Clean up unused property in InvertedMatteLayer (#2241)
hanton Nov 25, 2023
b3d81b4
Fix issue where LottieView animation would restart from beginning aft…
calda Dec 1, 2023
3f1202f
Bump current version to 4.3.4
calda Dec 1, 2023
e7ed4b7
Add privacy manifest (#2252)
calda Dec 8, 2023
53b2c73
Remove a few unused imports (#2253)
hanton Dec 10, 2023
92f70b7
Fix issue where Core Animation rendering engine couldn't display last…
calda Dec 12, 2023
f41ce9c
Adopt policy on minimum supported Swift / Xcode version, update minim…
calda Dec 15, 2023
abaf862
Codesign Lottie.xcframework (#2259)
calda Dec 15, 2023
86e142e
Continue XCFramework job if certificate install step fails (#2264)
calda Dec 16, 2023
fe4f51c
Fix build warnings due to missing imports (#2263)
hanton Dec 16, 2023
9c1e7f1
Fix privacy manifest location for SPM (#2268)
mjburghard Dec 21, 2023
af18de2
Do not create `DotLottieImageProvider` instance if there's no image f…
hardworker Jan 3, 2024
3b80576
Fix: added visionOS and simplified conditional (#2280)
whiskey Jan 5, 2024
c3d493b
Mark DotLottieCache as Sendable (#2245)
calda Jan 8, 2024
9dc7d74
Fix issue where AnimationKeypath in SolidLayer could be incorrect (#2…
calda Jan 8, 2024
4f4b5a1
Fix issue where repeater layer could be displayed incorrectly (#2276)
calda Jan 8, 2024
a9ac8e6
Include dSYMs in XCFramework build (#2284)
Cyberbeni Jan 8, 2024
9c1dac7
Fix parsing issue, add support for DotLottieConfiguration in SwiftUI …
calda Jan 8, 2024
2562590
Fix issue where DotLottieImageProvider didn't handle base64 images (#…
calda Jan 8, 2024
5515927
Fix issue where manually interpolated keyframes could animate incorre…
calda Jan 11, 2024
7cae3aa
Add time remapping support to Core Animation rendering engine (#2286)
calda Jan 12, 2024
8430111
Use resource_bundles instead of resource (#2288)
dcacenabes Jan 12, 2024
25ceccd
Update LottieView to display placeholder using overlay instead of ZSt…
miguel-jimenez-0529 Jan 20, 2024
f522990
Update CI to build for visionOS (#2287)
calda Jan 22, 2024
e276c62
Update version number to 4.4.0
calda Jan 22, 2024
6bb0f64
Replace os checks with canImport(UIKit) to improve visionOS support (…
ksuther Jan 23, 2024
99c2f68
Update `LottieAnimationView.updateRasterizationState` to simply call …
DevVenusK Jan 25, 2024
2aa558f
Update CI jobs to run on Apple Silicon macOS 14 runner (#2306)
calda Feb 1, 2024
d4b75a0
Omit privacy manifest from source files in podspec (#2307)
RhyG Feb 2, 2024
cb4698b
Fix crash in Main Thread rendering engine path interpolation implemen…
calda Feb 14, 2024
7ecdbbf
Fix warning from invalid character in Cocoapods resource bundle ident…
calda Feb 14, 2024
2f0f761
Fix infinite loop when setting LottieAnimationView.viewportFrame (#2316)
calda Feb 14, 2024
7fe8b6f
Bump current version to 4.4.1
calda Feb 21, 2024
41dfe7b
Update minimum deployment target to iOS 13.0 / macOS 10.15 (#2322)
calda Feb 21, 2024
833bc7b
Remove redundant CGFloat conversion in math helpers (#2346)
soo941226 Mar 22, 2024
d76f85b
Add visionOS support to pod spec (#2348)
Dukandar Mar 24, 2024
8a784b2
Fix Incorect InitialValue Usage in SwiftUI Wrapper (#2357)
brynbodayle Apr 2, 2024
030232b
Use correct version number when building XCFramework bundle (#2341)
calda Apr 4, 2024
ab15129
Update current version to 4.4.2
calda Apr 4, 2024
52b22e8
Fix issue where animation size could be incorrect after loading async…
calda Apr 15, 2024
3af9055
Update NSPrivacyAccessedAPITypeReasons in privacy manifest (#2380)
calda Apr 15, 2024
769b88d
Include animation duration when computing cost/complexity of Core Ani…
calda Apr 15, 2024
f01bc5f
Add final keyword to `SnapshotTests` (#2399)
ChaminLee May 6, 2024
1910aef
Require Xcode 15 / Swift 5.9 (#2400)
calda May 7, 2024
500b72a
Update lottie version to 4.4.3
May 15, 2024
1e69eec
update lottie podfile
May 16, 2024
6d4923c
Merge branch 'master' into Lottie-upstream
MoroziOS May 22, 2024
2d648d9
Update lottie-ios.podspec
MoroziOS May 22, 2024
fdb8ce0
Update and rename lottie-ios.podspec to tmg-lottie-ios.podspec
MoroziOS May 23, 2024
a333586
Changes lottie package
May 23, 2024
5b8d663
Rakefile build fixes
May 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 0 additions & 11 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1 @@
# These are supported funding model platforms

github: [buba447]
patreon: # Replace with a single Patreon username
open_collective: lottie
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
32 changes: 32 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Setup
description: Setup the Lottie iOS CI Environment
inputs:
xcode:
description: The version of Xcode to select
install-mint:
description: Whether to install mint
default: true
install-carthage:
description: Whether to install Carthage
default: false
runs:
using: composite
steps:
- name: Select Xcode ${{ inputs.xcode }}
run: sudo xcode-select --switch /Applications/Xcode_${{ inputs.xcode }}.app
if: ${{ inputs.xcode }}
shell: bash

- name: Install Mint via Homebrew
run: brew install mint
if: ${{ inputs.install-mint == 'true' }}
shell: bash

- name: Install Carthage via Homebrew
run: brew install carthage
if: ${{ inputs.install-carthage == 'true' }}
shell: bash

- name: Install Ruby Gems
run: bundle install
shell: bash
29 changes: 6 additions & 23 deletions .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,21 @@
<!--
## Lottie-iOS Issue
Hello! Sorry you're having an Issue! Please help us make Lottie better by filling everything below out with as much information as you can, so we can try to reproduce and fix the issue!
-->

## Check these before submitting:
- [] The issue doesn't involve an [Unsupported Feature](https://github.com/airbnb/lottie-ios/blob/master/README.md#supported-after-effects-features)
- [] This issue isn't related to another open issue
Issues are for filing bug reports about crashes, regressions, unexpected behavior, etc.

## This issue is a:
- [] Non-Crashing Bug (Visual or otherwise)
- [] Crashing Bug
- [] Feature Request
- [] Regression (Something that once worked, but doesn't work anymore)
If you have a question or feature request, please start a discussion here:
https://github.com/airbnb/lottie-ios/discussions
-->

## Which Version of Lottie are you using?

Lottie 3.0

## What Platform are you on?
<!-- (Specify Platform Version) -->
- [] MacOS
- [] iOS

## What Language are you in?
- [] Swift
- [] Objective-C
Lottie 3.x.x

## Expected Behavior
<!-- Screenshots encouraged -->

## Actual Behavior
<!-- Screenshots encouraged -->

## Code Example

## Animation JSON
<!-- Adding the animation JSON helps us debug the issue faster! If you don't want to publicly share the Animation, please email me [email protected] -->
<!-- Adding the animation JSON helps us debug the issue faster! -->
181 changes: 181 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build-package-no-visionOS:
name: "Build Package"
runs-on: macos-14
strategy:
fail-fast: false
matrix:
xcode:
- '15.0.1' # Swift 5.9, but no visionOS support
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
with:
xcode: ${{ matrix.xcode }}
- name: Build Package
# Only Xcode 15.2 and later support visionOS, so exclude it on earlier versions.
run: SKIP_VISION_OS=true bundle exec rake build:package:all

build-package:
name: "Build Package"
runs-on: macos-14
strategy:
fail-fast: false
matrix:
xcode:
- '15.2' # Swift 5.9
- '15.3' # Swift 5.10
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
with:
xcode: ${{ matrix.xcode }}
- name: Build Package
run: bundle exec rake build:package:all


build-example:
name: "Build Example App"
runs-on: macos-14
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
with:
xcode: '15.3' # Swift 5.10
- name: Build Example
run: bundle exec rake build:example:all

test-package:
name: "Test Package"
runs-on: macos-14
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
with:
xcode: '15.3' # Swift 5.10
- name: Test Package
run: bundle exec rake test:package
- name: Process test artifacts
if: always()
run: bundle exec rake test:process
- name: Upload artifacts
if: always()
uses: actions/upload-artifact@v2
with:
name: TestArtifacts
path: Tests/Artifacts

emerge-upload:
name: "Emerge Upload"
runs-on: macos-14
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
- name: Build Package
run: bundle exec rake emerge:upload
env:
EMERGE_API_TOKEN: ${{ secrets.EMERGE_API_TOKEN }}
PR_NUMBER: ${{ github.event.number }}

build-xcframework-minimum-supported-version:
name: "Build XCFramework"
runs-on: macos-14
strategy:
matrix:
xcode:
# XCFrameworks are forwards-compatible but not backwards-compatible.
# The Xcode version we use for this job is that oldest Xcode version that
# will be able to use these XCFrameworks and the lottie-spm package.
# This should be the minimum Xcode version permitted by the App Store.
# As of April 2024, this is Xcode 15.0: https://developer.apple.com/news/?id=fxu2qp7b
# - However, testing in https://github.com/airbnb/lottie-spm/pull/12 shows that
# Xcode 15.0 can use an XCFramework built by Xcode 15.2.
- '15.2' # Swift 5.9, first Xcode version with visionOS support.
steps:
- uses: actions/checkout@v2
- uses: apple-actions/import-codesign-certs@v2
continue-on-error: true
with:
p12-file-base64: ${{ secrets.SIGNING_CERTIFICATE_BASE_64 }}
p12-password: ${{ secrets.SIGNING_CERTIFICATE_PASSWORD }}
- uses: ./.github/actions/setup
with:
xcode: ${{ matrix.xcode }}
- name: Build XCFramework
run: bundle exec rake build:xcframework[Lottie-Xcode-${{ matrix.xcode }}]
- name: Upload XCFramework
uses: actions/upload-artifact@v2
with:
name: BuildProducts
path: .build/archives

cocoapod:
name: "Lint CocoaPods podspec"
runs-on: macos-14
strategy:
matrix:
xcode:
- '15.3' # Swift 5.10
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
with:
install-mint: false
xcode: ${{ matrix.xcode }}
- name: Lint CocoaPod Podspec
run: bundle exec rake lint:podspec

spm-xcode-15:
name: "Test Swift Package Manager"
runs-on: macos-14
strategy:
matrix:
xcode:
- '15.3' # Swift 5.10
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
with:
install-mint: true
xcode: ${{ matrix.xcode }}
- name: Test Swift Package Manager support
run: bundle exec rake test:spm

carthage:
name: "Test Carthage support"
runs-on: macos-14
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
with:
install-mint: true
install-carthage: true
xcode: '15.3' # Swift 5.10
- name: Test Carthage support
run: bundle exec rake test:carthage

swiftlint:
name: "Lint Swift"
runs-on: macos-14
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
- name: Lint Swift
run: bundle exec rake lint:swift

embedded-libraries:
name: "Lint Embedded Libraries"
runs-on: macos-14
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
- name: Lint Embedded Libraries
run: bundle exec rake lint:EmbeddedLibraries
17 changes: 17 additions & 0 deletions .github/workflows/stale_issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 'Close stale issues'
on:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v5
with:
only-labels: >
can't reproduce
stale-issue-message: >
This issue is stale because it is marked "can't reproduce" and has had no activity in the past week. Please comment with additional information, or this issue will be closed due to inactivity in one week.
days-before-stale: 7
days-before-close: 7
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,18 @@ build/

# macOS
.DS_Store

# Swift Package Manager
.swiftpm
.build/

# Carthage support tests
script/test-carthage/Carthage

# Test artifacts
Tests/Artifacts

# Private test animations
Tests/Samples/Private/*.json
Tests/Samples/Private/**/*.json
Tests/__Snapshots__/**/*Private*
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
_AeFiles
_Gifs
Example
script
Tests
.build
.swiftpm
6 changes: 6 additions & 0 deletions .spi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 1
builder:
configs:
- platform: ios
documentation_targets:
- Lottie
Loading
Loading