From bd61604410b0b05e8012a28caed82ac87de85726 Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Sun, 14 Jul 2024 17:17:20 +0200 Subject: [PATCH] refactor: Update release note component to render extra content as HTML --- src/components/release-note.tsx | 4 +++- src/lib/release-notes.ts | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/src/components/release-note.tsx b/src/components/release-note.tsx index e63b96e..cbe0a45 100644 --- a/src/components/release-note.tsx +++ b/src/components/release-note.tsx @@ -13,7 +13,9 @@ export default function ReleaseNoteElement({ data }: { data: ReleaseNote }) { If you encounter any issues, please report them on the issues page. Thanks everyone for your feedback! ❤️

{data.extra && ( -

{data.extra}

+

")}}> +

)} {data.breakingChanges && ( <> diff --git a/src/lib/release-notes.ts b/src/lib/release-notes.ts index 136ea8e..efa982e 100644 --- a/src/lib/release-notes.ts +++ b/src/lib/release-notes.ts @@ -94,6 +94,31 @@ export const releaseNotes: ReleaseNote[] = [ "Changed the update URL meaning that since 1.0.0-a.2 (previous release) the browser will be able to update itself.", ] }, + { + version: "1.0.0-a.4", + date: "14/07/2024", + extra: "This release is the fourth alpha release of the 1.0.0-alpha series. This release includes a lot of bug fixes and improvements. The main focus of this release was to improve some small details and the compact view mode.\n\nThis release is very small but it includes some important fixes and I wont be able to work on the browser for the next few days so I decided to release it now.\n\nSorry!", + features: [ + "Improved compact view mode.", + "Tabs with no icons will now display a default icon.", + "Improved workspaces feature (Experimental).", + "Added support for pinned tabs.", + ], + fixes: [ + { + description: "Fixed the compact view mode not displaying correctly when it's not fullscreen.", + issue: 58, + }, + { + description: "Fixed \"Weird margins in popup windows\".", + issue: 54, + }, + { + description: "Fixed pinned tab icons not being displayed correctly.", + issue: 52, + } + ], + } ].reverse(); export function releaseNoteIsAlpha(note: ReleaseNote) {