Skip to content

Commit

Permalink
Merge pull request #294 from bugsnag/release-v1.7.0
Browse files Browse the repository at this point in the history
Release v1.7.0
  • Loading branch information
kstenerud authored Aug 5, 2024
2 parents 2033f22 + df1d391 commit 94c6790
Show file tree
Hide file tree
Showing 59 changed files with 773 additions and 322 deletions.
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: "BugsnagPerformance"
github_file_prefix: "https://github.com/bugsnag/bugsnag-cocoa-performance/tree/v1.6.2/Bugsnag"
github_file_prefix: "https://github.com/bugsnag/bugsnag-cocoa-performance/tree/v1.7.0/Bugsnag"
github_url: "https://github.com/bugsnag/bugsnag-cocoa-performance"
hide_documentation_coverage: true
module: "BugsnagPerformance"
module_version: "1.6.2"
module_version: "1.7.0"
objc: true
output: "docs"
readme: "README.md"
Expand Down
4 changes: 2 additions & 2 deletions BugsnagPerformance.podspec.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "BugsnagPerformance",
"version": "1.6.2",
"version": "1.7.0",
"summary": "The Bugsnag performance monitoring framework for iOS.",
"homepage": "https://github.com/bugsnag/bugsnag-cocoa-performance",
"license": {
Expand All @@ -12,7 +12,7 @@
},
"source": {
"git": "https://github.com/bugsnag/bugsnag-cocoa-performance.git",
"tag": "v1.6.2"
"tag": "v1.7.0"
},
"platforms": {
"ios": "13.0"
Expand Down
16 changes: 8 additions & 8 deletions BugsnagPerformance.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
CB0AD76C296578D9002A3FB6 /* BugsnagPerformanceConfigurationTests.mm in Sources */ = {isa = PBXBuildFile; fileRef = CB0AD76B296578D9002A3FB6 /* BugsnagPerformanceConfigurationTests.mm */; };
CB2B8A9B2A0924A50054FBBE /* SpanTests.mm in Sources */ = {isa = PBXBuildFile; fileRef = CB2B8A9A2A0924A50054FBBE /* SpanTests.mm */; };
CB34771E29068C350033759C /* NSURLSession+Instrumentation.mm in Sources */ = {isa = PBXBuildFile; fileRef = CB34771A29068C350033759C /* NSURLSession+Instrumentation.mm */; };
CB34771F29068C350033759C /* BSGURLSessionPerformanceProxy.m in Sources */ = {isa = PBXBuildFile; fileRef = CB34771B29068C350033759C /* BSGURLSessionPerformanceProxy.m */; };
CB34771F29068C350033759C /* BSGURLSessionPerformanceProxy.mm in Sources */ = {isa = PBXBuildFile; fileRef = CB34771B29068C350033759C /* BSGURLSessionPerformanceProxy.mm */; };
CB34772029068C350033759C /* BSGURLSessionPerformanceProxy.h in Headers */ = {isa = PBXBuildFile; fileRef = CB34771C29068C350033759C /* BSGURLSessionPerformanceProxy.h */; };
CB34772129068C350033759C /* NSURLSession+Instrumentation.h in Headers */ = {isa = PBXBuildFile; fileRef = CB34771D29068C350033759C /* NSURLSession+Instrumentation.h */; };
CB572EAA29BB783200FD7A2A /* AppStateTracker.h in Headers */ = {isa = PBXBuildFile; fileRef = CB572EA829BB783200FD7A2A /* AppStateTracker.h */; };
Expand Down Expand Up @@ -145,7 +145,7 @@
CBEC51CC296EDA2D009C0CE3 /* FileBasedTest.m in Sources */ = {isa = PBXBuildFile; fileRef = CBEC51C9296ED98F009C0CE3 /* FileBasedTest.m */; };
CBEC51CE296EEF52009C0CE3 /* PersistenceTests.mm in Sources */ = {isa = PBXBuildFile; fileRef = CBEC51CD296EEF52009C0CE3 /* PersistenceTests.mm */; };
CBEC51D62976BCAD009C0CE3 /* Filesystem.h in Headers */ = {isa = PBXBuildFile; fileRef = CBEC51D42976BCAD009C0CE3 /* Filesystem.h */; };
CBEC51D72976BCAD009C0CE3 /* Filesystem.m in Sources */ = {isa = PBXBuildFile; fileRef = CBEC51D52976BCAD009C0CE3 /* Filesystem.m */; };
CBEC51D72976BCAD009C0CE3 /* Filesystem.mm in Sources */ = {isa = PBXBuildFile; fileRef = CBEC51D52976BCAD009C0CE3 /* Filesystem.mm */; };
CBEC51D92976D54B009C0CE3 /* FilesystemTests.m in Sources */ = {isa = PBXBuildFile; fileRef = CBEC51D82976D54B009C0CE3 /* FilesystemTests.m */; };
CBEC51DC2976F1F9009C0CE3 /* RetryQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = CBEC51DA2976F1F9009C0CE3 /* RetryQueue.h */; };
CBEC51DD2976F1F9009C0CE3 /* RetryQueue.mm in Sources */ = {isa = PBXBuildFile; fileRef = CBEC51DB2976F1F9009C0CE3 /* RetryQueue.mm */; };
Expand Down Expand Up @@ -340,7 +340,7 @@
CB0AD76B296578D9002A3FB6 /* BugsnagPerformanceConfigurationTests.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = BugsnagPerformanceConfigurationTests.mm; sourceTree = "<group>"; };
CB2B8A9A2A0924A50054FBBE /* SpanTests.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = SpanTests.mm; sourceTree = "<group>"; };
CB34771A29068C350033759C /* NSURLSession+Instrumentation.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = "NSURLSession+Instrumentation.mm"; sourceTree = "<group>"; };
CB34771B29068C350033759C /* BSGURLSessionPerformanceProxy.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BSGURLSessionPerformanceProxy.m; sourceTree = "<group>"; };
CB34771B29068C350033759C /* BSGURLSessionPerformanceProxy.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = BSGURLSessionPerformanceProxy.mm; sourceTree = "<group>"; };
CB34771C29068C350033759C /* BSGURLSessionPerformanceProxy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BSGURLSessionPerformanceProxy.h; sourceTree = "<group>"; };
CB34771D29068C350033759C /* NSURLSession+Instrumentation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSURLSession+Instrumentation.h"; sourceTree = "<group>"; };
CB572EA829BB783200FD7A2A /* AppStateTracker.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppStateTracker.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -388,7 +388,7 @@
CBEC51C9296ED98F009C0CE3 /* FileBasedTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FileBasedTest.m; sourceTree = "<group>"; };
CBEC51CD296EEF52009C0CE3 /* PersistenceTests.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = PersistenceTests.mm; sourceTree = "<group>"; };
CBEC51D42976BCAD009C0CE3 /* Filesystem.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Filesystem.h; sourceTree = "<group>"; };
CBEC51D52976BCAD009C0CE3 /* Filesystem.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Filesystem.m; sourceTree = "<group>"; };
CBEC51D52976BCAD009C0CE3 /* Filesystem.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = Filesystem.mm; sourceTree = "<group>"; };
CBEC51D82976D54B009C0CE3 /* FilesystemTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FilesystemTests.m; sourceTree = "<group>"; };
CBEC51DA2976F1F9009C0CE3 /* RetryQueue.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RetryQueue.h; sourceTree = "<group>"; };
CBEC51DB2976F1F9009C0CE3 /* RetryQueue.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = RetryQueue.mm; sourceTree = "<group>"; };
Expand Down Expand Up @@ -541,7 +541,7 @@
CBA22C942A0137230066A2C1 /* EarlyConfiguration.h */,
CBA22C952A0137230066A2C1 /* EarlyConfiguration.mm */,
CBEC51D42976BCAD009C0CE3 /* Filesystem.h */,
CBEC51D52976BCAD009C0CE3 /* Filesystem.m */,
CBEC51D52976BCAD009C0CE3 /* Filesystem.mm */,
CBF7C5DF297A8E9100D47719 /* Gzip.h */,
CBF7C5E0297A8E9100D47719 /* Gzip.m */,
0122C22229019770002D243C /* IdGenerator.h */,
Expand Down Expand Up @@ -759,7 +759,7 @@
isa = PBXGroup;
children = (
CB34771C29068C350033759C /* BSGURLSessionPerformanceProxy.h */,
CB34771B29068C350033759C /* BSGURLSessionPerformanceProxy.m */,
CB34771B29068C350033759C /* BSGURLSessionPerformanceProxy.mm */,
CBA22C982A03EA300066A2C1 /* NetworkCommon.h */,
CB34771D29068C350033759C /* NSURLSession+Instrumentation.h */,
CB34771A29068C350033759C /* NSURLSession+Instrumentation.mm */,
Expand Down Expand Up @@ -1181,7 +1181,7 @@
0122C24429019770002D243C /* Tracer.mm in Sources */,
CB04969829150D860097E526 /* OtlpPackage.mm in Sources */,
0122C23D29019770002D243C /* BugsnagPerformance.mm in Sources */,
CBEC51D72976BCAD009C0CE3 /* Filesystem.m in Sources */,
CBEC51D72976BCAD009C0CE3 /* Filesystem.mm in Sources */,
CB7FD932299D2F7700499E13 /* BugsnagPerformanceSpanOptions.m in Sources */,
CBEC51BD296D9EEE009C0CE3 /* PersistentState.mm in Sources */,
CBEC51B9296D8386009C0CE3 /* Persistence.mm in Sources */,
Expand Down Expand Up @@ -1211,7 +1211,7 @@
015836C229125E7A002F54C8 /* ResourceAttributes.mm in Sources */,
01A414D22913C238003152A4 /* Reachability.mm in Sources */,
96D55C802A1EA5C6006D1F29 /* SpanStackingHandler.mm in Sources */,
CB34771F29068C350033759C /* BSGURLSessionPerformanceProxy.m in Sources */,
CB34771F29068C350033759C /* BSGURLSessionPerformanceProxy.mm in Sources */,
09D59E1B2BDFE0D900199E1B /* NetworkHeaderInjector.mm in Sources */,
CB04969C2915194E0097E526 /* OtlpUploader.mm in Sources */,
CBE0873229FA984C007455F2 /* BugsnagPerformanceViewType.mm in Sources */,
Expand Down
6 changes: 3 additions & 3 deletions BugsnagPerformanceSwiftUI.podspec.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "BugsnagPerformanceSwiftUI",
"version": "1.6.2",
"version": "1.7.0",
"summary": "DEPRECATED. Please use BugsnagPerformanceSwift instead!",
"homepage": "https://github.com/bugsnag/bugsnag-cocoa-performance",
"license": {
Expand All @@ -12,7 +12,7 @@
},
"source": {
"git": "https://github.com/bugsnag/bugsnag-cocoa-performance.git",
"tag": "v1.6.2"
"tag": "v1.7.0"
},
"platforms": {
"ios": "13.0"
Expand All @@ -23,6 +23,6 @@
"SwiftUI"
],
"dependencies": {
"BugsnagPerformance": "1.6.2"
"BugsnagPerformance": "1.7.0"
}
}
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
Changelog
=========

