File tree 3 files changed +26
-7
lines changed
3 files changed +26
-7
lines changed Original file line number Diff line number Diff line change 1
1
## 1.3.0-nullsafety
2
2
3
3
* Opt into null safety.
4
+
5
+ ## 1.2.2
6
+
7
+ * Removed ` unawaited ` because the attempt to move it from ` package:pedantic `
8
+ caused too many issues. If you see errors about ` unawaited ` being declared in
9
+ two places, please update the version constraints for ` meta ` to ` 1.2.2 ` or
10
+ later.
11
+
12
+ ## 1.2.1
13
+
14
+ * Fixed a bug by adding an import of dart: async so that the code really is
15
+ compatible with the lower bound of the SDK constraints.
16
+
17
+ ## 1.2.0
18
+
19
+ * Introduce ` unawaited ` to mark invocations that return a ` Future ` where it's
20
+ intentional that the future is not being awaited. (Moved from
21
+ ` package:pedantic ` .)
4
22
* Introduce ` @doNotStore ` to annotate methods, getters and functions to
5
23
indicate that values obtained by invoking them should not be stored in a
6
24
field or top-level variable.
Original file line number Diff line number Diff line change 1
- // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
1
+ // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2
2
// for details. All rights reserved. Use of this source code is governed by a
3
3
// BSD-style license that can be found in the LICENSE file.
4
4
5
- /// Constants for use in metadata annotations.
5
+ /// Annotations that developers can use to express the intentions that otherwise
6
+ /// can't be deduced by statically analyzing the source code.
6
7
///
7
8
/// See also `@deprecated` and `@override` in the `dart:core` library.
8
9
///
12
13
/// function's name differently.
13
14
///
14
15
/// For information on installing and importing this library, see the [meta
15
- /// package on pub.dev](https://pub.dev/packages/meta). For examples of using
16
+ /// package on pub.dev](https://pub.dev/packages/meta). For examples of using
16
17
/// annotations, see
17
18
/// [Metadata] (https://dart.dev/guides/language/language-tour#metadata) in the
18
19
/// language tour.
Original file line number Diff line number Diff line change 1
1
name : meta
2
2
version : 1.3.0-nullsafety
3
- author :
Dart Team <[email protected] >
4
3
homepage : https://github.com/dart-lang/sdk/tree/master/pkg/meta
5
4
description : >
6
- This library contains the definitions of annotations that provide additional
7
- semantic information about the program being annotated. These annotations are
8
- intended to be used by tools to provide a better user experience.
5
+ This library contains the declarations of annotations that developers can use
6
+ to express the intentions that otherwise can't be deduced by statically
7
+ analyzing the source code. These annotations are intended to be used by tools
8
+ to provide a better user experience.
9
9
environment :
10
10
# This must remain a tight constraint (only allow dev versions) until nnbd is
11
11
# stable.
You can’t perform that action at this time.
0 commit comments