dtd 2.4.0 dtd: ^2.4.0 copied to clipboard
A package for communicating with the Dart Tooling Daemon.
2.4.0 #
- Bump
unified_analytics
dependency to ^7.0.0.
2.3.0 #
- Indicate compatibility with
package:web_socket_channel
2.x and 3.x. - Bump minimum version for
package:unified_analytics
to 6.1.0. DartToolingDaemon.connect
will now wait for the web socket to be connected.- The
DartToolingDaemon
constructor is now public and can be directly called with aStreamChannel<String>
. - The
params
parameter inDartToolingDaemon.call()
has been changed fromMap<String, Object>?
toMap<String, Object?>?
. registerService
now allows passing aMap<String, Object?>? capabilities
that can be supplied to clients via newServiceRegistered
andServiceUregistered
events on theService
stream (when connected to a version of DTD that supports these streams).- Calling
DartToolingDaemon.onEvent()
now returns a broadcast stream. This means multiple listeners can be added, but also means you must add a listener prior to callingstreamListen
to avoid the possibility of missing events.
2.2.0 #
- Added new response types
Success
,StringResponse
,BoolResponse
, andStringListResponse
. - Added contributing guide (
CONTRIBUTING.md
).
2.1.0 #
- Added
getProjectRoots
API. - Expose constant values from
dtd.dart
.
2.0.0 #
- Documentation improvements.
- Deprecate use of
DTDConnection
in favor ofDartToolingDaemon
.
1.0.0 #
- Solidified interface with dart tooling daemon.
- Added FileSystem service interface.
0.0.3 #
- Added types to service and extension exports.
0.0.2 #
- Added service and extension for accessing the file system through DTD.
0.0.1 #
- Initial version.