From 6dfdc51675f97a18ea00ad9712971339e529ad1e Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Mon, 6 Aug 2018 08:16:29 -0700 Subject: [PATCH 1/2] misc: prepare for v2 stable Fixes https://github.com/google/webdriver.dart/issues/205 --- CHANGELOG.md | 16 ++++++---------- pubspec.yaml | 2 +- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 26e3eaa2..f0af5091 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,19 +1,15 @@ -## v2.0.0-beta+1 +## v2.0.0 * Dropped support for `pkg:unittest`. * Add W3C spec mouse and keyboard support. * Remove deprecated methods in async WebDriver. -## v2.0.0-beta -Initial beta release of WebDriver 2.0. Many changes exist here, and -as the release evolves there may be breaking changes to the API. +The two big changes are the addition of support for synchronous communication +via the `package:sync_http` (along with an accompanying synchronous API) and +support for the W3C spec. -The two big changes are the addition of support for synchronous -communication via the sync_http package (along with an accompanying -synchronous API) and support for the W3C spec. - -Currently, only the synchronous API supports the W3C spec, but in the -future both asynchronous and synchronous APIs will support this. +Currently, only the synchronous API supports the W3C spec, but in the future +both asynchronous and synchronous APIs will support this. ## v1.2.4 * Adds Adds null check for status before checking status code. diff --git a/pubspec.yaml b/pubspec.yaml index 9496e870..9ed0df70 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: webdriver -version: 2.0.0-beta+1 +version: 2.0.0 authors: - Marc Fisher II - Matt Staats From a93e43123a9d30ab1e4cf5366e2ec6fd75a03121 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Mon, 6 Aug 2018 18:11:08 -0700 Subject: [PATCH 2/2] small travis tweaks --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 7806136f..82ae0359 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,3 +41,11 @@ before_script: script: - ./tool/travis.sh + +# Only building master means that we don't run two builds for each pull request. +branches: + only: [master] + +cache: + directories: + - $HOME/.pub-cache