Skip to content

Commit f42d238

Browse files
buenaflorgetsentry-botgetsentry-bot
authored
merge 8.13.2 into main (#2740)
* update Android dependency to 7.22.0 (#2705) * fix: navigation breadcrumb with missing to crashes native (#2720) * release: 8.13.1 * update changelog * fix(web): use `if (dart.library.html)` instead of `if (dart.html)` (#2736) * fix * regenerate mocks * update CHANGELOG * update test * update * fix test * release: 8.13.2 --------- Co-authored-by: getsentry-bot <[email protected]> Co-authored-by: getsentry-bot <[email protected]>
1 parent ea1d45d commit f42d238

File tree

27 files changed

+1876
-2616
lines changed

27 files changed

+1876
-2616
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,13 @@ final db = AppDatabase(executor);
5050
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8450)
5151
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.44.0...8.45.0)
5252

53+
## 8.13.2
54+
55+
### Fixes
56+
57+
- `build_web_compiler` error ([#2736](https://github.com/getsentry/sentry-dart/pull/2736))
58+
- Use `if (dart.library.html)` instead of `if (dart.html)` for imports
59+
5360
## 8.13.1
5461

5562
### Fixes

dart/lib/src/version.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
library version;
1010

1111
/// The SDK version reported to Sentry.io in the submitted events.
12-
const String sdkVersion = '8.13.1';
12+
const String sdkVersion = '8.13.2';
1313

1414
String sdkName(bool isWeb) => isWeb ? _browserSdkName : _ioSdkName;
1515

dart/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: sentry
2-
version: 8.13.1
2+
version: 8.13.2
33
description: >
44
A crash reporting library for Dart that sends crash reports to Sentry.io.
55
This library supports Dart VM and Web. For Flutter consider sentry_flutter instead.

dio/lib/src/version.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/// The SDK version reported to Sentry.io in the submitted events.
2-
const String sdkVersion = '8.13.1';
2+
const String sdkVersion = '8.13.2';
33

44
/// The package name reported to Sentry.io in the submitted events.
55
const String packageName = 'pub:sentry_dio';

dio/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: sentry_dio
22
description: An integration which adds support for performance tracing for the Dio package.
3-
version: 8.13.1
3+
version: 8.13.2
44
homepage: https://docs.sentry.io/platforms/dart/
55
repository: https://github.com/getsentry/sentry-dart
66
issue_tracker: https://github.com/getsentry/sentry-dart/issues
@@ -19,7 +19,7 @@ platforms:
1919

2020
dependencies:
2121
dio: ^5.0.0
22-
sentry: 8.13.1
22+
sentry: 8.13.2
2323

2424
dev_dependencies:
2525
meta: ^1.3.0

drift/lib/src/version.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/// The SDK version reported to Sentry.io in the submitted events.
2-
const String sdkVersion = '8.13.1';
2+
const String sdkVersion = '8.13.2';
33

44
/// The package name reported to Sentry.io in the submitted events.
55
const String packageName = 'pub:sentry_drift';

drift/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: sentry_drift
22
description: An integration which adds support for performance tracing for the drift package.
3-
version: 8.13.1
3+
version: 8.13.2
44
homepage: https://docs.sentry.io/platforms/flutter/
55
repository: https://github.com/getsentry/sentry-dart
66
issue_tracker: https://github.com/getsentry/sentry-dart/issues
@@ -17,7 +17,7 @@ platforms:
1717
web:
1818

1919
dependencies:
20-
sentry: 8.13.1
20+
sentry: 8.13.2
2121
meta: ^1.3.0
2222
drift: ^2.13.0
2323

file/lib/src/version.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/// The SDK version reported to Sentry.io in the submitted events.
2-
const String sdkVersion = '8.13.1';
2+
const String sdkVersion = '8.13.2';
33

44
/// The package name reported to Sentry.io in the submitted events.
55
const String packageName = 'pub:sentry_file';

file/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: sentry_file
22
description: An integration which adds support for performance tracing for dart.io.File.
3-
version: 8.13.1
3+
version: 8.13.2
44
homepage: https://docs.sentry.io/platforms/dart/
55
repository: https://github.com/getsentry/sentry-dart
66
issue_tracker: https://github.com/getsentry/sentry-dart/issues
@@ -17,7 +17,7 @@ platforms:
1717
windows:
1818

1919
dependencies:
20-
sentry: 8.13.1
20+
sentry: 8.13.2
2121
meta: ^1.3.0
2222

2323
dev_dependencies:

flutter/example/integration_test/web_sdk_test.dart

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,10 @@ void main() {
111111
'sentry.dart.flutter');
112112

113113
final item = (envelope[1] as List<Object?>).first as List<Object?>;
114-
final itemPayload =
115-
json.decode(utf8.decoder.convert((item[1] as List<int>)))
116-
as Map<Object?, Object?>;
114+
final itemPayloadJs = (item[1] as JSArray).toDart;
115+
final itemPayload = json.decode(utf8.decoder.convert(itemPayloadJs
116+
.map((el) => int.parse(el.dartify().toString()))
117+
.toList())) as Map<Object?, Object?>;
117118

118119
final jsEventJson = (itemPayload).map((key, value) {
119120
return MapEntry(key.toString(), value as dynamic);

0 commit comments

Comments
 (0)