devtools_shared 12.0.0
devtools_shared: ^12.0.0 copied to clipboard
Package of shared Dart structures between devtools_app, dds, and other tools.
12.0.0 #
- Update
dtddependency to^4.0.0. - Register and unregister VM service connections on DTD. This change only applies to the case where the DevTools server starts DTD (i.e. when a DTD connection was not passed to the server on startup).
11.2.1 #
- Rename
Handlerextension methods toVmServiceHandler. This member was marked@visibleForTestingand should not be used outside of this package, so we consider this change non-breaking.
11.2.0 #
- Bump
vm_servicedependency upper bound to<16.0.0.
11.1.0 #
- Bump minimum SDK version to
3.6.0. - Update
package:vm_serviceto>=13.0.0 <16.0.0.
11.0.0 #
- Breaking change: replace
apiGetLastReleaseNotesVersionwithReleaseNotesApi.getLastReleaseNotesVersion. - Breaking change: replace
apiSetLastReleaseNotesVersionwithReleaseNotesApi.setLastReleaseNotesVersion. - Breaking change: replace
lastReleaseNotesVersionPropertyName. - Breaking change: replace
apiGetBaseAppSizeFilewithAppSizeApi.getBaseAppSizeFile. - Breaking change: replace
apiGetTestAppSizeFilewithAppSizeApi.getTestAppSizeFile. - Breaking change: replace
baseAppSizeFilePropertyNamewithAppSizeApi.baseAppSizeFilePropertyName. - Breaking change: replace
testAppSizeFilePropertyNamewithAppSizeApi.testAppSizeFilePropertyName. - Breaking change: replace
apiSetActiveSurveywithSurveyApi.setActiveSurvey. - Breaking change: remove
activeSurveyName. - Breaking change: replace
apiGetSurveyActionTakenwithSurveyApi.getSurveyActionTaken. - Breaking change: replace
apiSetSurveyActionTakenwithSurveyApi.setSurveyActionTaken. - Breaking change: remove
surveyActionTakenPropertyName. - Breaking change: replace
apiGetSurveyShownCountwithSurveyApi.getSurveyShownCount. - Breaking change: replace
apiIncrementSurveyShownCountwithSurveyApi.incrementSurveyShownCount. - Support Chrome's new headless mode in the integration test runner.
- Add
PreferencesApito get and set preference values. - Deprecate
DTDConnectionInfoin favor ofDtdInfowhich supports tracking two URIs for DTD to better support web/remote environments.
10.0.2 #
- Update dependency
web_socket_channel: '>=2.4.0 <4.0.0'.
10.0.1 #
- Added helper
deserializeanddeserializeNullable - Extended serialization for
HeapSampleandExtensionEvents - Added mixin
Serializable - Fix a regression with accessing the Flutter store file.
- Bump minimum Dart SDK version to Dart stable
3.4.3.
10.0.0-dev.2 #
- Support detecting package roots for nested Dart projects in the
packageRootFromFileUriStringutility method.
10.0.0-dev.1 #
- Export
DTDConnectionInfofrom thedevtools_shared.dartlibrary instead of thedevtools_server.dartlibrary.
10.0.0-dev.0 #
- Breaking change: rename
DevToolsExtensionConfig.pathtoDevToolsExtensionConfig.extensionAssetsPathand update class documentation. - Breaking change: rename
ExtensionsApi.extensionRootPathPropertyNametoExtensionsApi.packageRootUriPropertyName, and modify the String value for the parameter from 'rootPath' to 'packageRootUri'. - Breaking change: add new required JSON fields "devtoolsOptionsUri" and
"detectedFromStaticContext" in the
DevToolsExtensionConfig.parsefactory constructor. - Breaking change: remove
DevToolsOptions.optionsFileNameconstant in favor of new constantdevtoolsOptionsFileName. - Breaking change: modify the
ExtensionsApi.apiExtensionEnabledStateAPI to expect a query parameter "devtoolsOptionsUri" instead of "rootPath". - Breaking change: replace the
rootUriparameter in theDevToolsOptions.lookupExtensionEnabledStateandDevToolsOptions.setExtensionEnabledStatemethods with new parameterdevtoolsOptionsUri. Modify logic to expect a full file URI to the options file instead of expecting the package root in which it is contained. - Add new fields
requiresConnection,devtoolsOptionsUri, anddetectedFromStaticContexttoDevToolsExtensionConfig. - Add
ExtensionsApi.devtoolsOptionsUriPropertyNamefield. - Return valid extensions from the
apiServeAvailableExtensionsendpoint even when an exception is thrown. - Add utility extension methods on
Completer:safeCompleteandsafeCompleteError.
9.0.1 #
- Restructure
devtools_extensions.dartanddevtools_extensions_io.dartlibraries.
9.0.0 #
- Breaking change: remove parameter
analyticsfromServerApi.handlein favor of DTD implementation. - Breaking change: remove DevTools server APIs
apiMarkConsentMessageAsShownandapiGetConsentMessage - Breaking change: remove parameter
buildDirfromExtensionsManager. in favor of DTD implementation. - Stop copying DevTools extensions assets to the DevTools build directory.
- Bump
package:dtdto2.2.0 - Remove
package:unified_analyticsdependency. - Use DTD in the
packageRootFromFileUriStringutility to detect the package root. - Add
runWithRetryutility method.
8.1.1 #
- Bump
package:dtdto2.1.0. - Bump the minimum Dart SDK version to
3.4.0-282.1.beta.
8.1.0 #
- Bump
package:dtdto2.0.0. - Bump
package:unified_analyticsto5.8.8.
8.0.1 #
- Breaking change: rename
ServerApi.getCompletedtoServerApi.successand make thevalueparameter optional. - Breaking change: remove the
String? dtdUriparameter fromServerApi.handleand replace it with a parameterDTDConnectionInfo? dtd. - Introduce a new typedef
DTDConnectionInfo. - Add a new API
apiNotifyForVmServiceConnectionthat DevTools will call when a VM service connection is connected or disconnected from the client. - Add a helper method
packageRootFromFileUriString. - Refactor yaml extension methods.
- Add intent filters checking functionality for deep link validation.
7.0.0 #
- Breaking change: remove the
ServerApi.setCompletedmethod that was a duplicate ofServerApi.getCompleted. - Breaking change: add required parameter
analyticstoServerApi.handle, which accepts an instance ofAnalyticsfrompackage:unified_analytics. - Add the ability to send debug logs in DevTools server request responses.
- Add an optional positional parameter
logsto theServerApi.serverErrormethod. - Include debug logs with the
ExtensionsApi.apiServeAvailableExtensionsAPI response. - Devtools server API
apiGetConsentMessageadded to fetch the consent message frompackage:unified_analytics. - Devtools server API
apiMarkConsentMessageAsShownadded to mark the consent message forpackage:unified_analyticsas shown to enable telemetry.
6.0.4 #
- Add
apiGetDtdUrito the server api. - Add a description and link to documentation to the
devtools_options.yamlfile that is created in a user's project.
6.0.3 #
CompareMixinis now generic, implementingComparable<T>instead ofComparable<dynamic>, and it's operators each therefore accept aTargument.SemanticVersionnow mixes inCompareMixin<SemanticVersion>, and it'scompareTomethod therefore now accepts aSemanticVersion.- Fix an issue parsing file paths that could prevent extensions from being detected.
- Bump
package:vm_servicedependency 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.devand minimum Flutter SDK version to3.17.0-0.0.pre. - Add field
isPublictoDevToolsExtensionConfig. - Add validation for
DevToolsExtensionConfig.namefield 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_servicedependency to ^13.0.0. - Remove
ServiceCreatortypedef and replace usages withVmServiceFactorytypedef frompackage:vm_service.
5.0.0 #
- Split deeplink exports into
devtools_deeplink_io.dartanddevtools_deeplink.dart. - Bump
package:vm_serviceto ^12.0.0. - Adds
DeeplinkApi.androidAppLinkSettings,DeeplinkApi.iosBuildOptions, andDeeplinkApi.iosUniversalLinkSettingsendpoints to ServerApi. - Add shared integration test utilities to
package:devtools_shared. These test utilities are exported as part of the existingdevtools_test_utils.dartlibrary.
4.0.1 #
- Override equality operator and hashCode for
DevToolsExtensionConfigto be based on the values of its fields.
4.0.0 #
- Bump
package:extension_discoveryversion to ^2.0.0 - Adds a
DeeplinkApi.androidBuildVariantsendpoint to ServerApi. - BREAKING CHANGE:
ServerApi.handleparametersextensionsManagerandapiwere converted to named parameters- Adds a new required named parameter
deeplinkManagertoServerApi.handle.
3.0.1 #
- Bump
package:extension_discoveryversion 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.