Commit 74b1c2a

derdilla <82763757+derdilla@users.noreply.github.com>
2025-03-31 13:38:20
V1.8.6 update dependencies (#549) tag: v1.8.6
* Update dependency constraints * Follow freezed migration guide
1 parent 0d83d06
app/test/features/bluetooth/mock/fake_device.dart
@@ -1,4 +1,5 @@
 import 'dart:async';
+import 'dart:typed_data';
 
 import 'package:flutter/cupertino.dart';
 import 'package:flutter_blue_plus/flutter_blue_plus.dart';
@@ -64,7 +65,7 @@ class FakeDevice implements BluetoothDevice {
   Stream<BluetoothConnectionState> get connectionState => _connectedController.stream;
 
   @override
-  Future<void> createBond({int timeout = 90}) {
+  Future<void> createBond({int timeout = 90, Uint8List? pin}) {
     // TODO: implement createBond
     throw UnimplementedError();
   }
app/pubspec.lock
@@ -341,10 +341,10 @@ packages:
     dependency: "direct main"
     description:
       name: file_picker
-      sha256: ab13ae8ef5580a411c458d6207b6774a6c237d77ac37011b13994879f68a8810
+      sha256: "36a1652d99cb6bf8ccc8b9f43aded1fd60b234d23ce78af422c07f950a436ef7"
       url: "https://pub.dev"
     source: hosted
-    version: "8.3.7"
+    version: "10.0.0"
   fixnum:
     dependency: transitive
     description:
@@ -470,10 +470,10 @@ packages:
     dependency: transitive
     description:
       name: freezed_annotation
-      sha256: c2e2d632dd9b8a2b7751117abcfc2b4888ecfe181bd9fca7170d9ef02e595fe2
+      sha256: c87ff004c8aa6af2d531668b46a4ea379f7191dc6dfa066acd53d506da6e044b
       url: "https://pub.dev"
     source: hosted
-    version: "2.4.4"
+    version: "3.0.0"
   frontend_server_client:
     dependency: transitive
     description:
@@ -1338,4 +1338,4 @@ packages:
     version: "3.1.3"
 sdks:
   dart: ">=3.7.0 <4.0.0"
-  flutter: ">=3.27.4"
+  flutter: ">=3.29.2"
app/pubspec.yaml
@@ -8,52 +8,52 @@ version: 1.8.6+48
 
 environment:
   sdk: '>=3.0.2 <4.0.0'
-  flutter: '3.27.4'
+  flutter: '3.29.2'
 
 dependencies:
+  collection: ^1.19.1
   csv: ^6.0.0
-  collection: ^1.19.0
   intl: ^0.19.0
   flutter:
     sdk: flutter
   flutter_localizations:
     sdk: flutter
-  flutter_markdown: ^0.7.6
+  flutter_markdown: ^0.7.6+2
   function_tree: ^0.9.1
-  provider: ^6.1.2
-  path: ^1.9.0
-  pdf: ^3.11.2
-  package_info_plus: ^8.1.4
+  provider: ^6.1.4
+  path: ^1.9.1
+  pdf: ^3.11.3
+  package_info_plus: ^8.3.0
   week_of_year: 2.2.0
-  sqflite: ^2.4.1
-  shared_preferences: ^2.5.1
+  sqflite: ^2.4.2
+  shared_preferences: ^2.5.3
   url_launcher: ^6.3.1
   health_data_store:
     path: ../health_data_store/
-  flutter_bloc: ^9.0.0
+  flutter_bloc: ^9.1.0
   bluetooth_low_energy: ^6.0.2
-  flutter_blue_plus: ^1.35.2
-  archive: ^4.0.2
-  file_picker: ^8.3.1
-  fluttertoast: ^8.2.10
-  app_settings: ^5.1.1
+  flutter_blue_plus: ^1.35.3
+  archive: ^4.0.5
+  file_picker: ^10.0.0
+  fluttertoast: ^8.2.12
+  app_settings: ^5.2.0
   logging: ^1.3.0
   persistent_user_dir_access_android: ^0.0.1
 
   # desktop only
-  sqflite_common_ffi: ^2.3.4+4
+  sqflite_common_ffi: ^2.3.5
   inline_tab_view: ^1.0.1
 
 dev_dependencies:
   integration_test:
     sdk: flutter
-  file: ^7.0.0
   flutter_test:
     sdk: flutter
+  file: ^7.0.1
   flutter_lints: ^5.0.0
   mockito: ^5.4.5
   translations_cleaner: ^0.0.5
-  build_runner: ^2.4.14
+  build_runner: ^2.4.15
   bloc_test: ^10.0.0
 
 flutter:
health_data_store/lib/src/types/blood_pressure_record.dart
@@ -5,7 +5,7 @@ part 'blood_pressure_record.freezed.dart';
 
 /// Immutable representation of a blood pressure measurement.
 @freezed
-class BloodPressureRecord with _$BloodPressureRecord {
+abstract class BloodPressureRecord with _$BloodPressureRecord {
   /// Create a immutable representation of a blood pressure measurement.
   const factory BloodPressureRecord({
     /// Timestamp when the measurement was taken.
health_data_store/lib/src/types/bodyweight_record.dart
@@ -5,7 +5,7 @@ part 'bodyweight_record.freezed.dart';
 
 /// Body weight at a specific time.
 @freezed
-class BodyweightRecord with _$BodyweightRecord {
+abstract class BodyweightRecord with _$BodyweightRecord {
   /// Create a body weight measurement.
   const factory BodyweightRecord({
     /// Timestamp when the weight was measured.
health_data_store/lib/src/types/date_range.dart
@@ -9,7 +9,7 @@ part 'date_range.freezed.dart';
 /// may be equal to indicate a date range of a single day. The [start] date must
 /// not be after the [end] date.
 @freezed
-class DateRange with _$DateRange {
+abstract class DateRange with _$DateRange {
   // ignore: unused_element,
   const DateRange._();
 
health_data_store/lib/src/types/medicine.dart
@@ -5,7 +5,7 @@ part 'medicine.freezed.dart';
 
 /// Description of a medicine.
 @freezed
-class Medicine with _$Medicine {
+abstract class Medicine with _$Medicine {
   /// Create a medicine description.
   const factory Medicine({
     /// Name of the medicine.
health_data_store/lib/src/types/medicine_intake.dart
@@ -6,7 +6,7 @@ part 'medicine_intake.freezed.dart';
 
 /// Instance of a [Medicine] intake.
 @freezed
-class MedicineIntake with _$MedicineIntake {
+abstract class MedicineIntake with _$MedicineIntake {
   /// Create a instance of a medicine intake.
   const factory MedicineIntake({
     /// Timestamp when the medicine was taken.
health_data_store/lib/src/types/note.dart
@@ -4,7 +4,7 @@ part 'note.freezed.dart';
 
 /// Supporting information left by the enduser.
 @freezed
-class Note with _$Note {
+abstract class Note with _$Note {
   /// Create supporting information from the enduser.
   const factory Note({
     /// Timestamp when the note was taken.
health_data_store/pubspec.yaml
@@ -7,16 +7,16 @@ environment:
   sdk: '>=3.0.2 <4.0.0'
 
 dependencies:
-  freezed_annotation: ^2.4.4
+  freezed_annotation: ^3.0.0
   json_annotation: ^4.9.0
-  sqflite_common: ^2.5.4+6
+  sqflite_common: ^2.5.5
 
 dev_dependencies:
-  build_runner: ^2.4.14
+  build_runner: ^2.4.15
   coverage: ^1.11.1
-  freezed: ^2.5.8
-  json_serializable: ^6.9.3
+  freezed: ^3.0.4
+  json_serializable: ^6.9.4
   mocktail: ^1.0.4
-  sqflite_common_ffi: ^2.3.4+4
-  test: ^1.25.14
+  sqflite_common_ffi: ^2.3.5
+  test: ^1.25.15