Skip to content

Prepare for v2.2.0 release #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 9, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
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://github.com/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 ./