Skip to content
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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
* Fix: Pass hint to EventProcessors (#356)
* Fix: EventProcessors were not dropping events when returning null (#353)


## Breaking Changes:

* Fix: Plugin Registrant class moved to barrel file (#358)
* This changed the import from `import 'package:sentry_flutter/src/sentry_flutter_web.dart';`
to `import 'package:sentry_flutter/sentry_flutter_web.dart';`
* This could lead to breaking changes. Typically it shouldn't because the referencing file is auto-generated.

# 4.1.0-nullsafety.0

* Fix: Do not append stack trace to the exception if there are no frames
Expand Down
1 change: 1 addition & 0 deletions flutter/analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ linter:
rules:
prefer_relative_imports: true
unnecessary_brace_in_string_interps: true
implementation_imports: true
Copy link
Contributor

@marandaneto marandaneto Mar 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

currently, we're using package:pedantic, is there a more aggressive solution? often I see us enabling new rules that should be avoided in the 1st place :D (not for this PR though)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As per https://dart-lang.github.io/linter/lints/ there are three official rule sets: pedantic, effective_dart and flutter.
There's also https://pub.dev/packages/lint which describes itself as very strict.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, I'll have a look at this one (lint) later this week.

2 changes: 1 addition & 1 deletion flutter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ flutter:
pluginClass: SentryFlutterPlugin
web:
pluginClass: SentryFlutterWeb
fileName: src/sentry_flutter_web.dart
fileName: sentry_flutter_web.dart