Skip to content

Commit

Permalink
Merge pull request #1330 from bugsnag/release-v6.16.6
Browse files Browse the repository at this point in the history
Release v6.16.6
  • Loading branch information
nickdowell authored Apr 6, 2022
2 parents 08d2bdb + 89c73fc commit 318aae7
Show file tree
Hide file tree
Showing 15 changed files with 32 additions and 23 deletions.
5 changes: 5 additions & 0 deletions .buildkite/pipeline.full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ steps:
#

- label: 'examples/objective-c-ios'
timeout_in_minutes: 30
agents:
queue: opensource-arm-mac-cocoa-12
commands:
Expand All @@ -339,6 +340,7 @@ steps:
- xcodebuild -allowProvisioningUpdates -workspace objective-c-ios.xcworkspace -scheme objective-c-ios -configuration Debug -destination generic/platform=iOS\ Simulator -derivedDataPath DerivedData -quiet build GCC_TREAT_WARNINGS_AS_ERRORS=YES

- label: 'examples/objective-c-osx'
timeout_in_minutes: 30
agents:
queue: opensource-arm-mac-cocoa-12
commands:
Expand All @@ -351,6 +353,7 @@ steps:
- xcodebuild -allowProvisioningUpdates -workspace objective-c-osx.xcworkspace -scheme objective-c-osx -configuration Debug -derivedDataPath DerivedData -quiet build GCC_TREAT_WARNINGS_AS_ERRORS=YES

- label: 'examples/swift-ios'
timeout_in_minutes: 30
agents:
queue: opensource-arm-mac-cocoa-12
commands:
Expand All @@ -363,6 +366,7 @@ steps:
- xcodebuild -allowProvisioningUpdates -workspace swift-ios.xcworkspace -scheme swift-ios -configuration Debug -destination generic/platform=iOS\ Simulator -derivedDataPath DerivedData -quiet build GCC_TREAT_WARNINGS_AS_ERRORS=YES

- label: 'examples/swift-package-manager'
timeout_in_minutes: 30
agents:
queue: opensource-arm-mac-cocoa-12
commands:
Expand All @@ -376,6 +380,7 @@ steps:
- xcodebuild -allowProvisioningUpdates -scheme swift-package-manager -configuration Debug -destination generic/platform=iOS\ Simulator -derivedDataPath DerivedData -quiet build GCC_TREAT_WARNINGS_AS_ERRORS=YES

