Skip to content

Commit

Permalink
Prepare for v2.2.0 release (#34)
Browse files Browse the repository at this point in the history
Prepare for v2.2.0 release
  • Loading branch information
yjbanov authored Jan 9, 2019
1 parent 96be842 commit 1915e5c
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# package:sentry changelog

## 2.2.0

- Add a `stackFrameFilter` argument to `SentryClient`'s `capture` method (96be842).
- Clean-up code using pre-Dart 2 API (91c7706, b01ebf8).

## 2.1.1

- Defensively copy internal maps event attributes to
Expand Down
9 changes: 7 additions & 2 deletions lib/src/stack_trace.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@

import 'package:stack_trace/stack_trace.dart';

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

Expand Down
2 changes: 1 addition & 1 deletion lib/src/version.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
library version;

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

/// The SDK name reported to Sentry.io in the submitted events.
const String sdkName = 'dart';
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: sentry
version: 2.1.1
version: 2.2.0
description: A pure Dart Sentry.io client.
author: Flutter Authors <[email protected]>
homepage: https:/flutter/sentry

environment:
sdk: ">=2.0.0-dev.28.0 <3.0.0"
sdk: ">=2.0.0 <3.0.0"

dependencies:
http: ">=0.11.0 <2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion tool/presubmit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e
set -x

pub get
dartanalyzer --strong --fatal-warnings ./
dartanalyzer --fatal-warnings ./
pub run test --platform vm
./tool/dart2_test.sh
dartfmt -n --set-exit-if-changed ./

0 comments on commit 1915e5c

Please sign in to comment.