From d5fdf99a8768b42d139989e7a50169d5db04dcd6 Mon Sep 17 00:00:00 2001 From: Nate Bosch Date: Tue, 3 Nov 2020 12:38:38 -0800 Subject: [PATCH] Bump SDK constraints for pub 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. --- CHANGELOG.md | 5 +++++ pubspec.yaml | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a5cd2ee..2b2fa6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.1.0-nullsafety.3 + +* Update SDK constraints to `>=2.12.0-0 <3.0.0` based on beta release + guidelines. + ## 1.1.0-nullsafety.2 * Allow prerelease versions of the 2.12 sdk. diff --git a/pubspec.yaml b/pubspec.yaml index 7c1f0d1..bace989 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,11 +1,10 @@ name: clock -version: 1.1.0-nullsafety.2 +version: 1.1.0-nullsafety.3 description: A fakeable wrapper for dart:core clock APIs homepage: https://github.com/dart-lang/clock 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" dev_dependencies: test: ^1.16.0-nullsafety