diff --git a/CHANGELOG.md b/CHANGELOG.md index a7e450e..cb899d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to Epicure are documented here. This file is mirrored in-app at `/changelog` (and in the admin dashboard) via `apps/web/lib/changelog.ts` — update both together. +## 0.28.3 — 2026-07-14 14:55 + +### Fixed +- Copying an unlisted recipe's share link wrongly warned "this link won't work until the recipe is Public" — unlisted links work fine (that's the point of unlisted); the warning now only shows for actually-private recipes. + ## 0.28.2 — 2026-07-14 14:45 ### Fixed diff --git a/apps/web/components/recipe/share-recipe-button.tsx b/apps/web/components/recipe/share-recipe-button.tsx index cc87630..5892fde 100644 --- a/apps/web/components/recipe/share-recipe-button.tsx +++ b/apps/web/components/recipe/share-recipe-button.tsx @@ -17,10 +17,10 @@ export function ShareRecipeButton({ recipeId, visibility }: { recipeId: string; toast.error(t("shareCopyFailed")); return; } - if (visibility === "public") { - toast.success(t("shareLinkCopied")); - } else { + if (visibility === "private") { toast.info(t("shareNotPublicNotice")); + } else { + toast.success(t("shareLinkCopied")); } } diff --git a/apps/web/lib/changelog.ts b/apps/web/lib/changelog.ts index 7858e92..561aaa3 100644 --- a/apps/web/lib/changelog.ts +++ b/apps/web/lib/changelog.ts @@ -1,5 +1,5 @@ // Mirrors CHANGELOG.md at the repo root — update both together. -export const APP_VERSION = "0.28.2"; +export const APP_VERSION = "0.28.3"; export type ChangelogEntry = { version: string; @@ -11,6 +11,13 @@ export type ChangelogEntry = { }; export const CHANGELOG: ChangelogEntry[] = [ + { + version: "0.28.3", + date: "2026-07-14 14:55", + fixed: [ + "Copying an unlisted recipe's share link wrongly warned \"this link won't work until the recipe is Public\" — unlisted links work fine (that's the point of unlisted); the warning now only shows for actually-private recipes.", + ], + }, { version: "0.28.2", date: "2026-07-14 14:45", diff --git a/apps/web/package.json b/apps/web/package.json index c298d52..23f35f9 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -1,6 +1,6 @@ { "name": "@epicure/web", - "version": "0.28.2", + "version": "0.28.3", "private": true, "scripts": { "dev": "next dev", diff --git a/package.json b/package.json index 71d0226..3f05e88 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "epicure", - "version": "0.28.2", + "version": "0.28.3", "private": true, "scripts": { "dev": "pnpm --filter web dev",