Skip to content

Commit 74b1c2a

Browse files
authored
V1.8.6 update dependencies (#549)
* Update dependency constraints * Follow freezed migration guide
1 parent 0d83d06 commit 74b1c2a

File tree

10 files changed

+38
-37
lines changed

10 files changed

+38
-37
lines changed

app/pubspec.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -341,10 +341,10 @@ packages:
341341
dependency: "direct main"
342342
description:
343343
name: file_picker
344-
sha256: ab13ae8ef5580a411c458d6207b6774a6c237d77ac37011b13994879f68a8810
344+
sha256: "36a1652d99cb6bf8ccc8b9f43aded1fd60b234d23ce78af422c07f950a436ef7"
345345
url: "https://pub.dev"
346346
source: hosted
347-
version: "8.3.7"
347+
version: "10.0.0"
348348
fixnum:
349349
dependency: transitive
350350
description:
@@ -470,10 +470,10 @@ packages:
470470
dependency: transitive
471471
description:
472472
name: freezed_annotation
473-
sha256: c2e2d632dd9b8a2b7751117abcfc2b4888ecfe181bd9fca7170d9ef02e595fe2
473+
sha256: c87ff004c8aa6af2d531668b46a4ea379f7191dc6dfa066acd53d506da6e044b
474474
url: "https://pub.dev"
475475
source: hosted
476-
version: "2.4.4"
476+
version: "3.0.0"
477477
frontend_server_client:
478478
dependency: transitive
479479
description:
@@ -1338,4 +1338,4 @@ packages:
13381338
version: "3.1.3"
13391339
sdks:
13401340
dart: ">=3.7.0 <4.0.0"
1341-
flutter: ">=3.27.4"
1341+
flutter: ">=3.29.2"

app/pubspec.yaml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,52 +8,52 @@ version: 1.8.6+48
88

99
environment:
1010
sdk: '>=3.0.2 <4.0.0'
11-
flutter: '3.27.4'
11+
flutter: '3.29.2'
1212

1313
dependencies:
14+
collection: ^1.19.1
1415
csv: ^6.0.0
15-
collection: ^1.19.0
1616
intl: ^0.19.0
1717
flutter:
1818
sdk: flutter
1919
flutter_localizations:
2020
sdk: flutter
21-
flutter_markdown: ^0.7.6
21+
flutter_markdown: ^0.7.6+2
2222
function_tree: ^0.9.1
23-
provider: ^6.1.2
24-
path: ^1.9.0
25-
pdf: ^3.11.2
26-
package_info_plus: ^8.1.4
23+
provider: ^6.1.4
24+
path: ^1.9.1
25+
pdf: ^3.11.3
26+
package_info_plus: ^8.3.0
2727
week_of_year: 2.2.0
28-
sqflite: ^2.4.1
29-
shared_preferences: ^2.5.1
28+
sqflite: ^2.4.2
29+
shared_preferences: ^2.5.3
3030
url_launcher: ^6.3.1
3131
health_data_store:
3232
path: ../health_data_store/
33-
flutter_bloc: ^9.0.0
33+
flutter_bloc: ^9.1.0
3434
bluetooth_low_energy: ^6.0.2
35-
flutter_blue_plus: ^1.35.2
36-
archive: ^4.0.2
37-
file_picker: ^8.3.1
38-
fluttertoast: ^8.2.10
39-
app_settings: ^5.1.1
35+
flutter_blue_plus: ^1.35.3
36+
archive: ^4.0.5
37+
file_picker: ^10.0.0
38+
fluttertoast: ^8.2.12
39+
app_settings: ^5.2.0
4040
logging: ^1.3.0
4141
persistent_user_dir_access_android: ^0.0.1
4242

4343
# desktop only
44-
sqflite_common_ffi: ^2.3.4+4
44+
sqflite_common_ffi: ^2.3.5
4545
inline_tab_view: ^1.0.1
4646

4747
dev_dependencies:
4848
integration_test:
4949
sdk: flutter
50-
file: ^7.0.0
5150
flutter_test:
5251
sdk: flutter
52+
file: ^7.0.1
5353
flutter_lints: ^5.0.0
5454
mockito: ^5.4.5
5555
translations_cleaner: ^0.0.5
56-
build_runner: ^2.4.14
56+
build_runner: ^2.4.15
5757
bloc_test: ^10.0.0
5858

5959
flutter:

app/test/features/bluetooth/mock/fake_device.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import 'dart:async';
2+
import 'dart:typed_data';
23

34
import 'package:flutter/cupertino.dart';
45
import 'package:flutter_blue_plus/flutter_blue_plus.dart';
@@ -64,7 +65,7 @@ class FakeDevice implements BluetoothDevice {
6465
Stream<BluetoothConnectionState> get connectionState => _connectedController.stream;
6566

6667
@override
67-
Future<void> createBond({int timeout = 90}) {
68+
Future<void> createBond({int timeout = 90, Uint8List? pin}) {
6869
// TODO: implement createBond
6970
throw UnimplementedError();
7071
}

health_data_store/lib/src/types/blood_pressure_record.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ part 'blood_pressure_record.freezed.dart';
55

66
/// Immutable representation of a blood pressure measurement.
77
@freezed
8-
class BloodPressureRecord with _$BloodPressureRecord {
8+
abstract class BloodPressureRecord with _$BloodPressureRecord {
99
/// Create a immutable representation of a blood pressure measurement.
1010
const factory BloodPressureRecord({
1111
/// Timestamp when the measurement was taken.

health_data_store/lib/src/types/bodyweight_record.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ part 'bodyweight_record.freezed.dart';
55

66
/// Body weight at a specific time.
77
@freezed
8-
class BodyweightRecord with _$BodyweightRecord {
8+
abstract class BodyweightRecord with _$BodyweightRecord {
99
/// Create a body weight measurement.
1010
const factory BodyweightRecord({
1111
/// Timestamp when the weight was measured.

health_data_store/lib/src/types/date_range.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ part 'date_range.freezed.dart';
99
/// may be equal to indicate a date range of a single day. The [start] date must
1010
/// not be after the [end] date.
1111
@freezed
12-
class DateRange with _$DateRange {
12+
abstract class DateRange with _$DateRange {
1313
// ignore: unused_element,
1414
const DateRange._();
1515

health_data_store/lib/src/types/medicine.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ part 'medicine.freezed.dart';
55

66
/// Description of a medicine.
77
@freezed
8-
class Medicine with _$Medicine {
8+
abstract class Medicine with _$Medicine {
99
/// Create a medicine description.
1010
const factory Medicine({
1111
/// Name of the medicine.

health_data_store/lib/src/types/medicine_intake.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ part 'medicine_intake.freezed.dart';
66

77
/// Instance of a [Medicine] intake.
88
@freezed
9-
class MedicineIntake with _$MedicineIntake {
9+
abstract class MedicineIntake with _$MedicineIntake {
1010
/// Create a instance of a medicine intake.
1111
const factory MedicineIntake({
1212
/// Timestamp when the medicine was taken.

health_data_store/lib/src/types/note.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ part 'note.freezed.dart';
44

55
/// Supporting information left by the enduser.
66
@freezed
7-
class Note with _$Note {
7+
abstract class Note with _$Note {
88
/// Create supporting information from the enduser.
99
const factory Note({
1010
/// Timestamp when the note was taken.

health_data_store/pubspec.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ environment:
77
sdk: '>=3.0.2 <4.0.0'
88

99
dependencies:
10-
freezed_annotation: ^2.4.4
10+
freezed_annotation: ^3.0.0
1111
json_annotation: ^4.9.0
12-
sqflite_common: ^2.5.4+6
12+
sqflite_common: ^2.5.5
1313

1414
dev_dependencies:
15-
build_runner: ^2.4.14
15+
build_runner: ^2.4.15
1616
coverage: ^1.11.1
17-
freezed: ^2.5.8
18-
json_serializable: ^6.9.3
17+
freezed: ^3.0.4
18+
json_serializable: ^6.9.4
1919
mocktail: ^1.0.4
20-
sqflite_common_ffi: ^2.3.4+4
21-
test: ^1.25.14
20+
sqflite_common_ffi: ^2.3.5
21+
test: ^1.25.15
2222

0 commit comments

Comments
 (0)