Skip to content

Commit aba063d

Browse files
authored
Merge branch 'master' into 401-fix-authdata-clobbering-in-putAuthData
2 parents 5327b35 + 301c29b commit aba063d

File tree

6 files changed

+14
-6
lines changed

6 files changed

+14
-6
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [2.0.4](https://github.com/parse-community/Parse-SDK-Android/compare/2.0.3...2.0.4) (2021-11-03)
2+
3+
4+
### Performance Improvements
5+
6+
* remove unnecessary extra child traversal in collectDirtyChildren ([#1058](https://github.com/parse-community/Parse-SDK-Android/issues/1058)) ([1844b3e](https://github.com/parse-community/Parse-SDK-Android/commit/1844b3ee9557a9f12983a573dc6d02ef0ec79910))
7+
18
## [2.0.3](https://github.com/parse-community/Parse-SDK-Android/compare/2.0.2...2.0.3) (2021-10-18)
29

310

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
version = 2.0.3
1+
version = 2.0.4
22
android.enableJetifier = true
33
android.useAndroidX = true

package-lock.json

Lines changed: 1 addition & 1 deletion
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-android",
3-
"version": "2.0.3",
3+
"version": "2.0.4",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/parse-community/Parse-SDK-Android.git"

parse/src/main/java/com/parse/ParseObject.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,9 @@ protected boolean visit(Object node) {
590590
// Check for cycles of new objects. Any such cycle means it will be
591591
// impossible to save this collection of objects, so throw an exception.
592592
if (object.getObjectId() != null) {
593-
seenNew = new HashSet<>();
593+
if (!seenNew.isEmpty()) {
594+
seenNew = new HashSet<>();
595+
}
594596
} else {
595597
if (seenNew.contains(object)) {
596598
throw new RuntimeException("Found a circular dependency while saving.");
@@ -605,7 +607,6 @@ protected boolean visit(Object node) {
605607
if (seen.contains(object)) {
606608
return true;
607609
}
608-
seen = new HashSet<>(seen);
609610
seen.add(object);
610611

611612
// Recurse into this object's children looking for dirty children.

release.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ async function readFile(filePath) {
109109

110110
function getReleaseComment() {
111111
const url = repositoryUrl + '/releases/tag/${nextRelease.gitTag}';
112-
let comment = '🎉 This pull request has been released in version [${nextRelease.version}](' + url + ')';
112+
let comment = '🎉 This change has been released in version [${nextRelease.version}](' + url + ')';
113113
return comment;
114114
}
115115

0 commit comments

Comments
 (0)