Skip to content

Commit

Permalink
fix: Conflict with new version of connectivity_plus dependency (#987)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbfakourii authored Feb 13, 2024
1 parent c5f08f6 commit 540b127
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 22 deletions.
6 changes: 6 additions & 0 deletions packages/flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [7.0.1](https://github.com/parse-community/Parse-SDK-Flutter/compare/flutter-7.0.0...flutter-7.0.1) (2024-02-03)

### Bug Fixes

* Conflict with new version of `connectivity_plus` dependency ([#987](https://github.com/parse-community/Parse-SDK-Flutter/pull/987))

## [7.0.0](https://github.com/parse-community/Parse-SDK-Flutter/compare/flutter-6.0.0...flutter-7.0.0) (2023-10-16)

### BREAKING CHANGES
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of flutter_parse_sdk_flutter;
part of 'package:parse_server_sdk_flutter/parse_server_sdk_flutter.dart';

/// A class that provides a mechanism for showing system notifications in the app.
class ParseNotification {
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/push/parse_push.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of flutter_parse_sdk_flutter;
part of 'package:parse_server_sdk_flutter/parse_server_sdk_flutter.dart';

/// A class that provides a mechanism for handling push notifications in the app.
class ParsePush {
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/storage/core_store_sembast.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of flutter_parse_sdk_flutter;
part of 'package:parse_server_sdk_flutter/parse_server_sdk_flutter.dart';

/// provides database operations using Sembast
class CoreStoreSembast implements sdk.CoreStoreSembastImp {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of flutter_parse_sdk_flutter;
part of 'package:parse_server_sdk_flutter/parse_server_sdk_flutter.dart';

/// A class that implements the `sdk.CoreStore` interface using `SharedPreferences`.
class CoreStoreSharedPreferences implements sdk.CoreStore {
Expand Down
6 changes: 3 additions & 3 deletions packages/flutter/lib/src/utils/parse_live_grid.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of flutter_parse_sdk_flutter;
part of 'package:parse_server_sdk_flutter/parse_server_sdk_flutter.dart';

/// A widget that displays a live grid of Parse objects.
///
Expand All @@ -11,7 +11,7 @@ part of flutter_parse_sdk_flutter;
/// refreshing the live list of objects.
class ParseLiveGridWidget<T extends sdk.ParseObject> extends StatefulWidget {
const ParseLiveGridWidget({
Key? key,
super.key,
required this.query,
this.gridLoadingElement,
this.queryEmptyElement,
Expand All @@ -34,7 +34,7 @@ class ParseLiveGridWidget<T extends sdk.ParseObject> extends StatefulWidget {
this.crossAxisSpacing = 5.0,
this.mainAxisSpacing = 5.0,
this.childAspectRatio = 0.80,
}) : super(key: key);
});

final sdk.QueryBuilder<T> query;
final Widget? gridLoadingElement;
Expand Down
11 changes: 5 additions & 6 deletions packages/flutter/lib/src/utils/parse_live_list.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
part of flutter_parse_sdk_flutter;
part of 'package:parse_server_sdk_flutter/parse_server_sdk_flutter.dart';

/// The type of function that builds a child widget for a ParseLiveList element.
typedef ChildBuilder<T extends sdk.ParseObject> = Widget Function(
Expand All @@ -20,7 +20,7 @@ typedef DataGetter<T extends sdk.ParseObject> = T? Function();
/// lazy loading of objects in the list.
class ParseLiveListWidget<T extends sdk.ParseObject> extends StatefulWidget {
const ParseLiveListWidget({
Key? key,
super.key,
required this.query,
this.listLoadingElement,
this.queryEmptyElement,
Expand All @@ -38,7 +38,7 @@ class ParseLiveListWidget<T extends sdk.ParseObject> extends StatefulWidget {
this.listeningIncludes,
this.lazyLoading = true,
this.preloadedColumns,
}) : super(key: key);
});

final sdk.QueryBuilder<T> query;
final Widget? listLoadingElement;
Expand Down Expand Up @@ -209,14 +209,13 @@ class _ParseLiveListWidgetState<T extends sdk.ParseObject>
class ParseLiveListElementWidget<T extends sdk.ParseObject>
extends StatefulWidget {
const ParseLiveListElementWidget(
{Key? key,
{super.key,
this.stream,
this.loadedData,
this.preLoadedData,
required this.sizeFactor,
required this.duration,
required this.childBuilder})
: super(key: key);
required this.childBuilder});

final StreamGetter<T>? stream;
final DataGetter<T>? loadedData;
Expand Down
18 changes: 9 additions & 9 deletions packages/flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: parse_server_sdk_flutter
description: The Flutter SDK to connect to Parse Server. Build your apps faster with Parse Platform, the complete application stack.
version: 7.0.0
version: 7.0.1
homepage: https://parseplatform.org
repository: https://github.com/parse-community/Parse-SDK-Flutter
issue_tracker: https://github.com/parse-community/Parse-SDK-Flutter/issues
Expand Down Expand Up @@ -31,25 +31,25 @@ dependencies:
# path: ../dart

# Networking
connectivity_plus: ^5.0.1
connectivity_plus: ^5.0.2

#Database
shared_preferences: ^2.1.2
sembast: ^3.4.6+1
shared_preferences: ^2.2.2
sembast: ^3.4.9
sembast_web: ^2.1.3

# Utils
path_provider: ^2.0.15
package_info_plus: ^4.0.2
path_provider: ^2.1.1
package_info_plus: ^4.2.0
path: ^1.8.2

dev_dependencies:
flutter_test:
sdk: flutter

flutter_lints: ^2.0.1
path_provider_platform_interface: ^2.0.6
plugin_platform_interface: ^2.1.4
flutter_lints: ^2.0.3
path_provider_platform_interface: ^2.1.1
plugin_platform_interface: ^2.1.6

screenshots:
- description: Parse Platform logo.
Expand Down

0 comments on commit 540b127

Please sign in to comment.