- label: 'examples/swiftui'
timeout_in_minutes: 30
agents:
queue: opensource-arm-mac-cocoa-12
commands:
Expand Down
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.16.5/Bugsnag"
github_file_prefix: "https://github.com/bugsnag/bugsnag-cocoa/tree/v6.16.6/Bugsnag"
github_url: "https://github.com/bugsnag/bugsnag-cocoa"
hide_documentation_coverage: true
module: "Bugsnag"
module_version: "6.16.5"
module_version: "6.16.6"
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.16.5",
"version": "6.16.6",
"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.16.5"
"tag": "v6.16.6"
},
"frameworks": [
"Foundation",
Expand Down
2 changes: 1 addition & 1 deletion Bugsnag/Payload/BugsnagNotifier.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ - (instancetype)init {
#else
_name = @"Bugsnag Objective-C";
#endif
_version = @"6.16.5";
_version = @"6.16.6";
_url = @"https://github.com/bugsnag/bugsnag-cocoa";
_dependencies = @[];
}
Expand Down
3 changes: 2 additions & 1 deletion Bugsnag/Payload/BugsnagStackframe+Private.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ NS_ASSUME_NONNULL_BEGIN

@property (nonatomic) BOOL needsSymbolication;

// MARK: - Properties not used for Cocoa stack frames, but used by React Native and Unity.
// MARK: - Properties for Flutter, React Native, or Unity notifiers.

@property (copy, nullable, nonatomic) NSString *codeIdentifier;
@property (strong, nullable, nonatomic) NSNumber *columnNumber;
@property (copy, nullable, nonatomic) NSString *file;
@property (strong, nullable, nonatomic) NSNumber *inProject;
Expand Down
2 changes: 2 additions & 0 deletions Bugsnag/Payload/BugsnagStackframe.m
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ + (BugsnagStackframe *)frameFromJson:(NSDictionary *)json {
frame.symbolAddress = [self readInt:json key:BSGKeySymbolAddr];
frame.machoLoadAddress = [self readInt:json key:BSGKeyMachoLoadAddr];
frame.type = BSGDeserializeString(json[BSGKeyType]);
frame.codeIdentifier = BSGDeserializeString(json[@"codeIdentifier"]);
frame.columnNumber = BSGDeserializeNumber(json[@"columnNumber"]);
frame.file = BSGDeserializeString(json[@"file"]);
frame.inProject = BSGDeserializeNumber(json[@"inProject"]);
Expand Down Expand Up @@ -234,6 +235,7 @@ - (NSDictionary *)toDictionary {
dict[BSGKeyIsLR] = @(self.isLr);
}
dict[BSGKeyType] = self.type;
dict[@"codeIdentifier"] = self.codeIdentifier;
dict[@"columnNumber"] = self.columnNumber;
dict[@"file"] = self.file;
dict[@"inProject"] = self.inProject;
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.16.5",
"version": "6.16.6",
"summary": "Network request monitoring support for Bugsnag.",
"homepage": "https://bugsnag.com",
"license": "MIT",
"authors": {
"Bugsnag": "notifiers@bugsnag.com"
},
"readme": "https://raw.githubusercontent.com/bugsnag/bugsnag-cocoa/v6.16.5/BugsnagNetworkRequestPlugin/README.md",
"readme": "https://raw.githubusercontent.com/bugsnag/bugsnag-cocoa/v6.16.6/BugsnagNetworkRequestPlugin/README.md",
"source": {
"git": "https://github.com/bugsnag/bugsnag-cocoa.git",
"tag": "v6.16.5"
"tag": "v6.16.6"
},
"dependencies": {
"Bugsnag": "~> 6.13"
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Changelog
=========

## 6.16.6 (2022-04-06)

### Changes

* Add Flutter notifier support.
[#1328](https://github.com/bugsnag/bugsnag-cocoa/pull/1328)

## 6.16.5 (2022-03-30)

### Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion Framework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>6.16.5</string>
<string>6.16.6</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Tests/BugsnagTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>6.16.5</string>
<string>6.16.6</string>
<key>CFBundleVersion</key>
<string>1</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Tests/TestHost-iOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>6.16.5</string>
<string>6.16.6</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.16.5
6.16.6
6 changes: 2 additions & 4 deletions examples/objective-c-ios/objective-c-ios/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,10 @@ - (IBAction)generateSignal:(id)sender {
}

/**
This method causes a low-level exception from the operating system to terminate the app. Upon reopening the app this signal should be notified to your Bugsnag dashboard.
This method causes an EXC_BAD_ACCESS Mach exception from the operating system to terminate the app. Upon reopening the app this exception should be notified to your Bugsnag dashboard.
*/
- (IBAction)generateMachException:(id)sender {
// This should result in an EXC_BAD_ACCESS mach exception with code = KERN_INVALID_ADDRESS and subcode = 0xDEADBEEF
void (* ptr)(void) = (void *)0xDEADBEEF;
ptr();
*(int *)0xdeadbeef = 0;
}

/**
Expand Down
4 changes: 1 addition & 3 deletions examples/swift-ios/swift-ios/AnObjCClass.mm
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ - (void)corruptSomeMemory {
}

- (void)accessInvalidMemoryAddress {
// This should result in an EXC_BAD_ACCESS mach exception with code = KERN_INVALID_ADDRESS and subcode = 0xDEADBEEF
void (* ptr)(void) = (void (*)(void))0xDEADBEEF;
ptr();
*(int *)0xdeadbeef = 0;
}

- (void)throwCxxException {
Expand Down
4 changes: 1 addition & 3 deletions examples/swiftui/Shared/AnObjCClass.mm
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ - (void)corruptSomeMemory {
}

- (void)accessInvalidMemoryAddress {
// This should result in an EXC_BAD_ACCESS mach exception with code = KERN_INVALID_ADDRESS and subcode = 0xDEADBEEF
void (* ptr)(void) = (void (*)(void))0xDEADBEEF;
ptr();
*(int *)0xdeadbeef = 0;
}

- (void)throwCxxException {
Expand Down

0 comments on commit 318aae7

Please sign in to comment.