diff --git a/CHANGELOG.md b/CHANGELOG.md
index a4d5d1cc3..d8f934e64 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,9 @@
### v1.14.2
+**v1.14.2.1** *(2018-06-22)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.2.1/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.2.1/builds/4chan-X-noupdate.crx)]
+- New fix for data loss issues. #1910
+
**v1.14.2.0** *(2018-06-05)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.2.0/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.2.0/builds/4chan-X-noupdate.crx)]
- Based on v1.14.1.2.
- Revert workaround for #1323 (7b8c2df5e4aae96b47771c0bb90989765d719d5c) which may be contributing for data corruption issues. #1910
diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx
index f0b0f1b12..3124e883d 100644
Binary files a/builds/4chan-X-beta.crx and b/builds/4chan-X-beta.crx differ
diff --git a/builds/4chan-X-beta.meta.js b/builds/4chan-X-beta.meta.js
index 256ca972e..7707a664f 100644
--- a/builds/4chan-X-beta.meta.js
+++ b/builds/4chan-X-beta.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
-// @version 1.14.2.0
+// @version 1.14.2.1
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X-beta.user.js b/builds/4chan-X-beta.user.js
index a3cef8407..ac119b68e 100644
--- a/builds/4chan-X-beta.user.js
+++ b/builds/4chan-X-beta.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
-// @version 1.14.2.0
+// @version 1.14.2.1
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -157,7 +157,7 @@ docSet = function() {
};
g = {
- VERSION: '1.14.2.0',
+ VERSION: '1.14.2.1',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -5839,14 +5839,16 @@ DataBoard = (function() {
DataBoard.prototype.ajaxClean = function(boardID) {
return $.cache(location.protocol + "//a.4cdn.org/" + boardID + "/threads.json", (function(_this) {
return function(e1) {
+ var response1;
if (e1.target.status !== 200) {
return;
}
+ response1 = e1.target.response;
return $.cache(location.protocol + "//a.4cdn.org/" + boardID + "/archive.json", function(e2) {
if (!(e2.target.status === 200 || (boardID === 'b' || boardID === 'f' || boardID === 'trash' || boardID === 'bant'))) {
return;
}
- return _this.ajaxCleanParse(boardID, e1.target.response, e2.target.response);
+ return _this.ajaxCleanParse(boardID, response1, e2.target.response);
});
};
})(this));
diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx
index 276032bc3..e2eda2ea9 100644
Binary files a/builds/4chan-X-noupdate.crx and b/builds/4chan-X-noupdate.crx differ
diff --git a/builds/4chan-X-noupdate.user.js b/builds/4chan-X-noupdate.user.js
index b580b24b4..bb02c1909 100644
--- a/builds/4chan-X-noupdate.user.js
+++ b/builds/4chan-X-noupdate.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.14.2.0
+// @version 1.14.2.1
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -157,7 +157,7 @@ docSet = function() {
};
g = {
- VERSION: '1.14.2.0',
+ VERSION: '1.14.2.1',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -5839,14 +5839,16 @@ DataBoard = (function() {
DataBoard.prototype.ajaxClean = function(boardID) {
return $.cache(location.protocol + "//a.4cdn.org/" + boardID + "/threads.json", (function(_this) {
return function(e1) {
+ var response1;
if (e1.target.status !== 200) {
return;
}
+ response1 = e1.target.response;
return $.cache(location.protocol + "//a.4cdn.org/" + boardID + "/archive.json", function(e2) {
if (!(e2.target.status === 200 || (boardID === 'b' || boardID === 'f' || boardID === 'trash' || boardID === 'bant'))) {
return;
}
- return _this.ajaxCleanParse(boardID, e1.target.response, e2.target.response);
+ return _this.ajaxCleanParse(boardID, response1, e2.target.response);
});
};
})(this));
diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx
index 347c63d7e..5d2abb73d 100644
Binary files a/builds/4chan-X.crx and b/builds/4chan-X.crx differ
diff --git a/builds/4chan-X.meta.js b/builds/4chan-X.meta.js
index a373ca391..bfc181a2f 100644
--- a/builds/4chan-X.meta.js
+++ b/builds/4chan-X.meta.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.14.2.0
+// @version 1.14.2.1
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js
index c643a5f1b..a7d2472ea 100644
--- a/builds/4chan-X.user.js
+++ b/builds/4chan-X.user.js
@@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
-// @version 1.14.2.0
+// @version 1.14.2.1
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@@ -157,7 +157,7 @@ docSet = function() {
};
g = {
- VERSION: '1.14.2.0',
+ VERSION: '1.14.2.1',
NAMESPACE: '4chan X.',
boards: {}
};
@@ -5839,14 +5839,16 @@ DataBoard = (function() {
DataBoard.prototype.ajaxClean = function(boardID) {
return $.cache(location.protocol + "//a.4cdn.org/" + boardID + "/threads.json", (function(_this) {
return function(e1) {
+ var response1;
if (e1.target.status !== 200) {
return;
}
+ response1 = e1.target.response;
return $.cache(location.protocol + "//a.4cdn.org/" + boardID + "/archive.json", function(e2) {
if (!(e2.target.status === 200 || (boardID === 'b' || boardID === 'f' || boardID === 'trash' || boardID === 'bant'))) {
return;
}
- return _this.ajaxCleanParse(boardID, e1.target.response, e2.target.response);
+ return _this.ajaxCleanParse(boardID, response1, e2.target.response);
});
};
})(this));
diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip
index 8d5aeae14..fa3cd5359 100644
Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ
diff --git a/builds/updates-beta.json b/builds/updates-beta.json
index fe19c37de..006643482 100644
--- a/builds/updates-beta.json
+++ b/builds/updates-beta.json
@@ -3,7 +3,7 @@
"4chan-x@4chan-x.net": {
"updates": [
{
- "version": "1.14.2.0",
+ "version": "1.14.2.1",
"update_link": "https://www.4chan-x.net/builds/4chan-X-beta.crx"
}
]
diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml
index db727093b..cc44abfb7 100644
--- a/builds/updates-beta.xml
+++ b/builds/updates-beta.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/builds/updates.json b/builds/updates.json
index 774bfbbee..ae553c143 100644
--- a/builds/updates.json
+++ b/builds/updates.json
@@ -3,7 +3,7 @@
"4chan-x@4chan-x.net": {
"updates": [
{
- "version": "1.14.2.0",
+ "version": "1.14.2.1",
"update_link": "https://www.4chan-x.net/builds/4chan-X.crx"
}
]
diff --git a/builds/updates.xml b/builds/updates.xml
index af9724237..4f9f2fe64 100644
--- a/builds/updates.xml
+++ b/builds/updates.xml
@@ -1,7 +1,7 @@
-
+
diff --git a/version.json b/version.json
index 3d09ca1a9..39fc6231c 100644
--- a/version.json
+++ b/version.json
@@ -1,4 +1,4 @@
{
- "version": "1.14.2.0",
- "date": "2018-06-05T05:24:12.016Z"
+ "version": "1.14.2.1",
+ "date": "2018-06-22T06:12:54.498Z"
}
\ No newline at end of file