mirror of
https://github.com/zen-browser/www.git
synced 2025-07-08 17:30:01 +02:00
Update redirect logic in whatsnew.astro and add version to whats-new.json
This commit is contained in:
parent
082319064a
commit
8570e9d93b
3 changed files with 17 additions and 4 deletions
|
@ -14,9 +14,8 @@ import whatsNewVideo from '../assets/whats-new.mp4'
|
|||
const latestVersion = releaseNotes[0]
|
||||
|
||||
// Just redirect to the release notes if we are in a patch version
|
||||
if (latestVersion.version.split('.').length > 2) {
|
||||
const url = `/release-notes#${latestVersion.version}`
|
||||
return Astro.redirect(url)
|
||||
if (latestVersion.version.split('.').length > 2 && whatsNewText[1] !== latestVersion.version) {
|
||||
return Astro.redirect(`/release-notes#${latestVersion.version}`)
|
||||
}
|
||||
---
|
||||
|
||||
|
|
|
@ -2684,5 +2684,19 @@
|
|||
],
|
||||
"workflowId": 14803913371,
|
||||
"date": "03/05/2025"
|
||||
},
|
||||
{
|
||||
"version": "1.12.1b",
|
||||
"image": false,
|
||||
"extra": "This is just a small update to fix some bugs with the previous version. Please checkout release notes for 1.12b for more details.",
|
||||
"fixes": [
|
||||
"Fixed sidbar in collapsed, compact mode being too small.",
|
||||
"Fixed jitter on compact mode on windows.",
|
||||
"Fixed duplicate newtabs opening when having 'replace-newtab' disabled.",
|
||||
"Fixed custom colors not being able to be removed."
|
||||
],
|
||||
"features": [],
|
||||
"workflowId": 14812026286,
|
||||
"date": "04/05/2025"
|
||||
}
|
||||
]
|
|
@ -1 +1 @@
|
|||
["This update includes some cool new features and fixes! Starting with comunity made Mods improvements and animations, and a new way to store your essentials for workspaces in different containers!"]
|
||||
["This update includes some cool new features and fixes! Starting with comunity made Mods improvements and animations, and a new way to store your essentials for workspaces in different containers!", "1.12.1b"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue