Skip to content

Commit 24ee249

Browse files
committed
Merge remote-tracking branch 'upstream/master' into pc_server
2 parents e266199 + 2513297 commit 24ee249

File tree

12 files changed

+32
-16
lines changed

12 files changed

+32
-16
lines changed

.github/workflows/release-automated.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,20 @@ jobs:
3838
- name: Install dependencies
3939
run: npm ci
4040
- name: Run semantic-release for dart package
41-
run: npx semantic-release
41+
run: |
42+
npx semantic-release || EXIT_CODE=$?
43+
if [ ${EXIT_CODE:-0} -ne 0 ] && [ ${EXIT_CODE:-0} -ne 69 ]; then
44+
exit $EXIT_CODE
45+
fi
4246
env:
4347
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
4448
PKG_NAME: dart
4549
- name: Run semantic-release for flutter package
46-
run: npx semantic-release
50+
run: |
51+
npx semantic-release || EXIT_CODE=$?
52+
if [ ${EXIT_CODE:-0} -ne 0 ] && [ ${EXIT_CODE:-0} -ne 69 ]; then
53+
exit $EXIT_CODE
54+
fi
4755
env:
4856
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
4957
PKG_NAME: flutter

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "parse-sdk-flutter",
3-
"version": "9.3.0",
3+
"version": "9.4.0",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/parse-community/Parse-SDK-Flutter.git"

packages/dart/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# [9.4.0](https://github.com/parse-community/Parse-SDK-Flutter/compare/dart-9.3.0...dart-9.4.0) (2025-11-29)
2+
3+
4+
### Features
5+
6+
* Bump lints from 4.0.0 to 6.0.0 in /packages/dart ([#1065](https://github.com/parse-community/Parse-SDK-Flutter/issues/1065)) ([3c58597](https://github.com/parse-community/Parse-SDK-Flutter/commit/3c58597d92fad8a25a1632c0bbd25ff48a2750f3))
7+
18
# [9.3.0](https://github.com/parse-community/Parse-SDK-Flutter/compare/dart-9.2.0...dart-9.3.0) (2025-11-29)
29

310

packages/dart/lib/parse_server_sdk.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// ignore_for_file: unnecessary_import
2-
library flutter_parse_sdk;
32

43
import 'dart:async';
54
import 'dart:convert';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import 'dart:io';
22
import 'package:http/io_client.dart';
33

4-
getClient(SecurityContext securityContext) {
4+
IOClient getClient(SecurityContext securityContext) {
55
return IOClient(HttpClient(context: securityContext));
66
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import 'package:http/browser_client.dart';
22

3-
getClient(dynamic securityContext) {
3+
BrowserClient getClient(dynamic securityContext) {
44
return BrowserClient();
55
}

packages/dart/lib/src/network/parse_dio_client.dart

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,10 @@ class ParseDioClient extends ParseClient {
6868
statusCode: error.response?.statusCode ?? ParseError.otherCause,
6969
);
7070
} else {
71-
return _getOtherCaseErrorForParseNetworkResponse(
72-
error.error.toString(),
71+
return ParseNetworkByteResponse(
72+
data:
73+
"{\"code\":${ParseError.otherCause},\"error\":\"${error.error.toString()}\"}",
74+
statusCode: ParseError.otherCause,
7375
);
7476
}
7577
}
@@ -160,7 +162,7 @@ class ParseDioClient extends ParseClient {
160162
}
161163
}
162164

163-
_getOtherCaseErrorForParseNetworkResponse(String error) {
165+
ParseNetworkResponse _getOtherCaseErrorForParseNetworkResponse(String error) {
164166
return ParseNetworkResponse(
165167
data: "{\"code\":${ParseError.otherCause},\"error\":\"$error\"}",
166168
statusCode: ParseError.otherCause,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ class ParseInstallation extends ParseObject {
276276
await save();
277277
}
278278

279-
///Returns an <List<String>> containing all the channel names this device is subscribed to.
279+
///Returns a `List<String>` containing all the channel names this device is subscribed to.
280280
Future<List<dynamic>> getSubscribedChannels() async {
281281
print('getSubscribedChannels');
282282
final ParseResponse apiResponse = await ParseObject(

packages/dart/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: parse_server_sdk
22
description: The Dart SDK to connect to Parse Server. Build your apps faster with Parse Platform, the complete application stack.
3-
version: 9.3.0
3+
version: 9.4.0
44
homepage: https://parseplatform.org
55
repository: https://github.com/parse-community/Parse-SDK-Flutter
66
issue_tracker: https://github.com/parse-community/Parse-SDK-Flutter/issues
@@ -43,7 +43,7 @@ dependencies:
4343
cross_file: ^0.3.3+8
4444

4545
dev_dependencies:
46-
lints: ^5.1.1
46+
lints: ">=4.0.0 <7.0.0"
4747

4848
# Testing
4949
build_runner: ^2.4.9

0 commit comments

Comments
 (0)