dtd 4.0.0
dtd: ^4.0.0 copied to clipboard
A package for communicating with the Dart Tooling Daemon.
4.0.0 #
- Breaking Change: rename
EventParametersconstants toDtdParameters. - Breaking Change: delete the
kFileSystemServiceNameconstant in favor ofFileSystemServiceConstants.serviceName. - Breaking Change: delete the
kUnifiedAnalyticsServiceNameconstant in favor ofUnifiedAnalyticsServiceConstants.serviceName. - Added
CoreDtdServiceConstantsandFileSystemServiceConstantsfor shared use among DTD clients.
3.0.0 #
- Added
ConnectedAppServiceto store the connections to Dart and Flutter applications that DTD is aware of. - Log exceptions from invalid
streamNotifyevents. - Added
getRegisteredServicesAPI. - Added new response types
RegisteredServicesResponseandVmServicesResponse. - Breaking Change: Changed the
serviceNameparameter for theDartToolingDaemon.callmethod to have typeString?instead ofString. - Breaking Change: When the
paramsparameter for theDartToolingDaemon.callmethod is null, pass the null value along to the client peer request instead of sending an empty Map value.
2.5.1 #
- Widen the dependency on
unified_analyticsto include 8.0.0.
2.5.0 #
- Update SDK constraints to
^3.5.0. - Add
isClosedgetter toDartToolingDaemon.
2.4.0 #
- Bump
unified_analyticsdependency to ^7.0.0.
2.3.0 #
- Indicate compatibility with
package:web_socket_channel2.x and 3.x. - Bump minimum version for
package:unified_analyticsto 6.1.0. DartToolingDaemon.connectwill now wait for the web socket to be connected.- The
DartToolingDaemonconstructor is now public and can be directly called with aStreamChannel<String>. - The
paramsparameter inDartToolingDaemon.call()has been changed fromMap<String, Object>?toMap<String, Object?>?. registerServicenow allows passing aMap<String, Object?>? capabilitiesthat can be supplied to clients via newServiceRegisteredandServiceUregisteredevents on theServicestream (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 callingstreamListento 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
getProjectRootsAPI. - Expose constant values from
dtd.dart.
2.0.0 #
- Documentation improvements.
- Deprecate use of
DTDConnectionin 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.