Skip to content

Commit

Permalink
Allow unstable updates to exist
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Aug 25, 2023
1 parent b7e577a commit 3e3e9c5
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 12 deletions.
3 changes: 1 addition & 2 deletions changelog/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ This document is the authoritative source for TurboWarp's changelogs. Everything

Prefix notes with "Windows:", "macOS:", or "Linux:" as needed. Do not use **formatting** or [links](https://desktop.turbowarp.org/).

# 1.9.0 (2024-01-01)
# 1.9.0-beta.4 (2023-08-25)

- !!! FIX THE DATE !!!
- Desktop app was rewritten for improved security
- Added custom reporters
- Added custom fonts
Expand Down
14 changes: 6 additions & 8 deletions changelog/generate-changelogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const parse = () => {
sections.shift();

for (const section of sections) {
const version = section.match(/\d+\.\d+\.\d+/)[0];
const version = section.match(/\d+\.\d+\.\d+(?:-[\w.-]+)?/)[0];
const date = new Date(section.match(/\((\d+-\d+-\d+)\)/)[1]);

/** @type {Release} */
Expand Down Expand Up @@ -128,13 +128,11 @@ const generateMetainfo = (releases) => {
const generateJSON = (releases) => {
const data = [];
for (const {version, date, notes} of releases) {
if (lte(version, releasedVersion)) {
data.push({
version,
date: `${date.getUTCFullYear()}-${date.getMonth() + 1}-${date.getDate()}`,
notes
});
}
data.push({
version,
date: `${date.getUTCFullYear()}-${date.getMonth() + 1}-${date.getDate()}`,
notes
});
}

const path = pathUtil.join(__dirname, '../docs/changelog.json');
Expand Down
19 changes: 19 additions & 0 deletions docs/changelog.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
[
{
"version": "1.9.0-beta.4",
"date": "2023-8-24",
"notes": [
"Desktop app was rewritten for improved security",
"Added custom reporters",
"Added custom fonts",
"New extensions: HTTP, Cast, NFCWarp, Clipboard, Zip, More Motion, LZ String, Longman Dictionary, Skins, All Menus, Custom Styles, Deltatime, Wake Lock",
"Brand new restore point system that is much more reliable than the old one. Now stores multiple restore points and the interval can be customized",
"The builtin costume, sound, sprite, and extension libraries now let you mark items as favorites so they show up first",
"Extension gallery is no longer a separate window, rather it is built in to the editor",
"Improved file saving error handling",
"Fixed backpacking scripts and sprites that contain custom extensions",
"Allow importing .ogg, .flac, and .aac audio files",
"Updated prompt modal",
"Removed \"for each\" block from the palette because it causes various issues",
"Fixed a lot of bugs"
]
},
{
"version": "1.8.1",
"date": "2023-6-19",
Expand Down
1 change: 1 addition & 0 deletions docs/version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"latest": "1.8.1",
"latest_unstable": "1.9.0-beta.4",
"oldest_safe": "1.8.0"
}
3 changes: 1 addition & 2 deletions linux-files/org.turbowarp.TurboWarp.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,9 @@
</content_rating>
<!-- Do not directly edit releases here! This section is generated by changelog/generate-changelogs.js -->
<releases>
<release version="1.9.0" date="2024-1-1">
<release version="1.9.0-beta.4" date="2023-8-25">
<description>
<ul>
<li>!!! FIX THE DATE !!!</li>
<li>Desktop app was rewritten for improved security</li>
<li>Added custom reporters</li>
<li>Added custom fonts</li>
Expand Down

0 comments on commit 3e3e9c5

Please sign in to comment.