diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7de03b18..c4228b49 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,25 +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.3, Ubuntu + - name: Dart 3.5, Ubuntu os: ubuntu-latest - sdk: 3.3.3 - - name: Dart 3.3, macOS + sdk: 3.5.3 + - name: Dart 3.5, macOS os: macos-latest - sdk: 3.3.3 - - name: Dart 3.3, Windows + sdk: 3.5.3 + - name: Dart 3.5, Windows os: windows-latest - sdk: 3.3.3 + sdk: 3.5.3 # Older Dart framework versions (below) are only tested with Ubuntu to reduce CI resource usage. - - name: Dart 3.2 + - name: Dart 3.4 os: ubuntu-latest - sdk: 3.2.6 - - name: Dart 3.1 + sdk: 3.4.4 + - name: Dart 3.3 os: ubuntu-latest - sdk: 3.1.5 - - name: Dart 3.0 + sdk: 3.3.4 + - name: Dart 3.2 os: ubuntu-latest - sdk: 3.0.7 + sdk: 3.2.6 - name: Dart beta os: ubuntu-latest sdk: beta diff --git a/packages/dart/CHANGELOG.md b/packages/dart/CHANGELOG.md index aafb4bad..5d871fa6 100644 --- a/packages/dart/CHANGELOG.md +++ b/packages/dart/CHANGELOG.md @@ -1,3 +1,13 @@ +## [8.0.0](https://github.com/parse-community/Parse-SDK-Flutter/compare/dart-7.0.1...dart-8.0.0) (2024-10-17) + +### BREAKING CHANGES + +* This release removes support for Dart 3.0, 3.1 ([#1016](https://github.com/parse-community/Parse-SDK-Flutter/pull/1016)) + +### Features + +* Add support for Dart 3.4, 3.5; remove support for Dart 3.0, 3.1 ([#1016](https://github.com/parse-community/Parse-SDK-Flutter/pull/1016)) + ## [7.0.1](https://github.com/parse-community/Parse-SDK-Flutter/compare/dart-7.0.0...dart-7.0.1) (2024-10-16) ### Bug Fixes diff --git a/packages/dart/README.md b/packages/dart/README.md index 7eb6995a..001c7274 100644 --- a/packages/dart/README.md +++ b/packages/dart/README.md @@ -32,10 +32,10 @@ The Parse Dart SDK is continuously tested with the most recent release of the Da | Version | Latest Version | End of Support | Compatible | |-----------|----------------|----------------|------------| -| 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 3.3 | 3.3.4 | Apr 2025 | ✅ Yes | +| Dart 3.4 | 3.4.4 | Jun 2025 | ✅ Yes | +| Dart 3.5 | 3.5.3 | Sep 2025 | ✅ Yes | ## Getting Started diff --git a/packages/dart/lib/parse_server_sdk.dart b/packages/dart/lib/parse_server_sdk.dart index 555393de..3b27e056 100644 --- a/packages/dart/lib/parse_server_sdk.dart +++ b/packages/dart/lib/parse_server_sdk.dart @@ -1,3 +1,4 @@ +// ignore_for_file: unnecessary_import library flutter_parse_sdk; import 'dart:async'; @@ -28,58 +29,111 @@ export 'src/network/parse_dio_client.dart'; export 'src/network/parse_http_client.dart'; part 'src/base/parse_constants.dart'; + part 'src/data/parse_core_data.dart'; + part 'src/data/parse_subclass_handler.dart'; + part 'src/enums/parse_enum_api_rq.dart'; + part 'src/network/options.dart'; + part 'src/network/parse_client.dart'; + part 'src/network/parse_connectivity.dart'; + part 'src/network/parse_live_query.dart'; + part 'src/network/parse_query.dart'; + part 'src/objects/parse_acl.dart'; + part 'src/objects/parse_array.dart'; + part 'src/objects/parse_base.dart'; + part 'src/objects/parse_cloneable.dart'; + part 'src/objects/parse_config.dart'; + part 'src/objects/parse_error.dart'; + part 'src/objects/parse_exception.dart'; + part 'src/objects/parse_file.dart'; + part 'src/objects/parse_file_base.dart'; + part 'src/objects/parse_file_web.dart'; + part 'src/objects/parse_function.dart'; + part 'src/objects/parse_geo_point.dart'; + part 'src/objects/parse_installation.dart'; + part 'src/objects/parse_number.dart'; + part 'src/objects/parse_object.dart'; + part 'src/objects/parse_operation/parse_add_operation.dart'; + part 'src/objects/parse_operation/parse_add_relation_operation.dart'; + part 'src/objects/parse_operation/parse_add_unique_operation.dart'; + part 'src/objects/parse_operation/parse_increment_operation.dart'; + part 'src/objects/parse_operation/parse_operation.dart'; + part 'src/objects/parse_operation/parse_remove_operation.dart'; + part 'src/objects/parse_operation/parse_remove_relation_operation.dart'; + part 'src/objects/parse_relation.dart'; + part 'src/objects/parse_response.dart'; + part 'src/objects/parse_save_state_aware_child.dart'; + part 'src/objects/parse_session.dart'; + part 'src/objects/parse_user.dart'; + part 'src/objects/parse_x_file.dart'; + part 'src/objects/response/parse_error_response.dart'; + part 'src/objects/response/parse_exception_response.dart'; + part 'src/objects/response/parse_response_builder.dart'; + part 'src/objects/response/parse_response_utils.dart'; + part 'src/objects/response/parse_success_no_results.dart'; + part 'src/storage/core_store.dart'; + part 'src/storage/core_store_memory.dart'; + part 'src/storage/core_store_sem_impl.dart'; + part 'src/storage/xxtea_codec.dart'; + part 'src/utils/parse_date_format.dart'; + part 'src/utils/parse_decoder.dart'; + part 'src/utils/parse_encoder.dart'; + part 'src/utils/parse_live_list.dart'; + part 'src/utils/parse_logger.dart'; + part 'src/utils/parse_login_helpers.dart'; + part 'src/utils/parse_utils.dart'; + part 'src/utils/valuable.dart'; class Parse { diff --git a/packages/dart/lib/src/base/parse_constants.dart b/packages/dart/lib/src/base/parse_constants.dart index c38880c6..5136d4c5 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 = '7.0.1'; +const String keySdkVersion = '8.0.0'; const String keyLibraryName = 'Flutter Parse SDK'; // End Points diff --git a/packages/dart/lib/src/network/parse_query.dart b/packages/dart/lib/src/network/parse_query.dart index 420b6fd8..6c27390f 100644 --- a/packages/dart/lib/src/network/parse_query.dart +++ b/packages/dart/lib/src/network/parse_query.dart @@ -80,7 +80,7 @@ class QueryBuilder { if (!limiters.containsKey('order')) { limiters['order'] = order; } else { - limiters['order'] = limiters['order'] + ',' + order; + limiters['order'] = '${limiters['order']},$order'; } } diff --git a/packages/dart/pubspec.yaml b/packages/dart/pubspec.yaml index 2d31f3e5..ae668f69 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: 7.0.1 +version: 8.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 @@ -18,36 +18,36 @@ topics: - backend environment: - sdk: ">=3.0.7 <4.0.0" + sdk: ">=3.2.6 <4.0.0" dependencies: # Networking - dio: ^5.4.2+1 - http: ^1.1.0 - web_socket_channel: ^2.4.0 + dio: ^5.7.0 + http: ^1.2.0 + web_socket_channel: ^2.4.3 #Database sembast: ^3.6.0 sembast_web: ^2.2.0 # Utils - uuid: ^4.3.3 - meta: ^1.12.0 + uuid: ^4.5.1 + meta: ^1.16.0 path: ^1.9.0 - mime: ^1.0.4 - timezone: ^0.9.2 + mime: ^1.0.0 + timezone: ^0.9.4 universal_io: ^2.2.2 xxtea: ^2.1.0 collection: ^1.18.0 - cross_file: ^0.3.3+7 + cross_file: ^0.3.3+8 dev_dependencies: - lints: ^3.0.0 + lints: ^4.0.0 # Testing build_runner: ^2.4.9 - mockito: ^5.4.2 - test: ^1.24.9 + mockito: ^5.4.4 + test: ^1.25.7 screenshots: - description: Parse Platform logo.