Bump SDK constraints for pub (#28) 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 4379f83..c8c7008 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 3319875..6099c54 100644 --- a/pubspec.yaml +++ b/pubspec.yaml
@@ -1,12 +1,11 @@ name: string_scanner -version: 1.1.0-nullsafety.2 +version: 1.1.0-nullsafety.3 description: A class for parsing strings using a sequence of patterns. homepage: https://github.com/dart-lang/string_scanner 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: charcode: '>=1.2.0-nullsafety <1.2.0'