Skip to content

Commit 1915e5c

Browse files
authored
Prepare for v2.2.0 release (#34)
Prepare for v2.2.0 release
1 parent 96be842 commit 1915e5c

File tree

5 files changed

+16
-6
lines changed

5 files changed

+16
-6
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# package:sentry changelog
22

3+
## 2.2.0
4+
5+
- Add a `stackFrameFilter` argument to `SentryClient`'s `capture` method (96be842).
6+
- Clean-up code using pre-Dart 2 API (91c7706, b01ebf8).
7+
38
## 2.1.1
49

510
- Defensively copy internal maps event attributes to

lib/src/stack_trace.dart

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@
44

55
import 'package:stack_trace/stack_trace.dart';
66

7-
/// Used to filter or modify stack frames before sending stack trace. The stack
8-
/// frames are in the Sentry.io format.
7+
/// Used to filter or modify stack frames before sending the stack trace.
8+
///
9+
/// The input stack frames are in the Sentry.io JSON format. The output
10+
/// stack frames must follow the same format.
11+
///
12+
/// Detailed documentation about the stack trace format is on Sentry.io's
13+
/// web-site: https://docs.sentry.io/development/sdk-dev/overview/.
914
typedef StackFrameFilter = List<Map<String, dynamic>> Function(
1015
List<Map<String, dynamic>>);
1116

lib/src/version.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
library version;
1010

1111
/// The SDK version reported to Sentry.io in the submitted events.
12-
const String sdkVersion = '2.1.1';
12+
const String sdkVersion = '2.2.0';
1313

1414
/// The SDK name reported to Sentry.io in the submitted events.
1515
const String sdkName = 'dart';

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: sentry
2-
version: 2.1.1
2+
version: 2.2.0
33
description: A pure Dart Sentry.io client.
44
author: Flutter Authors <[email protected]>
55
homepage: https://github.com/flutter/sentry
66

77
environment:
8-
sdk: ">=2.0.0-dev.28.0 <3.0.0"
8+
sdk: ">=2.0.0 <3.0.0"
99

1010
dependencies:
1111
http: ">=0.11.0 <2.0.0"

tool/presubmit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -e
44
set -x
55

66
pub get
7-
dartanalyzer --strong --fatal-warnings ./
7+
dartanalyzer --fatal-warnings ./
88
pub run test --platform vm
99
./tool/dart2_test.sh
1010
dartfmt -n --set-exit-if-changed ./

0 commit comments

Comments
 (0)