Skip to content

Commit

Permalink
Move Isolate-related exports to sentry_io.dart (#1371)
Browse files Browse the repository at this point in the history
Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>
  • Loading branch information
mnordine and marandaneto authored Mar 31, 2023
1 parent 464b4d0 commit b9da046
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 0 additions & 3 deletions dart/lib/sentry.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
3 changes: 3 additions & 0 deletions dart/lib/sentry_io.dart
Original file line number Diff line number Diff line change
@@ -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';

0 comments on commit b9da046

Please sign in to comment.