08b4f49249
To reduce the headache associated with adding parameters to VM service APIs, VmServiceInterface has been removed from package:vm_service and pulled into its own dedicated package:vm_service_interface. This will help reduce the need for major version bumps of package:vm_service, which requires manual version bumps through >8 packages in order to make the latest version available to flutter_tools and DevTools. This separation of the VmService client from the interface will reduce the frequency of major version bumps to `package:vm_service` as adding optional parameters to existing APIs would cause implementers of the interface to break. package:vm_service continues to expose a copy of the contents of package:vm_service_interface to avoid breaking google3 rolls until package:dwds can migrate to package:vm_service_interface. package:vm_service will not be published until this copy is removed. This change also includes: - some code cleanup and modernization to both the code generator and generated code - >=3.0.0 SDK version requirement to allow for new language features Change-Id: Ib1859c1b4e153fef7ee1f91e67e881bbf42652c2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/330500 Reviewed-by: Derek Xu <derekx@google.com> Reviewed-by: Devon Carew <devoncarew@google.com> Commit-Queue: Ben Konyi <bkonyi@google.com>
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
name: dds
|
|
version: 3.0.0
|
|
description: >-
|
|
A library used to spawn the Dart Developer Service, used to communicate with
|
|
a Dart VM Service instance.
|
|
repository: https://github.com/dart-lang/sdk/tree/main/pkg/dds
|
|
|
|
environment:
|
|
sdk: '>=3.0.0 <4.0.0'
|
|
|
|
dependencies:
|
|
args: ^2.0.0
|
|
async: ^2.4.1
|
|
browser_launcher: ^1.0.0
|
|
collection: ^1.15.0
|
|
dds_service_extensions: ^1.6.0
|
|
dap: ^1.1.0
|
|
devtools_shared: ^4.0.1
|
|
http_multi_server: ^3.0.0
|
|
json_rpc_2: ^3.0.0
|
|
meta: ^1.1.8
|
|
mime: ^1.0.2
|
|
path: ^1.8.0
|
|
shelf_proxy: ^1.0.0
|
|
shelf_static: ^1.0.0
|
|
shelf_web_socket: ^1.0.0
|
|
shelf: ^1.0.0
|
|
sse: ^4.0.0
|
|
stack_trace: ^1.10.0
|
|
stream_channel: ^2.0.0
|
|
vm_service: ^13.0.0
|
|
web_socket_channel: ^2.0.0
|
|
|
|
# We use 'any' version constraints here as we get our package versions from
|
|
# the dart-lang/sdk repo's DEPS file. Note that this is a special case; the
|
|
# best practice for packages is to specify their compatible version ranges.
|
|
# See also https://dart.dev/tools/pub/dependencies.
|
|
dev_dependencies:
|
|
http: any
|
|
lints: any
|
|
test: any
|
|
webdriver: any
|