webdev
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.
4.0.2
49K downloads/mo
#1472 most downloaded on pub.dev
dart-lang/webdev
What this package is like to depend on
Last release 6 days ago
17 Aug 2026
Ships fairly regularly
a new release about every 3 months
Nearly every release is documented
notes for 76 of 78 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
83 releases · first in 2018
5 releases in the last 12 months
see the full history below
Release timeline
83 releases · Mar 2018 to Aug 2026Releases
latest 60 of 83-
4.0.217 Aug 2026 -
4.0.105 Aug 2026Release notes
Open source →4.0.1
- Catch and report version skew errors when incompatible versions of
build_daemonare used.
Release notes
Open source →- Catch and report version skew errors when incompatible versions of
build_daemonare used.
- Catch and report version skew errors when incompatible versions of
-
4.0.010 Jul 2026Release notes
Open source →4.0.0
- Add
module-formatflag for testing new DDC Library Bundle module format prior to release. - Fix webdev failing to compile in aot mode due to missing DDS arguments.
- Bump
ddsto^5.3.0. - Bump
dwdsto^27.0.3. - Fix issue where hot restarts/reloads without local file changes would sometimes cause DDC to hang.
- Add 'web-hot-reload' experimental feature flag.
- Use the DDC Library Bundle module format by default.
- If your use case depends on internal details of the old (AMD) module format, you can restore it by passing
--module-format amd. The old module format will be removed in a future release, so please let us know.
- If your use case depends on internal details of the old (AMD) module format, you can restore it by passing
- Remove the requirement for the
--canaryflag when selecting the--module-format=ddcoption. - Remove deprecated
--null-safetyflag. All Dart 3 compiles use sound null
safety.
Release notes
Open source →- Add
module-formatflag for testing new DDC Library Bundle module format prior to release. - Fix webdev failing to compile in aot mode due to missing DDS arguments.
- Bump
ddsto^5.3.0. - Bump
dwdsto^27.0.3. - Fix issue where hot restarts/reloads without local file changes would sometimes cause DDC to hang.
- Add 'web-hot-reload' experimental feature flag.
- Use the DDC Library Bundle module format by default.
- If your use case depends on internal details of the old (AMD) module format, you can restore it by passing
--module-format amd. The old module format will be removed in a future release, so please let us know.
- If your use case depends on internal details of the old (AMD) module format, you can restore it by passing
- Remove the requirement for the
--canaryflag when selecting the--module-format=ddcoption. - Remove deprecated
--null-safetyflag. All Dart 3 compiles use sound null safety.
- Add
-
3.8.123 Feb 2026Release notes
Open source →3.8.1
- Serve Dart DevTools from DDS instead of launching it manually.
- Bump dwds to ^27.0.0.
Release notes
Open source →- Serve Dart DevTools from DDS instead of launching it manually.
- Bump
dwdsto^27.0.0.
-
3.8.015 Jan 2026Release notes
Open source →- Adding initial DDC library bundler support behind the
canaryflag. - Bump minimum SDK constraint to
3.10.0 - Bump
build_web_compilersto^4.4.1. - Bump
dwdsto^26.2.5.
- Adding initial DDC library bundler support behind the
-
3.7.220 Jun 2025 -
3.7.111 Feb 2025Release notes
Open source →- Update
dwdsconstraint to24.3.5. - Added a utility method to locate
package_config.jsonand set it in theloadStrategy.
- Update
-
3.7.006 Dec 2024Release notes
Open source →- Update
dwdsconstraint to24.2.0. - Update
package:vm_serviceto>=14.0.0 <16.0.0. - Update
package:vm_service_interfaceto2.0.1.
- Update
-
3.6.008 Aug 2024Release notes
Open source →-
Update
dwdsconstraint to24.1.0. -
Support running from inside a pub workspace #2498.
-
-
3.5.023 Apr 2024 -
3.4.025 Jan 2024Release notes
Open source →-
Update
dwdsconstraint to23.3.0. -
Update
package:vm_serviceconstraint to>=10.1.0 <15.0.0. - #2307
-
-
3.3.002 Jan 2024 -
3.2.026 Oct 2023 -
3.1.019 Oct 2023 -
3.0.808 Sep 2023 -
3.0.716 Aug 2023Release notes
Open source →- 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.
- Update
-
3.0.7+108 Sep 2023Nothing published for this version
-
3.0.606 Jul 2023Release notes
Open source →- Update
dwdsconstraint to19.0.2. - Update SDK constraint to
>=3.1.0-254.0.dev <4.0.0.
- Update
-
3.0.521 Jun 2023 -
3.0.406 Apr 2023 -
3.0.322 Mar 2023 -
3.0.217 Mar 2023 -
3.0.101 Mar 2023Release notes
Open source →- Update SDK constraint to
>=3.0.0-188.0.dev <4.0.0.- Supports records.
- Use dwds
18.0.0.
- Update SDK constraint to
-
3.0.030 Jan 2023Release notes
Open source →- 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
- Add
-
2.7.1201 Nov 2022 -
2.7.1106 Sep 2022Release notes
Open source →- Remove no longer used
ExpressionCompilerService.handler. - Update the min SDK constraint to 2.18.0.
- Update DWDS to
16.0.0.
- Remove no longer used
-
2.7.1028 Jun 2022 -
2.7.913 May 2022Release notes
Open source →-
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'Example using auto-detected directory:
webdev serve \ --debug --debug-extension \ --user-data-dir=auto -
Update the min SDK constraint to 2.17.0.
-
-
2.7.807 Feb 2022Release notes
Open source →- 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)
- Update
-
2.7.714 Dec 2021Release notes
Open source →- Handle and log http request serving errors.
- Update SDK constraint to
>=2.15.0 <3.0.0.
-
2.7.617 Sep 2021 -
2.7.524 Aug 2021Release notes
Open source →- Depend on the latest
package:dwds. - Update min sdk constraint to
>=2.13.0. - Support the latest
package:build_daemon.
- Depend on the latest
-
2.7.413 May 2021Release notes
Open source →- Allow the latest build_runner, build_web_compilers, and build_daemon packages.
-
2.7.217 Mar 2021Release notes
Open source →- 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.
- Depend on the latest
-
2.7.129 Oct 2020Release notes
Open source →- 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.
- Depend on the latest
-
2.7.027 Oct 2020Release notes
Open source →- 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.211 Sep 2020 -
2.6.110 Sep 2020Release notes
Open source →- Rollback release so that we no longer require a dev version of
package:build_web_compilers.
- Rollback release so that we no longer require a dev version of
-
2.6.008 Sep 2020Release notes
Open source →- Require at least
build_web_compilersversion2.12.0-dev.1. - Depend on the latest
package:dwds.
- Require at least
-
2.5.910 Jun 2020 -
2.5.828 May 2020Release notes
Open source →- Depend on the latest
package:dwds. - Fix an issue where all directories were built when using the
servecommand.
- Depend on the latest
-
2.5.721 Apr 2020 -
2.5.620 Mar 2020 -
2.5.519 Mar 2020Release notes
Open source →- 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.
- Bump the min sdk constraint to
-
2.5.421 Nov 2019Release notes
Open source →- 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.
- Fix support for
-
2.5.318 Oct 2019Release notes
Open source →- 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.
- Added a new
-
2.5.207 Oct 2019Release notes
Open source →- Update SDK dependency to minimum of 2.5.0.
- Support absolute file: URIs for libraries.
- Depend on the latest
package:dwds.
-
2.5.110 Sep 2019 -
2.5.014 Aug 2019Release notes
Open source →- 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.
- TLS support has been added to the
-
2.4.113 Aug 2019 -
2.4.007 Aug 2019Release notes
Open source →- 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.
- Add a
-
2.3.022 Jul 2019Release notes
Open source →- Depend on the latest
package:dwds. - Depend on the latest
package:build_daemon.
- Depend on the latest
-
2.2.020 Jun 2019Release notes
Open source →- Added a
fullReloadservice extension which performs a full page refresh. - Handle shutdown notifications from latest
build_daemonprotocol.
- Added a
-
2.1.013 Jun 2019Release notes
Open source →- 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.
- Add an explicit error if there are no directories to serve. Typically this
would happen if the user doesn't have a
-
2.0.703 Jun 2019Release notes
Open source →- Update minimum
package:build_runnerversion to1.5.0. - Use
HttpMultiServerto fix bind issues with IPv6 / IPv4.
- Update minimum
-
2.0.628 May 2019 -
2.0.511 May 2019 -
2.0.401 May 2019Release notes
Open source →- 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.
- Fix loading apps in non-chrome browsers in --debug mode
-
2.0.326 Apr 2019Release notes
Open source →- Support latest
package:build_daemon. - Fix Chrome issues while running through VS Code.
- Support latest
-
2.0.225 Apr 2019