devtools_shared 8.0.1 devtools_shared: ^8.0.1 copied to clipboard
Package of shared Dart structures between devtools_app, dds, and other tools.
8.0.1 #
- Breaking change: rename
ServerApi.getCompleted
toServerApi.success
and make thevalue
parameter optional. - Breaking change: remove the
String? dtdUri
parameter fromServerApi.handle
and replace it with a parameterDTDConnectionInfo? dtd
. - Introduce a new typedef
DTDConnectionInfo
. - Add a new API
apiNotifyForVmServiceConnection
that DevTools will call when a VM service connection is connected or disconnected from the client. - Add a helper method
packageRootFromFileUriString
. - Refactor yaml extension methods.
7.0.0 #
- Breaking change: remove the
ServerApi.setCompleted
method that was a duplicate ofServerApi.getCompleted
. - Breaking change: add required parameter
analytics
toServerApi.handle
, which accepts an instance ofAnalytics
frompackage:unified_analytics
. - Add the ability to send debug logs in DevTools server request responses.
- Add an optional positional parameter
logs
to theServerApi.serverError
method. - Include debug logs with the
ExtensionsApi.apiServeAvailableExtensions
API response. - Devtools server API
apiGetConsentMessage
added to fetch the consent message frompackage:unified_analytics
. - Devtools server API
apiMarkConsentMessageAsShown
added to mark the consent message forpackage:unified_analytics
as shown to enable telemetry.
6.0.4 #
- Add
apiGetDtdUri
to the server api. - Add a description and link to documentation to the
devtools_options.yaml
file that is created in a user's project.
6.0.3 #
CompareMixin
is now generic, implementingComparable<T>
instead ofComparable<dynamic>
, and it's operators each therefore accept aT
argument.SemanticVersion
now mixes inCompareMixin<SemanticVersion>
, and it'scompareTo
method therefore now accepts aSemanticVersion
.- Fix an issue parsing file paths that could prevent extensions from being detected.
- Bump
package:vm_service
dependency to>=13.0.0 <15.0.0
.
6.0.2 #
- Fix an issue parsing file paths on Windows that could prevent extensions from being detected.
6.0.1 #
- Bump minimum Dart SDK version to
3.3.0-91.0.dev
and minimum Flutter SDK version to3.17.0-0.0.pre
. - Add field
isPublic
toDevToolsExtensionConfig
. - Add validation for
DevToolsExtensionConfig.name
field to ensure it is a valid Dart package name. - Pass warnings and errors for DevTools extension APIs from the DevTools server to DevTools app.
6.0.0 #
- Bump
package:vm_service
dependency to ^13.0.0. - Remove
ServiceCreator
typedef and replace usages withVmServiceFactory
typedef frompackage:vm_service
.
5.0.0 #
- Split deeplink exports into
devtools_deeplink_io.dart
anddevtools_deeplink.dart
. - Bump
package:vm_service
to ^12.0.0. - Adds
DeeplinkApi.androidAppLinkSettings
,DeeplinkApi.iosBuildOptions
, andDeeplinkApi.iosUniversalLinkSettings
endpoints to ServerApi. - Add shared integration test utilities to
package:devtools_shared
. These test utilities are exported as part of the existingdevtools_test_utils.dart
library.
4.0.1 #
- Override equality operator and hashCode for
DevToolsExtensionConfig
to be based on the values of its fields.
4.0.0 #
- Bump
package:extension_discovery
version to ^2.0.0 - Adds a
DeeplinkApi.androidBuildVariants
endpoint to ServerApi. - BREAKING CHANGE:
ServerApi.handle
parametersextensionsManager
andapi
were converted to named parameters- Adds a new required named parameter
deeplinkManager
toServerApi.handle
.
3.0.1 #
- Bump
package:extension_discovery
version to ^1.0.1
3.0.0 #
- Separate extension-related libraries into those that require
dart:io
(exported asdevtools_extensions_io.dart
) and those that do not (exported asdevtools_extensions.dart
).
Prior to version 3.0.0, package:devtools_shared
was versioned in lockstep with
package:devtools_app
. Both of these packages are developed as part of the broader
DevTools project. To see changes and commits
for package:devtools_shared
, prior to version 3.0.0 please view the git log
here.