webdev 3.7.2
webdev: ^3.7.2 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.
3.7.2 #
3.7.1 #
- Update
dwdsconstraint to24.3.5. - Added a utility method to locate
package_config.jsonand set it in theloadStrategy.
3.7.0 #
- Update
dwdsconstraint to24.2.0. - Update
package:vm_serviceto>=14.0.0 <16.0.0. - Update
package:vm_service_interfaceto2.0.1.
3.5.0 #
- Update
dwdsconstraint to24.0.0.
3.4.0 #
-
Update
dwdsconstraint to23.3.0. -
Update
package:vm_serviceconstraint to>=10.1.0 <15.0.0. - #2307
3.3.0 #
- Update
dwdsconstraint to23.0.0.
3.2.0 #
3.1.0 #
3.0.8 #
3.0.7 #
- Update
build_web_compilersconstraint to^4.0.4. - Update SDK constraint to
>=3.1.0-340.0.dev <4.0.0. - Update
dwdsconstraint to20.0.1.
3.0.6 #
- Update
dwdsconstraint to19.0.2. - Update SDK constraint to
>=3.1.0-254.0.dev <4.0.0.
3.0.5 #
- Update
dwdsconstraint to19.0.1.
3.0.4 #
- Update
dwdsconstraint to19.0.0.
3.0.3 #
- Update
dwdsconstraint to18.0.2.
3.0.2 #
- Update
build_daemonconstraint to^4.0.0.
3.0.1 #
- Update SDK constraint to
>=3.0.0-188.0.dev <4.0.0.- Supports records.
- Use dwds
18.0.0.
3.0.0 #
- Add
--enable-experimentflag to webdev commands and pass it to the build runner and the expression compiler service. - Update SDK constraint to
>=3.0.0-134.0.dev <4.0.0. - Update
package:vm_serviceconstraint to>=10.1.0 <12.0.0. - Make all tests use sound null safety fixtures.
Breaking changes
- Support Dart 3.0-alpha breaking changes:
- Do not pass
--(no)-sound-null-safetyflag to build daemon. - Update
build_web_compilersconstraint to^4.0.0. - Update
build_runnerconstraint to^2.4.0. - Support changes in the SDK layout for Dart 3.0.
- Do not pass
2.7.12 #
- Migrate Webdev to null-safety.
2.7.11 #
- Remove no longer used
ExpressionCompilerService.handler. - Update the min SDK constraint to 2.18.0.
- Update DWDS to
16.0.0.
2.7.10 #
- Pin DWDS version to avoid dependency conflicts with
package:vm_service.
2.7.9 #
-
Add an option to pass user data directory to chrome:
user-data-dir. Auto detect user data directory based on the current OS ifautois given as a value. Ifnullis given as a value (default), fall back to the existing behavior (i.e. creating/reusing a temp directory).Note: not supported for Windows yet due to flakiness it introduces.
Example using user-specified directory:
webdev serve \ --debug --debug-extension \ --user-data-dir='/Users/<user>/Library/Application Support/Google/Chrome'copied to clipboardExample using auto-detected directory:
webdev serve \ --debug --debug-extension \ --user-data-dir=autocopied to clipboard -
Update the min SDK constraint to 2.17.0.
2.7.8 #
- Update
vm_serviceto^8.1.0. - Enable expression evaluation by default.
- Update the Dart minimum SDK to
>=2.16.0. - Depend on the latest DWDS (12.0.0)
2.7.7 #
- Handle and log http request serving errors.
- Update SDK constraint to
>=2.15.0 <3.0.0.
2.7.6 #
- Update SDK constraint to
>=2.14.0 <3.0.0
2.7.5 #
- Depend on the latest
package:dwds. - Update min sdk constraint to
>=2.13.0. - Support the latest
package:build_daemon.
2.7.4 #
- Allow the latest build_runner, build_web_compilers, and build_daemon packages.
2.7.3 #
- Depend on the latest
package:dwds. - Update min sdk constraint to
>=2.13.0-144.0.dev.
2.7.2 #
- Depend on the latest
package:dwds. - Support new
null-safetyflag. See README. - Support latest
package:vm_serviceversion6.x.x. - Opt all dart files out of null safety for min SDK constraint update.
2.7.1 #
- Depend on the latest
package:sse. - Remove references to Flutter Web as webdev is no longer used with Flutter. Users should be using Flutter Tools shipped with the Flutter SDK.
2.7.0 #
- Add support for the Dart Development Service (DDS).
- Expand
package:vm_serviceto version>=3.0.0 <6.0.0. - Require at least
build_web_compilersversion2.12.0. - Depend on the latest
package:dwds. - Fix issue where open http connections prevent the process for exiting.
- Add expression evaluation feature under
--enable-expression-evaluationflag passed towebdevcommands. The feature is disabled by default. - Update min sdk constraint to
>=2.10.0.
2.6.2 #
- Update min sdk constraint to
>=2.8.1.
2.6.1 #
- Rollback release so that we no longer require a dev version of
package:build_web_compilers.
2.6.0 #
- Require at least
build_web_compilersversion2.12.0-dev.1. - Depend on the latest
package:dwds.
2.5.9 #
- Depend on the latest
package:dwds.
2.5.8 #
- Depend on the latest
package:dwds. - Fix an issue where all directories were built when using the
servecommand.
2.5.7 #
- Update min sdk constraint to
>=2.7.0.
2.5.6 #
- Expand
package:vm_serviceto version>=3.0.0 <5.0.0
2.5.5 #
- Bump the min sdk constraint to
2.6.0. - Require at least
build_web_compilersversion2.6.1.- Versions
<2.0.0are not supported by any dart sdk>=2.6.0. - Versions
<2.6.1have bugs that we want to avoid users running into.
- Versions
- Depend on
package:vm_serviceversion^2.0.0. - Depend on the latest
package:dwds.
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.