Skip to content

Commit 664689c

Browse files
authored
fix: ParseObject.fromJson does not send proper payload to server (#818)
1 parent 2afa2ad commit 664689c

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

packages/dart/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [3.1.12](https://github.com/parse-community/Parse-SDK-Flutter/compare/dart-3.1.11...dart-3.1.12) (2023-02-01)
2+
3+
### Bug Fixes
4+
5+
* `ParseObject.fromJson` does not send proper payload to server ([#688](https://github.com/parse-community/Parse-SDK-Flutter/issues/688))
6+
17
## [3.1.11](https://github.com/parse-community/Parse-SDK-Flutter/compare/dart-3.1.10...dart-3.1.11) (2023-01-21)
28

39
### Features

packages/dart/lib/src/base/parse_constants.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
part of flutter_parse_sdk;
22

33
// Library
4-
const String keySdkVersion = '3.1.11';
4+
const String keySdkVersion = '3.1.12';
55
const String keyLibraryName = 'Flutter Parse SDK';
66

77
// End Points

packages/dart/lib/src/objects/parse_base.dart

+1
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ abstract class ParseBase {
139139
_getObjectData()[keyVarAcl] = ParseACL().fromJson(value);
140140
} else {
141141
_getObjectData()[key] = parseDecode(value);
142+
_unsavedChanges[key] = _getObjectData()[key];
142143
}
143144
});
144145

packages/dart/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: parse_server_sdk
22
description: Dart plugin for Parse Server, (https://parseplatform.org), (https://back4app.com)
3-
version: 3.1.11
3+
version: 3.1.12
44
homepage: https://github.com/parse-community/Parse-SDK-Flutter
55

66
environment:

0 commit comments

Comments
 (0)