devtools_shared
Package of shared Dart structures between devtools_app, dds, and other tools.
14.0.0
6.8M downloads/mo
#93 most downloaded on pub.dev
flutter/devtools
What this package is like to depend on
Last release 1 months ago
16 Jul 2026
Release timing varies
gaps range from 3 weeks to 8 months
Rarely documented
notes for 26 of 107 stable releases
5 versions withdrawn
withdrawn after publishing
7 years old
134 releases · first in 2020
5 releases in the last 12 months
see the full history below
Release timeline
134 releases · Feb 2020 to Jul 2026Releases
latest 60 of 134-
14.0.014 Jul 2026Release notes
Open source →- Breaking changes:
LocalFileSystem, an extension which provided some handy helpers, has been refactored into an extension on thefilepackage'sFileSystemabstraction. In detail:fileSystemis a new top-level constant which represents the local (real) file system.LocalFileSystem.devToolsDir()is now a static getter,FileSystemExtension.devToolsDir.LocalFileSystem.maybeMoveLegacyDevToolsStore()is now an instance method,FileSystemExtension.maybeMoveLegacyDevToolsStore().LocalFileSystem.devToolsStoreLocation()is now a static getter,FileSystemExtension.devToolsStoreLocation.LocalFileSystem.ensureDevToolsDirectory()is now private.LocalFileSystem.devToolsFileFromPath()is now an instance method,FileSystemExtension.devToolsFileFromPath().LocalFileSystem.devToolsFileAsJson()is now an instance method,FileSystemExtension.devToolsFileAsJson().LocalFileSystem.flutterStoreExists()is now an instance getter,FileSystemExtension.flutterStoreExists.IOPersistentProperties.newaccepts a new optionalFileSystem fsargument.
- Update
LocalFileSystemandIOPersistentPropertiesto usepackage:fileinstead ofdart:ioto allow mocking the file system. - Increase ChromeDriver startup wait timeout to 30 seconds to support slower environments.
- Breaking changes:
-
13.1.016 Jul 2026Nothing published for this version
-
13.0.105 May 2026 -
13.0.004 May 2026Release notes
Open source →- Breaking change: Removed
DevToolsStoreKeys.analyticsEnabledandDevToolsStoreKeys.isFirstRunsince these were only used for legacy analytics. - Breaking change: Removed legacy analytics APIs and state cleanup
(e.g.
apiGetFlutterGAEnabled,apiGetDevToolsEnabled,apiSetDevToolsEnabled,apiGetDevToolsFirstRun,apiResetDevTools). - Breaking change: Removed public constant
devToolsEnabledPropertyName. - Breaking change: Removed
isFirstRun,reset, andanalyticsEnabledfromDevToolsUsage.
- Breaking change: Removed
-
12.1.005 Feb 2026Release notes
Open source →- Adds additional logging to
IntegrationTestRunner. - Fixes assertion error when parsing Flutter channel versions using the format
X.XX.X-X.X.pre-XXX. - Fixes breakage associated with ChromeDriver 138 when using
IntegrationTestRunner. - Adds
sanitizeVersionStrhelper toSemanticVersion. - Fixes null error when parsing
bundleIdentifierorteamIndentifierinUniversalLinkSettings.
- Adds additional logging to
-
12.0.006 Jun 2025Release notes
Open source →- 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).
- Update
-
11.2.108 May 2025Release notes
Open source →- Rename
Handlerextension methods toVmServiceHandler. This member was marked@visibleForTestingand should not be used outside of this package, so we consider this change non-breaking.
- Rename
-
11.2.010 Jan 2025 -
11.1.017 Dec 2024Release notes
Open source →- Bump minimum SDK version to
3.6.0. - Update
package:vm_serviceto>=13.0.0 <16.0.0.
- Bump minimum SDK version to
-
11.0.009 Sep 2024Release notes
Open source →- 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.
- Breaking change: replace
-
10.1.009 Sep 2024 withdrawnNothing published for this version
-
10.0.207 Aug 2024 -
10.0.113 Jun 2024Release notes
Open source →- 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.
- Added helper
-
10.0.012 Jun 2024 withdrawnNothing published for this version
-
10.0.0-dev.217 May 2024 pre-releaseRelease notes
Open source →- Support detecting package roots for nested Dart projects in the
packageRootFromFileUriStringutility method.
- Support detecting package roots for nested Dart projects in the
-
10.0.0-dev.126 Apr 2024 pre-releaseRelease notes
Open source →- Export
DTDConnectionInfofrom thedevtools_shared.dartlibrary instead of thedevtools_server.dartlibrary.
- Export
-
10.0.0-dev.026 Apr 2024 pre-releaseRelease notes
Open source →- 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.
- Breaking change: rename
-
9.0.110 Apr 2024Release notes
Open source →- Restructure
devtools_extensions.dartanddevtools_extensions_io.dartlibraries.
- Restructure
-
9.0.010 Apr 2024 withdrawnRelease notes
Open source →- 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.
- Breaking change: remove parameter
-
8.1.110 Apr 2024Release notes
Open source →- Bump
package:dtdto2.1.0. - Bump the minimum Dart SDK version to
3.4.0-282.1.beta.
- Bump
-
8.1.1-dev.028 Mar 2024 pre-releaseNothing published for this version
-
8.1.021 Mar 2024 -
8.0.112 Mar 2024Release notes
Open source →- 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.
- Breaking change: rename
-
8.0.028 Feb 2024 withdrawnNothing published for this version
-
7.0.014 Feb 2024Release notes
Open source →- 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.
- Breaking change: remove the
-
6.0.514 Feb 2024 withdrawnNothing published for this version
-
6.0.405 Feb 2024Release notes
Open source →- 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.
- Add
-
6.0.315 Dec 2023Release notes
Open source →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.230 Nov 2023Release notes
Open source →- Fix an issue parsing file paths on Windows that could prevent extensions from being detected.
-
6.0.108 Nov 2023Release notes
Open source →- 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.
- Bump minimum Dart SDK version to
-
6.0.025 Oct 2023Release notes
Open source →- Bump
package:vm_servicedependency to ^13.0.0. - Remove
ServiceCreatortypedef and replace usages withVmServiceFactorytypedef frompackage:vm_service.
- Bump
-
5.0.024 Oct 2023Release notes
Open source →- 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.
- Split deeplink exports into
-
4.2.020 Dec 2023Nothing published for this version
-
4.1.011 Oct 2023Nothing published for this version
-
4.0.118 Sep 2023Release notes
Open source →- Override equality operator and hashCode for
DevToolsExtensionConfigto be based on the values of its fields.
- Override equality operator and hashCode for
-
4.0.007 Sep 2023Release notes
Open source →- 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.
- Bump
-
3.0.128 Aug 2023 -
3.0.017 Aug 2023Release notes
Open source →- 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_sharedwas versioned in lockstep withpackage:devtools_app. Both of these packages are developed as part of the broader DevTools project. To see changes and commits forpackage:devtools_shared, prior to version 3.0.0 please view the git log here. - Separate extension-related libraries into those that require
-
2.26.101 Aug 2023Nothing published for this version
-
2.25.028 Jun 2023Nothing published for this version
-
2.24.030 May 2023Nothing published for this version
-
2.23.003 Apr 2023Nothing published for this version
-
2.22.228 Feb 2023Nothing published for this version
-
2.21.113 Feb 2023Nothing published for this version
-
2.21.0-dev.020 Jan 2023 pre-releaseNothing published for this version
-
2.20.120 Jan 2023Nothing published for this version
-
2.20.029 Nov 2022Nothing published for this version
-
2.18.006 Oct 2022Nothing published for this version
-
2.17.001 Sep 2022Nothing published for this version
-
2.16.029 Jul 2022Nothing published for this version
-
2.14.122 Jun 2022Nothing published for this version
-
2.14.001 Jun 2022Nothing published for this version
-
2.13.109 May 2022Nothing published for this version
-
2.13.003 May 2022Nothing published for this version
-
2.12.101 Apr 2022Nothing published for this version
-
2.11.409 Mar 2022Nothing published for this version
-
2.11.308 Mar 2022Nothing published for this version
-
2.11.208 Mar 2022Nothing published for this version
-
2.11.122 Feb 2022Nothing published for this version
-
2.11.016 Feb 2022Nothing published for this version