Skip to content

release: v13.4.0 #1285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
# Changelog

## [Unreleased](https://github.com/Instabug/Instabug-React-Native/compare/v13.3.0...dev)
## [13.4.0](https://github.com/Instabug/Instabug-React-Native/compare/v13.3.0...v13.4.0) (October 2, 2024)

### Added

- Add support for Expo Router navigation tracking ([#1270](https://github.com/Instabug/Instabug-React-Native/pull/1270)).
- Enhance the network interceptor to capture more client error messages ([#1257](https://github.com/Instabug/Instabug-React-Native/pull/1257)).

### Changed

- Bump Instabug iOS SDK to v13.4.2 ([#1285](https://github.com/Instabug/Instabug-React-Native/pull/1285)). See release notes for [13.4.0](https://github.com/Instabug/Instabug-iOS/releases/tag/13.4.0), [13.4.1](https://github.com/Instabug/Instabug-iOS/releases/tag/13.4.1) and [13.4.2](https://github.com/Instabug/Instabug-iOS/releases/tag/13.4.2).
- Bump Instabug Android SDK to v13.4.1 ([#1285](https://github.com/Instabug/Instabug-React-Native/pull/1285)). See release notes for [13.4.0](https://github.com/Instabug/Instabug-Android/releases/tag/v13.4.0) and [13.4.1](https://github.com/Instabug/Instabug-Android/releases/tag/v13.4.1).

### Fixed

- Fix an issue with JavaScript fatal crashes on iOS causing them to be reported as native iOS crashes instead. ([#1290](https://github.com/Instabug/Instabug-React-Native/pull/1290)).
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ android {
minSdkVersion getExtOrDefault('minSdkVersion').toInteger()
targetSdkVersion getExtOrDefault('targetSdkVersion').toInteger()
versionCode 1
versionName "13.3.0"
versionName "13.4.0"
multiDexEnabled true
ndk {
abiFilters "armeabi-v7a", "x86"
Expand Down
2 changes: 1 addition & 1 deletion android/native.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project.ext.instabug = [
version: '13.3.0'
version: '13.4.1'
]

dependencies {
Expand Down
7 changes: 6 additions & 1 deletion examples/default/ios/InstabugTests/InstabugSampleTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,12 @@ - (void)testNetworkLogIOS {
startTime:startTime * 1000
duration:duration * 1000
gqlQueryName:gqlQueryName
serverErrorMessage:serverErrorMessage]);
serverErrorMessage:serverErrorMessage
isW3cCaughted:nil
partialID:nil
timestamp:nil
generatedW3CTraceparent:nil
caughtedW3CTraceparent:nil]);
}

- (void)testSetFileAttachment {
Expand Down
10 changes: 5 additions & 5 deletions examples/default/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PODS:
- hermes-engine (0.72.3):
- hermes-engine/Pre-built (= 0.72.3)
- hermes-engine/Pre-built (0.72.3)
- Instabug (13.3.0)
- Instabug (13.4.2)
- instabug-reactnative-ndk (0.1.0):
- RCT-Folly (= 2021.07.22.00)
- React-Core
Expand Down Expand Up @@ -475,8 +475,8 @@ PODS:
- RNGestureHandler (2.13.4):
- RCT-Folly (= 2021.07.22.00)
- React-Core
- RNInstabug (13.3.0):
- Instabug (= 13.3.0)
- RNInstabug (13.4.0):
- Instabug (= 13.4.2)
- React-Core
- RNReanimated (3.5.4):
- DoubleConversion
Expand Down Expand Up @@ -704,7 +704,7 @@ SPEC CHECKSUMS:
Google-Maps-iOS-Utils: f77eab4c4326d7e6a277f8e23a0232402731913a
GoogleMaps: 032f676450ba0779bd8ce16840690915f84e57ac
hermes-engine: 10fbd3f62405c41ea07e71973ea61e1878d07322
Instabug: 4f26295103a330ec0236918359eef7ccaa74e2fa
Instabug: 7a71890217b97b1e32dbca96661845396b66da2f
instabug-reactnative-ndk: 960119a69380cf4cbe47ccd007c453f757927d17
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
OCMock: 300b1b1b9155cb6378660b981c2557448830bdc6
Expand Down Expand Up @@ -748,7 +748,7 @@ SPEC CHECKSUMS:
ReactCommon: 3ccb8fb14e6b3277e38c73b0ff5e4a1b8db017a9
RNCClipboard: 41d8d918092ae8e676f18adada19104fa3e68495
RNGestureHandler: 6e46dde1f87e5f018a54fe5d40cd0e0b942b49ee
RNInstabug: a4ac0bd09123f6be7d58be541dc220acbaff8dc3
RNInstabug: 8e7eb1df3f35b935dda661f5bb475f37cef595e6
RNReanimated: ab2e96c6d5591c3dfbb38a464f54c8d17fb34a87
RNScreens: b21dc57dfa2b710c30ec600786a3fc223b1b92e7
RNSVG: 80584470ff1ffc7994923ea135a3e5ad825546b9
Expand Down
7 changes: 6 additions & 1 deletion ios/RNInstabug/InstabugReactBridge.m
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,12 @@ - (dispatch_queue_t)methodQueue {
startTime:startTime * 1000
duration:duration * 1000
gqlQueryName:gqlQueryName
serverErrorMessage:serverErrorMessage];
serverErrorMessage:serverErrorMessage
isW3cCaughted:nil
partialID:nil
timestamp:nil
generatedW3CTraceparent:nil
caughtedW3CTraceparent:nil];
}

RCT_EXPORT_METHOD(addPrivateView: (nonnull NSNumber *)reactTag) {
Expand Down
23 changes: 14 additions & 9 deletions ios/RNInstabug/Util/IBGNetworkLogger+CP.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,27 @@ NS_ASSUME_NONNULL_BEGIN
@interface IBGNetworkLogger (CP)

+ (void)disableAutomaticCapturingOfNetworkLogs;
+ (void)addNetworkLogWithUrl:(NSString *)url
method:(NSString *)method
requestBody:(NSString *)request
+ (void)addNetworkLogWithUrl:(NSString *_Nonnull)url
method:(NSString *_Nonnull)method
requestBody:(NSString *_Nonnull)request
requestBodySize:(int64_t)requestBodySize
responseBody:(NSString *)response
responseBody:(NSString *_Nonnull)response
responseBodySize:(int64_t)responseBodySize
responseCode:(int32_t)code
requestHeaders:(NSDictionary *)requestHeaders
responseHeaders:(NSDictionary *)responseHeaders
contentType:(NSString *)contentType
errorDomain:(NSString *)errorDomain
requestHeaders:(NSDictionary *_Nonnull)requestHeaders
responseHeaders:(NSDictionary *_Nonnull)responseHeaders
contentType:(NSString *_Nonnull)contentType
errorDomain:(NSString *_Nullable)errorDomain
errorCode:(int32_t)errorCode
startTime:(int64_t)startTime
duration:(int64_t) duration
gqlQueryName:(NSString * _Nullable)gqlQueryName
serverErrorMessage:(NSString * _Nullable)serverErrorMessage;
serverErrorMessage:(NSString * _Nullable)serverErrorMessage
isW3cCaughted:(NSNumber * _Nullable)isW3cCaughted
partialID:(NSNumber * _Nullable)partialID
timestamp:(NSNumber * _Nullable)timestamp
generatedW3CTraceparent:(NSString * _Nullable)generatedW3CTraceparent
caughtedW3CTraceparent:(NSString * _Nullable)caughtedW3CTraceparent;

@end

Expand Down
2 changes: 1 addition & 1 deletion ios/native.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$instabug = { :version => '13.3.0' }
$instabug = { :version => '13.4.2' }

def use_instabug! (spec = nil)
version = $instabug[:version]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "instabug-reactnative",
"description": "React Native plugin for integrating the Instabug SDK",
"version": "13.3.0",
"version": "13.4.0",
"author": "Instabug (https://instabug.com)",
"repository": "github:Instabug/Instabug-React-Native",
"homepage": "https://www.instabug.com/platforms/react-native",
Expand Down