From 8a188fe2bfeab1ebe934e3bdb4f7d378c2b6e05e Mon Sep 17 00:00:00 2001 From: mbfakourii Date: Sun, 27 Nov 2022 13:39:26 +0330 Subject: [PATCH 01/13] fix bug buildErrorResponse in statusCode --- .../dart/lib/src/objects/response/parse_error_response.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 5f8deaa53..72beb855c 100644 --- a/packages/dart/lib/src/objects/response/parse_error_response.dart +++ b/packages/dart/lib/src/objects/response/parse_error_response.dart @@ -5,7 +5,7 @@ ParseResponse buildErrorResponse( ParseResponse response, ParseNetworkResponse apiResponse) { final Map responseData = json.decode(apiResponse.data); response.error = ParseError( - code: responseData[keyCode], message: responseData[keyError].toString()); - response.statusCode = responseData[keyCode]; + code: apiResponse.statusCode, message: responseData[keyError].toString()); + response.statusCode = apiResponse.statusCode; return response; -} +} \ No newline at end of file From fed7cf3f1d05b087133abb3632548be6af46c0b3 Mon Sep 17 00:00:00 2001 From: mbfakourii Date: Sun, 27 Nov 2022 14:05:41 +0330 Subject: [PATCH 02/13] fix lint error for dart code format --- .../dart/lib/src/objects/response/parse_error_response.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 72beb855c..55e253305 100644 --- a/packages/dart/lib/src/objects/response/parse_error_response.dart +++ b/packages/dart/lib/src/objects/response/parse_error_response.dart @@ -8,4 +8,4 @@ ParseResponse buildErrorResponse( code: apiResponse.statusCode, message: responseData[keyError].toString()); response.statusCode = apiResponse.statusCode; return response; -} \ No newline at end of file +} From 65644a06223cd49027649611ea3bbc4f95d72a43 Mon Sep 17 00:00:00 2001 From: mbfakourii Date: Mon, 28 Nov 2022 09:35:40 +0330 Subject: [PATCH 03/13] Back to the previous method, but with the null condition check --- .../dart/lib/src/objects/response/parse_error_response.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 55e253305..07c78cec3 100644 --- a/packages/dart/lib/src/objects/response/parse_error_response.dart +++ b/packages/dart/lib/src/objects/response/parse_error_response.dart @@ -5,7 +5,8 @@ ParseResponse buildErrorResponse( ParseResponse response, ParseNetworkResponse apiResponse) { final Map responseData = json.decode(apiResponse.data); response.error = ParseError( - code: apiResponse.statusCode, message: responseData[keyError].toString()); - response.statusCode = apiResponse.statusCode; + code: responseData[keyCode] ?? apiResponse.statusCode, + message: responseData[keyError].toString()); + response.statusCode = responseData[keyCode] ?? apiResponse.statusCode; return response; } From d5f0657dd06fbb4ad6c7890303e946d72d39e773 Mon Sep 17 00:00:00 2001 From: mbfakourii Date: Tue, 29 Nov 2022 13:18:08 +0330 Subject: [PATCH 04/13] use -1 instead of ParseNetworkResponse.statusCode --- .../dart/lib/src/objects/response/parse_error_response.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 07c78cec3..5bc33c8c7 100644 --- a/packages/dart/lib/src/objects/response/parse_error_response.dart +++ b/packages/dart/lib/src/objects/response/parse_error_response.dart @@ -5,8 +5,8 @@ ParseResponse buildErrorResponse( ParseResponse response, ParseNetworkResponse apiResponse) { final Map responseData = json.decode(apiResponse.data); response.error = ParseError( - code: responseData[keyCode] ?? apiResponse.statusCode, + code: responseData[keyCode] ?? -1, message: responseData[keyError].toString()); - response.statusCode = responseData[keyCode] ?? apiResponse.statusCode; + response.statusCode = responseData[keyCode] ?? -1; return response; } From 60a82288aa329b0537b5d936e6c5785837294be7 Mon Sep 17 00:00:00 2001 From: mbfakourii Date: Thu, 1 Dec 2022 10:10:04 +0330 Subject: [PATCH 05/13] add const error code in ParseError and set ParseError.otherCause in parse_error_response.dart and parse_exception_response.dart --- .../dart/lib/src/objects/parse_error.dart | 327 +++++++++++++++--- .../response/parse_error_response.dart | 4 +- .../response/parse_exception_response.dart | 2 +- 3 files changed, 277 insertions(+), 56 deletions(-) diff --git a/packages/dart/lib/src/objects/parse_error.dart b/packages/dart/lib/src/objects/parse_error.dart index a13b32c5d..8dc8e4f7f 100644 --- a/packages/dart/lib/src/objects/parse_error.dart +++ b/packages/dart/lib/src/objects/parse_error.dart @@ -3,8 +3,8 @@ part of flutter_parse_sdk; /// ParseException is used in [ParseResult] to inform the user of the exception class ParseError { ParseError( - {this.code = -1, - this.message = 'Unknown error', + {this.code = otherCause, + this.message = 'OtherCause', this.exception, bool debug = false}) { type = _exceptions[code]; @@ -13,58 +13,279 @@ class ParseError { } } + /// Error code indicating some error other than those enumerated here. + static const int otherCause = -1; + + /// Error code indicating that something has gone wrong with the server. + static const int internalServerError = 1; + + /// Error code indicating the connection to the Parse servers failed. + static const int connectionFailed = 100; + + /// Error code indicating the specified object doesn't exist. + static const int objectNotFound = 101; + + /// Error code indicating you tried to query with a datatype that doesn't + /// support it, like exact matching an array or object. + static const int invalidQuery = 102; + + /// Error code indicating a missing or invalid classname. Classnames are + /// case-sensitive. They must start with a letter, and a-zA-Z0-9_ are the + /// only valid characters. + static const int invalidClassName = 103; + + /// Error code indicating an unspecified object id. + static const int missingObjectId = 104; + + /// Error code indicating an invalid key name. Keys are case-sensitive. They + /// must start with a letter, and a-zA-Z0-9_ are the only valid characters. + static const int invalidKeyName = 105; + + /// Error code indicating a malformed pointer. You should not see this unless + /// you have been mucking about changing internal Parse code. + static const int invalidPointer = 106; + + /// Error code indicating that badly formed JSON was received upstream. This + /// either indicates you have done something unusual with modifying how + /// things encode to JSON, or the network is failing badly. + static const int invalidJson = 107; + + /// Error code indicating that the feature you tried to access is only + /// available internally for testing purposes. + static const int commandUnavailable = 108; + + /// You must call Parse().initialize before using the Parse library. + static const int notInitialized = 109; + + /// Error code indicating that a field was set to an inconsistent type. + static const int incorrectType = 111; + + /// Error code indicating an invalid channel name. A channel name is either + /// an empty string (the broadcast channel) or contains only a-zA-Z0-9_ + /// characters and starts with a letter. + static const int invalidChannelName = 112; + + /// Error code indicating that push is misconfigured. + static const int pushMisconfigured = 115; + + /// Error code indicating that the object is too large. + static const int objectTooLarge = 116; + + /// Error code indicating that the operation isn't allowed for clients. + static const int operationForbidden = 119; + + /// Error code indicating the result was not found in the cache. + static const int cacheMiss = 120; + + /// Error code indicating that an invalid key was used in a nested + /// JSONObject. + static const int invalidNestedKey = 121; + + /// Error code indicating that an invalid filename was used for ParseFile. + /// A valid file name contains only a-zA-Z0-9_. characters and is between 1 + /// and 128 characters. + static const int invalidFileName = 122; + + /// Error code indicating an invalid ACL was provided. + static const int invalidAcl = 123; + + /// Error code indicating that the request timed out on the server. Typically + /// this indicates that the request is too expensive to run. + static const int timeout = 124; + + /// Error code indicating that the email address was invalid. + static const int invalidEmailAddress = 125; + + /// Error code indicating a missing content type. + static const int missingContentType = 126; + + /// Error code indicating a missing content length. + static const int missingContentLength = 127; + + /// Error code indicating an invalid content length. + static const int invalidContentLength = 128; + + /// Error code indicating a file that was too large. + static const int fileTooLarge = 129; + + /// Error code indicating an error saving a file. + static const int fileSaveError = 130; + + /// Error code indicating that a unique field was given a value that is + /// already taken. + static const int duplicateValue = 137; + + /// Error code indicating that a role's name is invalid. + static const int invalidRoleName = 139; + + /// Error code indicating that an application quota was exceeded. Upgrade to + /// resolve. + static const int exceededQuota = 140; + + /// Error code indicating that a Cloud Code script failed. + static const int scriptFailed = 141; + + /// Error code indicating that a Cloud Code validation failed. + static const int validationError = 142; + + /// Error code indicating that invalid image data was provided. + static const int invalidImageData = 143; + + /// Error code indicating an unsaved file. + static const int unsavedFileError = 151; + + /// Error code indicating an invalid push time. + static const int invalidPushTimeError = 152; + + /// Error code indicating an error deleting a file. + static const int fileDeleteError = 153; + + /// Error code indicating an error deleting an unnamed file. + static const int fileDeleteUnnamedError = 161; + + /// Error code indicating that the application has exceeded its request + /// limit. + static const int requestLimitExceeded = 155; + + /// Error code indicating that the request was a duplicate and has been discarded due to + /// idempotency rules. + static const int duplicateRequest = 159; + + /// Error code indicating an invalid event name. + static const int invalidEventName = 160; + + /// Error code indicating that a field had an invalid value. + static const int invalidValue = 162; + + /// Error code indicating that the username is missing or empty. + static const int usernameMissing = 200; + + /// Error code indicating that the password is missing or empty. + static const int passwordMissing = 201; + + /// Error code indicating that the username has already been taken. + static const int usernameTaken = 202; + + /// Error code indicating that the email has already been taken. + static const int emailTaken = 203; + + /// Error code indicating that the email is missing, but must be specified. + static const int emailMissing = 204; + + /// Error code indicating that a user with the specified email was not found. + static const int emailNotFound = 205; + + /// Error code indicating that a user object without a valid session could + /// not be altered. + static const int sessionMissing = 206; + + /// Error code indicating that a user can only be created through signup. + static const int mustCreateUserThroughSignup = 207; + + /// Error code indicating that an an account being linked is already linked + /// to another user. + static const int accountAlreadyLinked = 208; + + /// Error code indicating that the current session token is invalid. + static const int invalidSessionToken = 209; + + /// Error code indicating an error enabling or verifying MFA + static const int mfaError = 210; + + /// Error code indicating that a valid MFA token must be provided + static const int mfaTokenRequired = 211; + + /// Error code indicating that a user cannot be linked to an account because + /// that account's id could not be found. + static const int linkedIdMissing = 250; + + /// Error code indicating that a user with a linked (e.g. Facebook) account + /// has an invalid session. + static const int invalidLinkedSession = 251; + + /// Error code indicating that a service being linked (e.g. Facebook or + /// Twitter) is unsupported. + static const int unsupportedService = 252; + + /// Error code indicating an invalid operation occured on schema + static const int invalidSchemaOperation = 255; + + /// Error code indicating that there were multiple errors. Aggregate errors + /// have an "errors" property, which is an array of error objects with more + /// detail about each error that occurred. + static const int aggregateError = 600; + + /// Error code indicating the client was unable to read an input file. + static const int fileReadError = 601; + + /// Error code indicating a real error code is unavailable because + /// we had to use an XDomainRequest object to allow CORS requests in + /// Internet Explorer, which strips the body from HTTP responses that have + /// a non-2XX status code. + static const int xDomainRequest = 602; + static const Map _exceptions = { - -1: 'UnknownError', - - // SDK errors / Errors - 1: 'No Results', - 2: 'OK', - 400: 'Bad Request', - - // Parse specific / Exceptions - 100: 'ConnectionFailed', - 101: 'ObjectNotFound', - 102: 'InvalidQuery', - 103: 'InvalidClassName', - 104: 'MissingObjectId', - 105: 'InvalidKeyName', - 106: 'InvalidPointer', - 107: 'InvalidJson', - 108: 'CommandUnavailable', - 109: 'NotInitialized', - 111: 'IncorrectType', - 112: 'InvalidChannelName', - 115: 'PushMisconfigured', - 116: 'ObjectTooLarge', - 119: 'OperationForbidden', - 120: 'CacheMiss', - 121: 'InvalidNestedKey', - 122: 'InvalidFileName', - 123: 'InvalidAcl', - 124: 'Timeout', - 125: 'InvalidEmailAddress', - 135: 'MissingRequiredFieldError', - 137: 'DuplicateValue', - 139: 'InvalidRoleName', - 140: 'ExceededQuota', - 141: 'ScriptError', - 142: 'ValidationError', - 153: 'FileDeleteError', - 155: 'RequestLimitExceeded', - 160: 'InvalidEventName', - 200: 'UsernameMissing', - 201: 'PasswordMissing', - 202: 'UsernameTaken', - 203: 'EmailTaken', - 204: 'EmailMissing', - 205: 'EmailNotFound', - 206: 'SessionMissing', - 207: 'MustCreateUserThroughSignUp', - 208: 'AccountAlreadyLinked', - 209: 'InvalidSessionToken', - 250: 'LinkedIdMissing', - 251: 'InvalidLinkedSession', - 252: 'UnsupportedService' + otherCause: 'OtherCause', + internalServerError: 'InternalServerError', + connectionFailed: 'ConnectionFailed', + objectNotFound: 'ObjectNotFound', + invalidQuery: 'InvalidQuery', + invalidClassName: 'InvalidClassName', + missingObjectId: 'MissingObjectId', + invalidKeyName: 'InvalidKeyName', + invalidPointer: 'InvalidPointer', + invalidJson: 'InvalidJson', + commandUnavailable: 'CommandUnavailable', + notInitialized: 'NotInitialized', + incorrectType: 'IncorrectType', + invalidChannelName: 'InvalidChannelName', + pushMisconfigured: 'PushMisconfigured', + objectTooLarge: 'ObjectTooLarge', + operationForbidden: 'OperationForbidden', + cacheMiss: 'CacheMiss', + invalidNestedKey: 'InvalidNestedKey', + invalidFileName: 'InvalidFileName', + invalidAcl: 'InvalidAcl', + timeout: 'Timeout', + invalidEmailAddress: 'InvalidEmailAddress', + missingContentType: 'MissingContentType', + missingContentLength: 'MissingContentLength', + invalidContentLength: 'InvalidContentLength', + fileTooLarge: 'FileTooLarge', + fileSaveError: 'FileSaveError', + duplicateValue: 'DuplicateValue', + invalidRoleName: 'InvalidRoleName', + exceededQuota: 'ExceededQuota', + scriptFailed: 'ScriptError', + validationError: 'ValidationError', + invalidImageData: 'InvalidImageData', + unsavedFileError: 'UnsavedFileError', + invalidPushTimeError: 'InvalidPushTimeError', + fileDeleteError: 'FileDeleteError', + fileDeleteUnnamedError: 'FileDeleteUnnamedError', + requestLimitExceeded: 'RequestLimitExceeded', + duplicateRequest: 'DuplicateRequest', + invalidEventName: 'InvalidEventName', + invalidValue: 'InvalidValue', + usernameMissing: 'UsernameMissing', + passwordMissing: 'PasswordMissing', + usernameTaken: 'UsernameTaken', + emailTaken: 'EmailTaken', + emailMissing: 'EmailMissing', + emailNotFound: 'EmailNotFound', + sessionMissing: 'SessionMissing', + mustCreateUserThroughSignup: 'MustCreateUserThroughSignUp', + accountAlreadyLinked: 'AccountAlreadyLinked', + invalidSessionToken: 'InvalidSessionToken', + mfaError: 'MfaError', + mfaTokenRequired: 'MfaTokenRequired', + linkedIdMissing: 'LinkedIdMissing', + invalidLinkedSession: 'InvalidLinkedSession', + unsupportedService: 'UnsupportedService', + invalidSchemaOperation: 'InvalidSchemaOperation', + aggregateError: 'AggregateError', + fileReadError: 'FileReadError', + xDomainRequest: 'XDomainRequest', }; final int code; 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 5bc33c8c7..b9097c2ed 100644 --- a/packages/dart/lib/src/objects/response/parse_error_response.dart +++ b/packages/dart/lib/src/objects/response/parse_error_response.dart @@ -5,8 +5,8 @@ ParseResponse buildErrorResponse( ParseResponse response, ParseNetworkResponse apiResponse) { final Map responseData = json.decode(apiResponse.data); response.error = ParseError( - code: responseData[keyCode] ?? -1, + code: responseData[keyCode] ?? ParseError.otherCause, message: responseData[keyError].toString()); - response.statusCode = responseData[keyCode] ?? -1; + response.statusCode = responseData[keyCode] ?? ParseError.otherCause; return response; } 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 aea23d599..649135fc2 100644 --- a/packages/dart/lib/src/objects/response/parse_exception_response.dart +++ b/packages/dart/lib/src/objects/response/parse_exception_response.dart @@ -18,7 +18,7 @@ ParseResponse buildParseResponseWithException(Exception exception) { error: ParseError( message: errorMessage ?? exception.toString(), exception: exception, - code: errorCode ?? -1, + code: errorCode ?? ParseError.otherCause, )); } From df66b5e3aaece1f5b622c02710cac263dba41d3b Mon Sep 17 00:00:00 2001 From: mbfakourii Date: Thu, 1 Dec 2022 10:21:09 +0330 Subject: [PATCH 06/13] fix small bug in documentation comments --- packages/dart/lib/src/objects/parse_error.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dart/lib/src/objects/parse_error.dart b/packages/dart/lib/src/objects/parse_error.dart index 8dc8e4f7f..1f859ccb5 100644 --- a/packages/dart/lib/src/objects/parse_error.dart +++ b/packages/dart/lib/src/objects/parse_error.dart @@ -218,7 +218,7 @@ class ParseError { /// Error code indicating the client was unable to read an input file. static const int fileReadError = 601; - /// Error code indicating a real error code is unavailable because + /// Error code indicating a real error code is unavailable because /// we had to use an XDomainRequest object to allow CORS requests in /// Internet Explorer, which strips the body from HTTP responses that have /// a non-2XX status code. From 4c25b26312b003512adff52ab76d1a6df17b3978 Mon Sep 17 00:00:00 2001 From: mbfakourii Date: Thu, 1 Dec 2022 10:22:30 +0330 Subject: [PATCH 07/13] fix small bug in documentation comments --- packages/dart/lib/src/objects/parse_error.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dart/lib/src/objects/parse_error.dart b/packages/dart/lib/src/objects/parse_error.dart index 1f859ccb5..323905c77 100644 --- a/packages/dart/lib/src/objects/parse_error.dart +++ b/packages/dart/lib/src/objects/parse_error.dart @@ -38,7 +38,7 @@ class ParseError { static const int missingObjectId = 104; /// Error code indicating an invalid key name. Keys are case-sensitive. They - /// must start with a letter, and a-zA-Z0-9_ are the only valid characters. + /// must start with a letter, and a-zA-Z0-9_ are the only valid characters. static const int invalidKeyName = 105; /// Error code indicating a malformed pointer. You should not see this unless From 75b2389f3dac48b6b9606fafb6933b6a5408655c Mon Sep 17 00:00:00 2001 From: mbfakourii Date: Sat, 10 Dec 2022 08:44:35 +0330 Subject: [PATCH 08/13] Added in changelog and version increase --- packages/dart/CHANGELOG.md | 6 ++++++ packages/dart/lib/src/base/parse_constants.dart | 2 +- packages/flutter/pubspec.yaml | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/packages/dart/CHANGELOG.md b/packages/dart/CHANGELOG.md index 05d774178..edbb7f300 100644 --- a/packages/dart/CHANGELOG.md +++ b/packages/dart/CHANGELOG.md @@ -1,3 +1,9 @@ +## [3.1.4](https://github.com/parse-community/Parse-SDK-Flutter/compare/dart-3.1.3...dart-3.1.4) (2022-12-10) + +### Bug Fixes + +* fix: SDK crashes due to missing error code property in `ParseNetworkResponse.data` ([#799](https://github.com/parse-community/Parse-SDK-Flutter/issues/799)) + ## [3.1.3](https://github.com/parse-community/Parse-SDK-Flutter/compare/dart-3.1.2...dart-3.1.3) (2022-11-15) ### Bug Fixes diff --git a/packages/dart/lib/src/base/parse_constants.dart b/packages/dart/lib/src/base/parse_constants.dart index 73b230cd1..b45fbe40c 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 = '3.1.2'; +const String keySdkVersion = '3.1.4'; const String keyLibraryName = 'Flutter Parse SDK'; // End Points diff --git a/packages/flutter/pubspec.yaml b/packages/flutter/pubspec.yaml index 978e02261..e6220c8a1 100644 --- a/packages/flutter/pubspec.yaml +++ b/packages/flutter/pubspec.yaml @@ -1,6 +1,6 @@ name: parse_server_sdk_flutter description: Flutter plugin for Parse Server, (https://parseplatform.org), (https://back4app.com) -version: 3.1.3 +version: 3.1.4 homepage: https://github.com/parse-community/Parse-SDK-Flutter environment: @@ -10,7 +10,7 @@ dependencies: flutter: sdk: flutter - parse_server_sdk: ^3.1.2 + parse_server_sdk: ^3.1.3 # Uncomment for local testing #parse_server_sdk: # path: ../dart From 1872203010abf920ea298b98b9e48863a73b7c22 Mon Sep 17 00:00:00 2001 From: mbfakourii Date: Sat, 10 Dec 2022 20:21:32 +0330 Subject: [PATCH 09/13] Back to the previous version in Flutter lib --- packages/flutter/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/pubspec.yaml b/packages/flutter/pubspec.yaml index e6220c8a1..1d3b8c0c0 100644 --- a/packages/flutter/pubspec.yaml +++ b/packages/flutter/pubspec.yaml @@ -1,6 +1,6 @@ name: parse_server_sdk_flutter description: Flutter plugin for Parse Server, (https://parseplatform.org), (https://back4app.com) -version: 3.1.4 +version: 3.1.3 homepage: https://github.com/parse-community/Parse-SDK-Flutter environment: From cf78954b445f3015646ee2b05a5b0f28b82a4fca Mon Sep 17 00:00:00 2001 From: Manuel <5673677+mtrezza@users.noreply.github.com> Date: Sat, 10 Dec 2022 18:00:42 +0100 Subject: [PATCH 10/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 edbb7f300..5a48e8600 100644 --- a/packages/dart/CHANGELOG.md +++ b/packages/dart/CHANGELOG.md @@ -2,7 +2,7 @@ ### Bug Fixes -* fix: SDK crashes due to missing error code property in `ParseNetworkResponse.data` ([#799](https://github.com/parse-community/Parse-SDK-Flutter/issues/799)) +* SDK crashes due to missing error code property in `ParseNetworkResponse.data` ([#799](https://github.com/parse-community/Parse-SDK-Flutter/issues/799)) ## [3.1.3](https://github.com/parse-community/Parse-SDK-Flutter/compare/dart-3.1.2...dart-3.1.3) (2022-11-15) From 477e678fdc0891f4c2e4addcadeef15f1009456c Mon Sep 17 00:00:00 2001 From: mbfakourii Date: Sat, 10 Dec 2022 20:37:21 +0330 Subject: [PATCH 11/13] Back to the previous version in Flutter lib --- packages/flutter/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/pubspec.yaml b/packages/flutter/pubspec.yaml index 1d3b8c0c0..978e02261 100644 --- a/packages/flutter/pubspec.yaml +++ b/packages/flutter/pubspec.yaml @@ -10,7 +10,7 @@ dependencies: flutter: sdk: flutter - parse_server_sdk: ^3.1.3 + parse_server_sdk: ^3.1.2 # Uncomment for local testing #parse_server_sdk: # path: ../dart From 62584463a128dc6cdb005119e5a02c3e6225e082 Mon Sep 17 00:00:00 2001 From: mbfakourii Date: Sat, 10 Dec 2022 20:42:25 +0330 Subject: [PATCH 12/13] Dart version was increased --- 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 d99f163b1..0dfc57d59 100644 --- a/packages/dart/pubspec.yaml +++ b/packages/dart/pubspec.yaml @@ -1,6 +1,6 @@ name: parse_server_sdk description: Dart plugin for Parse Server, (https://parseplatform.org), (https://back4app.com) -version: 3.1.3 +version: 3.1.4 homepage: https://github.com/parse-community/Parse-SDK-Flutter environment: From 89612ff1555d5b56844f330f82e8c654fe32b0ad Mon Sep 17 00:00:00 2001 From: Manuel <5673677+mtrezza@users.noreply.github.com> Date: Wed, 14 Dec 2022 20:27:41 +0100 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 5a48e8600..6714ec593 100644 --- a/packages/dart/CHANGELOG.md +++ b/packages/dart/CHANGELOG.md @@ -1,4 +1,4 @@ -## [3.1.4](https://github.com/parse-community/Parse-SDK-Flutter/compare/dart-3.1.3...dart-3.1.4) (2022-12-10) +## [3.1.4](https://github.com/parse-community/Parse-SDK-Flutter/compare/dart-3.1.3...dart-3.1.4) (2022-12-14) ### Bug Fixes