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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# package:sentry changelog

## 3.0.1
- Add support for Contexts in Sentry events

## 3.0.0+1

- `pubspec.yaml` and example code clean-up.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: sentry
version: 3.0.0+1
version: 3.0.1
description: >
A crash reporting library for for Dart that sends crash reports to Sentry.io.
This library supports Dart VM, and Flutter for mobile, web, and desktop.
Expand Down
4 changes: 3 additions & 1 deletion test/contexts_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ void main() {
browser: testBrowser,
);

final event = Event(contexts: contexts);

expect(
contexts.toJson(),
event.toJson()['contexts'],
<String, dynamic>{
'device': {
'name': 'testDevice',
Expand Down