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

Release v6.30.2 #1703

Merged
merged 42 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
dd02219
Test fixture workspace using Bugsnag xcframework
twometresteve Jun 28, 2024
32050a4
XcFramework IPA building on command line
twometresteve Jun 28, 2024
b6a2be5
Build and run XcFramework e2e tests
twometresteve Jun 28, 2024
1b1b3f9
Artifact fixes
twometresteve Jun 28, 2024
499f850
Do not use absolute path
twometresteve Jun 29, 2024
db95c4e
Correct filename
twometresteve Jun 29, 2024
ac339ce
No fail fast
twometresteve Jun 29, 2024
3d9a89d
Should build in Release mode
twometresteve Jul 12, 2024
b356207
Remove lock file
twometresteve Jul 12, 2024
e468ff0
Allow for app built with XcFramework notifier
twometresteve Jul 12, 2024
1b70ecf
Test
twometresteve Jul 12, 2024
e03e4c9
Test again dev maze
twometresteve Jul 25, 2024
f3d8581
Removed - unnecessary
twometresteve Jul 25, 2024
f46a601
Missing ?
twometresteve Jul 25, 2024
82e47dc
Merge branch 'next' into tms/framework-fixture-2
twometresteve Jul 26, 2024
8d3f16d
Run the release tests
twometresteve Jul 26, 2024
2954620
Use regex step
twometresteve Jul 26, 2024
e484110
Just run the barebone tests on a full build for the xcframework fixture
twometresteve Jul 29, 2024
cc302b0
Revert MR changes
twometresteve Jul 29, 2024
0a87123
Don't follow symlinks
twometresteve Jul 30, 2024
ab3135f
Move usage check away from scope of XcFramework tests
twometresteve Jul 30, 2024
0827bcd
Merge pull request #1684 from bugsnag/tms/framework-fixture-2
twometresteve Aug 1, 2024
1057abd
Re-enable app-hang tests
Cawllec Jul 26, 2024
8eb70fb
Disable failing app-hang iOS 13 tests
Cawllec Aug 5, 2024
e41db63
Add other downstream repos for automatic updates (#1673)
Cawllec Aug 6, 2024
2328a0f
Merge pull request #1686 from bugsnag/tests/app-hangs
twometresteve Aug 6, 2024
7b328ed
Remove call to os_proc_available_memory() on Mac Catalyst due to miss…
kstenerud Aug 15, 2024
9d5dcb2
Merge pull request #1689 from bugsnag/PLAT-12580-disable-os_proc_avai…
kstenerud Aug 15, 2024
d344ad8
Use direct project references instead of cocoapods for the macos fixture
kstenerud Sep 5, 2024
cb614d0
Merge pull request #1693 from bugsnag/PLAT-12646-remove-fixture-podfile
kstenerud Sep 10, 2024
f2fe73b
Replace FixtureConfig with an Objective-C version so that it will be …
kstenerud Sep 26, 2024
cb78ff7
Merge pull request #1695 from bugsnag/karl/objc-fixture-config
kstenerud Sep 27, 2024
76cb8ae
Add macos fixture that uses the Bugsnag xcframeworks
kstenerud Sep 27, 2024
d6ce405
Add Buildkite analytics collectors to pipeline (#1697)
Cawllec Sep 30, 2024
324975f
Merge pull request #1696 from bugsnag/PLAT-12534-macos-xcframework-fi…
kstenerud Oct 2, 2024
0e9af66
Repo security upgrades (#1699)
robert-smartbear Oct 23, 2024
8c47224
add ios 18
joshedney Oct 28, 2024
910ef05
add ios 18
joshedney Oct 28, 2024
9268499
add ios 18 full
joshedney Oct 28, 2024
72cfce0
[full ci]
joshedney Oct 28, 2024
09b3a24
Merge pull request #1701 from bugsnag/je/plat-12959-ios-18
joshedney Oct 29, 2024
ef7165b
Release v6.30.2
Nov 7, 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
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
Loading