Skip to content

Commit

Permalink
Update current version to 4.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
calda committed Sep 14, 2023
1 parent 4f8c775 commit 2d62621
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

**View documentation, FAQ, help, examples, and more at [airbnb.io/lottie](https://airbnb.io/lottie/)**

Lottie is a cross-platform library for iOS, macOS, tvOS, [Android](https://github.com/airbnb/lottie-android), and [Web](https://github.com/airbnb/lottie-web) that natively renders vector-based animations and art in realtime with minimal code.
Lottie is a cross-platform library for iOS, macOS, tvOS, visionOS, [Android](https://github.com/airbnb/lottie-android), and [Web](https://github.com/airbnb/lottie-web) that natively renders vector-based animations and art in realtime with minimal code.

Lottie loads and renders animations and vectors exported in the bodymovin JSON format. Bodymovin JSON can be created and exported from After Effects with [bodymovin](https://github.com/bodymovin/bodymovin), Sketch with [Lottie Sketch Export](https://github.com/buba447/Lottie-Sketch-Export), and from [Haiku](https://www.haiku.ai).

Expand Down Expand Up @@ -41,7 +41,7 @@ To install Lottie using [Swift Package Manager](https://github.com/apple/swift-p
or you can add the following dependency to your `Package.swift`:

```swift
.package(url: "https://github.com/airbnb/lottie-spm.git", from: "4.2.0")
.package(url: "https://github.com/airbnb/lottie-spm.git", from: "4.3.0")
```

When using Swift Package Manager we recommend using the [lottie-spm](https://github.com/airbnb/lottie-spm) repo instead of the main lottie-ios repo. The main git repository for [lottie-ios](https://github.com/airbnb/lottie-ios) is somewhat large (300+ MB), and Swift Package Manager always downloads the full repository with all git history. The [lottie-spm](https://github.com/airbnb/lottie-spm) repo is much smaller (less than 500kb), so can be downloaded much more quickly.
Expand Down
2 changes: 1 addition & 1 deletion lottie-ios.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'lottie-ios'
s.version = '4.2.0'
s.version = '4.3.0'
s.summary = 'A library to render native animations from bodymovin json'

s.description = <<-DESC
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lottie-ios",
"version": "4.2.0",
"version": "4.3.0",
"description": "Lottie is a mobile library for Android and iOS that parses Adobe After Effects animations exported as json with bodymovin and renders the vector animations natively on mobile and through React Native!",
"main": "index.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion script/ReleaseInstructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Lottie is made available through multiple package managers, each of which has to

1. Make sure `lottie-ios.podspec` and `package.json` list the correct version number.
- Optionally, consider updating the version number in `README.md` as well.
- Also consider updating the version number referenced here: https://airbnb.io/lottie/#/ios?id=swift-package-manager
2. Publish the new release in the [lottie-ios](https://github.com/airbnb/lottie-ios) repo
3. Update the [Cocoapod](https://cocoapods.org/pods/lottie-ios) by running `pod trunk push lottie-ios.podspec`
4. Update the [npm package](https://www.npmjs.com/package/lottie-ios) by running `npm publish`
Expand All @@ -13,4 +14,4 @@ Lottie is made available through multiple package managers, each of which has to
6. Update the [lottie-spm](https://github.com/airbnb/lottie-spm) [Package.swift](https://github.com/airbnb/lottie-spm/blob/main/Package.swift) manifest to reference the new version's XCFramework.
- You can compute the checksum by running `swift package compute-checksum Lottie.xcframework.zip`.
- Optionally, consider updating the version number in `README.md` as well.
7. Publish the new release in the [lottie-spm](https://github.com/airbnb/lottie-spm) repo
7. Publish the new release in the [lottie-spm](https://github.com/airbnb/lottie-spm) repo

0 comments on commit 2d62621

Please sign in to comment.