Bump SDK constraints for pub (#67)
Use a 2.12.0 lower bound since pub does not understand allowed
experiments for earlier versions.
Use a 3.0.0 upper bound to avoid a warning in pub and to give some
flexibility in publishing for stable.
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 95f370c..ea31ffe 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,8 @@
+## 2.1.0-nullsafety.3
+
+* Update SDK constraints to `>=2.12.0-0 <3.0.0` based on beta release
+ guidelines.
+
## 2.1.0-nullsafety.2
* Allow prerelease versions of the 2.12 sdk.
diff --git a/pubspec.yaml b/pubspec.yaml
index 9259c34..d11a356 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,5 +1,5 @@
name: stream_channel
-version: 2.1.0-nullsafety.2
+version: 2.1.0-nullsafety.3
description: >-
An abstraction for two-way communication channels based on the Dart Stream
@@ -7,8 +7,7 @@
homepage: https://github.com/dart-lang/stream_channel
environment:
- # This must remain a tight constraint until nnbd is stable
- sdk: '>=2.10.0-0 <2.12.0'
+ sdk: ">=2.12.0-0 <3.0.0"
dependencies:
async: '>=2.5.0-nullsafety <2.5.0'