Skip to content

Commit 6d7ad3e

Browse files
committed
Bump to v3.8.0
1 parent 79cf158 commit 6d7ad3e

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

changelog/changes.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"NOTE": "THERE IS NO NEED TO UPDATE THIS YOURSELF, IT WILL BE UPDATED WHEN RELEASED.",
3-
"version": "3.7.0",
3+
"version": "3.8.0",
44
"enhanced": [
5-
"Improve code quality.",
6-
"Remove ScratchTools Awards ads.",
7-
"Added Spanish as a language."
5+
"Update contributor names.",
6+
"Add clicker game."
87
],
98
"fixed": [
10-
"Fix Flag on Profile feature."
9+
"Fix protect mention text.",
10+
"Fix search bar."
1111
]
1212
}

changelog/script.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ document.querySelector("title").textContent = "What's New in v" + version;
33
document.querySelector("h1").textContent = "What's New in v" + version;
44

55
async function getChanges() {
6-
var newFeatures = await (await fetch("/features/features.json")).json();
6+
var newFeatures = (await (await fetch("/features/features.json")).json()).reverse();
7+
let soFarI = 0
78
for (var i in newFeatures) {
89
var feature = newFeatures[i];
910
if (feature.versionAdded === "v" + version || feature.versionUpdated === "v" + version) {
@@ -24,13 +25,14 @@ async function getChanges() {
2425
var design = document.createElement("div");
2526
design.className = "colorful-design";
2627
div.prepend(design);
27-
if (i > 2) {
28+
if (soFarI > 2) {
2829
div.className = "wide-feature feature";
2930
document.querySelector(".new-features-full").prepend(div);
3031
} else {
3132
div.className = "feature";
3233
document.querySelector(".new-features").prepend(div);
3334
}
35+
soFarI += 1
3436
}
3537
}
3638
const changes = await (await fetch("./changes.json")).json();

features/features.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[
22
{
33
"version": 2,
4-
"id": "total-stats",
4+
"id": "sidebar",
55
"versionAdded": "v3.8.0"
66
},
77
{
88
"version": 2,
9-
"id": "project-miniplayer",
9+
"id": "project-version-detector",
1010
"versionAdded": "v3.8.0"
1111
},
1212
{
@@ -16,17 +16,17 @@
1616
},
1717
{
1818
"version": 2,
19-
"id": "pin-comments",
19+
"id": "total-stats",
2020
"versionAdded": "v3.8.0"
2121
},
2222
{
2323
"version": 2,
24-
"id": "sidebar",
24+
"id": "project-miniplayer",
2525
"versionAdded": "v3.8.0"
2626
},
2727
{
2828
"version": 2,
29-
"id": "project-version-detector",
29+
"id": "pin-comments",
3030
"versionAdded": "v3.8.0"
3131
},
3232
{

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"short_name": "ScratchTools",
44
"manifest_version": 3,
55
"version": "3.8.0",
6-
"version_name": "3.8.0-beta",
6+
"version_name": "3.8.0",
77
"default_locale": "en",
88
"description": "__MSG_extDescription__",
99
"author": "rgantzos",

0 commit comments

Comments
 (0)