From 9e9ecc0099a5007d9becb3c798a34bcfd1f34d78 Mon Sep 17 00:00:00 2001 From: Mohammad Bagher Fakouri Date: Tue, 2 Apr 2024 10:11:56 +0330 Subject: [PATCH 01/13] docs: Compatibility update in Dart --- packages/dart/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/dart/README.md b/packages/dart/README.md index 0a751c7b..949af44e 100644 --- a/packages/dart/README.md +++ b/packages/dart/README.md @@ -32,7 +32,9 @@ The Parse Dart SDK is continuously tested with the most recent release of the Da | Version | Latest Version | End of Support | Compatible | |-----------|----------------|----------------|------------| -| Dart 3.1 | 3.1.2 | Sep 2024 | ✅ Yes | +| Dart 3.3 | 3.3.3 | Mar 2025 | ✅ Yes | +| Dart 3.2 | 3.2.6 | Jan 2025 | ✅ Yes | +| Dart 3.1 | 3.1.5 | Oct 2024 | ✅ Yes | | Dart 3.0 | 3.0.7 | May 2024 | ✅ Yes | | Dart 2.19 | 2.19.6 | Mar 2024 | ✅ Yes | From 0426680b250c22210de342d7d72a484a0cbdcb2e Mon Sep 17 00:00:00 2001 From: Mohammad Bagher Fakouri Date: Tue, 2 Apr 2024 10:37:24 +0330 Subject: [PATCH 02/13] docs: Compatibility update in Dart --- .github/workflows/ci.yml | 21 ++++++++++++--------- packages/dart/README.md | 1 - packages/dart/pubspec.yaml | 2 +- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b17df6f9..e9a0114f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,22 +16,25 @@ jobs: include: # Dart framework may contain breaking changes in minor version releases, not following semver. # The latest Dart framework (below) is tested on all architectures (Ubuntu, macOS, Windows). - - name: Dart 3.1, Ubuntu + - name: Dart 3.3, Ubuntu os: ubuntu-latest - sdk: 3.1.2 - - name: Dart 3.1, macOS + sdk: 3.3.3 + - name: Dart 3.3, macOS os: macos-latest - sdk: 3.1.2 - - name: Dart 3.1, Windows + sdk: 3.3.3 + - name: Dart 3.3, Windows os: windows-latest - sdk: 3.1.2 + sdk: 3.3.3 # Older Dart framework versions (below) are only tested with Ubuntu to reduce CI resource usage. + - name: Dart 3.2 + os: ubuntu-latest + sdk: 3.2.6 + - name: Dart 3.1 + os: ubuntu-latest + sdk: 3.1.5 - name: Dart 3.0 os: ubuntu-latest sdk: 3.0.7 - - name: Dart 2.19 - os: ubuntu-latest - sdk: 2.19.6 - name: Dart beta os: ubuntu-latest sdk: beta diff --git a/packages/dart/README.md b/packages/dart/README.md index 949af44e..7eb6995a 100644 --- a/packages/dart/README.md +++ b/packages/dart/README.md @@ -36,7 +36,6 @@ The Parse Dart SDK is continuously tested with the most recent release of the Da | Dart 3.2 | 3.2.6 | Jan 2025 | ✅ Yes | | Dart 3.1 | 3.1.5 | Oct 2024 | ✅ Yes | | Dart 3.0 | 3.0.7 | May 2024 | ✅ Yes | -| Dart 2.19 | 2.19.6 | Mar 2024 | ✅ Yes | ## Getting Started diff --git a/packages/dart/pubspec.yaml b/packages/dart/pubspec.yaml index b50734a9..dd50d3e4 100644 --- a/packages/dart/pubspec.yaml +++ b/packages/dart/pubspec.yaml @@ -18,7 +18,7 @@ topics: - backend environment: - sdk: ">=2.19.6 <4.0.0" + sdk: ">=3.0.7 <4.0.0" dependencies: # Networking From 0a742f425cc95813e70f3445b63eb91473950cab Mon Sep 17 00:00:00 2001 From: Mohammad Bagher Fakouri Date: Tue, 2 Apr 2024 10:42:51 +0330 Subject: [PATCH 03/13] fix: Bug fix --- packages/dart/lib/src/utils/parse_live_list.dart | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/dart/lib/src/utils/parse_live_list.dart b/packages/dart/lib/src/utils/parse_live_list.dart index 99df16cc..8d7f46f4 100644 --- a/packages/dart/lib/src/utils/parse_live_list.dart +++ b/packages/dart/lib/src/utils/parse_live_list.dart @@ -31,6 +31,7 @@ class ParseLiveList { } final QueryBuilder _query; + //The included Items, where LiveList should look for updates. final Map _listeningIncludes; final bool _lazyLoading; @@ -539,6 +540,10 @@ class ParseLiveElement extends ParseLiveListElement { super.object = parseResponse.result.first; } break; + case LiveQueryClientEvent.disconnected: + break; + case LiveQueryClientEvent.userDisconnected: + break; } }); }); @@ -742,6 +747,7 @@ class PathKey { final String key; Subscription? subscription; + @override String toString() { return 'PathKey(key: $key, subscription: ${subscription?.requestId})'; From 95afc3425ee1b4553dacf57e655c0335f7b8b58d Mon Sep 17 00:00:00 2001 From: Mohammad Bagher Fakouri Date: Tue, 2 Apr 2024 10:53:49 +0330 Subject: [PATCH 04/13] fix: Update dependency's --- packages/dart/pubspec.yaml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/dart/pubspec.yaml b/packages/dart/pubspec.yaml index dd50d3e4..5f8786e9 100644 --- a/packages/dart/pubspec.yaml +++ b/packages/dart/pubspec.yaml @@ -22,32 +22,32 @@ environment: dependencies: # Networking - dio: ^5.2.0+1 - http: ^0.13.5 + dio: ^5.4.2+1 + http: ^1.1.0 web_socket_channel: ^2.4.0 #Database - sembast: ^3.4.6+1 - sembast_web: ^2.1.3 + sembast: ^3.6.0 + sembast_web: ^2.2.0 # Utils - uuid: ^3.0.7 - meta: ^1.8.0 - path: ^1.8.2 + uuid: ^4.3.3 + meta: ^1.12.0 + path: ^1.9.0 mime: ^1.0.4 timezone: ^0.9.2 - universal_io: ^2.2.0 + universal_io: ^2.2.2 xxtea: ^2.1.0 - collection: ^1.16.0 - cross_file: ^0.3.3+6 + collection: ^1.18.0 + cross_file: ^0.3.3+7 dev_dependencies: - lints: ^2.0.1 + lints: ^3.0.0 # Testing - build_runner: ^2.3.3 - mockito: ^5.3.2 - test: ^1.23.1 + build_runner: ^2.4.9 + mockito: ^5.4.2 + test: ^1.25.2 screenshots: - description: Parse Platform logo. From a2383d62c36ddfd55f7903c3c5f81bbafd5e70bd Mon Sep 17 00:00:00 2001 From: Mohammad Bagher Fakouri Date: Tue, 2 Apr 2024 11:03:42 +0330 Subject: [PATCH 05/13] fix: Update dependency's --- .../dart/lib/src/base/parse_constants.dart | 2 +- .../dart/lib/src/data/parse_core_data.dart | 2 +- .../lib/src/data/parse_subclass_handler.dart | 2 +- .../dart/lib/src/enums/parse_enum_api_rq.dart | 2 +- packages/dart/lib/src/network/options.dart | 2 +- .../dart/lib/src/network/parse_client.dart | 11 +++----- .../lib/src/network/parse_connectivity.dart | 2 +- .../lib/src/network/parse_dio_client.dart | 26 ++----------------- .../lib/src/network/parse_live_query.dart | 2 +- .../dart/lib/src/network/parse_query.dart | 2 +- .../lib/src/network/parse_websocket_html.dart | 1 + .../lib/src/network/parse_websocket_io.dart | 1 + packages/dart/lib/src/objects/parse_acl.dart | 2 +- .../dart/lib/src/objects/parse_array.dart | 2 +- packages/dart/lib/src/objects/parse_base.dart | 2 +- .../dart/lib/src/objects/parse_cloneable.dart | 2 +- .../dart/lib/src/objects/parse_config.dart | 2 +- .../dart/lib/src/objects/parse_error.dart | 2 +- .../dart/lib/src/objects/parse_exception.dart | 2 +- packages/dart/lib/src/objects/parse_file.dart | 14 ++++------ .../dart/lib/src/objects/parse_file_base.dart | 2 +- .../dart/lib/src/objects/parse_file_web.dart | 19 +++++--------- .../dart/lib/src/objects/parse_function.dart | 2 +- .../dart/lib/src/objects/parse_geo_point.dart | 2 +- .../lib/src/objects/parse_installation.dart | 2 +- .../dart/lib/src/objects/parse_number.dart | 2 +- .../dart/lib/src/objects/parse_object.dart | 2 +- .../parse_operation/parse_add_operation.dart | 4 +-- .../parse_add_relation_operation.dart | 4 +-- .../parse_add_unique_operation.dart | 4 +-- .../parse_increment_operation.dart | 4 +-- .../parse_operation/parse_operation.dart | 6 ++--- .../parse_remove_operation.dart | 4 +-- .../parse_remove_relation_operation.dart | 4 +-- .../dart/lib/src/objects/parse_relation.dart | 2 +- .../dart/lib/src/objects/parse_response.dart | 2 +- .../objects/parse_save_state_aware_child.dart | 2 +- .../dart/lib/src/objects/parse_session.dart | 2 +- packages/dart/lib/src/objects/parse_user.dart | 2 +- .../dart/lib/src/objects/parse_x_file.dart | 14 ++++------ .../response/parse_error_response.dart | 2 +- .../response/parse_exception_response.dart | 2 +- .../response/parse_response_builder.dart | 2 +- .../response/parse_response_utils.dart | 2 +- .../response/parse_success_no_results.dart | 2 +- packages/dart/lib/src/storage/core_store.dart | 2 +- .../lib/src/storage/core_store_memory.dart | 2 +- .../lib/src/storage/core_store_sem_impl.dart | 2 +- .../dart/lib/src/storage/xxtea_codec.dart | 2 +- .../dart/lib/src/utils/parse_date_format.dart | 2 +- .../dart/lib/src/utils/parse_decoder.dart | 2 +- .../dart/lib/src/utils/parse_encoder.dart | 2 +- .../dart/lib/src/utils/parse_live_list.dart | 8 +++--- packages/dart/lib/src/utils/parse_logger.dart | 2 +- .../lib/src/utils/parse_login_helpers.dart | 2 +- packages/dart/lib/src/utils/parse_utils.dart | 2 +- packages/dart/lib/src/utils/valuable.dart | 2 +- 57 files changed, 85 insertions(+), 123 deletions(-) diff --git a/packages/dart/lib/src/base/parse_constants.dart b/packages/dart/lib/src/base/parse_constants.dart index a1dcfed0..4568480f 100644 --- a/packages/dart/lib/src/base/parse_constants.dart +++ b/packages/dart/lib/src/base/parse_constants.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; // Library const String keySdkVersion = '6.4.0'; diff --git a/packages/dart/lib/src/data/parse_core_data.dart b/packages/dart/lib/src/data/parse_core_data.dart index aea6adf3..cc50cc81 100644 --- a/packages/dart/lib/src/data/parse_core_data.dart +++ b/packages/dart/lib/src/data/parse_core_data.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; /// Singleton class that defines all user keys and data class ParseCoreData { diff --git a/packages/dart/lib/src/data/parse_subclass_handler.dart b/packages/dart/lib/src/data/parse_subclass_handler.dart index f7ed18cf..73b2de3a 100644 --- a/packages/dart/lib/src/data/parse_subclass_handler.dart +++ b/packages/dart/lib/src/data/parse_subclass_handler.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; typedef ParseObjectConstructor = ParseObject Function(); typedef ParseUserConstructor = ParseUser Function( diff --git a/packages/dart/lib/src/enums/parse_enum_api_rq.dart b/packages/dart/lib/src/enums/parse_enum_api_rq.dart index 56bb33ef..fb54de72 100644 --- a/packages/dart/lib/src/enums/parse_enum_api_rq.dart +++ b/packages/dart/lib/src/enums/parse_enum_api_rq.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; /// Used to define the API calls made in ParseObject logs enum ParseApiRQ { diff --git a/packages/dart/lib/src/network/options.dart b/packages/dart/lib/src/network/options.dart index 7f33a5c6..5b07d730 100644 --- a/packages/dart/lib/src/network/options.dart +++ b/packages/dart/lib/src/network/options.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; class ParseNetworkOptions { ParseNetworkOptions({this.headers}); diff --git a/packages/dart/lib/src/network/parse_client.dart b/packages/dart/lib/src/network/parse_client.dart index ad16235d..bf29694e 100644 --- a/packages/dart/lib/src/network/parse_client.dart +++ b/packages/dart/lib/src/network/parse_client.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; typedef ParseClientCreator = ParseClient Function( {required bool sendSessionId, SecurityContext? securityContext}); @@ -93,12 +93,9 @@ class ParseNetworkResponse { class ParseNetworkByteResponse extends ParseNetworkResponse { ParseNetworkByteResponse({ this.bytes, - final String data = 'byte response', - final int statusCode = -1, - }) : super( - data: data, - statusCode: statusCode, - ); + super.data = 'byte response', + super.statusCode, + }); final List? bytes; } diff --git a/packages/dart/lib/src/network/parse_connectivity.dart b/packages/dart/lib/src/network/parse_connectivity.dart index 731ad1a4..a6ea3dd8 100644 --- a/packages/dart/lib/src/network/parse_connectivity.dart +++ b/packages/dart/lib/src/network/parse_connectivity.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; /// Connection status check result. enum ParseConnectivityResult { diff --git a/packages/dart/lib/src/network/parse_dio_client.dart b/packages/dart/lib/src/network/parse_dio_client.dart index ddf12e54..04842de9 100644 --- a/packages/dart/lib/src/network/parse_dio_client.dart +++ b/packages/dart/lib/src/network/parse_dio_client.dart @@ -272,33 +272,11 @@ class _ParseDioClient with dio.DioMixin implements dio.Dio { class _Options extends dio.Options { _Options({ - String? method, - Duration? sendTimeout, - Duration? receiveTimeout, - Map? extra, - Map? headers, - dio.ResponseType? responseType, + super.headers, + super.responseType, String? contentType, - dio.ValidateStatus? validateStatus, - bool? receiveDataWhenStatusError, - bool? followRedirects, - int? maxRedirects, - dio.RequestEncoder? requestEncoder, - dio.ResponseDecoder? responseDecoder, }) : super( - method: method, - sendTimeout: sendTimeout, - receiveTimeout: receiveTimeout, - extra: extra, - headers: headers, - responseType: responseType, contentType: contentType ?? (headers ?? {})[dio.Headers.contentTypeHeader], - validateStatus: validateStatus, - receiveDataWhenStatusError: receiveDataWhenStatusError, - followRedirects: followRedirects, - maxRedirects: maxRedirects, - requestEncoder: requestEncoder, - responseDecoder: responseDecoder, ); } diff --git a/packages/dart/lib/src/network/parse_live_query.dart b/packages/dart/lib/src/network/parse_live_query.dart index 1841732e..8778c0e0 100644 --- a/packages/dart/lib/src/network/parse_live_query.dart +++ b/packages/dart/lib/src/network/parse_live_query.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; enum LiveQueryEvent { create, enter, update, leave, delete, error } diff --git a/packages/dart/lib/src/network/parse_query.dart b/packages/dart/lib/src/network/parse_query.dart index f9f659c5..420b6fd8 100644 --- a/packages/dart/lib/src/network/parse_query.dart +++ b/packages/dart/lib/src/network/parse_query.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; /// Class to create complex queries class QueryBuilder { diff --git a/packages/dart/lib/src/network/parse_websocket_html.dart b/packages/dart/lib/src/network/parse_websocket_html.dart index 35593e9a..37555327 100644 --- a/packages/dart/lib/src/network/parse_websocket_html.dart +++ b/packages/dart/lib/src/network/parse_websocket_html.dart @@ -1,4 +1,5 @@ /// If you change this file, you should apply the same changes to the 'parse_websocket_io.dart' file +library; import 'dart:html' as html; diff --git a/packages/dart/lib/src/network/parse_websocket_io.dart b/packages/dart/lib/src/network/parse_websocket_io.dart index b2cd1550..2f93d76f 100644 --- a/packages/dart/lib/src/network/parse_websocket_io.dart +++ b/packages/dart/lib/src/network/parse_websocket_io.dart @@ -1,4 +1,5 @@ /// If you change this file, you should apply the same changes to the 'parse_websocket_html.dart' file +library; import 'dart:io' as io; diff --git a/packages/dart/lib/src/objects/parse_acl.dart b/packages/dart/lib/src/objects/parse_acl.dart index 618b86c5..bf498e17 100644 --- a/packages/dart/lib/src/objects/parse_acl.dart +++ b/packages/dart/lib/src/objects/parse_acl.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; /// [ParseACL] is used to control which users can access or modify a particular object /// [ParseObject] can have its own [ParseACL] diff --git a/packages/dart/lib/src/objects/parse_array.dart b/packages/dart/lib/src/objects/parse_array.dart index 1bf36e27..f4ebf602 100644 --- a/packages/dart/lib/src/objects/parse_array.dart +++ b/packages/dart/lib/src/objects/parse_array.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; class _ParseArray implements _Valuable, _ParseSaveStateAwareChild { _ParseArray({this.setMode = false}); diff --git a/packages/dart/lib/src/objects/parse_base.dart b/packages/dart/lib/src/objects/parse_base.dart index 97eced61..00134fe4 100644 --- a/packages/dart/lib/src/objects/parse_base.dart +++ b/packages/dart/lib/src/objects/parse_base.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; abstract class ParseBase { /// refers to the Table Name in your Parse Server diff --git a/packages/dart/lib/src/objects/parse_cloneable.dart b/packages/dart/lib/src/objects/parse_cloneable.dart index 589b6014..bf5d383c 100644 --- a/packages/dart/lib/src/objects/parse_cloneable.dart +++ b/packages/dart/lib/src/objects/parse_cloneable.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; /// Creates method which can be used to deep clone objects abstract class ParseCloneable { diff --git a/packages/dart/lib/src/objects/parse_config.dart b/packages/dart/lib/src/objects/parse_config.dart index 8df935d6..6031ca14 100644 --- a/packages/dart/lib/src/objects/parse_config.dart +++ b/packages/dart/lib/src/objects/parse_config.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; class ParseConfig extends ParseObject { /// Creates an instance of ParseConfig so that you can grab all configs from the server diff --git a/packages/dart/lib/src/objects/parse_error.dart b/packages/dart/lib/src/objects/parse_error.dart index 323905c7..38e39248 100644 --- a/packages/dart/lib/src/objects/parse_error.dart +++ b/packages/dart/lib/src/objects/parse_error.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; /// ParseException is used in [ParseResult] to inform the user of the exception class ParseError { diff --git a/packages/dart/lib/src/objects/parse_exception.dart b/packages/dart/lib/src/objects/parse_exception.dart index 27cdaf70..a760b4f8 100644 --- a/packages/dart/lib/src/objects/parse_exception.dart +++ b/packages/dart/lib/src/objects/parse_exception.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; abstract class ParseException implements Exception {} diff --git a/packages/dart/lib/src/objects/parse_file.dart b/packages/dart/lib/src/objects/parse_file.dart index e70da5ff..6a1b6e38 100644 --- a/packages/dart/lib/src/objects/parse_file.dart +++ b/packages/dart/lib/src/objects/parse_file.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; class ParseFile extends ParseFileBase { /// Creates a new file @@ -6,16 +6,12 @@ class ParseFile extends ParseFileBase { /// {https://docs.parseplatform.org/rest/guide/#files/} ParseFile(this.file, {String? name, - String? url, - bool? debug, - ParseClient? client, - bool? autoSendSessionId}) + super.url, + super.debug, + super.client, + super.autoSendSessionId}) : super( name: file != null ? path.basename(file.path) : name!, - url: url, - debug: debug, - client: client, - autoSendSessionId: autoSendSessionId, ); File? file; diff --git a/packages/dart/lib/src/objects/parse_file_base.dart b/packages/dart/lib/src/objects/parse_file_base.dart index 3f3bf5f4..3c16ed27 100644 --- a/packages/dart/lib/src/objects/parse_file_base.dart +++ b/packages/dart/lib/src/objects/parse_file_base.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; abstract class ParseFileBase extends ParseObject { /// Creates a new file diff --git a/packages/dart/lib/src/objects/parse_file_web.dart b/packages/dart/lib/src/objects/parse_file_web.dart index c092ff4d..cbaba541 100644 --- a/packages/dart/lib/src/objects/parse_file_web.dart +++ b/packages/dart/lib/src/objects/parse_file_web.dart @@ -1,19 +1,12 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; class ParseWebFile extends ParseFileBase { ParseWebFile(this.file, - {required String name, - String? url, - bool? debug, - ParseClient? client, - bool? autoSendSessionId}) - : super( - name: name, - url: url, - debug: debug, - client: client, - autoSendSessionId: autoSendSessionId, - ); + {required super.name, + super.url, + super.debug, + super.client, + super.autoSendSessionId}); Uint8List? file; CancelToken? _cancelToken; diff --git a/packages/dart/lib/src/objects/parse_function.dart b/packages/dart/lib/src/objects/parse_function.dart index 68331bac..5e307303 100644 --- a/packages/dart/lib/src/objects/parse_function.dart +++ b/packages/dart/lib/src/objects/parse_function.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; class ParseCloudFunction extends ParseObject { /// Creates a new cloud function object diff --git a/packages/dart/lib/src/objects/parse_geo_point.dart b/packages/dart/lib/src/objects/parse_geo_point.dart index f7f60a2e..f1a89193 100644 --- a/packages/dart/lib/src/objects/parse_geo_point.dart +++ b/packages/dart/lib/src/objects/parse_geo_point.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; const String keyLatitude = 'latitude'; const String keyLongitude = 'longitude'; diff --git a/packages/dart/lib/src/objects/parse_installation.dart b/packages/dart/lib/src/objects/parse_installation.dart index 195b8d71..5f4c01c3 100644 --- a/packages/dart/lib/src/objects/parse_installation.dart +++ b/packages/dart/lib/src/objects/parse_installation.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; class ParseInstallation extends ParseObject { /// Creates an instance of ParseInstallation diff --git a/packages/dart/lib/src/objects/parse_number.dart b/packages/dart/lib/src/objects/parse_number.dart index 2b6c1be2..02b8b66f 100644 --- a/packages/dart/lib/src/objects/parse_number.dart +++ b/packages/dart/lib/src/objects/parse_number.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; class _ParseNumber implements _Valuable, _ParseSaveStateAwareChild { num estimateNumber; diff --git a/packages/dart/lib/src/objects/parse_object.dart b/packages/dart/lib/src/objects/parse_object.dart index 33ce02a5..3af65c45 100644 --- a/packages/dart/lib/src/objects/parse_object.dart +++ b/packages/dart/lib/src/objects/parse_object.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; /// [ParseObject] is a local representation of data that can be saved and /// retrieved from the Parse cloud. diff --git a/packages/dart/lib/src/objects/parse_operation/parse_add_operation.dart b/packages/dart/lib/src/objects/parse_operation/parse_add_operation.dart index 16f892de..d48b2fb7 100644 --- a/packages/dart/lib/src/objects/parse_operation/parse_add_operation.dart +++ b/packages/dart/lib/src/objects/parse_operation/parse_add_operation.dart @@ -1,8 +1,8 @@ -part of flutter_parse_sdk; +part of '../../../parse_server_sdk.dart'; /// An operation that adds a new element to an array class _ParseAddOperation extends _ParseArrayOperation { - _ParseAddOperation(List value) : super(value); + _ParseAddOperation(super.value); @override String get operationName => 'Add'; diff --git a/packages/dart/lib/src/objects/parse_operation/parse_add_relation_operation.dart b/packages/dart/lib/src/objects/parse_operation/parse_add_relation_operation.dart index 71686809..2eaa1b5d 100644 --- a/packages/dart/lib/src/objects/parse_operation/parse_add_relation_operation.dart +++ b/packages/dart/lib/src/objects/parse_operation/parse_add_relation_operation.dart @@ -1,8 +1,8 @@ -part of flutter_parse_sdk; +part of '../../../parse_server_sdk.dart'; /// An operation that adds new objects to a [ParseRelation] class _ParseAddRelationOperation extends _ParseRelationOperation { - _ParseAddRelationOperation(Set value) : super(value); + _ParseAddRelationOperation(super.value); @override String get operationName => 'AddRelation'; diff --git a/packages/dart/lib/src/objects/parse_operation/parse_add_unique_operation.dart b/packages/dart/lib/src/objects/parse_operation/parse_add_unique_operation.dart index a7cb87ce..ac606686 100644 --- a/packages/dart/lib/src/objects/parse_operation/parse_add_unique_operation.dart +++ b/packages/dart/lib/src/objects/parse_operation/parse_add_unique_operation.dart @@ -1,9 +1,9 @@ -part of flutter_parse_sdk; +part of '../../../parse_server_sdk.dart'; /// An operation that adds a new element to an array field, /// only if it wasn't already present class _ParseAddUniqueOperation extends _ParseArrayOperation { - _ParseAddUniqueOperation(List value) : super(value); + _ParseAddUniqueOperation(super.value); @override String get operationName => 'AddUnique'; diff --git a/packages/dart/lib/src/objects/parse_operation/parse_increment_operation.dart b/packages/dart/lib/src/objects/parse_operation/parse_increment_operation.dart index 765cf349..88de06b5 100644 --- a/packages/dart/lib/src/objects/parse_operation/parse_increment_operation.dart +++ b/packages/dart/lib/src/objects/parse_operation/parse_increment_operation.dart @@ -1,8 +1,8 @@ -part of flutter_parse_sdk; +part of '../../../parse_server_sdk.dart'; /// An operation that increment a numeric value by a given amount class _ParseIncrementOperation extends _ParseNumberOperation { - _ParseIncrementOperation(num value) : super(value); + _ParseIncrementOperation(super.value); @override String get operationName => 'Increment'; diff --git a/packages/dart/lib/src/objects/parse_operation/parse_operation.dart b/packages/dart/lib/src/objects/parse_operation/parse_operation.dart index 68fc92ee..f9e39b3c 100644 --- a/packages/dart/lib/src/objects/parse_operation/parse_operation.dart +++ b/packages/dart/lib/src/objects/parse_operation/parse_operation.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../../parse_server_sdk.dart'; /// Represents an operation performed on Parse data. It defines the core /// functionality of any operation performed on Parse data. @@ -182,7 +182,7 @@ abstract class _ParseOperation implements _Valuable { } abstract class _ParseArrayOperation extends _ParseOperation { - _ParseArrayOperation(List value) : super(value) { + _ParseArrayOperation(super.value) { super.valueForApiRequest = []; } @@ -229,7 +229,7 @@ abstract class _ParseArrayOperation extends _ParseOperation { abstract class _ParseRelationOperation extends _ParseOperation> { - _ParseRelationOperation(Set value) : super(value) { + _ParseRelationOperation(super.value) { super.valueForApiRequest = {}; } diff --git a/packages/dart/lib/src/objects/parse_operation/parse_remove_operation.dart b/packages/dart/lib/src/objects/parse_operation/parse_remove_operation.dart index 6ac974c4..d27c427e 100644 --- a/packages/dart/lib/src/objects/parse_operation/parse_remove_operation.dart +++ b/packages/dart/lib/src/objects/parse_operation/parse_remove_operation.dart @@ -1,8 +1,8 @@ -part of flutter_parse_sdk; +part of '../../../parse_server_sdk.dart'; /// An operation that removes every instance of an element from an array class _ParseRemoveOperation extends _ParseArrayOperation { - _ParseRemoveOperation(List value) : super(value); + _ParseRemoveOperation(super.value); @override String get operationName => 'Remove'; diff --git a/packages/dart/lib/src/objects/parse_operation/parse_remove_relation_operation.dart b/packages/dart/lib/src/objects/parse_operation/parse_remove_relation_operation.dart index 725701ba..5985d350 100644 --- a/packages/dart/lib/src/objects/parse_operation/parse_remove_relation_operation.dart +++ b/packages/dart/lib/src/objects/parse_operation/parse_remove_relation_operation.dart @@ -1,8 +1,8 @@ -part of flutter_parse_sdk; +part of '../../../parse_server_sdk.dart'; /// An operation that Removes objects from a [ParseRelation] class _ParseRemoveRelationOperation extends _ParseRelationOperation { - _ParseRemoveRelationOperation(Set value) : super(value); + _ParseRemoveRelationOperation(super.value); @override String get operationName => 'RemoveRelation'; diff --git a/packages/dart/lib/src/objects/parse_relation.dart b/packages/dart/lib/src/objects/parse_relation.dart index 16d75f62..3be59616 100644 --- a/packages/dart/lib/src/objects/parse_relation.dart +++ b/packages/dart/lib/src/objects/parse_relation.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; abstract class ParseRelation { //The owning object of this ParseRelation diff --git a/packages/dart/lib/src/objects/parse_response.dart b/packages/dart/lib/src/objects/parse_response.dart index 41a6950b..ad1c21bd 100644 --- a/packages/dart/lib/src/objects/parse_response.dart +++ b/packages/dart/lib/src/objects/parse_response.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; class ParseResponse { ParseResponse({ diff --git a/packages/dart/lib/src/objects/parse_save_state_aware_child.dart b/packages/dart/lib/src/objects/parse_save_state_aware_child.dart index 32fe4a5a..bb1a2fe2 100644 --- a/packages/dart/lib/src/objects/parse_save_state_aware_child.dart +++ b/packages/dart/lib/src/objects/parse_save_state_aware_child.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; /// An interface used to notify a child about its parent save state. /// diff --git a/packages/dart/lib/src/objects/parse_session.dart b/packages/dart/lib/src/objects/parse_session.dart index 2be30754..9f98ab1b 100644 --- a/packages/dart/lib/src/objects/parse_session.dart +++ b/packages/dart/lib/src/objects/parse_session.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; class ParseSession extends ParseObject implements ParseCloneable { ParseSession({ diff --git a/packages/dart/lib/src/objects/parse_user.dart b/packages/dart/lib/src/objects/parse_user.dart index 6b24095c..eb91a9cb 100644 --- a/packages/dart/lib/src/objects/parse_user.dart +++ b/packages/dart/lib/src/objects/parse_user.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; class ParseUser extends ParseObject implements ParseCloneable { /// Creates an instance of ParseUser diff --git a/packages/dart/lib/src/objects/parse_x_file.dart b/packages/dart/lib/src/objects/parse_x_file.dart index 55087760..cb66e40d 100644 --- a/packages/dart/lib/src/objects/parse_x_file.dart +++ b/packages/dart/lib/src/objects/parse_x_file.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; class ParseXFile extends ParseFileBase { /// Creates a new file base XFile @@ -6,16 +6,12 @@ class ParseXFile extends ParseFileBase { /// {https://docs.parseplatform.org/rest/guide/#files/} ParseXFile(this.file, {String? name, - String? url, - bool? debug, - ParseClient? client, - bool? autoSendSessionId}) + super.url, + super.debug, + super.client, + super.autoSendSessionId}) : super( name: file != null ? path.basename(file.path) : name!, - url: url, - debug: debug, - client: client, - autoSendSessionId: autoSendSessionId, ); XFile? file; diff --git a/packages/dart/lib/src/objects/response/parse_error_response.dart b/packages/dart/lib/src/objects/response/parse_error_response.dart index 665de480..ef1ccb50 100644 --- a/packages/dart/lib/src/objects/response/parse_error_response.dart +++ b/packages/dart/lib/src/objects/response/parse_error_response.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../../parse_server_sdk.dart'; /// Handles any errors returned in response ParseResponse buildErrorResponse( diff --git a/packages/dart/lib/src/objects/response/parse_exception_response.dart b/packages/dart/lib/src/objects/response/parse_exception_response.dart index 2302bd1d..2450c342 100644 --- a/packages/dart/lib/src/objects/response/parse_exception_response.dart +++ b/packages/dart/lib/src/objects/response/parse_exception_response.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../../parse_server_sdk.dart'; /// Handles exception instead of throwing an exception ParseResponse buildParseResponseWithException(Exception exception) { diff --git a/packages/dart/lib/src/objects/response/parse_response_builder.dart b/packages/dart/lib/src/objects/response/parse_response_builder.dart index 706cd1d2..8390476e 100644 --- a/packages/dart/lib/src/objects/response/parse_response_builder.dart +++ b/packages/dart/lib/src/objects/response/parse_response_builder.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../../parse_server_sdk.dart'; /// Handles all the ParseObject responses /// diff --git a/packages/dart/lib/src/objects/response/parse_response_utils.dart b/packages/dart/lib/src/objects/response/parse_response_utils.dart index f125c321..81284926 100644 --- a/packages/dart/lib/src/objects/response/parse_response_utils.dart +++ b/packages/dart/lib/src/objects/response/parse_response_utils.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../../parse_server_sdk.dart'; /// Handles an API response and logs data if [bool] debug is enabled @protected diff --git a/packages/dart/lib/src/objects/response/parse_success_no_results.dart b/packages/dart/lib/src/objects/response/parse_success_no_results.dart index 24271d26..0383458b 100644 --- a/packages/dart/lib/src/objects/response/parse_success_no_results.dart +++ b/packages/dart/lib/src/objects/response/parse_success_no_results.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../../parse_server_sdk.dart'; /// Handles successful responses with no results ParseResponse buildSuccessResponseWithNoResults( diff --git a/packages/dart/lib/src/storage/core_store.dart b/packages/dart/lib/src/storage/core_store.dart index 5b06c2d2..06ab6293 100644 --- a/packages/dart/lib/src/storage/core_store.dart +++ b/packages/dart/lib/src/storage/core_store.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; abstract class CoreStore { Future containsKey(String key); diff --git a/packages/dart/lib/src/storage/core_store_memory.dart b/packages/dart/lib/src/storage/core_store_memory.dart index b35c1032..696876cf 100644 --- a/packages/dart/lib/src/storage/core_store_memory.dart +++ b/packages/dart/lib/src/storage/core_store_memory.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; class CoreStoreMemoryImp implements CoreStore { static Map _data = {}; diff --git a/packages/dart/lib/src/storage/core_store_sem_impl.dart b/packages/dart/lib/src/storage/core_store_sem_impl.dart index 9fc826c8..f0bb4451 100644 --- a/packages/dart/lib/src/storage/core_store_sem_impl.dart +++ b/packages/dart/lib/src/storage/core_store_sem_impl.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; // ignore_for_file: deprecated_member_use class CoreStoreSembastImp implements CoreStore { diff --git a/packages/dart/lib/src/storage/xxtea_codec.dart b/packages/dart/lib/src/storage/xxtea_codec.dart index 11753cf0..843e78c6 100644 --- a/packages/dart/lib/src/storage/xxtea_codec.dart +++ b/packages/dart/lib/src/storage/xxtea_codec.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; class _XXTeaEncoder extends Converter, String> { _XXTeaEncoder(this.key); diff --git a/packages/dart/lib/src/utils/parse_date_format.dart b/packages/dart/lib/src/utils/parse_date_format.dart index 42782935..69b88e34 100644 --- a/packages/dart/lib/src/utils/parse_date_format.dart +++ b/packages/dart/lib/src/utils/parse_date_format.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; final _ParseDateFormat _parseDateFormat = _ParseDateFormat._internal(); diff --git a/packages/dart/lib/src/utils/parse_decoder.dart b/packages/dart/lib/src/utils/parse_decoder.dart index 252793ee..3a3f043f 100644 --- a/packages/dart/lib/src/utils/parse_decoder.dart +++ b/packages/dart/lib/src/utils/parse_decoder.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; List _convertJSONArrayToList(List array) { return array.map(parseDecode).toList(); diff --git a/packages/dart/lib/src/utils/parse_encoder.dart b/packages/dart/lib/src/utils/parse_encoder.dart index d712acb8..c957a39e 100644 --- a/packages/dart/lib/src/utils/parse_encoder.dart +++ b/packages/dart/lib/src/utils/parse_encoder.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; /// Custom encoder for DateTime dynamic dateTimeEncoder(dynamic item) { diff --git a/packages/dart/lib/src/utils/parse_live_list.dart b/packages/dart/lib/src/utils/parse_live_list.dart index 8d7f46f4..43464c5e 100644 --- a/packages/dart/lib/src/utils/parse_live_list.dart +++ b/packages/dart/lib/src/utils/parse_live_list.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; // ignore_for_file: invalid_use_of_protected_member class ParseLiveList { @@ -767,17 +767,17 @@ abstract class ParseLiveListEvent { class ParseLiveListAddEvent extends ParseLiveListEvent { - ParseLiveListAddEvent(int index, T object) : super(index, object); + ParseLiveListAddEvent(super.index, super.object); } class ParseLiveListUpdateEvent extends ParseLiveListEvent { - ParseLiveListUpdateEvent(int index, T object) : super(index, object); + ParseLiveListUpdateEvent(super.index, super.object); } class ParseLiveListDeleteEvent extends ParseLiveListEvent { - ParseLiveListDeleteEvent(int index, T object) : super(index, object); + ParseLiveListDeleteEvent(super.index, super.object); } class ParseLiveListElementSnapshot { diff --git a/packages/dart/lib/src/utils/parse_logger.dart b/packages/dart/lib/src/utils/parse_logger.dart index 0e3f507f..e67bf6b8 100644 --- a/packages/dart/lib/src/utils/parse_logger.dart +++ b/packages/dart/lib/src/utils/parse_logger.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; void logAPIResponse( String className, String type, ParseResponse parseResponse) { diff --git a/packages/dart/lib/src/utils/parse_login_helpers.dart b/packages/dart/lib/src/utils/parse_login_helpers.dart index 88f03a54..8147bf30 100644 --- a/packages/dart/lib/src/utils/parse_login_helpers.dart +++ b/packages/dart/lib/src/utils/parse_login_helpers.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; Map facebook(String token, String id, DateTime expires) { return { diff --git a/packages/dart/lib/src/utils/parse_utils.dart b/packages/dart/lib/src/utils/parse_utils.dart index 4a122952..13dee46e 100644 --- a/packages/dart/lib/src/utils/parse_utils.dart +++ b/packages/dart/lib/src/utils/parse_utils.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; /// Checks whether debug is enabled /// diff --git a/packages/dart/lib/src/utils/valuable.dart b/packages/dart/lib/src/utils/valuable.dart index 8c1c79e9..2a452218 100644 --- a/packages/dart/lib/src/utils/valuable.dart +++ b/packages/dart/lib/src/utils/valuable.dart @@ -1,4 +1,4 @@ -part of flutter_parse_sdk; +part of '../../parse_server_sdk.dart'; /// A unified interface used to expose the internal state of a private class. /// From 903fa6a2e05639afa57ab74575316af8eaccc98b Mon Sep 17 00:00:00 2001 From: Mohammad Bagher Fakouri Date: Tue, 2 Apr 2024 11:06:05 +0330 Subject: [PATCH 06/13] fix: Update dependency's --- packages/dart/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dart/pubspec.yaml b/packages/dart/pubspec.yaml index 5f8786e9..360200bc 100644 --- a/packages/dart/pubspec.yaml +++ b/packages/dart/pubspec.yaml @@ -46,7 +46,7 @@ dev_dependencies: # Testing build_runner: ^2.4.9 - mockito: ^5.4.2 + mockito: ^5.4.1 test: ^1.25.2 screenshots: From e1a6d59a746051716510962b5a78228a4ed6e663 Mon Sep 17 00:00:00 2001 From: Mohammad Bagher Fakouri Date: Tue, 2 Apr 2024 11:08:27 +0330 Subject: [PATCH 07/13] fix: Update dependency's --- packages/dart/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dart/pubspec.yaml b/packages/dart/pubspec.yaml index 360200bc..43942558 100644 --- a/packages/dart/pubspec.yaml +++ b/packages/dart/pubspec.yaml @@ -46,7 +46,7 @@ dev_dependencies: # Testing build_runner: ^2.4.9 - mockito: ^5.4.1 + mockito: ^5.4.0 test: ^1.25.2 screenshots: From 1b60ebb851dd5ea5542e616b8508d3c890487c23 Mon Sep 17 00:00:00 2001 From: Mohammad Bagher Fakouri Date: Tue, 2 Apr 2024 11:09:47 +0330 Subject: [PATCH 08/13] fix: Update dependency's --- packages/dart/pubspec.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/dart/pubspec.yaml b/packages/dart/pubspec.yaml index 43942558..97f19b39 100644 --- a/packages/dart/pubspec.yaml +++ b/packages/dart/pubspec.yaml @@ -46,8 +46,8 @@ dev_dependencies: # Testing build_runner: ^2.4.9 - mockito: ^5.4.0 - test: ^1.25.2 + mockito: ^5.4.2 + test: ^1.25.1 screenshots: - description: Parse Platform logo. From 0c50858c1c21b85f1b56b220ba5d002cb3075488 Mon Sep 17 00:00:00 2001 From: Mohammad Bagher Fakouri Date: Tue, 2 Apr 2024 11:11:19 +0330 Subject: [PATCH 09/13] fix: Update dependency's --- packages/dart/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dart/pubspec.yaml b/packages/dart/pubspec.yaml index 97f19b39..0bf7b799 100644 --- a/packages/dart/pubspec.yaml +++ b/packages/dart/pubspec.yaml @@ -47,7 +47,7 @@ dev_dependencies: # Testing build_runner: ^2.4.9 mockito: ^5.4.2 - test: ^1.25.1 + test: ^1.24.9 screenshots: - description: Parse Platform logo. From c7ed3f6f84634c31152c9367fa00a416e5967818 Mon Sep 17 00:00:00 2001 From: Mohammad Bagher Fakouri Date: Tue, 2 Apr 2024 11:12:46 +0330 Subject: [PATCH 10/13] fix: Update dependency's --- packages/dart/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dart/pubspec.yaml b/packages/dart/pubspec.yaml index 0bf7b799..f55f750a 100644 --- a/packages/dart/pubspec.yaml +++ b/packages/dart/pubspec.yaml @@ -47,7 +47,7 @@ dev_dependencies: # Testing build_runner: ^2.4.9 mockito: ^5.4.2 - test: ^1.24.9 + test: ^1.25.0 screenshots: - description: Parse Platform logo. From dddc44d6f4519492dc61828bf80937ab62835b58 Mon Sep 17 00:00:00 2001 From: Mohammad Bagher Fakouri Date: Tue, 2 Apr 2024 11:13:51 +0330 Subject: [PATCH 11/13] fix: Update dependency's --- packages/dart/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dart/pubspec.yaml b/packages/dart/pubspec.yaml index f55f750a..0bf7b799 100644 --- a/packages/dart/pubspec.yaml +++ b/packages/dart/pubspec.yaml @@ -47,7 +47,7 @@ dev_dependencies: # Testing build_runner: ^2.4.9 mockito: ^5.4.2 - test: ^1.25.0 + test: ^1.24.9 screenshots: - description: Parse Platform logo. From f4ed8809a763232751863a7ac7d5b3ec6b6b6091 Mon Sep 17 00:00:00 2001 From: Mohammad Bagher Fakouri Date: Thu, 11 Apr 2024 10:39:45 +0330 Subject: [PATCH 12/13] refactor: bump version and add entries in CHANGELOG.md --- packages/dart/CHANGELOG.md | 10 ++++++++++ packages/dart/lib/src/base/parse_constants.dart | 2 +- packages/dart/pubspec.yaml | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/packages/dart/CHANGELOG.md b/packages/dart/CHANGELOG.md index 782a2a0f..823da11f 100644 --- a/packages/dart/CHANGELOG.md +++ b/packages/dart/CHANGELOG.md @@ -1,3 +1,13 @@ +## [7.0.0](https://github.com/parse-community/Parse-SDK-Flutter/compare/dart-6.4.0...dart-7.0.0) (2024-04-11) + +### BREAKING CHANGES + +* This release removes support for Dart 2.19 ([#993](https://github.com/parse-community/Parse-SDK-Flutter/pull/993)) + +### Features + +* Add support for Dart 3.1, 3.2, 3.3; remove support for Dart 2.19 ([#993](https://github.com/parse-community/Parse-SDK-Flutter/pull/993)) + ## [6.4.0](https://github.com/parse-community/Parse-SDK-Flutter/compare/dart-6.3.0...dart-6.4.0) (2024-03-30) ### Features diff --git a/packages/dart/lib/src/base/parse_constants.dart b/packages/dart/lib/src/base/parse_constants.dart index 4568480f..bd96e48f 100644 --- a/packages/dart/lib/src/base/parse_constants.dart +++ b/packages/dart/lib/src/base/parse_constants.dart @@ -1,7 +1,7 @@ part of '../../parse_server_sdk.dart'; // Library -const String keySdkVersion = '6.4.0'; +const String keySdkVersion = '7.0.0'; const String keyLibraryName = 'Flutter Parse SDK'; // End Points diff --git a/packages/dart/pubspec.yaml b/packages/dart/pubspec.yaml index 0bf7b799..369c91e8 100644 --- a/packages/dart/pubspec.yaml +++ b/packages/dart/pubspec.yaml @@ -1,6 +1,6 @@ name: parse_server_sdk description: The Dart SDK to connect to Parse Server. Build your apps faster with Parse Platform, the complete application stack. -version: 6.4.0 +version: 7.0.0 homepage: https://parseplatform.org repository: https://github.com/parse-community/Parse-SDK-Flutter issue_tracker: https://github.com/parse-community/Parse-SDK-Flutter/issues From 5c11e03fabd513f5988c521bafe4c2cc4e4a2572 Mon Sep 17 00:00:00 2001 From: Manuel <5673677+mtrezza@users.noreply.github.com> Date: Fri, 12 Apr 2024 20:02:58 +0200 Subject: [PATCH 13/13] Update packages/dart/CHANGELOG.md --- packages/dart/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dart/CHANGELOG.md b/packages/dart/CHANGELOG.md index 823da11f..cdee9b8f 100644 --- a/packages/dart/CHANGELOG.md +++ b/packages/dart/CHANGELOG.md @@ -1,4 +1,4 @@ -## [7.0.0](https://github.com/parse-community/Parse-SDK-Flutter/compare/dart-6.4.0...dart-7.0.0) (2024-04-11) +## [7.0.0](https://github.com/parse-community/Parse-SDK-Flutter/compare/dart-6.4.0...dart-7.0.0) (2024-04-12) ### BREAKING CHANGES