From 023a86c234c6ec7f0b9dcf8b2343cc1f35517b55 Mon Sep 17 00:00:00 2001 From: BreX900 Date: Tue, 23 Jul 2024 15:38:50 +0200 Subject: [PATCH] - chore: bumped permission_handler to `^11.3.1` - chore: changed rxdart dependency constraints to support version `>=0.27.0 <0.29.0` --- CHANGELOG.md | 4 ++++ kuama_core/pubspec.yaml | 4 ++-- kuama_permissions/example/pubspec.yaml | 13 ++++++----- kuama_permissions/pubspec.yaml | 19 +++++++--------- .../test/blocs/permissions_bloc_test.dart | 6 ++--- kuama_position/pubspec.yaml | 22 ++++++++----------- 6 files changed, 33 insertions(+), 35 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7082a60..8515e49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 1.3.0 (2024-07-23) +- chore: bumped permission_handler to `^11.3.1` +- chore: changed rxdart dependency constraints to support version `>=0.27.0 <0.29.0` + ## 1.2.0 (2024-02-06) - fix: bumped down the permission handler package version to enable the integration of the saf package in other projects diff --git a/kuama_core/pubspec.yaml b/kuama_core/pubspec.yaml index 5bb4e42..1186a76 100644 --- a/kuama_core/pubspec.yaml +++ b/kuama_core/pubspec.yaml @@ -1,7 +1,7 @@ name: kuama_core description: A starting point for Dart libraries or applications. publish_to: 'none' -version: 1.2.0 +version: 1.3.0 environment: sdk: '>=3.0.0 <4.0.0' @@ -12,7 +12,7 @@ scripts: dependencies: get_it: ^7.2.0 # Global packages version tuple: ^2.0.1 - rxdart: + rxdart: '>=0.27.0 <0.29.0' dev_dependencies: mek_lints: ^1.0.0 diff --git a/kuama_permissions/example/pubspec.yaml b/kuama_permissions/example/pubspec.yaml index dac4da6..355a069 100644 --- a/kuama_permissions/example/pubspec.yaml +++ b/kuama_permissions/example/pubspec.yaml @@ -4,7 +4,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ">=2.16.2 <3.0.0" + sdk: ">=3.0.0 <4.0.0" + dependencies: flutter: sdk: flutter @@ -20,13 +21,13 @@ dependencies: path: kuama_position ref: 0.2.4 - shared_preferences: ^2.0.15 - geolocator: ^9.0.0 + shared_preferences: ^2.2.3 + geolocator: ^12.0.0 - riverbloc: ^1.0.0+2 - get_it: ^7.2.0 + riverbloc: ^2.3.0 + get_it: ^7.7.0 - flutter_riverpod: ^1.0.4 + flutter_riverpod: ^2.5.1 dependency_overrides: kuama_core: diff --git a/kuama_permissions/pubspec.yaml b/kuama_permissions/pubspec.yaml index 99fa68e..893ef52 100644 --- a/kuama_permissions/pubspec.yaml +++ b/kuama_permissions/pubspec.yaml @@ -1,7 +1,7 @@ name: kuama_permissions description: A starting point for Dart libraries or applications. publish_to: 'none' -version: 1.2.0 +version: 1.3.0 environment: sdk: '>=3.0.0 <4.0.0' @@ -14,22 +14,21 @@ scripts: build:index: dart pub global run index_generator dependencies: - flutter: - sdk: flutter + flutter: { sdk: flutter } kuama_core: git: url: https://github.com/Kuama-IT/kuama_dart.git path: kuama_core - ref: 1.2.0 + ref: 1.3.0 - permission_handler_platform_interface: ^3.12.0 - permission_handler: ^10.2.0 + permission_handler_platform_interface: ^4.2.1 + permission_handler: ^11.3.1 shared_preferences: ^2.1.0 meta: # Version defined in kuama_core get_it: # Version defined in kuama_core - rxdart: ^0.27.7 + rxdart: '>=0.27.0 <0.29.0' collection: ^1.17.0 bloc: ^8.1.1 bloc_concurrency: ^0.2.1 @@ -39,8 +38,7 @@ dependencies: dev_dependencies: mek_lints: ^1.0.0 - flutter_test: - sdk: flutter + flutter_test: { sdk: flutter } mocktail: ^0.3.0 @@ -48,8 +46,7 @@ dev_dependencies: mek_data_class_generator: ^1.5.1 dependency_overrides: - kuama_core: - path: ../kuama_core + kuama_core: { path: ../kuama_core } index_generator: page_width: 100 diff --git a/kuama_permissions/test/blocs/permissions_bloc_test.dart b/kuama_permissions/test/blocs/permissions_bloc_test.dart index ce57bf2..afbdce8 100644 --- a/kuama_permissions/test/blocs/permissions_bloc_test.dart +++ b/kuama_permissions/test/blocs/permissions_bloc_test.dart @@ -53,7 +53,7 @@ void main() { when(() => mockState.checkCanCheck(any())).thenReturn(false); - bloc.check({Permission.calendarReadOnly}); + bloc.check({Permission.calendarFullAccess}); expect(bloc.state, state); }); @@ -127,7 +127,7 @@ void main() { when(() => mockState.checkCanRequest(any())).thenReturn(false); - bloc.request({Permission.calendarReadOnly}); + bloc.request({Permission.calendarFullAccess}); expect(bloc.state, state); }); @@ -309,7 +309,7 @@ void main() { when(() => mockState.checkCanAsk(any())).thenReturn(false); - bloc.ask({Permission.calendarReadOnly}); + bloc.ask({Permission.calendarFullAccess}); expect(bloc.state, state); }); diff --git a/kuama_position/pubspec.yaml b/kuama_position/pubspec.yaml index 2d34585..502ca69 100644 --- a/kuama_position/pubspec.yaml +++ b/kuama_position/pubspec.yaml @@ -12,42 +12,38 @@ scripts: build:index: dart pub global run index_generator dependencies: - flutter: - sdk: flutter + flutter: { sdk: flutter } kuama_core: git: url: https://github.com/Kuama-IT/kuama_dart.git path: kuama_core - ref: 1.2.0 + ref: 1.3.0 kuama_permissions: git: url: https://github.com/Kuama-IT/kuama_dart.git path: kuama_permissions - ref: 1.2.0 + ref: 1.3.0 - geolocator_platform_interface: ^4.0.7 - geolocator: ^9.0.2 + geolocator_platform_interface: ^4.2.4 + geolocator: ^12.0.0 get_it: # Version defined in kuama_core - rxdart: ^0.27.7 + rxdart: '>=0.27.0 <0.29.0' pure_extensions: ^5.0.0 bloc: ^8.1.1 bloc_concurrency: ^0.2.1 equatable: ^2.0.5 dependency_overrides: - kuama_core: - path: ../kuama_core - kuama_permissions: - path: ../kuama_permissions + kuama_core: { path: ../kuama_core } + kuama_permissions: { path: ../kuama_permissions } dev_dependencies: mek_lints: ^1.0.0 - flutter_test: - sdk: flutter + flutter_test: { sdk: flutter } mocktail: ^0.3.0