Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## NEXT
## 2.5.4
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated just the patch version, since we don't have new functionality being added.


* Updates dependencies for the `shared_preferences_tool` DevTools extension and fixes related deprecations.
* Updates minimum supported SDK version to Flutter 3.35/Dart 3.9.
* Updates README to reflect currently supported OS versions for the latest
versions of the endorsed platform implementations.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Flutter plugin for reading and writing simple key-value pairs.
Wraps NSUserDefaults on iOS and SharedPreferences on Android.
repository: https://github.com/flutter/packages/tree/main/packages/shared_preferences/shared_preferences
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+shared_preferences%22
version: 2.5.3
version: 2.5.4

environment:
sdk: ^3.9.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import 'dart:async';
import 'dart:convert';

import 'package:devtools_app_shared/service.dart';
import 'package:devtools_app_shared/utils.dart';
import 'package:vm_service/vm_service.dart';

import 'shared_preferences_state.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ publish_to: 'none'
version: 1.0.1

environment:
sdk: ^3.8.0
sdk: ^3.9.0

dependencies:
devtools_app_shared: ^0.3.0
devtools_extensions: ^0.3.0
devtools_app_shared: ^0.4.0
devtools_extensions: ^0.4.0
flutter:
sdk: flutter
vm_service: '>=14.3.0 <16.0.0'
Expand All @@ -18,7 +18,7 @@ dev_dependencies:
build_runner: ^2.4.10
flutter_test:
sdk: flutter
mockito: 5.4.4
mockito: ^5.4.4

flutter:
uses-material-design: true
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import 'dart:async';

import 'package:devtools_app_shared/service.dart';
import 'package:devtools_app_shared/utils.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:shared_preferences_tool/src/shared_preferences_state.dart';
import 'package:shared_preferences_tool/src/shared_preferences_tool_eval.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ void main() {
Future<void> pumpDataPanel(WidgetTester tester) {
return tester.pumpWidget(
DevToolsExtension(
requiresRunningApplication: false,
child: InnerSharedPreferencesStateProvider(
notifier: notifierMock,
child: const DataPanel(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ void main() {

await tester.pumpWidget(
DevToolsExtension(
requiresRunningApplication: false,
child: Directionality(
textDirection: TextDirection.ltr,
child: ErrorPanel(error: error, stackTrace: stackTrace),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ void main() {
Future<void> pumpKeysPanel(WidgetTester tester) {
return tester.pumpWidget(
DevToolsExtension(
requiresRunningApplication: false,
child: InnerSharedPreferencesStateProvider(
notifier: notifierMock,
child: const KeysPanel(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ void main() {

await tester.pumpWidget(
DevToolsExtension(
requiresRunningApplication: false,
child: InnerSharedPreferencesStateProvider(
notifier: notifier,
child: const SharedPreferencesBody(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,29 +29,8 @@

<title>shared_preferences_tool</title>
<link rel="manifest" href="manifest.json">

<script>
// The value below is injected by flutter build, do not touch.
const serviceWorkerVersion = null;
</script>
<!-- This script adds the flutter initialization JS code -->
<script src="flutter.js" defer></script>
</head>
<body>
<script>
window.addEventListener('load', function(ev) {
// Download main.dart.js
_flutter.loader.loadEntrypoint({
serviceWorker: {
serviceWorkerVersion: serviceWorkerVersion,
},
onEntrypointLoaded: function(engineInitializer) {
engineInitializer.initializeEngine().then(function(appRunner) {
appRunner.runApp();
});
}
});
});
</script>
<script src="flutter_bootstrap.js" async></script>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also updated this, which was also a deprecation.

</body>
</html>