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

1.10.0 Release #499

Merged
merged 38 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
132e21d
[CI] Update some release-related git commands (#467)
testableapple Jul 19, 2024
a48a6b3
[Fix]Debug menu call expiration not working as expected (#468)
ipavlidakis Jul 20, 2024
97ee998
Resolve StreamVideo.xcframework cocoapods-related paths (#469)
testableapple Jul 22, 2024
562b9ce
Update git fetch-depth on release (#470)
testableapple Jul 22, 2024
0cb9aaa
[CI] Comment SDK size on every commit (#472)
testableapple Jul 30, 2024
7453211
[CI] Automatically update SDK size badges in README.md (#473)
testableapple Jul 30, 2024
5997914
[CI] Adjust sdk size report on release PRs (#474)
testableapple Jul 30, 2024
11f1940
Update the notification docs (#475)
martinmitrevski Jul 31, 2024
41b35ef
[Fix]Recording state when failed (#476)
ipavlidakis Jul 31, 2024
7b863b4
[CI] Correctly retrieve a git branch on CI (#477)
testableapple Jul 31, 2024
bb6d827
[CI] Automate the merge of the release branches (#478)
testableapple Aug 1, 2024
05d23d5
Removed clean reconnect from reconnect strategies (#481)
martinmitrevski Aug 6, 2024
a4ebfd2
[CI] Update gems (#482)
testableapple Aug 6, 2024
8ebe1f0
Remove unused code (#483)
martinmitrevski Aug 8, 2024
3d1ff03
[CI] Rename bot on CI
testableapple Aug 9, 2024
4ca2bda
[CI] Rename metrics repo
testableapple Aug 12, 2024
ee1f209
[CI] Share fastlane lanes across platforms (#487)
testableapple Aug 14, 2024
e65f5e8
[CI] Measure the size of StreamWebRTC (#485)
testableapple Aug 14, 2024
babef4d
[CI] Add space to SDK size badge
testableapple Aug 14, 2024
3679c13
Removed unused code (#486)
martinmitrevski Aug 14, 2024
f2c3de3
Bump fastlane plugin version
testableapple Aug 15, 2024
a5b78f0
[CI] Update release-related fastlane lanes
testableapple Aug 16, 2024
6edf57d
Updates to the livestream docs (#484)
martinmitrevski Aug 19, 2024
d560e06
Generated RTMP-related code (#488)
martinmitrevski Aug 20, 2024
b257cc6
Added muted property to announced tracks data (#490)
martinmitrevski Aug 21, 2024
c691dac
[CI] Update publish release flow (#492)
testableapple Aug 22, 2024
d5bf2ed
Enhancement/custom call settings when joining from callkit (#491)
ipavlidakis Aug 22, 2024
03c3a30
[Fix]Ensure Call.state.startedAt is non-nil when session is valid (#493)
ipavlidakis Aug 22, 2024
0e8e550
Generated code for participant count session event (#494)
martinmitrevski Aug 26, 2024
7544d46
Updated the docs structure and content (#495)
martinmitrevski Aug 27, 2024
a54a99f
[Enhancement]Handle participantsCount event (#496)
ipavlidakis Aug 28, 2024
fbfa582
[Fix]Allow callSettings propagation to CallState (#497)
ipavlidakis Aug 29, 2024
a51b9f0
[CI] Fix fastlane lane syntax (#498)
testableapple Aug 29, 2024
e93bcf8
[CI] Do not cache iOS Simulator Runtimes nightly (#500)
testableapple Aug 30, 2024
95792a4
[Workaround]ParticipantCount event backend fix (#502)
ipavlidakis Sep 3, 2024
17fbf0f
[Fix]CalSettings propagation to call (#505)
ipavlidakis Sep 3, 2024
b9708bb
Bump 1.10.0
Aug 29, 2024
151c2d3
[CI] Clean up some disk space on CI before downloading iOS runtimes (…
testableapple Sep 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .github/actions/setup-ios-runtime/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,13 @@ description: 'Download and Install requested iOS Runtime'
runs:
using: "composite"
steps:
- name: Cache iOS Simulator Runtime
uses: actions/cache@v4
id: runtime-cache
with:
path: ./*.dmg
key: ipsw-runtime-ios-${{ inputs.version }}
restore-keys: ipsw-runtime-ios-${{ inputs.version }}
- name: Setup iOS Simulator Runtime
shell: bash
run: |
sudo rm -rfv ~/Library/Developer/CoreSimulator/* || true
brew install blacktop/tap/ipsw
bundle exec fastlane install_runtime ios:${{ inputs.version }}
sudo rm -rfv *.dmg || true
xcrun simctl list runtimes
- name: Create Custom iOS Simulator
shell: bash
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/cron-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ name: Cron Checks

on:
schedule:
# Runs "At 01:00 every night"
- cron: '0 1 * * *'
# Runs "At 01:00 every night except weekends"
- cron: '0 1 * * 1-5'

workflow_dispatch:

concurrency:
Expand All @@ -12,6 +13,7 @@ concurrency:

env:
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Disable cleanup for homebrew, we don't need it on CI
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
build-test-app-and-frameworks:
Expand Down Expand Up @@ -58,7 +60,6 @@ jobs:
runs-on: ${{ matrix.os }}
env:
GITHUB_EVENT: ${{ toJson(github.event) }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ALLURE_TOKEN: ${{ secrets.ALLURE_TOKEN }}
XCODE_VERSION: ${{ matrix.xcode }}
IOS_SIMULATOR_DEVICE: "${{ matrix.device }} (${{ matrix.ios }})" # For the Allure report
Expand Down Expand Up @@ -147,7 +148,6 @@ jobs:
fail-fast: false
runs-on: ${{ matrix.os }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
XCODE_VERSION: ${{ matrix.xcode }}
STREAM_VIDEO_SECRET: ${{ secrets.STREAM_VIDEO_SECRET }}
steps:
Expand Down Expand Up @@ -213,6 +213,10 @@ jobs:
env:
XCODE_VERSION: "15.0.1"
steps:
- name: Connect Bot
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }}
- uses: actions/[email protected]
- uses: ./.github/actions/ruby-cache
- name: List Xcode versions
Expand All @@ -225,10 +229,6 @@ jobs:
- name: Build UIKit
run: bundle exec fastlane test_uikit device:"iPhone 15" build_for_testing:true
timeout-minutes: 25
- name: Install Bot SSH Key
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }}
- name: Build XCFrameworks
run: bundle exec fastlane build_xcframeworks
timeout-minutes: 40
Expand Down
35 changes: 0 additions & 35 deletions .github/workflows/publish-release.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/release-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Merge release"

on:
issue_comment:
types: [created]

workflow_dispatch:

jobs:
merge-comment:
name: Merge release to main
runs-on: macos-14
if: github.event_name == 'workflow_dispatch' || (github.event.issue.pull_request && github.event.issue.state == 'open' && github.event.comment.body == '/merge release')
steps:
- name: Connect Bot
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }}

- uses: actions/[email protected]
with:
fetch-depth: 0

- uses: ./.github/actions/ruby-cache

- name: Merge
run: bundle exec fastlane merge_release author:"$USER_LOGIN" --verbose
env:
GITHUB_TOKEN: ${{ secrets.ADMIN_API_TOKEN }} # A token with the "admin:org" scope to get the list of the team members on GitHub
GITHUB_PR_NUM: ${{ github.event.issue.number }}
USER_LOGIN: ${{ github.event.comment.user.login != null && github.event.comment.user.login || github.event.sender.login }}
30 changes: 30 additions & 0 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "Publish new release"

on:
push:
branches:
- main

workflow_dispatch:

jobs:
release:
name: Publish new release
runs-on: macos-13
steps:
- name: Connect Bot
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }}

- uses: actions/[email protected]

- uses: ./.github/actions/ruby-cache

- name: "Fastlane - Publish Release"
env:
GITHUB_TOKEN: ${{ secrets.CI_BOT_GITHUB_TOKEN }}
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
APPSTORE_API_KEY: ${{ secrets.APPSTORE_API_KEY }}
run: bundle exec fastlane publish_release --verbose
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,19 @@ jobs:
name: Start new release
runs-on: macos-14
steps:
- name: Install Bot SSH Key
- name: Connect Bot
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }}

- uses: actions/[email protected]
with:
fetch-depth: 0 # to fetch git tags

- uses: ./.github/actions/ruby-cache

- uses: ./.github/actions/xcode-cache

- name: Create Release PR
run: bundle exec fastlane release version:"${{ github.event.inputs.version }}" --verbose
env:
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/sdk-size-metrics.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: SDK Size

on:
pull_request:

workflow_dispatch:

push:
branches:
- develop

env:
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Disable cleanup for homebrew, we don't need it on CI

jobs:
sdk_size:
name: Metrics
runs-on: macos-14
env:
GITHUB_TOKEN: '${{ secrets.CI_BOT_GITHUB_TOKEN }}'
steps:
- name: Connect Bot
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }}

- uses: actions/[email protected]

- uses: ./.github/actions/bootstrap

- name: Run SDK Size Metrics
run: bundle exec fastlane show_frameworks_sizes
timeout-minutes: 30
env:
GITHUB_PR_NUM: ${{ github.event.pull_request.number }}
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
APPSTORE_API_KEY: ${{ secrets.APPSTORE_API_KEY }}
28 changes: 6 additions & 22 deletions .github/workflows/smoke-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ concurrency:
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Disable cleanup for homebrew, we don't need it on CI
IOS_SIMULATOR_DEVICE: "iPhone 15 Pro (17.4)"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR_NUM: ${{ github.event.pull_request.number }}

jobs:
test-llc-debug:
name: Test LLC (Debug)
runs-on: macos-14
if: ${{ github.event.inputs.swiftui_snapshots != 'true' && github.event.inputs.uikit_snapshots != 'true' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR_NUM: ${{ github.event.number }}
STREAM_VIDEO_SECRET: ${{ secrets.STREAM_VIDEO_SECRET }}
steps:
- uses: actions/[email protected]
Expand All @@ -53,13 +53,9 @@ jobs:
env:
XCODE_VERSION: "15.2" # the most stable pair of Xcode
IOS_SIMULATOR_DEVICE: "iPhone 15 Pro (17.2)" # and iOS
- name: Get branch name
id: get_branch_name
run: echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
- name: Run Sonar analysis
run: bundle exec fastlane sonar_upload
env:
BRANCH_NAME: ${{ steps.get_branch_name.outputs.branch }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -97,7 +93,6 @@ jobs:
if: ${{ github.event_name != 'push' && github.event.inputs.swiftui_snapshots != 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.CI_BOT_GITHUB_TOKEN }} # to open a PR
GITHUB_PR_NUM: ${{ github.event.number }}
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/bootstrap
Expand Down Expand Up @@ -129,7 +124,6 @@ jobs:
if: ${{ github.event_name != 'push' && github.event.inputs.uikit_snapshots != 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.CI_BOT_GITHUB_TOKEN }} # to open a PR
GITHUB_PR_NUM: ${{ github.event.number }}
steps:
- uses: actions/[email protected]
- uses: ./.github/actions/bootstrap
Expand Down Expand Up @@ -161,8 +155,6 @@ jobs:
runs-on: macos-13
env:
XCODE_VERSION: "15.0.1"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR_NUM: ${{ github.event.number }}
if: ${{ github.event_name != 'push' && github.event.inputs.swiftui_snapshots != 'true' && github.event.inputs.uikit_snapshots != 'true' }}
steps:
- uses: actions/[email protected]
Expand All @@ -186,9 +178,11 @@ jobs:
if: ${{ github.event_name != 'push' && github.event.inputs.snapshots != 'true' }}
env:
XCODE_VERSION: "15.0.1"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR_NUM: ${{ github.event.number }}
steps:
- name: Connect Bot
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }}
- uses: actions/[email protected]
- uses: ./.github/actions/ruby-cache
- name: List Xcode versions
Expand All @@ -201,10 +195,6 @@ jobs:
- name: Build UIKit
run: bundle exec fastlane test_uikit device:"iPhone 15" build_for_testing:true
timeout-minutes: 25
- name: Install Bot SSH Key
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }}
- name: Build XCFrameworks
run: bundle exec fastlane build_xcframeworks
timeout-minutes: 40
Expand Down Expand Up @@ -238,9 +228,6 @@ jobs:
runs-on: macos-14
needs: build-test-app-and-frameworks
if: ${{ github.event_name != 'push' && github.event.inputs.swiftui_snapshots != 'true' && github.event.inputs.uikit_snapshots != 'true' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR_NUM: ${{ github.event.number }}
steps:
- uses: actions/[email protected]
- uses: actions/download-artifact@v4
Expand Down Expand Up @@ -270,7 +257,6 @@ jobs:
run: bundle exec fastlane allure_launch
env:
ALLURE_TOKEN: ${{ secrets.ALLURE_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_EVENT: ${{ toJson(github.event) }}
- id: get_launch_id
run: echo "launch_id=${{env.LAUNCH_ID}}" >> $GITHUB_OUTPUT
Expand All @@ -285,8 +271,6 @@ jobs:
- build-test-app-and-frameworks
env:
LAUNCH_ID: ${{ needs.allure_testops_launch.outputs.launch_id }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR_NUM: ${{ github.event.number }}
ALLURE_TOKEN: ${{ secrets.ALLURE_TOKEN }}
strategy:
matrix:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/testflight.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: Test Flight Deploy DemoApp

on:
# TODO: commented until `develop` branch is in place
# pull_request:
# branches:
# - 'main'
pull_request:
branches:
- 'main'

release:
types: [published]
Expand Down Expand Up @@ -32,7 +31,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR_NUM: ${{ github.event.number }}
steps:
- name: Install Bot SSH Key
- name: Connect Bot
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.BOT_SSH_PRIVATE_KEY }}
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ fastlane/screenshots
fastlane/test_output
fastlane/allurectl
fastlane/xcresults
**/metrics/
recordings
*.coverage.txt
vendor/bundle/
Expand All @@ -92,6 +93,8 @@ derived_data/
spm_cache/
.buildcache
buildcache
App Thinning Size Report.txt
app-thinning.plist
*.dmg

# Stream Video Buddy
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

### 🔄 Changed

# [1.10.0](https://github.com/GetStream/stream-video-swift/releases/tag/1.10.0)
_August 29, 2024_

### ✅ Added
- Participants (regular and anonymous) count, can be accessed - before or after joining a call - from the `Call.state.participantCount` & `Call.state.anonymousParticipantCount` respectively. [#496](https://github.com/GetStream/stream-video-swift/pull/496)
- You can now provide the `CallSettings` when you start a ringing call [#497](https://github.com/GetStream/stream-video-swift/pull/497)

# [1.0.9](https://github.com/GetStream/stream-video-swift/releases/tag/1.0.9)
_July 19, 2024_

Expand Down
Loading
Loading