mirror of
https://github.com/zen-browser/www.git
synced 2025-07-07 17:05:32 +02:00
feat: add support for 'change' type in release notes
- Updated package dependencies to latest versions. - Enhanced ReleaseNoteItem component to handle 'change' type items. - Modified ReleaseNoteListItem to display 'change' type with appropriate styling. - Added translation for 'change' in English localization. - Extended ReleaseNote interface to include 'changes' property. - Added new release note entry with 'changes' for version 1.12.9b.
This commit is contained in:
parent
67fc87769b
commit
a05c6aeee3
7 changed files with 975 additions and 290 deletions
1216
package-lock.json
generated
1216
package-lock.json
generated
File diff suppressed because it is too large
Load diff
12
package.json
12
package.json
|
@ -18,16 +18,16 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/check": "^0.9.4",
|
||||
"@astrojs/cloudflare": "^12.5.2",
|
||||
"@astrojs/preact": "^4.0.11",
|
||||
"@astrojs/cloudflare": "^12.5.3",
|
||||
"@astrojs/preact": "^4.1.0",
|
||||
"@astrojs/rss": "^4.0.11",
|
||||
"@astrojs/sitemap": "^3.3.1",
|
||||
"@astrojs/sitemap": "^3.4.0",
|
||||
"@astrojs/tailwind": "^6.0.2",
|
||||
"@fontsource/bricolage-grotesque": "^5.1.0",
|
||||
"@fortawesome/fontawesome-svg-core": "^6.7.1",
|
||||
"@fortawesome/free-brands-svg-icons": "^6.7.1",
|
||||
"@fortawesome/free-solid-svg-icons": "^6.7.1",
|
||||
"astro": "^5.7.10",
|
||||
"astro": "^5.8.1",
|
||||
"astro-navbar": "^2.3.7",
|
||||
"autoprefixer": "10.4.14",
|
||||
"clsx": "^2.1.1",
|
||||
|
@ -59,6 +59,8 @@
|
|||
"wrangler": "^3.114.8"
|
||||
},
|
||||
"lint-staged": {
|
||||
"src/**/*.{ts,tsx,astro,js,jsx}": ["biome check --write ."]
|
||||
"src/**/*.{ts,tsx,astro,js,jsx}": [
|
||||
"biome check --write ."
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -84,11 +84,18 @@ const generateItems = (items: any, type: string) => {
|
|||
content: item,
|
||||
})
|
||||
break
|
||||
case 'change':
|
||||
listItems[type].push({
|
||||
type: 'change',
|
||||
content: item,
|
||||
})
|
||||
break
|
||||
}
|
||||
})
|
||||
}
|
||||
generateItems(props.security ? [props.security] : null, 'security')
|
||||
generateItems(props.fixes, 'fix')
|
||||
generateItems(props.changes, 'change')
|
||||
generateItems(props.features, 'feature')
|
||||
generateItems(props.themeChanges, 'theme')
|
||||
generateItems(props.breakingChanges, 'break')
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
import { getLocale, getPath, getUI } from '~/utils/i18n'
|
||||
|
||||
const { type, content, link } = Astro.props as {
|
||||
type: 'security' | 'feature' | 'fix' | 'theme' | 'break' | 'known'
|
||||
type: 'security' | 'feature' | 'fix' | 'theme' | 'break' | 'known' | 'change'
|
||||
content: string
|
||||
link?: {
|
||||
text: string
|
||||
|
@ -26,6 +26,7 @@ const {
|
|||
(type === 'feature' && 'text-[#bf3316] dark:text-[#ffb1a1]') ||
|
||||
(type === 'fix' && 'text-[#fe846b]') ||
|
||||
(type === 'theme' && 'text-[#f76f53]') ||
|
||||
(type === 'change' && 'text-[#f7a74b]') ||
|
||||
(type === 'break' && 'text-[#471308] dark:text-[#D02908]') || ''
|
||||
, 'opacity-80 font-bold min-w-16']}
|
||||
>
|
||||
|
|
|
@ -117,7 +117,8 @@
|
|||
"known": "Known",
|
||||
"break": "Breaking",
|
||||
"theme": "Theme",
|
||||
"security": "Security"
|
||||
"security": "Security",
|
||||
"change": "Changed"
|
||||
},
|
||||
"backToTop": "Back to the top",
|
||||
"chooseVersion": "Choose version",
|
||||
|
|
|
@ -22,6 +22,7 @@ export interface ReleaseNote {
|
|||
inProgress?: boolean
|
||||
workflowId?: number
|
||||
isTwilight?: boolean
|
||||
changes?: string[]
|
||||
}
|
||||
|
||||
export const releaseNotes: ReleaseNote[] = releaseNotesStable.reverse()
|
||||
|
|
|
@ -2783,5 +2783,28 @@
|
|||
"workflowId": 15193769814,
|
||||
"image": false,
|
||||
"date": "23/05/2025"
|
||||
},
|
||||
{
|
||||
"version": "1.12.9b",
|
||||
"extra": "This update includes some fixes, security updates, and a few changes! We've included both the updates for firefox 139.0 and 139.0.1 into the same release, since firefox 139.0 had some rendering issues on windows for NVIDIA users, we've waiting a day to release this update to ensure that the issues were resolved.",
|
||||
"fixes": [
|
||||
"Pinned and essential tabs not restoring their icons correctly",
|
||||
"Other issues with split views and glance"
|
||||
],
|
||||
"changes": [
|
||||
"Unloaded tabs won't be dimmed unless they are explicitly discarded",
|
||||
"Context menu icons have been removed to provide a cleaner look and feel"
|
||||
],
|
||||
"features": [
|
||||
"Updated to firefox 139.0 and 139.0.1",
|
||||
"Added automatic updates for mods",
|
||||
"Auto tab unloader will now use firefox's default tab discarding feature, which is based on time and memory usage, instead of the previous method which was simply based on time",
|
||||
"Improved performance on rounded corner rendering for the webview",
|
||||
"Enabled the browser to start having to prioritize processes that are more important once zen is under memory pressure on MacOS",
|
||||
"Context menu item 'Search <text> on <search engine>' now opens glance instead of a new tab"
|
||||
],
|
||||
"workflowId": 15352407839,
|
||||
"image": false,
|
||||
"date": "30/05/2025"
|
||||
}
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue