Skip to content

Commit

Permalink
Merge pull request #1703 from bugsnag/release-v6.30.2
Browse files Browse the repository at this point in the history
Release v6.30.2
  • Loading branch information
robert-smartbear authored Nov 7, 2024
2 parents b29cdab + ef7165b commit d8b6498
Show file tree
Hide file tree
Showing 58 changed files with 3,268 additions and 445 deletions.
282 changes: 271 additions & 11 deletions .buildkite/pipeline.full.yml

Large diffs are not rendered by default.

77 changes: 67 additions & 10 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ steps:
#

- label: Static framework and Swift Package Manager builds
key: framework_build
timeout_in_minutes: 10
agents:
queue: macos-14
Expand All @@ -17,10 +18,10 @@ steps:
- make build_xcframework
- make build_swift
- make build_ios_static
- zip -ry Bugsnag.xcframework.zip build/xcframeworks/products/Bugsnag.xcframework
plugins:
- artifacts#v1.9.3:
upload: "build/xcframeworks/products/Bugsnag.xcframework"
compressed: xcframework.zip
upload: "Bugsnag.xcframework.zip"

- label: Build test fixtures
key: cocoa_fixture
Expand Down Expand Up @@ -205,6 +206,10 @@ steps:
upload:
- "macOSTestApp.log"
- "maze_output/failed/**/*"
test-collector#v1.10.2:
files: "reports/TEST-*.xml"
format: "junit"
branch: "^master|next$$"
commands:
- bundle install
- bundle exec maze-runner
Expand All @@ -224,6 +229,10 @@ steps:
upload:
- "macOSTestApp.log"
- "maze_output/failed/**/*"
test-collector#v1.10.2:
files: "reports/TEST-*.xml"
format: "junit"
branch: "^master|next$$"
commands:
- bundle install
- bundle exec maze-runner
Expand All @@ -243,6 +252,10 @@ steps:
upload:
- "macOSTestApp.log"
- "maze_output/failed/**/*"
test-collector#v1.10.2:
files: "reports/TEST-*.xml"
format: "junit"
branch: "^master|next$$"
commands:
- bundle install
- bundle exec maze-runner
Expand Down Expand Up @@ -280,6 +293,10 @@ steps:
artifacts#v1.5.0:
download: ["features/fixtures/macos/output/macOSTestApp_Release.zip"]
upload: ["macOSTestApp.log", "maze_output/failed/**/*"]
test-collector#v1.10.2:
files: "reports/TEST-*.xml"
format: "junit"
branch: "^master|next$$"
commands:
- bundle install
- bundle exec maze-runner
Expand Down Expand Up @@ -350,7 +367,7 @@ steps:
#
# BrowserStack
#
- label: ':browserstack: iOS 17 E2E tests batch 1'
- label: ':browserstack: iOS 18 E2E tests batch 1'
depends_on:
- cocoa_fixture
timeout_in_minutes: 60
Expand All @@ -367,12 +384,16 @@ steps:
command:
- "--app=@/app/build/ipa_url_bs_release.txt"
- "--farm=bs"
- "--device=IOS_17"
- "--device=IOS_18"
- "--appium-version=1.21.0"
- "--a11y-locator"
- "--fail-fast"
- "features/release"
- "--exclude=features/release/[e-z].*.feature$"
test-collector#v1.10.2:
files: "reports/TEST-*.xml"
format: "junit"
branch: "^master|next$$"
concurrency: 25
concurrency_group: 'browserstack-app'
concurrency_method: eager
Expand All @@ -381,7 +402,7 @@ steps:
- exit_status: -1 # Agent was lost
limit: 2

- label: ':browserstack: iOS 17 E2E tests batch 2'
- label: ':browserstack: iOS 18 E2E tests batch 2'
depends_on:
- cocoa_fixture
timeout_in_minutes: 60
Expand All @@ -398,12 +419,16 @@ steps:
command:
- "--app=@/app/build/ipa_url_bs_release.txt"
- "--farm=bs"
- "--device=IOS_17"
- "--device=IOS_18"
- "--appium-version=1.21.0"
- "--a11y-locator"
- "--fail-fast"
- "features/release"
- "--exclude=features/release/[a-d].*.feature$"
test-collector#v1.10.2:
files: "reports/TEST-*.xml"
format: "junit"
branch: "^master|next$$"
concurrency: 25
concurrency_group: 'browserstack-app'
concurrency_method: eager
Expand All @@ -413,7 +438,7 @@ steps:
limit: 2

# PLAT-11155: App hang tests run on BrowserStack (Appium 1.x) for now
- label: ':browserstack: iOS 17 app hang tests'
- label: ':browserstack: iOS 18 app hang tests'
depends_on:
- cocoa_fixture
timeout_in_minutes: 30
Expand All @@ -429,10 +454,14 @@ steps:
command:
- "--app=@build/ipa_url_bs_release.txt"
- "--farm=bs"
- "--device=IOS_17"
- "--device=IOS_18"
- "--appium-version=1.21.0"
- "--fail-fast"
- "features/app_hangs.feature"
test-collector#v1.10.2:
files: "reports/TEST-*.xml"
format: "junit"
branch: "^master|next$$"
concurrency: 5
concurrency_group: 'browserstack-app'
concurrency_method: eager
Expand Down Expand Up @@ -474,6 +503,10 @@ steps:
- "--aws-public-ip"
- "--fail-fast"
- "features/release/barebone_tests.feature"
test-collector#v1.10.2:
files: "reports/TEST-*.xml"
format: "junit"
branch: "^master|next$$"
concurrency: 25
concurrency_group: 'bitbar'
concurrency_method: eager
Expand Down Expand Up @@ -504,6 +537,10 @@ steps:
- "--aws-public-ip"
- "--fail-fast"
- "features/release/barebone_tests.feature"
test-collector#v1.10.2:
files: "reports/TEST-*.xml"
format: "junit"
branch: "^master|next$$"
concurrency: 25
concurrency_group: 'bitbar'
concurrency_method: eager
Expand Down Expand Up @@ -534,6 +571,10 @@ steps:
- "--aws-public-ip"
- "--fail-fast"
- "features/release/barebone_tests.feature"
test-collector#v1.10.2:
files: "reports/TEST-*.xml"
format: "junit"
branch: "^master|next$$"
concurrency: 25
concurrency_group: 'bitbar'
concurrency_method: eager
Expand Down Expand Up @@ -564,6 +605,10 @@ steps:
- "--aws-public-ip"
- "--fail-fast"
- "features/release/barebone_tests.feature"
test-collector#v1.10.2:
files: "reports/TEST-*.xml"
format: "junit"
branch: "^master|next$$"
concurrency: 25
concurrency_group: 'bitbar'
concurrency_method: eager
Expand All @@ -577,7 +622,7 @@ steps:
# Debug configration E2E tests
#

- label: ':browserstack: iOS 17 debug configuration tests'
- label: ':browserstack: iOS 18 debug configuration tests'
depends_on:
- cocoa_fixture
timeout_in_minutes: 60
Expand All @@ -593,9 +638,13 @@ steps:
command:
- "--app=@/app/build/ipa_url_bs_debug.txt"
- "--farm=bs"
- "--device=IOS_17"
- "--device=IOS_18"
- "--fail-fast"
- "features/debug"
test-collector#v1.10.2:
files: "reports/TEST-*.xml"
format: "junit"
branch: "^master|next$$"
concurrency: 5
concurrency_group: 'browserstack-app'
concurrency_method: eager
Expand Down Expand Up @@ -626,6 +675,10 @@ steps:
- "--aws-public-ip"
- "--fail-fast"
- "features/debug"
test-collector#v1.10.2:
files: "reports/TEST-*.xml"
format: "junit"
branch: "^master|next$$"
concurrency: 25
concurrency_group: 'bitbar'
concurrency_method: eager
Expand All @@ -646,6 +699,10 @@ steps:
upload:
- "macOSTestApp.log"
- "maze_output/failed/**/*"
test-collector#v1.10.2:
files: "reports/TEST-*.xml"
format: "junit"
branch: "^master|next$$"
commands:
- bundle install
- bundle exec maze-runner
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/downstream_updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
description: 'Version of the submodule to update downstream repos to'
required: true
type: string
permissions: read-all

jobs:
update-dependencies:
Expand All @@ -17,7 +18,7 @@ jobs:
RELEASE_VERSION: ${{ github.event_name == 'workflow_dispatch' && inputs.target_version || github.event.release.tag_name }}
strategy:
matrix:
downstream_repo: ['bugsnag/bugsnag-unity', 'bugsnag/bugsnag-flutter']
downstream_repo: ['bugsnag/bugsnag-unity', 'bugsnag/bugsnag-flutter', 'bugsnag/bugsnag-js', 'bugsnag/bugsnag-unreal']
steps:
- name: Install libcurl4-openssl-dev and net-tools
run: |
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
name: "Pull Request"
on: [pull_request]
permissions: read-all

jobs:

analyze:
permissions:
statuses: write
runs-on: macos-14
env:
# Infer 1.0.1 cannot parse the iOS 15 SDK headers
DEVELOPER_DIR: /Applications/Xcode_15.4.app
steps:
- name: Checkout pull request HEAD
uses: actions/checkout@v2
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Install dependencies
Expand All @@ -21,16 +24,19 @@ jobs:
run: make oclint

