diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f090059f..b17df6f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,6 @@ on: push: branches: - "master" - - "development" paths-ignore: - "**/README.md" pull_request: @@ -16,23 +15,23 @@ jobs: matrix: include: # Dart framework may contain breaking changes in minor version releases, not following semver. - - name: Dart 3.0, Ubuntu + # The latest Dart framework (below) is tested on all architectures (Ubuntu, macOS, Windows). + - name: Dart 3.1, Ubuntu os: ubuntu-latest - sdk: 3.0.0 - - name: Dart 3.0, macOS + sdk: 3.1.2 + - name: Dart 3.1, macOS os: macos-latest - sdk: 3.0.0 - - name: Dart 3.0, Windows + sdk: 3.1.2 + - name: Dart 3.1, Windows os: windows-latest - sdk: 3.0.0 - # Only the latest Dart framework version (above) is tested with all architectures. Previous - # Dart framework versions (below) are only tested with Ubuntu to reduce CI resource usage. + sdk: 3.1.2 + # Older Dart framework versions (below) are only tested with Ubuntu to reduce CI resource usage. + - name: Dart 3.0 + os: ubuntu-latest + sdk: 3.0.7 - name: Dart 2.19 os: ubuntu-latest sdk: 2.19.6 - - name: Dart 2.18 - os: ubuntu-latest - sdk: 2.18.7 - name: Dart beta os: ubuntu-latest sdk: beta @@ -40,7 +39,7 @@ jobs: name: Test ${{ matrix.name }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup dart uses: dart-lang/setup-dart@v1.5.0 with: @@ -77,6 +76,7 @@ jobs: matrix: include: # Flutter framework may contain breaking changes in minor version releases, not following semver. + # The latest Flutter framework (below) is tested on all architectures (Ubuntu, macOS, Windows). - name: Flutter 3.13, Ubuntu os: ubuntu-latest sdk: 3.13.6 @@ -86,8 +86,7 @@ jobs: - name: Flutter 3.13, Windows os: windows-latest sdk: 3.13.6 - # Only the latest Flutter framework version (above) is tested with all architectures. Previous - # Flutter framework versions (below) are only tested with Ubuntu to reduce CI resource usage. + # Older Flutter framework versions (below) are only tested with Ubuntu to reduce CI resource usage. - name: Flutter 3.10 os: ubuntu-latest sdk: 3.10.6 diff --git a/packages/dart/CHANGELOG.md b/packages/dart/CHANGELOG.md index af36e841..af6613f6 100644 --- a/packages/dart/CHANGELOG.md +++ b/packages/dart/CHANGELOG.md @@ -1,3 +1,13 @@ +## [6.0.0](https://github.com/parse-community/Parse-SDK-Flutter/compare/dart-5.1.3...dart-6.0.0) (2023-10-16) + +### BREAKING CHANGES + +* This release removes support for Dart 2.18 ([#969](https://github.com/parse-community/Parse-SDK-Flutter/pull/969)) + +### Features + +* Add support for Dart 3.1, remove support for Dart 2.18 ([#969](https://github.com/parse-community/Parse-SDK-Flutter/pull/969)) + ## [5.1.3](https://github.com/parse-community/Parse-SDK-Flutter/compare/dart-5.1.2...dart-5.1.3) (2023-07-18) ### Bug Fixes diff --git a/packages/dart/README.md b/packages/dart/README.md index 95c1a621..0a751c7b 100644 --- a/packages/dart/README.md +++ b/packages/dart/README.md @@ -28,14 +28,13 @@ This library gives you access to the powerful Parse Server backend from your Dar ## Compatibility -The Parse Dart SDK is continuously tested with the most recent release of the Dart framework to ensure compatibility. To give developers time to upgrade their app to the newest Dart framework, previous Dart framework releases are supported for at least 1 year after their [release date](https://dart.dev/get-dart/archive). +The Parse Dart SDK is continuously tested with the most recent release of the Dart framework to ensure compatibility. To give developers time to upgrade their app to a newer Dart framework, previous Dart framework releases are supported for at least 1 year after the [release date](https://dart.dev/get-dart/archive) of the next higher significant version. -| Version | Latest Version | End of Support | Compatible | -|-----------|----------------|----------------|----------------------------------------------| -| Dart 3.0 | 3.0.0 | May 2024 | ✅ Yes | -| Dart 2.19 | 2.19.6 | Mar 2024 | ✅ Yes | -| Dart 2.18 | 2.18.7 | Jan 2024 | ✅ Yes | -| Dart 2.17 | 2.17.7 | Aug 2023 | ❌ No (Parse Dart SDK requires Dart >=2.18.0) | +| Version | Latest Version | End of Support | Compatible | +|-----------|----------------|----------------|------------| +| Dart 3.1 | 3.1.2 | Sep 2024 | ✅ Yes | +| Dart 3.0 | 3.0.7 | May 2024 | ✅ Yes | +| Dart 2.19 | 2.19.6 | Mar 2024 | ✅ Yes | ## Getting Started @@ -51,3 +50,4 @@ We want to make contributing to this project as easy and transparent as possible [guide]: https://docs.parseplatform.org/dart/guide/ [open-collective-link]: https://opencollective.com/parse-server + diff --git a/packages/dart/example/pubspec.yaml b/packages/dart/example/pubspec.yaml index 331856eb..0a2e92fa 100644 --- a/packages/dart/example/pubspec.yaml +++ b/packages/dart/example/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: 'none' version: 1.0.0 environment: - sdk: ">=2.18.0 <4.0.0" + sdk: ">=2.19.6 <4.0.0" dependencies: parse_server_sdk: diff --git a/packages/dart/lib/src/base/parse_constants.dart b/packages/dart/lib/src/base/parse_constants.dart index 18ebe01a..fa085fc1 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 flutter_parse_sdk; // Library -const String keySdkVersion = '5.1.3'; +const String keySdkVersion = '6.0.0'; const String keyLibraryName = 'Flutter Parse SDK'; // End Points diff --git a/packages/dart/pubspec.yaml b/packages/dart/pubspec.yaml index b11457b1..56e5d407 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: 5.1.3 +version: 6.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,7 +18,7 @@ topics: - backend environment: - sdk: ">=2.18.0 <4.0.0" + sdk: ">=2.19.6 <4.0.0" dependencies: # Networking