From 8ee960f721769ea46f690991c2de32a570a04dd0 Mon Sep 17 00:00:00 2001 From: David Date: Thu, 5 Dec 2024 20:15:11 -0800 Subject: [PATCH] Release 20.1.0 (#613) * Update version * Update CHANGELOG * Update proxy * Install latest pods in example * Update xcode * Bump macos runner * Update test destination --------- Co-authored-by: crow Co-authored-by: Ryan Lepinski --- .github/workflows/ci.yml | 12 +++++----- CHANGELOG.md | 9 ++++++-- android/gradle.properties | 2 +- example/ios/Podfile.lock | 44 ++++++++++++++++++------------------ ios/AirshipReactNative.swift | 2 +- package-lock.json | 4 ++-- package.json | 2 +- react-native-airship.podspec | 2 +- scripts/run_ci_tasks.sh | 2 +- 9 files changed, 42 insertions(+), 37 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 53a25077..3487b1eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: [pull_request] jobs: test: - runs-on: macos-13-xlarge + runs-on: macos-15-xlarge steps: - uses: actions/checkout@v4 - name: Set up JDK 17 @@ -19,10 +19,10 @@ jobs: ruby-version: '3.0.1' - name: Install CocoaPods - run: gem install cocoapods -v '1.15.2' + run: gem install cocoapods -v '1.16.1' - name: Select Xcode version - run: sudo xcode-select -s '/Applications/Xcode_15.2.app/Contents/Developer' + run: sudo xcode-select -s '/Applications/Xcode_16.1.app/Contents/Developer' - name: Setup Node.js uses: actions/setup-node@v4 @@ -35,7 +35,7 @@ jobs: - run: bash ./scripts/run_ci_tasks.sh -a test-android-old-arch: - runs-on: macos-13-xlarge + runs-on: macos-15-xlarge steps: - uses: actions/checkout@v4 - name: Set up JDK 17 @@ -50,10 +50,10 @@ jobs: ruby-version: '3.0.1' - name: Install CocoaPods - run: gem install cocoapods -v '1.15.2' + run: gem install cocoapods -v '1.16.1' - name: Select Xcode version - run: sudo xcode-select -s '/Applications/Xcode_15.2.app/Contents/Developer' + run: sudo xcode-select -s '/Applications/Xcode_16.1.app/Contents/Developer' - name: Setup Node.js uses: actions/setup-node@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b851797..b2b39860 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # React Native Module Changelog +## Version 20.1.0 - December 5, 2024 +Minor release that updates the Android Airship SDK to 18.5.0 and iOS Airship SDK to 18.13.0 + +### Changes +- Updated Android SDK to [18.5.0](https://github.com/urbanairship/android-library/releases/tag/18.5.0). +- Updated iOS SDK to [18.13.0](https://github.com/urbanairship/ios-library/releases/tag/18.13.0). + ## Version 20.0.4 - November 26, 2024 Patch release that updates the iOS Airship SDK to 18.12.2 and Android Airship SDK to 18.4.2 @@ -7,7 +14,6 @@ Patch release that updates the iOS Airship SDK to 18.12.2 and Android Airship SD - Updated Android SDK to [18.4.2](https://github.com/urbanairship/android-library/releases/tag/18.4.2). - Updated iOS SDK to [18.12.2](https://github.com/urbanairship/ios-library/releases/tag/18.12.2). - ## Version 20.0.3 - November 21, 2024 Patch release that updates the Android build to no longer require the react-native path and updates the Airship Android SDK to 18.4.1. @@ -15,7 +21,6 @@ Patch release that updates the Android build to no longer require the react-nati - Updated Airship Android SDK to [18.4.1](https://github.com/urbanairship/android-library/releases/tag/18.4.1) - Updated Android build.gradle file to no longer look up the React Native version - ## Version 20.0.2 - November 8, 2024 Patch release that resolves an issue with Firebase integrations and fixes an issue with opt-in checks when requestAuthorizationToUseNotifications is set to false on iOS. diff --git a/android/gradle.properties b/android/gradle.properties index e0a0402f..2285ac49 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -3,4 +3,4 @@ Airship_minSdkVersion=21 Airship_targetSdkVersion=34 Airship_compileSdkVersion=34 Airship_ndkversion=26.1.10909125 -Airship_airshipProxyVersion=11.0.6 \ No newline at end of file +Airship_airshipProxyVersion=11.1.0 \ No newline at end of file diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index c092b785..e1316c84 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,25 +1,25 @@ PODS: - - Airship (18.12.2): - - Airship/Automation (= 18.12.2) - - Airship/Basement (= 18.12.2) - - Airship/Core (= 18.12.2) - - Airship/FeatureFlags (= 18.12.2) - - Airship/MessageCenter (= 18.12.2) - - Airship/PreferenceCenter (= 18.12.2) - - Airship/Automation (18.12.2): + - Airship (18.13.0): + - Airship/Automation (= 18.13.0) + - Airship/Basement (= 18.13.0) + - Airship/Core (= 18.13.0) + - Airship/FeatureFlags (= 18.13.0) + - Airship/MessageCenter (= 18.13.0) + - Airship/PreferenceCenter (= 18.13.0) + - Airship/Automation (18.13.0): - Airship/Core - - Airship/Basement (18.12.2) - - Airship/Core (18.12.2): + - Airship/Basement (18.13.0) + - Airship/Core (18.13.0): - Airship/Basement - - Airship/FeatureFlags (18.12.2): + - Airship/FeatureFlags (18.13.0): - Airship/Core - - Airship/MessageCenter (18.12.2): + - Airship/MessageCenter (18.13.0): - Airship/Core - - Airship/PreferenceCenter (18.12.2): + - Airship/PreferenceCenter (18.13.0): - Airship/Core - - AirshipFrameworkProxy (11.0.6): - - Airship (= 18.12.2) - - AirshipServiceExtension (18.12.2) + - AirshipFrameworkProxy (11.1.0): + - Airship (= 18.13.0) + - AirshipServiceExtension (18.13.0) - boost (1.83.0) - DoubleConversion (1.1.6) - FBLazyVector (0.73.4) @@ -907,8 +907,8 @@ PODS: - React-Mapbuffer (0.73.4): - glog - React-debug - - react-native-airship (20.0.4): - - AirshipFrameworkProxy (= 11.0.6) + - react-native-airship (20.1.0): + - AirshipFrameworkProxy (= 11.1.0) - glog - RCT-Folly (= 2022.05.16.00) - React-Core @@ -1279,9 +1279,9 @@ EXTERNAL SOURCES: :path: "../node_modules/react-native/ReactCommon/yoga" SPEC CHECKSUMS: - Airship: 1a2fe417369e3dab8db33e413b08a7acd82d3b5d - AirshipFrameworkProxy: dc39b6ab4f8b2026afeac95fc18eeb6f5d030f0a - AirshipServiceExtension: 662514e9527b07865f88fe35ac3214884bddc392 + Airship: bfe90d95c2b2bd0ea9ed5248a1337f124fe8abfe + AirshipFrameworkProxy: 15e4589484430c292aadc7e9f9878d83b7c0fd25 + AirshipServiceExtension: aefb21acb70a7476279793d6e38be2bd612817d0 boost: d3f49c53809116a5d38da093a8aa78bf551aed09 DoubleConversion: fea03f2699887d960129cc54bba7e52542b6f953 FBLazyVector: 84f6edbe225f38aebd9deaf1540a4160b1f087d7 @@ -1311,7 +1311,7 @@ SPEC CHECKSUMS: React-jsinspector: 9ac353eccf6ab54d1e0a33862ba91221d1e88460 React-logger: 0a57b68dd2aec7ff738195f081f0520724b35dab React-Mapbuffer: 63913773ed7f96b814a2521e13e6d010282096ad - react-native-airship: ceed47dc813720197f60b43281f7ff5bdbe6b182 + react-native-airship: adf4c86f2971ffe1f5f30b7c150d73e60725e009 react-native-safe-area-context: b97eb6f9e3b7f437806c2ce5983f479f8eb5de4b React-nativeconfig: d7af5bae6da70fa15ce44f045621cf99ed24087c React-NativeModulesApple: 0123905d5699853ac68519607555a9a4f5c7b3ac diff --git a/ios/AirshipReactNative.swift b/ios/AirshipReactNative.swift index f40bb150..7addf679 100644 --- a/ios/AirshipReactNative.swift +++ b/ios/AirshipReactNative.swift @@ -39,7 +39,7 @@ public class AirshipReactNative: NSObject { AirshipProxy.shared } - public static let version: String = "20.0.4" + public static let version: String = "20.1.0" private let eventNotifier = EventNotifier() diff --git a/package-lock.json b/package-lock.json index 9e3a3fe0..6edff1be 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ua/react-native-airship", - "version": "19.4.1", + "version": "20.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@ua/react-native-airship", - "version": "19.4.1", + "version": "20.1.0", "license": "Apache-2.0", "devDependencies": { "@commitlint/config-conventional": "^17.0.2", diff --git a/package.json b/package.json index c6cc6b6c..ee7c7d5b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ua/react-native-airship", - "version": "20.0.4", + "version": "20.1.0", "description": "Airship plugin for React Native apps.", "main": "lib/commonjs/index", "module": "lib/module/index", diff --git a/react-native-airship.podspec b/react-native-airship.podspec index 13eca085..ec93ef71 100644 --- a/react-native-airship.podspec +++ b/react-native-airship.podspec @@ -22,6 +22,6 @@ Pod::Spec.new do |s| s.dependency "React-Core" end - s.dependency "AirshipFrameworkProxy", "11.0.6" + s.dependency "AirshipFrameworkProxy", "11.1.0" end diff --git a/scripts/run_ci_tasks.sh b/scripts/run_ci_tasks.sh index 16777d70..d8140bd4 100755 --- a/scripts/run_ci_tasks.sh +++ b/scripts/run_ci_tasks.sh @@ -55,7 +55,7 @@ if $IOS; then PROJECT_PLATFORM_PATH="$(pwd)" DERIVED_DATA=$(mktemp -d /tmp/ci-derived-data-XXXXX) TARGET_SDK='iphonesimulator' - TEST_DESTINATION='platform=iOS Simulator,OS=17.0.1,name=iPhone 15 Pro Max' + TEST_DESTINATION='platform=iOS Simulator,OS=18.1,name=iPhone 16 Pro Max' # Use Debug configurations and a simulator SDK so the build process doesn't attempt to sign the output xcrun xcodebuild -workspace "${PROJECT_PLATFORM_PATH}/AirshipExample.xcworkspace" -derivedDataPath "${DERIVED_DATA}" -scheme "AirshipExample" -configuration Debug -sdk $TARGET_SDK -destination "${TEST_DESTINATION}"