mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 08:23:34 +00:00
Fix versioning: start at 9.9.1, move changelog into app shell
Bump starting version from 9.9.0 to 9.9.1. Move the /changelog page from a standalone layout into AppLayout so the project sidebar is available. Remove it from the settings nav since it's its own page.
This commit is contained in:
13 files changed
+52
-51
No files matched your search
@@ -9,7 +9,7 @@ This skill guides you through publishing a new release of the app. It handles ve
|
||||
|
||||
## Overview
|
||||
|
||||
- **Version format**: Marketing version (X.Y.Z), starting from 9.9.0. **This is NOT semver.** Version numbers are chosen based on how the release looks to end users, not based on API compatibility or breaking changes. Think of it like an app store version -- the number reflects the perceived significance of the update to a regular user.
|
||||
- **Version format**: Marketing version (X.Y.Z), starting from 9.9.1. **This is NOT semver.** Version numbers are chosen based on how the release looks to end users, not based on API compatibility or breaking changes. Think of it like an app store version -- the number reflects the perceived significance of the update to a regular user.
|
||||
- **Version source of truth**: `package.json` `version` field
|
||||
- **Changelog**: `CHANGELOG.md` in repo root, using [Keep a Changelog](https://keepachangelog.com/) format
|
||||
- **Version bumping**:
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# Changelog
|
||||
|
||||
## [9.9.0] - 2026-04-02
|
||||
## [9.9.1] - 2026-04-02
|
||||
|
||||
### Added
|
||||
- Changelog page and versioning system with "What's new" toast notifications on updates
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "shakespeare.diy",
|
||||
"version": "9.9.0",
|
||||
"version": "9.9.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "shakespeare.diy",
|
||||
"version": "9.9.0",
|
||||
"version": "9.9.1",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"dependencies": {
|
||||
"@dnd-kit/core": "^6.3.1",
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
"description": "Build custom apps with AI assistance using Shakespeare, an open-source development environment",
|
||||
"homepage": "https://shakespeare.diy",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"version": "9.9.0",
|
||||
"version": "9.9.1",
|
||||
"type": "module",
|
||||
"author": {
|
||||
"name": "shakespeare.diy",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# Changelog
|
||||
|
||||
## [9.9.0] - 2026-04-02
|
||||
## [9.9.1] - 2026-04-02
|
||||
|
||||
### Added
|
||||
- Changelog page and versioning system with "What's new" toast notifications on updates
|
||||
|
||||
@@ -83,6 +83,7 @@ export const getSettingsCategories = (t: (key: string) => string): SettingsCateg
|
||||
title: t('aboutShakespeare'),
|
||||
href: '/settings/about',
|
||||
},
|
||||
|
||||
],
|
||||
},
|
||||
];
|
||||
@@ -240,6 +240,7 @@
|
||||
"mirrors": "Mirrors",
|
||||
"mirrorsDescription": "Shakespeare is available at multiple mirror URLs for redundancy and accessibility.",
|
||||
"changelog": "Changelog",
|
||||
"changelogDescription": "See what's new in each release of Shakespeare.",
|
||||
"sourceCode": "Source Code",
|
||||
"description": "Description",
|
||||
"license": "License",
|
||||
|
||||
@@ -268,6 +268,7 @@
|
||||
"mirrors": "Madubai",
|
||||
"mirrorsDescription": "Shakespeare yana samuwa a URLs masu yawa don inganci da samun dama.",
|
||||
"changelog": "Tarihin Canje-canje",
|
||||
"changelogDescription": "Duba abubuwan da suka canja a kowane sigar Shakespeare.",
|
||||
"sourceCode": "Lambar Tushe",
|
||||
"description": "Bayanin",
|
||||
"license": "Lasisi",
|
||||
|
||||
@@ -268,6 +268,7 @@
|
||||
"mirrors": "Enyo",
|
||||
"mirrorsDescription": "Shakespeare dị na ọtụtụ URL enyo maka nnọchi na nnweta.",
|
||||
"changelog": "Ndekọ Mgbanwe",
|
||||
"changelogDescription": "Lee ihe ọhụrụ n'ụdị ọ bụla nke Shakespeare.",
|
||||
"sourceCode": "Koodu Isi",
|
||||
"description": "Nkọwa",
|
||||
"license": "Ikike",
|
||||
|
||||
@@ -277,6 +277,7 @@
|
||||
"mirrors": "Espelhos",
|
||||
"mirrorsDescription": "Shakespeare está disponível em vários URLs espelhados para redundância e acessibilidade.",
|
||||
"changelog": "Registro de alterações",
|
||||
"changelogDescription": "Veja as novidades em cada versão do Shakespeare.",
|
||||
"sourceCode": "Código-fonte",
|
||||
"description": "Descrição",
|
||||
"license": "Licença",
|
||||
|
||||
@@ -268,6 +268,7 @@
|
||||
"mirrors": "Awọn Digi",
|
||||
"mirrorsDescription": "Shakespeare wa ni awọn URL digi pupọ fun aredundan ati iraye si.",
|
||||
"changelog": "Akọsilẹ Ayipada",
|
||||
"changelogDescription": "Wo ohun tuntun ninu ẹya kọọkan ti Shakespeare.",
|
||||
"sourceCode": "Koodu Orisun",
|
||||
"description": "Apejuwe",
|
||||
"license": "Iwe-aṣẹ",
|
||||
|
||||
@@ -277,6 +277,7 @@
|
||||
"mirrors": "镜像",
|
||||
"mirrorsDescription": "Shakespeare可通过多个镜像URL访问,以确保冗余和可访问性。",
|
||||
"changelog": "更新日志",
|
||||
"changelogDescription": "查看Shakespeare每个版本的更新内容。",
|
||||
"sourceCode": "源代码",
|
||||
"description": "描述",
|
||||
"license": "许可证",
|
||||
|
||||
+39
-45
@@ -1,9 +1,8 @@
|
||||
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
||||
import { Link } from 'react-router-dom';
|
||||
import { useSeoMeta } from '@unhead/react';
|
||||
import { ArrowLeft, Bug, FlaskConical, Minus, Package, Plus, RefreshCw, ShieldAlert } from 'lucide-react';
|
||||
import { Bug, FlaskConical, Minus, Package, Plus, RefreshCw, ScrollText, ShieldAlert } from 'lucide-react';
|
||||
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { AppLayout } from '@/components/AppLayout';
|
||||
import { Skeleton } from '@/components/ui/skeleton';
|
||||
import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip';
|
||||
import { parseChangelog } from '@/lib/changelog';
|
||||
@@ -56,49 +55,44 @@ export function ChangelogPage() {
|
||||
const latestVersion = entries[0]?.version;
|
||||
|
||||
return (
|
||||
<main className="min-h-screen bg-background">
|
||||
{/* Header */}
|
||||
<div className="border-b">
|
||||
<div className="max-w-2xl mx-auto px-4 py-3 flex items-center gap-3">
|
||||
<Button variant="ghost" size="sm" className="h-8 w-8 p-0" asChild>
|
||||
<Link to="/settings/about">
|
||||
<ArrowLeft className="size-4" />
|
||||
</Link>
|
||||
</Button>
|
||||
<h1 className="text-lg font-semibold">Changelog</h1>
|
||||
<AppLayout>
|
||||
<div className="max-w-2xl mx-auto">
|
||||
<div className="flex items-center gap-3 mb-6">
|
||||
<ScrollText className="size-6 text-primary" />
|
||||
<h1 className="text-2xl font-bold">Changelog</h1>
|
||||
</div>
|
||||
|
||||
<div className="space-y-4">
|
||||
{error ? (
|
||||
<p className="text-sm text-muted-foreground pt-4">Failed to load changelog.</p>
|
||||
) : content === null ? (
|
||||
<ChangelogSkeleton />
|
||||
) : entries.length === 0 ? (
|
||||
<p className="text-sm text-muted-foreground pt-4">No releases yet.</p>
|
||||
) : (
|
||||
<>
|
||||
{isPreRelease && latestVersion && <PreReleaseBanner latestVersion={latestVersion} />}
|
||||
|
||||
<LatestRelease entry={entries[0]} />
|
||||
|
||||
{entries.length > 1 && (
|
||||
<>
|
||||
<div className="flex items-center gap-3 pt-4 pb-1">
|
||||
<div className="h-px flex-1 bg-border" />
|
||||
<span className="text-xs font-medium text-muted-foreground uppercase tracking-wider">Past releases</span>
|
||||
<div className="h-px flex-1 bg-border" />
|
||||
</div>
|
||||
|
||||
{entries.slice(1).map((entry) => (
|
||||
<ChangelogEntryCard key={entry.version} entry={entry} />
|
||||
))}
|
||||
</>
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="max-w-2xl mx-auto px-4 pt-3 pb-16 space-y-4">
|
||||
{error ? (
|
||||
<p className="text-sm text-muted-foreground pt-4">Failed to load changelog.</p>
|
||||
) : content === null ? (
|
||||
<ChangelogSkeleton />
|
||||
) : entries.length === 0 ? (
|
||||
<p className="text-sm text-muted-foreground pt-4">No releases yet.</p>
|
||||
) : (
|
||||
<>
|
||||
{isPreRelease && latestVersion && <PreReleaseBanner latestVersion={latestVersion} />}
|
||||
|
||||
<LatestRelease entry={entries[0]} />
|
||||
|
||||
{entries.length > 1 && (
|
||||
<>
|
||||
<div className="flex items-center gap-3 pt-4 pb-1">
|
||||
<div className="h-px flex-1 bg-border" />
|
||||
<span className="text-xs font-medium text-muted-foreground uppercase tracking-wider">Past releases</span>
|
||||
<div className="h-px flex-1 bg-border" />
|
||||
</div>
|
||||
|
||||
{entries.slice(1).map((entry) => (
|
||||
<ChangelogEntryCard key={entry.version} entry={entry} />
|
||||
))}
|
||||
</>
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
</main>
|
||||
</AppLayout>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -120,7 +114,7 @@ function LatestRelease({ entry }: { entry: ChangelogEntry }) {
|
||||
}, [measure]);
|
||||
|
||||
return (
|
||||
<div className="pt-2 pb-1 px-4">
|
||||
<div className="pt-2 pb-1">
|
||||
{/* Big centered version + date */}
|
||||
<a
|
||||
href={`${GITLAB_REPO}/-/releases/v${entry.version}`}
|
||||
|
||||
Reference in new issue
Block a user