Skip to content

Commit b9da046

Browse files
Move Isolate-related exports to sentry_io.dart (#1371)
Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>
1 parent 464b4d0 commit b9da046

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
### Fixes
6+
7+
- Fix Dart web builds breaking due to `dart:io` imports when using `SentryIsolate` or `SentryIsolateExtension` ([#1371](https://github.com/getsentry/sentry-dart/pull/1371))
8+
- When using `SentryIsolate` or `SentryIsolateExtension`, import `sentry_io.dart`.
9+
310
## 7.4.0
411

512
### Features

dart/lib/sentry.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ export 'src/type_check_hint.dart';
3636
export 'src/exception_cause_extractor.dart';
3737
export 'src/exception_cause.dart';
3838
export 'src/exception_stacktrace_extractor.dart';
39-
// Isolates
40-
export 'src/sentry_isolate_extension.dart';
41-
export 'src/sentry_isolate.dart';
4239
// URL
4340
// ignore: invalid_export_of_internal_element
4441
export 'src/utils/http_sanitizer.dart';

dart/lib/sentry_io.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
// ignore: invalid_export_of_internal_element
22
export 'sentry.dart';
33
export 'src/sentry_attachment/io_sentry_attachment.dart';
4+
// Isolates
5+
export 'src/sentry_isolate_extension.dart';
6+
export 'src/sentry_isolate.dart';

0 commit comments

Comments
 (0)