File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 5555- Replace deprecated SCNetworkReachability with NWPathMonitor (#6019)
5656- Expose attachment type on `SentryAttachment` for downstream SDKs (like sentry-godot) (#6521)
5757- Increase attachment max size to 100MB (#6537)
58+ - Increase maximum attachment size to 200MB (#6726)
5859
5960### Features
6061
Original file line number Diff line number Diff line change 206206 @objc public var attachStacktrace : Bool = true
207207
208208 /// The maximum size for each attachment in bytes.
209- /// @note Default is 100 MiB (100 ✕ 1024 ✕ 1024 bytes).
209+ /// @note Default is 200 MiB (200 ✕ 1024 ✕ 1024 bytes).
210210 /// @note Please also check the maximum attachment size of relay to make sure your attachments don't
211211 /// get discarded there:
212212 /// https://docs.sentry.io/product/relay/options/
213- @objc public var maxAttachmentSize : UInt = 100 * 1_024 * 1_024
213+ @objc public var maxAttachmentSize : UInt = 200 * 1_024 * 1_024
214214
215215 /// When enabled, the SDK sends personal identifiable along with events.
216216 /// @note The default is NO.
Original file line number Diff line number Diff line change @@ -710,7 +710,7 @@ - (void)assertDefaultValues:(SentryOptions *)options
710710 XCTAssertEqual (YES , options.enableWatchdogTerminationTracking );
711711 XCTAssertEqual ([@30000 unsignedIntValue ], options.sessionTrackingIntervalMillis );
712712 XCTAssertEqual (YES , options.attachStacktrace );
713- XCTAssertEqual (100 * 1024 * 1024 , options.maxAttachmentSize );
713+ XCTAssertEqual (200 * 1024 * 1024 , options.maxAttachmentSize );
714714 XCTAssertEqual (NO , options.sendDefaultPii );
715715 XCTAssertTrue (options.enableAutoPerformanceTracing );
716716#if SENTRY_HAS_UIKIT
@@ -829,7 +829,7 @@ - (void)testDefaultMaxAttachmentSize
829829{
830830 SentryOptions *options = [self getValidOptions: @{}];
831831
832- XCTAssertEqual (100 * 1024 * 1024 , options.maxAttachmentSize );
832+ XCTAssertEqual (200 * 1024 * 1024 , options.maxAttachmentSize );
833833}
834834
835835- (void )testSendDefaultPii
You can’t perform that action at this time.
0 commit comments