Skip to content

Commit af97557

Browse files
committed
fix: Add support for Dart 3.6, 3.7; remove support for Dart 3.2, 3.3, 3.4, 3.5, 3.3
1 parent ec71870 commit af97557

File tree

5 files changed

+30
-42
lines changed

5 files changed

+30
-42
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,19 @@ jobs:
1616
include:
1717
# Dart framework may contain breaking changes in minor version releases, not following semver.
1818
# The latest Dart framework (below) is tested on all architectures (Ubuntu, macOS, Windows).
19-
- name: Dart 3.5, Ubuntu
19+
- name: Dart 3.7, Ubuntu
2020
os: ubuntu-latest
21-
sdk: 3.5.3
22-
- name: Dart 3.5, macOS
21+
sdk: 3.7.3
22+
- name: Dart 3.7, macOS
2323
os: macos-latest
24-
sdk: 3.5.3
25-
- name: Dart 3.5, Windows
24+
sdk: 3.7.3
25+
- name: Dart 3.7, Windows
2626
os: windows-latest
27-
sdk: 3.5.3
27+
sdk: 3.7.3
2828
# Older Dart framework versions (below) are only tested with Ubuntu to reduce CI resource usage.
29-
- name: Dart 3.4
29+
- name: Dart 3.6
3030
os: ubuntu-latest
31-
sdk: 3.4.4
32-
- name: Dart 3.3
33-
os: ubuntu-latest
34-
sdk: 3.3.4
35-
- name: Dart 3.2
36-
os: ubuntu-latest
37-
sdk: 3.2.6
31+
sdk: 3.6.2
3832
- name: Dart beta
3933
os: ubuntu-latest
4034
sdk: beta

packages/dart/README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,12 @@ This library gives you access to the powerful Parse Server backend from your Dar
2828

2929
## Compatibility
3030

31-
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.
32-
33-
| Version | Latest Version | End of Support | Compatible |
34-
|-----------|----------------|----------------|------------|
35-
| Dart 3.2 | 3.2.6 | Jan 2025 | ✅ Yes |
36-
| Dart 3.3 | 3.3.4 | Apr 2025 | ✅ Yes |
37-
| Dart 3.4 | 3.4.4 | Jun 2025 | ✅ Yes |
38-
| Dart 3.5 | 3.5.3 | Sep 2025 | ✅ Yes |
31+
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 6 month after the [release date](https://dart.dev/get-dart/archive) of the next higher significant version.
32+
33+
| Version | Latest Version | Release Date | End of Support | Compatible |
34+
|----------|----------------|--------------|----------------|------------|
35+
| Dart 3.6 | 3.6.2 | Jan 2025 | Jun 2025 | ✅ Yes |
36+
| Dart 3.7 | 3.7.3 | Apr 2025 | Sep 2025 | ✅ Yes |
3937

4038
## Getting Started
4139

packages/dart/lib/parse_server_sdk.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// ignore_for_file: unnecessary_import
2-
library flutter_parse_sdk;
3-
41
import 'dart:async';
52
import 'dart:convert';
63
import 'dart:math';
@@ -12,7 +9,6 @@ import 'package:dio/dio.dart';
129
import 'package:meta/meta.dart';
1310
import 'package:mime/mime.dart';
1411
import 'package:path/path.dart' as path;
15-
import 'package:sembast/sembast.dart';
1612
import 'package:sembast/sembast_io.dart';
1713
import 'package:sembast_web/sembast_web.dart';
1814
import 'package:timezone/data/latest.dart' as tz;

packages/dart/lib/src/objects/parse_installation.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ class ParseInstallation extends ParseObject {
248248
await save();
249249
}
250250

251-
///Returns an <List<String>> containing all the channel names this device is subscribed to.
251+
///Returns an List containing all the channel names this device is subscribed to.
252252
Future<List<dynamic>> getSubscribedChannels() async {
253253
print('getSubscribedChannels');
254254
final ParseResponse apiResponse =

packages/dart/pubspec.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,36 +18,36 @@ topics:
1818
- backend
1919

2020
environment:
21-
sdk: ">=3.2.6 <4.0.0"
21+
sdk: ^3.6.2
2222

2323
dependencies:
2424
# Networking
25-
dio: ^5.7.0
26-
http: ^1.2.0
27-
web_socket_channel: ^2.4.3
25+
dio: ^5.8.0+1
26+
http: ^1.3.0
27+
web_socket_channel: ^3.0.3
2828

2929
#Database
30-
sembast: ^3.6.0
31-
sembast_web: ^2.2.0
30+
sembast: ^3.8.5
31+
sembast_web: ^2.4.1
3232

3333
# Utils
3434
uuid: ^4.5.1
3535
meta: ^1.16.0
36-
path: ^1.9.0
37-
mime: ^1.0.0
38-
timezone: ^0.9.4
36+
path: ^1.9.1
37+
mime: ^2.0.0
38+
timezone: ^0.10.0
3939
universal_io: ^2.2.2
4040
xxtea: ^2.1.0
41-
collection: ^1.18.0
42-
cross_file: ^0.3.3+8
41+
collection: ^1.19.1
42+
cross_file: ^0.3.4+2
4343

4444
dev_dependencies:
45-
lints: ^4.0.0
45+
lints: ^5.1.1
4646

4747
# Testing
48-
build_runner: ^2.4.9
49-
mockito: ^5.4.4
50-
test: ^1.25.7
48+
build_runner: ^2.4.15
49+
mockito: ^5.4.5
50+
test: ^1.25.15
5151

5252
screenshots:
5353
- description: Parse Platform logo.

0 commit comments

Comments
 (0)