release: v0.12.0 (#520)

Forty-one commits since v0.11.0. See CHANGELOG.md for the full list and the upgrade notes.
This commit is contained in:
Ralksta
2026-08-23 23:18:14 +02:00
committed by GitHub
parent 2f546f440d
commit 10ec68f493
119 changed files with 6888 additions and 758 deletions

View File

@@ -218,6 +218,8 @@ export interface InstallInput {
siteSubtitle?: string;
theme?: string;
albums?: string[];
/** Asset IDs for the home page carousel, usually the covers of `albums`. */
hero?: string[];
adminPassword?: string;
}
@@ -245,7 +247,11 @@ export async function completeInstall(input: InstallInput): Promise<void> {
await fs.promises.mkdir(dir, { recursive: true });
const gallery: GalleryYaml = {
hero: [],
// A photography portfolio whose front page carries no photograph reads as
// unfinished, and the wizard already knows which albums were picked (#518).
// The caller seeds these from their Immich covers; an empty list is still
// valid, and the admin panel can change them afterwards.
hero: (input.hero ?? []).filter((id) => typeof id === 'string'),
albums: (input.albums ?? []).filter((id) => typeof id === 'string'),
};