## 1.7.0 (2024-08-05)

### Enhancements

* Span attributes can now be set by the user.
[286](https://github.com/bugsnag/bugsnag-cocoa-performance/pull/286)

* Array-of-primitives span attributes are now supported.
[288](https://github.com/bugsnag/bugsnag-cocoa-performance/pull/288)

* OnEnd span callbacks can now be registered in the configuration. These callbacks are called on all sampled spans.
[289](https://github.com/bugsnag/bugsnag-cocoa-performance/pull/289)

### Bug fixes

* Added more autoreleasepools to catch potential memory leaks, and fixed a retain loop in BugsnagPerformanceSpan.
[293](https://github.com/bugsnag/bugsnag-cocoa-performance/pull/293)

* Rename propagateTraceParentToUrlsMatching to the intended tracePropagationUrls in BugsnagPerformanceConfiguration.
[287](https://github.com/bugsnag/bugsnag-cocoa-performance/pull/287)

* Workaround for Swift namespacing issue that caused conflicts when BugsnagPerformanceSwift was built as an xcframework.
[284](https://github.com/bugsnag/bugsnag-cocoa-performance/pull/284)

## 1.6.2 (2024-07-04)

### Bug fixes
Expand Down
37 changes: 19 additions & 18 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ GEM
base64
nkf
rexml
activesupport (7.1.3.3)
activesupport (7.1.3.4)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
Expand All @@ -15,8 +15,8 @@ GEM
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
algoliasearch (1.27.5)
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
Expand All @@ -30,15 +30,15 @@ GEM
atomos (0.1.3)
base64 (0.2.0)
bigdecimal (3.1.8)
bugsnag (6.27.0)
bugsnag (6.27.1)
concurrent-ruby (~> 1.0)
bugsnag-maze-runner (9.9.0)
bugsnag-maze-runner (9.11.2)
appium_lib (~> 12.0.0)
appium_lib_core (~> 5.4.0)
bugsnag (~> 6.24)
cucumber (~> 7.1)
cucumber-expressions (~> 6.0.0)
curb (~> 0.9.6)
curb (~> 1.0.5)
dogstatsd-ruby (~> 5.5.0)
json_schemer (~> 0.2.24)
optimist (~> 3.0.1)
Expand All @@ -49,7 +49,7 @@ GEM
selenium-webdriver (~> 4.0)
test-unit (~> 3.5.2)
webrick (~> 1.7.0)
builder (3.2.4)
builder (3.3.0)
childprocess (4.1.0)
claide (1.1.0)
cocoapods (1.15.2)
Expand Down Expand Up @@ -90,7 +90,7 @@ GEM
netrc (~> 0.11)
cocoapods-try (1.2.0)
colored2 (3.1.2)
concurrent-ruby (1.2.3)
concurrent-ruby (1.3.3)
connection_pool (2.4.1)
cucumber (7.1.0)
builder (~> 3.2, >= 3.2.4)
Expand Down Expand Up @@ -123,7 +123,7 @@ GEM
cucumber-wire (6.2.1)
cucumber-core (~> 10.1, >= 10.1.0)
cucumber-cucumber-expressions (~> 14.0, >= 14.0.0)
curb (0.9.11)
curb (1.0.5)
diff-lcs (1.5.1)
dogstatsd-ruby (5.5.0)
drb (2.2.1)
Expand All @@ -136,7 +136,8 @@ GEM
faye-websocket (0.11.3)
eventmachine (>= 0.12.0)
websocket-driver (>= 0.5.1)
ffi (1.16.3)
ffi (1.17.0-arm64-darwin)
ffi (1.17.0-x86_64-darwin)
fourflusher (2.3.1)
fuzzy_match (2.0.4)
gh_inspector (1.1.3)
Expand All @@ -153,18 +154,18 @@ GEM
uri_template (~> 0.7)
mime-types (3.5.2)
mime-types-data (~> 3.2015)
mime-types-data (3.2024.0507)
minitest (5.23.1)
mime-types-data (3.2024.0702)
minitest (5.24.1)
molinillo (0.8.0)
multi_test (0.1.2)
mutex_m (0.2.0)
nanaimo (0.3.0)
nap (1.1.0)
netrc (0.11.0)
nkf (0.2.0)
nokogiri (1.16.5-arm64-darwin)
nokogiri (1.16.7-arm64-darwin)
racc (~> 1.4)
nokogiri (1.16.5-x86_64-darwin)
nokogiri (1.16.7-x86_64-darwin)
racc (~> 1.4)
optimist (3.0.1)
os (1.0.1)
Expand All @@ -174,8 +175,8 @@ GEM
rack (2.2.9)
rake (12.3.3)
regexp_parser (2.9.2)
rexml (3.2.8)
strscan (>= 3.0.9)
rexml (3.2.9)
strscan
rouge (2.0.7)
ruby-macho (2.5.1)
rubyzip (2.3.2)
Expand All @@ -186,7 +187,7 @@ GEM
websocket (~> 1.0)
simpleidn (0.2.3)
strscan (3.1.0)
sys-uname (1.2.3)
sys-uname (1.3.0)
ffi (~> 1.1)
test-unit (3.5.9)
power_assert
Expand All @@ -197,7 +198,7 @@ GEM
concurrent-ruby (~> 1.0)
uri_template (0.7.0)
webrick (1.7.0)
websocket (1.2.10)
websocket (1.2.11)
websocket-driver (0.7.6)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ NS_ASSUME_NONNULL_BEGIN

@property(nonatomic,readwrite) BSGInternalConfiguration *internal;

@property (nonatomic) NSMutableArray<BugsnagPerformanceSpanEndCallback> *onSpanEndCallbacks;

@end

NS_ASSUME_NONNULL_END
Loading

0 comments on commit 94c6790

Please sign in to comment.