From ec8d1fd59ccc7ac57171c3f5c2a8c79b247d0763 Mon Sep 17 00:00:00 2001 From: Jacob MacDonald Date: Wed, 17 Apr 2019 12:38:24 -0700 Subject: [PATCH 1/7] update pubspec/changelog for 2.0.0 release --- webdev/CHANGELOG.md | 43 +++++++++++++++++++++---------------------- webdev/pubspec.yaml | 2 +- 2 files changed, 22 insertions(+), 23 deletions(-) diff --git a/webdev/CHANGELOG.md b/webdev/CHANGELOG.md index 30f50eb8d..8d144b089 100644 --- a/webdev/CHANGELOG.md +++ b/webdev/CHANGELOG.md @@ -1,28 +1,27 @@ -## 2.0.0-alpha.4 +## 2.0.0 -- Fix an NPE is the reload logic. -- Shutdown the daemon process when the corresponding application is closed. +## Breaking Changes -## 2.0.0-alpha.3 - -- Lots of small daemon mode bug fixes. -- Allow build_web_compilers 2.x. - -## 2.0.0-alpha.2 - -- Open up devtools with the full uri instead of just the port. This is required - for the latest proxy because it contains a unique token in the uri for each - instance of the service. - -## 2.0.0-alpha.1 - -- Hot restart will now invoke the `ext.flutter.disassemble` service extension if - it exists, and wait for that result to complete before reloading modules. - -## 2.0.0-alpha.0 - -- Support building with `package:build_daemon` through `serve` command. - The `serve` command will now only serve `web` by default. +- Deprecated the `--hot-reload` and `--live-reload` flags, in favor of the new + `--auto=` option which performs an action whenever a build completes. + - The current supported actions are `restart` and `refresh`, which correspond + to the old `--hot-reload` and `--live-reload` flags. +- Support building with `package:build_daemon` through `serve` command. + - This should not affect most users but might break some workflows. + +### Features + +- Multiple webdev processes in the same package will now share builds and not + conflict with each other. +- Added the `--debug` flag. + - Runs a "fake" dart vm service with limited functionality, and proxies calls + to the app running in chrome. + - Enables [devtools](https://github.com/flutter/devtools) for web apps. + - For regular web apps currently this doesn't actually do anything yet, + except for supported frameworks which will enable some tabs. + - Use `alt+d` in the web app to launch devtools. +- Allow build_web_compilers 2.x. ## 1.0.1 diff --git a/webdev/pubspec.yaml b/webdev/pubspec.yaml index 8cfb05d4a..710af791c 100644 --- a/webdev/pubspec.yaml +++ b/webdev/pubspec.yaml @@ -1,5 +1,5 @@ name: webdev -version: 2.0.0-alpha.4 +version: 2.0.0 author: Dart Team homepage: https://github.com/dart-lang/webdev description: >- From 007b495b7cf97cf9de29daa6a615bff40c18b131 Mon Sep 17 00:00:00 2001 From: Jacob MacDonald Date: Wed, 17 Apr 2019 13:37:59 -0700 Subject: [PATCH 2/7] update changelog --- webdev/CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webdev/CHANGELOG.md b/webdev/CHANGELOG.md index 8d144b089..6d4a2f224 100644 --- a/webdev/CHANGELOG.md +++ b/webdev/CHANGELOG.md @@ -15,8 +15,8 @@ - Multiple webdev processes in the same package will now share builds and not conflict with each other. - Added the `--debug` flag. - - Runs a "fake" dart vm service with limited functionality, and proxies calls - to the app running in chrome. + - Runs a proxy dart vm service with limited functionality, which talks to the + running in chrome. - Enables [devtools](https://github.com/flutter/devtools) for web apps. - For regular web apps currently this doesn't actually do anything yet, except for supported frameworks which will enable some tabs. From 522fab86a0a6b226b1af200265a29f1372d6c951 Mon Sep 17 00:00:00 2001 From: Jacob MacDonald Date: Thu, 18 Apr 2019 07:55:10 -0700 Subject: [PATCH 3/7] remove incorrect line --- webdev/CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/webdev/CHANGELOG.md b/webdev/CHANGELOG.md index 6d4a2f224..34505038d 100644 --- a/webdev/CHANGELOG.md +++ b/webdev/CHANGELOG.md @@ -12,8 +12,6 @@ ### Features -- Multiple webdev processes in the same package will now share builds and not - conflict with each other. - Added the `--debug` flag. - Runs a proxy dart vm service with limited functionality, which talks to the running in chrome. From e488b3d895ddca55394390c54fab4539ac507160 Mon Sep 17 00:00:00 2001 From: Jacob MacDonald Date: Thu, 18 Apr 2019 10:26:20 -0700 Subject: [PATCH 4/7] update version.dart --- webdev/lib/src/version.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webdev/lib/src/version.dart b/webdev/lib/src/version.dart index 06a78df16..0e58df393 100644 --- a/webdev/lib/src/version.dart +++ b/webdev/lib/src/version.dart @@ -1,2 +1,2 @@ // Generated code. Do not modify. -const packageVersion = '2.0.0-alpha.4'; +const packageVersion = '2.0.0'; From 80d79075f562fac3874c0a6e87f40572dc9955b5 Mon Sep 17 00:00:00 2001 From: Jacob MacDonald Date: Mon, 22 Apr 2019 08:42:01 -0700 Subject: [PATCH 5/7] rebuild --- webdev/lib/src/version.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webdev/lib/src/version.dart b/webdev/lib/src/version.dart index ed8886533..0e58df393 100644 --- a/webdev/lib/src/version.dart +++ b/webdev/lib/src/version.dart @@ -1,2 +1,2 @@ // Generated code. Do not modify. -const packageVersion = '2.0.0'; \ No newline at end of file +const packageVersion = '2.0.0'; From f5df41de40926b785b139aa8389364101e0ca2cb Mon Sep 17 00:00:00 2001 From: Jacob MacDonald Date: Mon, 22 Apr 2019 08:48:45 -0700 Subject: [PATCH 6/7] add option+d note --- webdev/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webdev/CHANGELOG.md b/webdev/CHANGELOG.md index 6e83a56b1..f86fe6a16 100644 --- a/webdev/CHANGELOG.md +++ b/webdev/CHANGELOG.md @@ -22,7 +22,7 @@ - Enables [devtools](https://github.com/flutter/devtools) for web apps. - For regular web apps currently this doesn't actually do anything yet, except for supported frameworks which will enable some tabs. - - Use `alt+d` in the web app to launch devtools. + - Use `alt+d` (or `option+d` on mac) in the web app to launch devtools. - Allow build_web_compilers 2.x. ## 1.0.1 From ce74ee32059a786e426734790a1a83a8aad56193 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Mon, 22 Apr 2019 08:52:47 -0700 Subject: [PATCH 7/7] Update CHANGELOG.md --- webdev/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webdev/CHANGELOG.md b/webdev/CHANGELOG.md index f86fe6a16..d1627a4d6 100644 --- a/webdev/CHANGELOG.md +++ b/webdev/CHANGELOG.md @@ -22,7 +22,7 @@ - Enables [devtools](https://github.com/flutter/devtools) for web apps. - For regular web apps currently this doesn't actually do anything yet, except for supported frameworks which will enable some tabs. - - Use `alt+d` (or `option+d` on mac) in the web app to launch devtools. + - Use `alt+d` (or `option+d` on Mac) in the web app to launch devtools. - Allow build_web_compilers 2.x. ## 1.0.1