webdev 2.2.0 webdev: ^2.2.0 copied to clipboard
A CLI for Dart web development. Provides an easy and consistent set of features for users and tools to build and deploy web applications with Dart.
2.2.0 #
- Added a
fullReload
service extension which performs a full page refresh. - Handle shutdown notifications from latest
build_daemon
protocol.
2.1.0 #
- Add an explicit error if there are no directories to serve. Typically this
would happen if the user doesn't have a
web
directory. - Add support for specifying
--hostname any
. - DevTools no longer launches in a new window. This prevents an issue where pausing your application also pauses DevTools.
- Fix some edge cases for hot restart:
- All restarts will now fire isolate create/destroy events, regardless of how they are triggered.
- Fix a bug in the module invalidation/reload logic.
2.0.7 #
- Update minimum
package:build_runner
version to1.5.0
. - Use
HttpMultiServer
to fix bind issues with IPv6 / IPv4.
2.0.6 #
- Use latest
package:build_daemon
.
2.0.5 #
- Use
HttpMultiServer
to fix bind issues with IPv6 / IPv4.
2.0.4 #
- Fix loading apps in non-chrome browsers in --debug mode
- Add a nice error if attempting to launch devtools in non-chrome browsers.
- Detect
flutter
andflutter_test
dependencies and fail with a nice message.
2.0.3 #
- Support latest
package:build_daemon
. - Fix Chrome issues while running through VS Code.
2.0.2 #
- Support
package:dwds
version0.3.0
.
2.0.1 #
- Fix launching Chrome on Windows.
2.0.0 #
Breaking Changes #
- The
serve
command will now only serveweb
by default. - Deprecated the
--hot-reload
and--live-reload
flags, in favor of the new--auto=<action>
option which performs an action whenever a build completes.- The current supported actions are
restart
andrefresh
, which correspond to the old--hot-reload
and--live-reload
flags.
- The current supported actions are
- Support building with
package:build_daemon
. This allows shared builds as long as the build arguments are compatible.- This should not affect most users but might break some workflows.
- Prompts are not supported, so you may have to pass the
-- --delete-conflicting-outputs
argument if you used to hity
at the prompt.
Features #
- Added the
--debug
flag.- Runs a proxy dart vm service with limited functionality, which talks to the running in chrome.
- Enables 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
(oroption+d
on Mac) in the web app to launch devtools.
- Allow build_web_compilers 2.x.
1.0.1 #
- Support
package:build_web_compilers
v1.0.0
.
1.0.0 #
- Support
package:build_runner
v1.0.0
. - Add
--version
to CLI.
0.2.5 #
- Added support for the --hot-reload flag, if on build_runner >=0.10.2.
0.2.4+1 #
- Print
Creating build script
on startup so the user is aware of what the process is doing.
0.2.4 #
- Added support for the --live-reload flag, if on build_runner >=0.10.1.
0.2.3+2 #
- Support latest
package:build_runner
.
0.2.3+1 #
- Support Dart 2 stable.
0.2.3 #
- Update required Dart SDK and
package:build_runner
to support latest versions.
0.2.2 #
- Add default value for
--output
to bebuild:web
for thebuild
command andNONE
for theserve
command. - Update to use lower-case constants from Dart
^2.0.0-dev.54
.
0.2.1 #
- Support
package:build_web_compilers
v0.4.0
. - Always pass the argument
--fail-on-severe
to thebuild
command. - Exit with an error if unsupported arguments are passed to
build
command.
0.2.0 #
- Pass the arguments supporting
directory:port
for theserve
command. - Add the requirement for
build_web_compilers
tobuild
command. - Renamed
--require-build-web-compilers
flag to--build-web-compilers
.
0.1.4 #
- Require and use features from
build_runner
0.8.2.- Added a
--[no]-release
flag.
- Added a
- Require
build_web_compliers
0.3.6 when runningserve
.- Unless the
--no-require-build-web-compilers
flag is provided.
- Unless the
0.1.3+1 #
- Support running
pub
when it's not in the environment path.
0.1.3 #
- Now runs on Windows.
0.1.2 #
- Remove check for
build_web_compilers
. Allows general support forbuild_runner
from tools. - Use
pub deps
to validate target directory.
0.1.1 #
- Checks for a dependency on
build_web_compilers
. - Gracefully handle exceptions.
0.1.0 #
- Initial release. Supports basic invocation of
build
andserve
withbuild_runner: ^0.8.0
.