chore: set max SDK version to <3.0.0 (#8)
diff --git a/.travis.yml b/.travis.yml
index 8b6048d..6e1b036 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,9 @@
language: dart
sudo: false
+
dart:
- dev
+
dart_task:
- test
- dartfmt
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0e4203b..21f31cc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,11 @@
+## 1.0.3
+
+* Set max SDK version to <3.0.0, and adjusted other dependencies.
+
+## 1.0.2
+
+* Fix a Dart 2 type error.
+
## 1.0.1
* Properly release resources for requests that error out.
diff --git a/analysis_options.yaml b/analysis_options.yaml
index a10d4c5..2e6cdca 100644
--- a/analysis_options.yaml
+++ b/analysis_options.yaml
@@ -1,2 +1 @@
analyzer:
- strong-mode: true
diff --git a/pubspec.yaml b/pubspec.yaml
index 3052397..20eaa8e 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,12 +1,16 @@
name: http_throttle
-version: 1.0.2
+version: 1.0.3
+
+description: HTTP client middleware that throttles requests.
author: Dart Team <misc@dartlang.org>
homepage: https://github.com/dart-lang/http_throttle
-description: HTTP client middleware that throttles requests.
+
environment:
- sdk: ">=2.0.0-dev.17.0 <2.0.0"
+ sdk: '>=2.0.0-dev.17.0 <3.0.0'
+
dependencies:
- http: ">=0.9.0 <0.12.0"
- pool: ">=1.0.0 <2.0.0"
+ http: '>=0.9.0 <0.12.0'
+ pool: '>=1.0.0 <2.0.0'
+
dev_dependencies:
- test: ">=0.12.0 <0.13.0"
+ test: '>=0.12.0 <2.0.0'