From 1f5aa001a80ad4b99d87dfa2245981f8aa2c4cc6 Mon Sep 17 00:00:00 2001 From: tonym Date: Mon, 15 Jun 2026 21:52:15 -0500 Subject: [PATCH] =?UTF-8?q?v0.6.0=20=E2=80=94=20Backup=20&=20Restore=20pag?= =?UTF-8?q?e;=20install=20netcat=20for=20Postgres-wait?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Version the backup/restore feature that merged in unversioned, and add netcat-openbsd to the bookworm-slim runtime so the new entrypoint Postgres readiness check (nc -z postgres 5432) works instead of looping forever. Co-Authored-By: Claude Opus 4.8 (1M context) --- Dockerfile | 2 +- src/lib/changelog.ts | 8 ++++++++ src/lib/version.ts | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2e17598..0be78c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,7 +26,7 @@ RUN npm run build FROM node:20-bookworm-slim AS runtime WORKDIR /app RUN apt-get update && apt-get install -y --no-install-recommends \ - openssl ca-certificates tini tzdata \ + openssl ca-certificates tini tzdata netcat-openbsd \ && rm -rf /var/lib/apt/lists/* ENV NODE_ENV=production ENV NEXT_TELEMETRY_DISABLED=1 diff --git a/src/lib/changelog.ts b/src/lib/changelog.ts index 2392583..f8ee352 100644 --- a/src/lib/changelog.ts +++ b/src/lib/changelog.ts @@ -8,6 +8,14 @@ export type ChangelogEntry = { }; export const CHANGELOG: ChangelogEntry[] = [ + { + version: "0.6.0", + date: "2026-06-15", + changes: [ + "New Backup & Restore page under Settings — download a full copy of your garden data as a zip, or restore from one by dragging the file in.", + "The app now waits for the database to be ready before starting, so it comes back up cleanly after a server reboot.", + ], + }, { version: "0.5.2", date: "2026-06-15", diff --git a/src/lib/version.ts b/src/lib/version.ts index 43151a8..6cb9882 100644 --- a/src/lib/version.ts +++ b/src/lib/version.ts @@ -1,2 +1,2 @@ // Bump on every user-visible release. Changelog entries live in `src/lib/changelog.ts`. -export const APP_VERSION = "0.5.2"; +export const APP_VERSION = "0.6.0";