Skip to content

Releases: dart-lang/webdev

package:dwds v25.0.0

14 Aug 11:39
c0492f1
Compare
Choose a tag to compare
  • Implemented hot restart over websockets with multi window support.
  • Fix refresh race condition bug by adding an isolate destruction grace period.
  • Update a call to the package:shelf_web_socket webSocketHandler() function.
    Breaking changes
  • Remove deprecated parameter injectDebuggingSupportCode from Dwds.start().
  • Remove all deprecated fields, getters, and parameters
    related to the null safety compilation mode. Dart 3 only
    supports sound null safety.
  • Rename FrontendServerDdcLibraryBundleStrategy.hotReloadSourcesUri to
    reloadedSourcesUri. The file that the Uri points to should now be updated
    for both a hot restart and a hot reload.

package:dwds v24.4.1

29 Jul 16:16
bd0bcb8
Compare
Choose a tag to compare
  • Implemented a WebSocket-based communication protocol that provides essential developer tooling (hot reload, service extensions) when Chrome debugger access is unavailable. - #2605
  • Added WebSocket-based hot reload and service extension support via new WebSocketProxyService class that implements VM service protocol over WebSockets.
  • Enhanced DevHandler with useWebSocketConnection flag to toggle between Chrome-based and WebSocket-based communication protocols.
  • Fixed an issue where we didn't wait until all scripts were parsed before
    recomputing metadata on a hot reload.

package:dwds v24.4.0

05 Jul 17:56
b61423d
Compare
Choose a tag to compare
  • Added support for breakpoint registering on a hot reload with the DDC library bundle format using PausePostRequests.
  • FrontendServerDdcLibraryBundleStrategy.hotReloadSourceUri is now expected to also provide the reloaded modules.

package:webdev v3.7.2

20 Jun 18:04
6dc3dde
Compare
Choose a tag to compare
  • Fixed duplicate app logs on page refresh by preventing multiple stdout listeners for the same appId.
  • Adds --offline flag #2483.
  • Support the --hostname flag when the --tls-cert-key and --tls-cert-chain flags are present #2588.
  • Update dwds constraint to 24.3.11.

package:dwds v24.3.11

16 Jun 17:41
a321863
Compare
Choose a tag to compare
  • Changed DWDS to always inject the client and added useDwdsWebSocketConnection flag to control communication protocol: when true uses socket-based implementation, when false uses Chrome-based communication protocol.
  • Added WebSocket-based hot reload support: reloadSources in ChromeProxyService and DevHandler now handle hot reload requests and responses over WebSockets.
  • Refactored the injected client to use a reusable function for handling hot reload requests and responses over WebSockets.
  • Added support for breakpoint registering on a hot restart with the DDC library bundle format using PausePostRequests.

package:dwds v24.3.10

07 Apr 16:54
c8b1cfa
Compare
Choose a tag to compare
  • Disabled breakpoints on changed files in a hot reload. They currently do not
    map to the correct locations or are broken, so disable them for now. - #60186

package:dwds v24.3.9

24 Mar 17:28
697f2f7
Compare
Choose a tag to compare
  • Renamed DWDS Injector parameter enableDebuggingSupport to injectDebuggingSupportCode for clearer intent.

package:dwds v24.3.8

21 Mar 18:09
5c805f1
Compare
Choose a tag to compare
  • Updated DWDS to include a boolean flag that enables debugging support only when set to true. #60289

package:dwds v24.3.7

11 Mar 18:11
302b6db
Compare
Choose a tag to compare
  • The registered extension reassemble is now no longer called when calling
    reloadSources. Users should call reassemble using callServiceExtension.
  • callServiceExtension now checks the runtime for the list of registered
    service extensions. It also now throws a RPCError with
    RPCErrorKind.kMethodNotFound when a service extension is not found instead
    of throwing a JS evaluation error.

package:dwds v24.3.6

04 Mar 22:10
2c1d147
Compare
Choose a tag to compare
  • Bump minimum sdk version to 3.7.0
  • use 'compile js-dev' instead of directly invoking the ddc snapshot.
  • FrontendServerDdcLibraryBundleStrategy now takes a hotReloadSourcesUri
    parameter in order to fetch the file that contains the changed sources and
    libraries instead of assuming it exists in the global window.