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.28.1 #1633

Merged
merged 21 commits into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
287e2dd
Ensure the correct environment vars are being used (#1621)
Cawllec Dec 13, 2023
4dd0e35
Increase step timeouts to avoid unnecessary build failures
twometresteve Jan 3, 2024
6e67f7d
Merge pull request #1622 from bugsnag/tms/timeouts
twometresteve Jan 3, 2024
ea193c7
Run iOS 17 unit tests on Xcode 15
twometresteve Jan 11, 2024
33bf9be
Merge pull request #1623 from bugsnag/tms/unit-test-xcode
twometresteve Jan 11, 2024
2fbd706
Ignore maze_output folder
twometresteve Jan 19, 2024
e62948c
Use Xcode 14.3
twometresteve Jan 19, 2024
cc09382
Merge pull request #1624 from bugsnag/tms/set-xcode
twometresteve Jan 19, 2024
9ffc891
add cocoapods to the gemfile
Feb 12, 2024
179d840
add xcpretty to gemfile
Feb 12, 2024
36825ee
Merge pull request #1627 from bugsnag/je/plat-11248
joshedney Feb 12, 2024
43603ac
Fixed the issue causing PrivacyInfo collisions when using Cocoapods
Feb 14, 2024
234057f
[PLAT-11600] Update the Apple team ID used in the project and exampl…
joshedney Feb 15, 2024
d7c094a
Merge branch 'next' into robert/plat_11590_privacy_info_collisions
Feb 15, 2024
24fc207
Merge pull request #1630 from bugsnag/robert/plat_11590_privacy_info_…
tomlongridge Feb 19, 2024
c0fb4ea
Add auto retries on app-hang errors (#1628)
Cawllec Feb 19, 2024
502bc21
Ensure cocoapods are installed when building the examples
twometresteve Feb 26, 2024
a4cc872
Fix a race condition when calling BugsnagSessionTracker.addRuntimeVer…
kstenerud Feb 26, 2024
8f9733c
Merge pull request #1631 from bugsnag/tms/bundle-install
twometresteve Feb 26, 2024
920af29
Merge pull request #1632 from bugsnag/PLAT-11642-bugsnagsessiontracke…
kstenerud Feb 27, 2024
610244c
Release v6.28.1
kstenerud Feb 28, 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
11 changes: 8 additions & 3 deletions .buildkite/pipeline.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ steps:
- label: ':browserstack: iOS 15 app hang tests'
depends_on:
- cocoa_fixture
timeout_in_minutes: 10
timeout_in_minutes: 30
agents:
queue: opensource
plugins:
Expand Down Expand Up @@ -222,7 +222,7 @@ steps:
- label: ':browserstack: iOS 14 app hang tests'
depends_on:
- cocoa_fixture
timeout_in_minutes: 10
timeout_in_minutes: 30
agents:
queue: opensource
plugins:
Expand Down Expand Up @@ -251,7 +251,7 @@ steps:
- label: ':browserstack: iOS 13 app hang tests'
depends_on:
- cocoa_fixture
timeout_in_minutes: 10
timeout_in_minutes: 30
agents:
queue: opensource
plugins:
Expand Down Expand Up @@ -352,6 +352,7 @@ steps:
agents:
queue: macos-12-arm
commands:
- bundle install
- cd examples/objective-c-ios
- echo "--- Pod install"
- pod install
Expand All @@ -367,6 +368,7 @@ steps:
agents:
queue: macos-12-arm
commands:
- bundle install
- cd examples/objective-c-osx
- echo "--- Pod install"
- pod install
Expand All @@ -380,6 +382,7 @@ steps:
agents:
queue: macos-12-arm
commands:
- bundle install
- cd examples/swift-ios
- echo "--- Pod install"
- pod install
Expand All @@ -393,6 +396,7 @@ steps:
agents:
queue: macos-12-arm
commands:
- bundle install
- cd examples/swift-package-manager
- echo "--- Resolve Swift Package Dependencies"
- sed -i '' -e 's/kind = branch/kind = revision/' -e "s/branch = master/revision = ${BUILDKITE_COMMIT}/" swift-package-manager.xcodeproj/project.pbxproj
Expand All @@ -407,6 +411,7 @@ steps:
agents:
queue: macos-12-arm
commands:
- bundle install
- cd examples/swiftui
- echo "--- Resolve Swift Package Dependencies"
- sed -i '' -e 's/kind = branch/kind = revision/' -e "s/branch = master/revision = ${BUILDKITE_COMMIT}/" swiftui.xcodeproj/project.pbxproj
Expand Down
8 changes: 7 additions & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ steps:
timeout_in_minutes: 10
agents:
queue: macos-13-arm
env:
DEVELOPER_DIR: /Applications/Xcode14.3.app
commands:
- make build_swift
- make build_ios_static
Expand Down Expand Up @@ -99,6 +101,8 @@ steps:
queue: macos-13-arm
commands:
- ./scripts/run-unit-tests.sh PLATFORM=iOS OS=17.0.1 DEVICE="iPhone 15"
env:
XCODE_VERSION: 15.0.1
artifact_paths:
- logs/*

Expand Down Expand Up @@ -307,7 +311,7 @@ steps:
- label: ':browserstack: iOS 16 app hang tests'
depends_on:
- cocoa_fixture
timeout_in_minutes: 10
timeout_in_minutes: 30
agents:
queue: opensource
plugins:
Expand All @@ -331,6 +335,8 @@ steps:
automatic:
- exit_status: -1 # Agent was lost
limit: 2
- exit_status: 104 # App hang related error
limit: 2

- label: ':bitbar: iOS 15 barebone tests'
depends_on:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/downstream_updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
runs-on: ubuntu-latest
env:
RELEASE_VERSION: ${{ github.event_name == 'workflow_dispatch' && inputs.target_version || github.event.release.tag_name }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
matrix:
downstream_repo: ['bugsnag/bugsnag-unity', 'bugsnag/bugsnag-flutter']
Expand All @@ -28,5 +27,5 @@ jobs:
- run: >
curl -X POST https://api.github.com/repos/${{ matrix.downstream_repo }}/dispatches
-H 'Content-Type: application/json'
-H "Authorization: Bearer $GITHUB_TOKEN"
-d '{"event_type":"update-dependency","client_payload": {"target_submodule":"bugsnag-cocoa", "target_version": "$RELEASE_VERSION"}}'
-H "Authorization: Bearer ${{ secrets.DEP_UPDATER_BEARER_TOKEN }}"
-d '{"event_type":"update-dependency","client_payload": {"target_submodule":"bugsnag-cocoa", "target_version": "${{ env.RELEASE_VERSION }}"}}'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ Package.resolved
/infer-out
/oclint.json
bb.ready
/maze_output
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.28.0/Bugsnag"
github_file_prefix: "https://github.com/bugsnag/bugsnag-cocoa/tree/v6.28.1/Bugsnag"
github_url: "https://github.com/bugsnag/bugsnag-cocoa"
hide_documentation_coverage: true
module: "Bugsnag"
module_version: "6.28.0"
module_version: "6.28.1"
objc: true
output: "docs"
readme: "README.md"
Expand Down
10 changes: 5 additions & 5 deletions Bugsnag.podspec.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Bugsnag",
"version": "6.28.0",
"version": "6.28.1",
"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.28.0"
"tag": "v6.28.1"
},
"ios": {
"frameworks": [
Expand Down Expand Up @@ -53,9 +53,9 @@
"source_files": [
"Bugsnag/{**/,}*.{m,h,mm,c}"
],
"resources": [
"Bugsnag/resources/PrivacyInfo.xcprivacy"
],
"resource_bundles": {
"Bugsnag": ["Bugsnag/resources/PrivacyInfo.xcprivacy"]
},
"requires_arc": true,
"prefix_header_file": false,
"public_header_files": [
Expand Down
16 changes: 8 additions & 8 deletions Bugsnag.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -4031,7 +4031,7 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 372ZUL2ZB7;
DEVELOPMENT_TEAM = 7W9PZ27Y5F;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
"BSG_OBJC_DIRECT_MEMBERS=''",
Expand All @@ -4055,7 +4055,7 @@
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 372ZUL2ZB7;
DEVELOPMENT_TEAM = 7W9PZ27Y5F;
INFOPLIST_FILE = Tests/BugsnagTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -4280,7 +4280,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 372ZUL2ZB7;
DEVELOPMENT_TEAM = 7W9PZ27Y5F;
INFOPLIST_FILE = "Tests/TestHost-iOS/Info.plist";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand All @@ -4297,7 +4297,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 372ZUL2ZB7;
DEVELOPMENT_TEAM = 7W9PZ27Y5F;
INFOPLIST_FILE = "Tests/TestHost-iOS/Info.plist";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -4339,7 +4339,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 372ZUL2ZB7;
DEVELOPMENT_TEAM = 7W9PZ27Y5F;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down Expand Up @@ -4401,7 +4401,7 @@
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 372ZUL2ZB7;
DEVELOPMENT_TEAM = 7W9PZ27Y5F;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
Expand Down Expand Up @@ -4457,7 +4457,7 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 372ZUL2ZB7;
DEVELOPMENT_TEAM = 7W9PZ27Y5F;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
"BSG_OBJC_DIRECT_MEMBERS=''",
Expand Down Expand Up @@ -4508,7 +4508,7 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = 372ZUL2ZB7;
DEVELOPMENT_TEAM = 7W9PZ27Y5F;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
GCC_WARN_UNDECLARED_SELECTOR = YES;
Expand Down
8 changes: 6 additions & 2 deletions Bugsnag/BugsnagSessionTracker.m
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,9 @@ - (void)startNewSession {
config:self.config
codeBundleId:self.codeBundleId];
BugsnagDevice *device = [BugsnagDevice deviceWithKSCrashReport:@{@"system": systemInfo}];
[device appendRuntimeInfo:self.extraRuntimeInfo];
@synchronized (self.extraRuntimeInfo) {
[device appendRuntimeInfo:self.extraRuntimeInfo];
}

BugsnagSession *newSession = [[BugsnagSession alloc] initWithId:[[NSUUID UUID] UUIDString]
startedAt:[NSDate date]
Expand Down Expand Up @@ -194,7 +196,9 @@ - (void)startNewSession {
- (void)addRuntimeVersionInfo:(NSString *)info
withKey:(NSString *)key {
if (info != nil && key != nil) {
self.extraRuntimeInfo[key] = info;
@synchronized (self.extraRuntimeInfo) {
self.extraRuntimeInfo[key] = info;
}
}
}

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.28.0";
_version = @"6.28.1";
_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.28.0",
"version": "6.28.1",
"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.28.0/BugsnagNetworkRequestPlugin/README.md",
"readme": "https://raw.githubusercontent.com/bugsnag/bugsnag-cocoa/v6.28.1/BugsnagNetworkRequestPlugin/README.md",
"source": {
"git": "https://github.com/bugsnag/bugsnag-cocoa.git",
"tag": "v6.28.0"
"tag": "v6.28.1"
},
"dependencies": {
"Bugsnag": "~> 6.13"
Expand Down
Loading
Loading