danger:
permissions:
pull-requests: write
statuses: write
runs-on: macos-14
steps:
- name: Checkout target branch
uses: actions/checkout@v2
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
with:
ref: ${{ github.base_ref }}
- name: Build framework
run: xcodebuild -project Bugsnag.xcodeproj -configuration Release -target Bugsnag-iOS -destination generic/platform=iOS -quiet clean build VALID_ARCHS=arm64 RUN_CLANG_STATIC_ANALYZER=NO && mv build build.base
- name: Checkout pull request merge branch
uses: actions/checkout@v2
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
with:
clean: false
fetch-depth: 100
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/update_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ name: "Update Docs"
on:
release:
types: [published]
permissions: read-all

jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout bugsnag-cocoa
uses: actions/checkout@v2
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0

- name: Checkout docs branch
uses: actions/checkout@v2
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
with:
ref: gh-pages
path: docs
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ Package.resolved
/oclint.json
bb.ready
/maze_output
Gemfile.lock
4 changes: 2 additions & 2 deletions .jazzy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ author_url: "https://www.bugsnag.com"
author: "Bugsnag Inc"
clean: false # avoid deleting docs/.git
framework_root: "Bugsnag"
github_file_prefix: "https://github.com/bugsnag/bugsnag-cocoa/tree/v6.30.1/Bugsnag"
github_file_prefix: "https://github.com/bugsnag/bugsnag-cocoa/tree/v6.30.2/Bugsnag"
github_url: "https://github.com/bugsnag/bugsnag-cocoa"
hide_documentation_coverage: true
module: "Bugsnag"
module_version: "6.30.1"
module_version: "6.30.2"
objc: true
output: "docs"
readme: "README.md"
Expand Down
4 changes: 2 additions & 2 deletions Bugsnag.podspec.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Bugsnag",
"version": "6.30.1",
"version": "6.30.2",
"summary": "The Bugsnag crash reporting framework for Apple platforms.",
"homepage": "https://bugsnag.com",
"license": "MIT",
Expand All @@ -9,7 +9,7 @@
},
"source": {
"git": "https://github.com/bugsnag/bugsnag-cocoa.git",
"tag": "v6.30.1"
"tag": "v6.30.2"
},
"ios": {
"frameworks": [
Expand Down
6 changes: 4 additions & 2 deletions Bugsnag/Helpers/BSGRunContext.m
Original file line number Diff line number Diff line change
Expand Up @@ -460,8 +460,10 @@ static void UpdateTaskMemory(void) {
if (task_vm.limit_bytes_remaining) {
setMemoryUsage(footprint, task_vm.limit_bytes_remaining);
} else {
#if !TARGET_OS_OSX
if (@available(iOS 13.0, tvOS 13.0, watchOS 6.0, macCatalyst 13.1, *)) {
#if !TARGET_OS_OSX && !TARGET_OS_MACCATALYST
// We disable access to os_proc_available_memory() entirely on Catalyst
// because earlier versions are missing the API, causing linker errors on launch.
if (@available(iOS 13.0, tvOS 13.0, watchOS 6.0, *)) {
setMemoryUsage(footprint, os_proc_available_memory());
}
#endif
Expand Down
2 changes: 1 addition & 1 deletion Bugsnag/Payload/BugsnagNotifier.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ - (instancetype)init {
#else
_name = @"Bugsnag Objective-C";
#endif
_version = @"6.30.1";
_version = @"6.30.2";
_url = @"https://github.com/bugsnag/bugsnag-cocoa";
_dependencies = @[];
}
Expand Down
6 changes: 3 additions & 3 deletions BugsnagNetworkRequestPlugin.podspec.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "BugsnagNetworkRequestPlugin",
"version": "6.30.1",
"version": "6.30.2",
"summary": "Network request monitoring support for Bugsnag.",
"homepage": "https://bugsnag.com",
"license": "MIT",
"authors": {
"Bugsnag": "[email protected]"
},
"readme": "https://raw.githubusercontent.com/bugsnag/bugsnag-cocoa/v6.30.1/BugsnagNetworkRequestPlugin/README.md",
"readme": "https://raw.githubusercontent.com/bugsnag/bugsnag-cocoa/v6.30.2/BugsnagNetworkRequestPlugin/README.md",
"source": {
"git": "https://github.com/bugsnag/bugsnag-cocoa.git",
"tag": "v6.30.1"
"tag": "v6.30.2"
},
"dependencies": {
"Bugsnag": "~> 6.13"
Expand Down
Loading

0 comments on commit d8b6498

Please sign in to comment.