diff --git a/CHANGELOG.md b/CHANGELOG.md index 1699c94b98..c80aca64c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## Unreleased + +### Fixes + +- Fix Dart web builds breaking due to `dart:io` imports when using `SentryIsolate` or `SentryIsolateExtension` ([#1371](https://github.com/getsentry/sentry-dart/pull/1371)) + - When using `SentryIsolate` or `SentryIsolateExtension`, import `sentry_io.dart`. + ## 7.4.0 ### Features diff --git a/dart/lib/sentry.dart b/dart/lib/sentry.dart index 3fee10e6ea..9a8da36708 100644 --- a/dart/lib/sentry.dart +++ b/dart/lib/sentry.dart @@ -36,9 +36,6 @@ export 'src/type_check_hint.dart'; export 'src/exception_cause_extractor.dart'; export 'src/exception_cause.dart'; export 'src/exception_stacktrace_extractor.dart'; -// Isolates -export 'src/sentry_isolate_extension.dart'; -export 'src/sentry_isolate.dart'; // URL // ignore: invalid_export_of_internal_element export 'src/utils/http_sanitizer.dart'; diff --git a/dart/lib/sentry_io.dart b/dart/lib/sentry_io.dart index 378baa2e2a..2c8eb91bde 100644 --- a/dart/lib/sentry_io.dart +++ b/dart/lib/sentry_io.dart @@ -1,3 +1,6 @@ // ignore: invalid_export_of_internal_element export 'sentry.dart'; export 'src/sentry_attachment/io_sentry_attachment.dart'; +// Isolates +export 'src/sentry_isolate_extension.dart'; +export 'src/sentry_isolate.dart';