diff --git a/CHANGELOG.md b/CHANGELOG.md index 84364b45..e5305aba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ ## Release Notes +### 3.4.0 + +- Fixed a crash caused by integer overflow in address arithmetic when processing crash reports. +- Added example on how to attach a stack trace for caught errors. +- Fixed a compilation error in Xcode 26 caused by a private header import in `RollbarReachability.m`. +- Added `CLAUDE.md` with project build, test, and architecture guidance. + ### 3.3.3 - Be more explicit about overloaded usage of `URL.init` that cannot be resolved in certain configurations when using the Rollbar React Native SDK. diff --git a/CLAUDE.md b/CLAUDE.md index c3a93403..27919a1a 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -86,7 +86,7 @@ UnitTesting (shared XCTest utilities, used by test targets) ## Distribution -The SDK ships via SwiftPM, CocoaPods (8 podspec files at repo root), and Carthage. Version is synchronized across all podspecs and `Package.swift`. Current version: 3.3.3. +The SDK ships via SwiftPM, CocoaPods (8 podspec files at repo root), and Carthage. Version is synchronized across all podspecs and `Package.swift`. Current version: 3.4.0. ## External Dependency diff --git a/Examples/Integration/CocoapodsApp/Podfile b/Examples/Integration/CocoapodsApp/Podfile index c9c91aa9..6b742249 100644 --- a/Examples/Integration/CocoapodsApp/Podfile +++ b/Examples/Integration/CocoapodsApp/Podfile @@ -2,5 +2,5 @@ platform :ios, '14.0' use_frameworks! target 'CocoapodsApp' do - pod 'RollbarNotifier', '~> 3.3.3' + pod 'RollbarNotifier', '~> 3.4.0' end diff --git a/Examples/Integration/CocoapodsFramework/Podfile b/Examples/Integration/CocoapodsFramework/Podfile index 4ab1d4ca..00d935b7 100644 --- a/Examples/Integration/CocoapodsFramework/Podfile +++ b/Examples/Integration/CocoapodsFramework/Podfile @@ -2,5 +2,5 @@ platform :ios, '14.0' use_frameworks! target 'CocoapodsFramework' do - pod 'RollbarNotifier', '~> 3.3.3' + pod 'RollbarNotifier', '~> 3.4.0' end diff --git a/Rollbar.podspec b/Rollbar.podspec index a279d996..624c53ce 100644 --- a/Rollbar.podspec +++ b/Rollbar.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "Rollbar" - s.version = "3.3.3" + s.version = "3.4.0" s.summary = "Application or client side SDK for interacting with the Rollbar API Server." s.description = <<-DESC Find, fix, and resolve errors with Rollbar. diff --git a/RollbarAUL.podspec b/RollbarAUL.podspec index 75f9db99..5bb47fb5 100644 --- a/RollbarAUL.podspec +++ b/RollbarAUL.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RollbarAUL" - s.version = "3.3.3" + s.version = "3.4.0" s.summary = "Application or client side SDK for interacting with the Rollbar API Server." s.description = <<-DESC Find, fix, and resolve errors with Rollbar. diff --git a/RollbarCocoaLumberjack.podspec b/RollbarCocoaLumberjack.podspec index e099c513..386c9979 100644 --- a/RollbarCocoaLumberjack.podspec +++ b/RollbarCocoaLumberjack.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RollbarCocoaLumberjack" - s.version = "3.3.3" + s.version = "3.4.0" s.summary = "Application or client side SDK for interacting with the Rollbar API Server." s.description = <<-DESC Find, fix, and resolve errors with Rollbar. diff --git a/RollbarCommon.podspec b/RollbarCommon.podspec index faf95a06..79c809aa 100644 --- a/RollbarCommon.podspec +++ b/RollbarCommon.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RollbarCommon" - s.version = "3.3.3" + s.version = "3.4.0" s.summary = "Application or client side SDK for interacting with the Rollbar API Server." s.description = <<-DESC Find, fix, and resolve errors with Rollbar. diff --git a/RollbarCrash.podspec b/RollbarCrash.podspec index 2d63a3f8..f7695a89 100644 --- a/RollbarCrash.podspec +++ b/RollbarCrash.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RollbarCrash" - s.version = "3.3.3" + s.version = "3.4.0" s.summary = "Application or client side SDK for interacting with the Rollbar API Server." s.description = <<-DESC Find, fix, and resolve errors with Rollbar. diff --git a/RollbarDeploys.podspec b/RollbarDeploys.podspec index 4a4e8aa6..01638c12 100644 --- a/RollbarDeploys.podspec +++ b/RollbarDeploys.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RollbarDeploys" - s.version = "3.3.3" + s.version = "3.4.0" s.summary = "Application or client side SDK for interacting with the Rollbar API Server." s.description = <<-DESC Find, fix, and resolve errors with Rollbar. diff --git a/RollbarNotifier.podspec b/RollbarNotifier.podspec index 95d11ec2..391641e9 100644 --- a/RollbarNotifier.podspec +++ b/RollbarNotifier.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RollbarNotifier" - s.version = "3.3.3" + s.version = "3.4.0" s.summary = "Application or client side SDK for interacting with the Rollbar API Server." s.description = <<-DESC Find, fix, and resolve errors with Rollbar. diff --git a/RollbarNotifier/Sources/RollbarCrash/Recording/RollbarCrashReportVersion.h b/RollbarNotifier/Sources/RollbarCrash/Recording/RollbarCrashReportVersion.h index 684b4ae0..cd80e5ea 100644 --- a/RollbarNotifier/Sources/RollbarCrash/Recording/RollbarCrashReportVersion.h +++ b/RollbarNotifier/Sources/RollbarCrash/Recording/RollbarCrashReportVersion.h @@ -27,6 +27,6 @@ #ifndef HDR_RollbarCrashReportVersion_h #define HDR_RollbarCrashReportVersion_h -#define RollbarCrashCRASH_REPORT_VERSION "3.3.3" +#define RollbarCrashCRASH_REPORT_VERSION "3.4.0" #endif /* HDR_RollbarCrashReportVersion_h */ diff --git a/RollbarNotifier/Sources/RollbarNotifier/DTOs/RollbarConfig.m b/RollbarNotifier/Sources/RollbarNotifier/DTOs/RollbarConfig.m index e77780b3..c9c60d24 100644 --- a/RollbarNotifier/Sources/RollbarNotifier/DTOs/RollbarConfig.m +++ b/RollbarNotifier/Sources/RollbarNotifier/DTOs/RollbarConfig.m @@ -13,7 +13,7 @@ #pragma mark - constants -static NSString *const NOTIFIER_VERSION = @"3.3.3"; +static NSString *const NOTIFIER_VERSION = @"3.4.0"; static NSString *const NOTIFIER_NAME = @"rollbar-apple"; diff --git a/RollbarNotifier/Tests/RollbarNotifierTests-ObjC/DTOsTests.m b/RollbarNotifier/Tests/RollbarNotifierTests-ObjC/DTOsTests.m index 13042f42..ce1a10a1 100644 --- a/RollbarNotifier/Tests/RollbarNotifierTests-ObjC/DTOsTests.m +++ b/RollbarNotifier/Tests/RollbarNotifierTests-ObjC/DTOsTests.m @@ -164,8 +164,8 @@ - (void)testRollbarModuleDTO { dto.name = @"MN1"; XCTAssertTrue([dto.name isEqualToString:@"MN1"], @"Proper name"); - dto.version = @"v3.3.3"; - XCTAssertTrue([dto.version isEqualToString:@"v3.3.3"], @"Proper version"); + dto.version = @"v3.4.0"; + XCTAssertTrue([dto.version isEqualToString:@"v3.4.0"], @"Proper version"); dto = [[RollbarMutableModule alloc] initWithName:@"Module"]; XCTAssertTrue([dto.name isEqualToString:@"Module"], @"Proper name"); diff --git a/RollbarNotifier/Tests/RollbarNotifierTests/RollbarNotifierDTOsTests.swift b/RollbarNotifier/Tests/RollbarNotifierTests/RollbarNotifierDTOsTests.swift index 719f3033..96265b4a 100644 --- a/RollbarNotifier/Tests/RollbarNotifierTests/RollbarNotifierDTOsTests.swift +++ b/RollbarNotifier/Tests/RollbarNotifierTests/RollbarNotifierDTOsTests.swift @@ -218,8 +218,8 @@ final class RollbarNotifierDTOsTests: XCTestCase { XCTAssertTrue(.orderedSame == dto.name!.compare("MN1"), "Proper name" ); - dto.version = "v3.3.3"; - XCTAssertTrue(.orderedSame == dto.version!.compare("v3.3.3"), + dto.version = "v3.4.0"; + XCTAssertTrue(.orderedSame == dto.version!.compare("v3.4.0"), "Proper version" ); diff --git a/RollbarReport.podspec b/RollbarReport.podspec index 38fe897c..28976089 100644 --- a/RollbarReport.podspec +++ b/RollbarReport.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RollbarReport" - s.version = "3.3.3" + s.version = "3.4.0" s.summary = "Application or client side SDK for interacting with the Rollbar API Server." s.description = <<-DESC Find, fix, and resolve errors with Rollbar.