Skip to content

Commit 42c70cf

Browse files
Merge branch 'master' into muzahid-test-fsc-2
2 parents e89ff52 + 9d635dc commit 42c70cf

18 files changed

+666
-131
lines changed

.github/workflows/integration_tests.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ on:
55
secrets:
66
CI_USER_TOKEN:
77
required: true
8-
TRAVIS_COM_TOKEN:
9-
required: true
10-
118
jobs:
129
integration_tests:
1310
runs-on: ubuntu-latest
@@ -16,8 +13,8 @@ jobs:
1613
with:
1714
# You should create a personal access token and store it in your repository
1815
token: ${{ secrets.CI_USER_TOKEN }}
19-
repository: 'optimizely/travisci-tools'
20-
path: 'home/runner/travisci-tools'
16+
repository: 'optimizely/ci-helper-tools'
17+
path: 'home/runner/ci-helper-tools'
2118
ref: 'master'
2219
- name: set SDK Branch if PR
2320
env:
@@ -31,7 +28,6 @@ jobs:
3128
if: ${{ github.event_name != 'pull_request' }}
3229
run: |
3330
echo "SDK_BRANCH=$REF_NAME" >> $GITHUB_ENV
34-
echo "TRAVIS_BRANCH=$REF_NAME" >> $GITHUB_ENV
3531
- name: Trigger build
3632
env:
3733
SDK: swift
@@ -41,14 +37,12 @@ jobs:
4137
GITHUB_TOKEN: ${{ secrets.CI_USER_TOKEN }}
4238
EVENT_TYPE: ${{ github.event_name }}
4339
GITHUB_CONTEXT: ${{ toJson(github) }}
44-
#REPO_SLUG: ${{ github.repository }}
4540
PULL_REQUEST_SLUG: ${{ github.repository }}
4641
UPSTREAM_REPO: ${{ github.repository }}
4742
PULL_REQUEST_SHA: ${{ github.event.pull_request.head.sha }}
4843
PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }}
4944
UPSTREAM_SHA: ${{ github.sha }}
50-
TOKEN: ${{ secrets.TRAVIS_COM_TOKEN }}
5145
EVENT_MESSAGE: ${{ github.event.message }}
5246
HOME: 'home/runner'
5347
run: |
54-
home/runner/travisci-tools/trigger-script-with-status-update.sh
48+
home/runner/ci-helper-tools/trigger-script-with-status-update.sh

.github/workflows/source_clear_cron.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
source_clear:
12-
runs-on: macos-12
12+
runs-on: macos-13
1313
steps:
1414
- uses: actions/checkout@v3
1515
- name: Source clear scan

.github/workflows/swift.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
description: release
1818

1919
env:
20-
VERSION: 5.0.0
20+
VERSION: 5.1.0
2121

2222
jobs:
2323

@@ -29,10 +29,9 @@ jobs:
2929
uses: optimizely/swift-sdk/.github/workflows/integration_tests.yml@master
3030
secrets:
3131
CI_USER_TOKEN: ${{ secrets.CI_USER_TOKEN }}
32-
TRAVIS_COM_TOKEN: ${{ secrets.TRAVIS_COM_TOKEN }}
3332

3433
lint:
35-
runs-on: macos-12
34+
runs-on: macos-13
3635
steps:
3736
- uses: actions/checkout@v3
3837
- uses: maxim-lobanov/setup-xcode@v1
@@ -41,16 +40,15 @@ jobs:
4140
- env:
4241
SRCCLR_API_TOKEN: ${{ secrets.SRCCLR_API_TOKEN }}
4342
run: |
44-
gem install cocoapods -v '1.9.3'
43+
gem install cocoapods -v '1.15.2'
4544
pod spec lint --quick
4645
curl -sSL https://download.sourceclear.com/ci.sh | bash
4746
4847
unittests:
4948
if: "${{ github.event.inputs.PREP == '' && github.event.inputs.RELEASE == '' }}"
5049
uses: optimizely/swift-sdk/.github/workflows/unit_tests.yml@master
51-
5250
prepare_for_release:
53-
runs-on: macos-12
51+
runs-on: macos-13
5452
if: "${{ github.event.inputs.PREP == 'true' && github.event_name == 'workflow_dispatch' }}"
5553
steps:
5654
- uses: actions/checkout@v3
@@ -69,7 +67,7 @@ jobs:
6967
BRANCH: ${{ github.ref_name }}
7068
GITHUB_USER: optibot
7169
GITHUB_TOKEN: ${{ secrets.CI_USER_TOKEN }}
72-
COCOAPODS_VERSION: '1.12.1'
70+
COCOAPODS_VERSION: '1.15.2'
7371
run: |
7472
gem install cocoapods -v $COCOAPODS_VERSION
7573
Scripts/run_prep.sh
@@ -79,7 +77,7 @@ jobs:
7977

