Skip to content

Tags: dart-lang/webdev

Tags

dwds-v24.4.1

Toggle dwds-v24.4.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Support running DWDS without a Chrome Debug Port (web-socket-based) (#…

…2639)

* implemented socket-based dwds

* fix issue with run main at start

* updated changelog

* simulate debugExtension in websocket-based execution flow

* added multiwindow support

* refactoring and removing unused method

* support page refresh from vsCode

* refactor createisolate and resume method

* implemented pause/resume logic

* improve canReuseConnection logic

* comments cleanup

* fixed canReuseConnection logic

* implemented _handleConnectionClosed and fix issue with getVM

* fix issue with handling isolate cleanup

* addressed comments regarding closing remoteDebugger

* code cleanup

* created common interface for debugService and webSocketDebugService

* remove use of _acceptNewConnections in WebSocketDebugService

* created proxy_service.dart and consolidated all duplicated code

* consolidate webSocketAppDebugService and AppDebugServices

* consolidate dwdsVmClient and WebSocketDwdsVmClient

* refactored can remove duplicate methods

* remove use of dynamic

* fix dev_handler error

* consolidate handleChromeMessages and handleWebSocketMessages created default createIsolate and destroyIsolate in ProxyService

* updated logg message in _sendRequestToClients

* updated dev_handler to throw error if proxy_service is not the right type

* addressing analyzer issues

* removed unused variable

* updated port to 44456

* refactored classes to and interface names to be more clear

* fix variable name error

* updated variable to be type

* prepare version 24.4.1 for release

dwds-v24.4.0

Toggle dwds-v24.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Invalidate caches after a hot reload (#2641)

Many of the caches we computed on the original load need to be invalidated. Previously, we pessimistically tore down the caches and reinitialized them. With this PR, a ModifiedModuleReport is computed that allows us to only invalidate and recompute information for modules/libraries that were either deleted or reloaded.

Specifically, the caches in MetadataProvider, Modules, Locations, SkipLists, AppInspector, and LibraryHelper are now specially invalidated and recomputed.

Removes an existing option to use the module URI instead of the module name in the MetadataProvider. This option is not relevant until we can unify this change across the ecosystem.

Fixes #2628.

webdev-v3.7.2

Toggle webdev-v3.7.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix duplicate connection/logs in Webdev (#2635)

* bump dwds version to 24.3.9

* updated dwds constraints to 24.3.11

* fix duplicate logs

* fix duplicate logs

* Revert "fix duplicate logs"

This reverts commit 2ccd2d9.

* updated changelog

* check and resuse active app state for each  appId

* addressed comments

dwds-v24.3.11

Toggle dwds-v24.3.11's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
modifying DWDS Injector to always inject client and introduce useDwds…

…WebSocketConnection flag (#2629)

* modifying injector to always inject client and introduce runMainAtStart flag

* mark fields as deprecated

* added method to mark application as completed to avoid calling main() twice

* added a flag to determine the communication protocol; temporirily use it to trigger main

* addressed comment in client.dart

dwds-v24.3.10

Toggle dwds-v24.3.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[dwds] Split hot reload callback into 2, disable breakpoints in chang…

…ed files, and publish 24.3.10 (#2606)

dart-lang/sdk#60186

Breakpoints are currently broken when doing a hot reload when files change. They either are not re-mapped or point to the wrong location. For now, we should disable them in the changed libraries. In order to do this, we split the hot reload implementation into 2 in order to get the list of changed libraries. The call to hot reload will later use the cached list to call out to the embedder.

Note that this likely won't change any behavior. New JS files already don't have breakpoints, so this PR should be mostly about cleaning up bookkeeping.

dwds-v24.3.9

Toggle dwds-v24.3.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
renamed DWDS injector parameter (#2602)

dwds-v24.3.8

Toggle dwds-v24.3.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Updated DWDS to include a boolean flag that enables debugging support…

… when set to true (#2601)

* updated Dwds with bool that only enableDebuggingSupport when set to true

* updated Changelog

* formatted file

* updated dwds version in pubspec to 24.3.8

* updated version.dart to 24.3.8

* updated docstring for DWDSInjector class

* updated docstring for DWDSInjector class

* modified docstring

dwds-v24.3.7

Toggle dwds-v24.3.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Remove reassemble invocation and publish 24.3.7 (#2598)

#2584

This can and should be done in Flutter tools.

dwds-v24.3.6

Toggle dwds-v24.3.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add pull request and id-token write permissions to publish.yaml (#2595)

This is needed in order for packages to be published.

webdev-v3.7.1

Toggle webdev-v3.7.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
set packageConfigPath and update DWDS version to 24.3.5 (#2589)