Skip to content

Commit 5167a5c

Browse files
authored
version 2.1.0; minor dartdoc clean-up (#21)
* version 2.1.0; minor dartdoc clean-up * update changelog
1 parent 1b9b7fb commit 5167a5c

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

CHANGELOG.md

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

3+
## 2.1.0
4+
5+
- Support DNS format without secret key.
6+
- Remove dependency on `package:quiver`.
7+
- The `clock` argument to `SentryClient` constructor _should_ now be
8+
`ClockProvider` (but still accepts `Clock` for backwards compatibility).
9+
310
## 2.0.2
411

512
- Add support for user context in Sentry events.

lib/sentry.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ class SentryClient {
4848
/// make HTTP calls to Sentry.io. This is useful in tests.
4949
///
5050
/// If [clock] is provided, it is used to get time instead of the system
51-
/// clock. This is useful in tests. Should be an implementation of ClockProvider.
51+
/// clock. This is useful in tests. Should be an implementation of [ClockProvider].
5252
/// This parameter is dynamic to maintain backwards compatibility with
53-
/// previous use of Clock from the Quiver library.
53+
/// previous use of [Clock](https://pub.dartlang.org/documentation/quiver/latest/quiver.time/Clock-class.html)
54+
/// from [`package:quiver`](https://pub.dartlang.org/packages/quiver).
5455
///
5556
/// If [uuidGenerator] is provided, it is used to generate the "event_id"
5657
/// field instead of the built-in random UUID v4 generator. This is useful in

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.0.2';
12+
const String sdkVersion = '2.1.0';
1313

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

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: sentry
2-
version: 2.0.2
2+
version: 2.1.0
33
description: A pure Dart Sentry.io client.
44
author: Flutter Authors <flutter-dev@googlegroups.com>
55
homepage: https://github.com/flutter/sentry

0 commit comments

Comments
 (0)