8078
release:
8179
if: "${{github.event.inputs.RELEASE == 'true' && github.event_name == 'workflow_dispatch' }}"
82-
runs-on: macos-12
80+
runs-on: macos-13
8381
steps:
8482
- uses: actions/checkout@v3
8583
- uses: maxim-lobanov/setup-xcode@v1
@@ -96,7 +94,7 @@ jobs:
9694
BRANCH: ${{ github.ref_name }}
9795
GITHUB_TOKEN: ${{ secrets.CI_USER_TOKEN }}
9896
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
99-
COCOAPODS_VERSION: '1.12.1'
97+
COCOAPODS_VERSION: '1.15.2'
10098
run: |
10199
gem install cocoapods -v $COCOAPODS_VERSION
102100
Scripts/run_release.sh

.github/workflows/unit_tests.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ env:
77

88
jobs:
99
unittests:
10-
runs-on: macos-12
10+
runs-on: macos-13
1111
strategy:
1212
fail-fast: false
1313
matrix:
@@ -19,27 +19,27 @@ jobs:
1919
# - see "https://github.com/actions/runner-images/blob/main/images/macos/macos-11-Readme.md" for installed macOS, xcode and simulator versions.
2020
include:
2121
- os: 16.1
22-
device: "iPhone 12"
22+
device: "iPhone 14"
2323
scheme: "OptimizelySwiftSDK-iOS"
2424
test_sdk: "iphonesimulator"
2525
platform: "iOS Simulator"
2626
os_type: "iOS"
2727
simulator_xcode_version: 14.1
28-
- os: 15.5
29-
device: "iPhone 12"
28+
- os: 16.2
29+
device: "iPhone 14"
3030
scheme: "OptimizelySwiftSDK-iOS"
3131
test_sdk: "iphonesimulator"
3232
platform: "iOS Simulator"
3333
os_type: "iOS"
34-
simulator_xcode_version: 13.4.1
35-
- os: 15.5
34+
simulator_xcode_version: 14.2
35+
- os: 16.4
3636
# good to have tests with older OS versions, but it looks like this is min OS+xcode versions supported by github actions
37-
device: "iPad Air (4th generation)"
37+
device: "iPad Air (5th generation)"
3838
scheme: "OptimizelySwiftSDK-iOS"
3939
test_sdk: "iphonesimulator"
4040
platform: "iOS Simulator"
4141
os_type: "iOS"
42-
simulator_xcode_version: 13.4.1
42+
simulator_xcode_version: 14.3.1
4343
- os: 16.1
4444
device: "Apple TV"
4545
scheme: "OptimizelySwiftSDK-tvOS"
@@ -76,7 +76,7 @@ jobs:
7676
NAME: ${{ matrix.device }}
7777
run: |
7878
gem install coveralls-lcov
79-
gem install cocoapods -v '1.11.3'
79+
gem install cocoapods -v '1.15.2'
8080
pod repo update
8181
pod install
8282
HOMEBREW_NO_INSTALL_CLEANUP=true brew update && brew install jq
@@ -85,7 +85,7 @@ jobs:
8585
# - to find pre-installed xcode version, run this:
8686
##ls /Applications/
8787
# - to find supported simulator os versions, run this (and find simulator with non-error "datapath")
88-
##xcrun simctl list --json devices
88+
# xcrun simctl list --json devices
8989
9090
# switch to the target xcode version
9191
sudo xcode-select -switch /Applications/Xcode_$SIMULATOR_XCODE_VERSION.app

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
# Optimizely Swift SDK Changelog
22

3+
## 5.1.0
4+
February 4th, 2025
5+
6+
### Functionality Enhancement
7+
* Add support for nested event tags ([#570](https://github.com/optimizely/swift-sdk/pull/570)).
8+
39
## 5.0.0
410
November 25th, 2024
511

612
### Breaking Changes
7-
* VUID configuration is now independent of ODP ([#556](https://github.com/optimizely/swift-sdk/pull/556))
13+
* VUID configuration is now independent of ODP ([#456](https://github.com/optimizely/swift-sdk/pull/556))
814
* When VUID is disabled:
915
* `vuid` is not generated or saved.
1016
* `client-initialized` event will not auto fired on SDK init.

OptimizelySwiftSDK.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22
s.name = "OptimizelySwiftSDK"
33
s.module_name = "Optimizely"
4-
s.version = "4.1.0"
4+
s.version = "5.1.0"
55
s.summary = "Optimizely experiment framework for iOS/tvOS/watchOS"
66
s.homepage = "https://docs.developers.optimizely.com/experimentation/v4.0.0-full-stack/docs"
77
s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE" }

0 commit comments

Comments
 (0)