Skip to content

Commit b55ac39

Browse files
committed
Bump version to 2.1.0
1 parent 1b5ded9 commit b55ac39

File tree

11 files changed

+24
-21
lines changed

11 files changed

+24
-21
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,4 @@ fastlane/test_output/
4949
report.xml
5050
.env
5151
cobertura.xml
52+
Sentry.framework.zip

Examples/MacExample/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ PODS:
6262
- KSCrash/Reporting/Tools
6363
- KSCrash/Reporting/Tools (1.15.3):
6464
- KSCrash/Recording
65-
- Sentry (2.0.1):
65+
- Sentry (2.1.0):
6666
- KSCrash (~> 1.15.3)
6767

6868
DEPENDENCIES:
@@ -74,7 +74,7 @@ EXTERNAL SOURCES:
7474

7575
SPEC CHECKSUMS:
7676
KSCrash: f344875321256d5906569a0853d73c6354a9f6f4
77-
Sentry: 447d675677c799ffce95f604a59d9b7c55ac8fc3
77+
Sentry: f488b86ef5004d448bccc7e85ab0ad1c6062942d
7878

7979
PODFILE CHECKSUM: 9a6feca63fe6ed3706b2808f4c85dae0861ba9d2
8080

Examples/ObjCExample/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ PODS:
6262
- KSCrash/Reporting/Tools
6363
- KSCrash/Reporting/Tools (1.15.3):
6464
- KSCrash/Recording
65-
- Sentry (2.0.1):
65+
- Sentry (2.1.0):
6666
- KSCrash (~> 1.15.3)
6767

6868
DEPENDENCIES:
@@ -74,7 +74,7 @@ EXTERNAL SOURCES:
7474

7575
SPEC CHECKSUMS:
7676
KSCrash: f344875321256d5906569a0853d73c6354a9f6f4
77-
Sentry: 447d675677c799ffce95f604a59d9b7c55ac8fc3
77+
Sentry: f488b86ef5004d448bccc7e85ab0ad1c6062942d
7878

7979
PODFILE CHECKSUM: 6e920273a2258e01d891dd3561ac2a73612fe34a
8080

Examples/SwiftExample/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ PODS:
6262
- KSCrash/Reporting/Tools
6363
- KSCrash/Reporting/Tools (1.15.3):
6464
- KSCrash/Recording
65-
- Sentry (2.0.1):
65+
- Sentry (2.1.0):
6666
- KSCrash (~> 1.15.3)
6767

6868
DEPENDENCIES:
@@ -74,7 +74,7 @@ EXTERNAL SOURCES:
7474

7575
SPEC CHECKSUMS:
7676
KSCrash: f344875321256d5906569a0853d73c6354a9f6f4
77-
Sentry: 447d675677c799ffce95f604a59d9b7c55ac8fc3
77+
Sentry: f488b86ef5004d448bccc7e85ab0ad1c6062942d
7878

7979
PODFILE CHECKSUM: 699517be0d67a415d70bbce5f2d55f918605fcbc
8080

Examples/SwiftTVOSExample/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ PODS:
6262
- KSCrash/Reporting/Tools
6363
- KSCrash/Reporting/Tools (1.15.3):
6464
- KSCrash/Recording
65-
- Sentry (2.0.1):
65+
- Sentry (2.1.0):
6666
- KSCrash (~> 1.15.3)
6767

6868
DEPENDENCIES:
@@ -74,7 +74,7 @@ EXTERNAL SOURCES:
7474

7575
SPEC CHECKSUMS:
7676
KSCrash: f344875321256d5906569a0853d73c6354a9f6f4
77-
Sentry: 447d675677c799ffce95f604a59d9b7c55ac8fc3
77+
Sentry: f488b86ef5004d448bccc7e85ab0ad1c6062942d
7878

7979
PODFILE CHECKSUM: 6a149bade470704ba4317901492b58978f603305
8080

Examples/SwiftWatchOSExample/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ PODS:
6262
- KSCrash/Reporting/Tools
6363
- KSCrash/Reporting/Tools (1.15.3):
6464
- KSCrash/Recording
65-
- Sentry (2.0.1):
65+
- Sentry (2.1.0):
6666
- KSCrash (~> 1.15.3)
6767

6868
DEPENDENCIES:
@@ -74,7 +74,7 @@ EXTERNAL SOURCES:
7474

7575
SPEC CHECKSUMS:
7676
KSCrash: f344875321256d5906569a0853d73c6354a9f6f4
77-
Sentry: 447d675677c799ffce95f604a59d9b7c55ac8fc3
77+
Sentry: f488b86ef5004d448bccc7e85ab0ad1c6062942d
7878

7979
PODFILE CHECKSUM: c9a2358b4bf5bf7e6f601eb701b288f4e4bd724a
8080

Sentry.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "Sentry"
3-
s.version = "2.0.1"
3+
s.version = "2.1.0"
44
s.summary = "Swift client for Sentry"
55
s.homepage = "https://github.com/getsentry/sentry-swift"
66
s.license = "mit"

Sentry/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.0.1</string>
18+
<string>2.1.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

Sources/CrashReportConverter.swift

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,18 @@ internal final class CrashReportConverter {
1717
releaseVersion: String?,
1818
buildNumber: String?)
1919

20-
internal static func convertReportToEvent(_ report: CrashDictionary) -> Event? {
21-
Log.Verbose.log("KSCrash Report = \(report)")
22-
23-
var crashReport = report
20+
private static func checkIncompleteReport(_ report: CrashDictionary) -> CrashDictionary {
2421
if let reCrash = report["recrash_report"] as? CrashDictionary {
25-
crashReport = reCrash
2622
Log.Debug.log("Found incomplete crash, falling back to recrash_report - Possible not showing all thread information")
23+
return reCrash
2724
}
25+
return report
26+
}
27+
28+
internal static func convertReportToEvent(_ report: CrashDictionary) -> Event? {
29+
Log.Verbose.log("KSCrash Report = \(report)")
30+
31+
var crashReport = checkIncompleteReport(report)
2832

2933
// Extract crash timestamp
3034
let timestamp: NSDate = {
@@ -60,9 +64,7 @@ internal final class CrashReportConverter {
6064
}
6165

6266
let binaryImages = binaryImagesDicts.flatMap({ BinaryImage(appleCrashBinaryImagesDict: $0) })
63-
6467
let debugMeta = DebugMeta(binaryImages: binaryImages)
65-
6668
var threads = threadDicts.flatMap({ Thread(appleCrashThreadDict: $0, binaryImages: binaryImages) })
6769

6870
let exception = Exception(appleCrashErrorDict: errorDict, userInfo: userInfo)

Sources/Sentry.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import KSCrash
4646
// MARK: - Enums
4747

4848
internal struct Info {
49-
static let version: String = "2.0.1"
49+
static let version: String = "2.1.0"
5050
static let sentryVersion: Int = 7
5151
}
5252

0 commit comments

Comments
 (0)