webdev 2.5.4
webdev: ^2.5.4 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.5.4 #
- Fix support for
--output=NONEwhen building. - Properly error if not in a Dart root while running the
daemoncommand. - Depend on the latest
package:sse. - Serve DevTools if either
--debugor--debug-extensionis provided. - Publicize the option
--debug-extension.
2.5.3 #
- Added a new
--launch-appcommand line option.- Expects a package relative path to an html file, such as
web/app.html. - Launches the specified application in chrome on startup instead of the server root.
- Allows multiple apps, and will launch all of them.
- Supported for the
daemonandservecommands.
- Expects a package relative path to an html file, such as
- Depend on the latest
package:dwds.
2.5.2 #
- Update SDK dependency to minimum of 2.5.0.
- Support absolute file: URIs for libraries.
- Depend on the latest
package:dwds.
2.5.1 #
- Depend on the latest
package:dwds.
2.5.0 #
- TLS support has been added to the
servecommand through the addition of two new optionstls-cert-chainandtls-cert-key. - Added an explicit error if asked to build or serve anything other than a top level directory under a package. This never worked before but silently didn't actually do what the user expected.
2.4.1 #
- Depend on the latest
package:webkit_inspection_protocol.
2.4.0 #
- Add a
--no-injected-clientoption which can be used to work around issues relating to the injectedclient.jsfile. All debugging features must be disabled if you use this option. - Depend on the latest
package:dwds.
2.3.0 #
- Depend on the latest
package:dwds. - Depend on the latest
package:build_daemon.
2.2.0 #
- Added a
fullReloadservice extension which performs a full page refresh. - Handle shutdown notifications from latest
build_daemonprotocol.
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
webdirectory. - 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_runnerversion to1.5.0. - Use
HttpMultiServerto fix bind issues with IPv6 / IPv4.
2.0.6 #
- Use latest
package:build_daemon.
2.0.5 #
- Use
HttpMultiServerto 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
flutterandflutter_testdependencies 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:dwdsversion0.3.0.
2.0.1 #
- Fix launching Chrome on Windows.
2.0.0 #
Breaking Changes #
- The
servecommand will now only servewebby default. - Deprecated the
--hot-reloadand--live-reloadflags, in favor of the new--auto=<action>option which performs an action whenever a build completes.- The current supported actions are
restartandrefresh, which correspond to the old--hot-reloadand--live-reloadflags.
- 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-outputsargument if you used to hityat the prompt.
Features #
- Added the
--debugflag.- 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+don Mac) in the web app to launch devtools.
- Allow build_web_compilers 2.x.
1.0.1 #
- Support
package:build_web_compilersv1.0.0.
1.0.0 #
- Support
package:build_runnerv1.0.0. - Add
--versionto 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 scripton 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_runnerto support latest versions.
0.2.2 #
- Add default value for
--outputto bebuild:webfor thebuildcommand andNONEfor theservecommand. - Update to use lower-case constants from Dart
^2.0.0-dev.54.
0.2.1 #
- Support
package:build_web_compilersv0.4.0. - Always pass the argument
--fail-on-severeto thebuildcommand. - Exit with an error if unsupported arguments are passed to
buildcommand.
0.2.0 #
- Pass the arguments supporting
directory:portfor theservecommand. - Add the requirement for
build_web_compilerstobuildcommand. - Renamed
--require-build-web-compilersflag to--build-web-compilers.
0.1.4 #
- Require and use features from
build_runner0.8.2.- Added a
--[no]-releaseflag.
- Added a
- Require
build_web_compliers0.3.6 when runningserve.- Unless the
--no-require-build-web-compilersflag is provided.
- Unless the
0.1.3+1 #
- Support running
pubwhen 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_runnerfrom tools. - Use
pub depsto 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
buildandservewithbuild_runner: ^0.8.0.