You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cover discovery and popular-ingredient CLI output, ingredient/onboarding
selection and explicit saves, and Paprika/Tandoor/Markdown command dispatch,
destinations, repository warnings and failure exits with synthetic workflows.
Keep output assertions independent of terminal width and error coloring.
Security
Attach the KptnCook API key only to HTTPS image URLs on KptnCook's image CDN
or a host listed in the new KPTNCOOK_IMAGE_HOSTS setting, and check every
redirect target before requesting it. Images from other recipe URLs are
skipped without logging the URL or key. Mealie covers are now downloaded by
kptncook and uploaded, instead of asking Mealie to fetch the keyed URL.
Audit the frozen runtime and development graph in CI with pinned pip-audit;
document the identical local command and coverage.
Refresh notebook/build tooling to setuptools 84.2.1 and Tornado 6.6.
JupyterLab now installs on Python 3.11+ because the fixed Tornado drops 3.10;
the recipe client and other development tools retain Python 3.10 support.
Fixes
Require every Mealie recipe detail read during sync to match its inventory
row's server ID and requested slug. A mismatched or concurrently renamed
recipe stops the sync before any write instead of silently replacing an
imported identity and creating a duplicate.
Refuse a recipe whose unit, food or tag name matches several existing Mealie
organizers with different IDs (for example tags Vegan and vegan) before
any write, instead of silently picking one by server order.
Read Mealie's unit, food and tag inventories once per sync and reuse them,
updated with this sync's own creates, instead of rereading every inventory
for every created recipe.
Publish complete export archives and Markdown notes atomically without
overwriting existing files; finish Markdown assets before publishing notes.
Fail safely if the destination filesystem does not support hard links.
Serialize and compress Paprika exports one recipe at a time instead of
retaining all cover images and recipe JSON in memory.
Refuse repository writes exceeding the shared 64 MiB UTF-8 read limit before
updating the primary or backup; retain both snapshots and explain recovery.
Validate whole-recipe durations as strict nonnegative integer minutes, capped
at 365 days; preserve unknown cooking time and explicit zero across exporters,
including Paprika.
Validate Mealie slugs before authenticated recipe routes and require unique,
exact instruction correspondence before attaching step images; retain imported
text and omit ambiguous optional media with a bounded warning.
Limit shared HTTP diagnostics to status/action, static transport categories
and allowlisted bounded JSON details; omit credential-bearing exceptions and
arbitrary bodies, and escape error markup at CLI/setup boundaries.
Preflight portable recipe-ID filename components before any local export
write; retain Paprika text recipes when covers are missing or ambiguous.
Compose authenticated image queries correctly and export Markdown images as
bounded local relative assets, omitting unavailable images without exposing
API keys or signed URLs in notes or asset filenames.
Normalize recipe aliases on copied mappings, leaving caller-owned payloads
unchanged even after failed validation; prefer the configured language across
recipe text in all exporters with a consistent fallback order.
Reject non-finite ingredient quantities, invalid timer bounds/ranges and
nonpositive or coerced serving counts at model admission; retain max-only
and ranged timers in Markdown.
Bound regular-file store reads to 64 MiB, refuse corrupt UTF-8 through the
repository/service error boundary, and deduplicate library deletion requests.
Resolve local single-recipe Paprika, Tandoor and Markdown exports by stored
short UID as well as OID, preserving missing/ambiguous selection errors.
Preserve explicit portion counts across all exporters, with a two-portion
fallback.
Quote Markdown front-matter strings so tags and URLs retain punctuation and
newlines without changing YAML structure.
Close workflow-owned KptnCook clients after login, today/dailies, discovery,
onboarding, ingredient queries and recipe search, including processing failures.
Scale ingredient quantities in every exporter to the serving count it writes.
KptnCook stores quantities per serving, so Paprika, Tandoor, Mealie and
Markdown exports listed single-serving amounts under two (or the fixed)
portions. Batch recipes such as cookies now list the whole batch, and export-recipes-to-markdown --servings N picks the Markdown serving count
for standard recipes (thanks @lursyy).
Bound Mealie inventory acquisition to a configurable elapsed budget (120 seconds
by default, up to 86400 for large libraries) across pages
and sync detail reads; cap request timeouts by the remaining budget and refuse
late inventories before remote creates.
Refuse duplicate stored/incoming OIDs, including identical duplicates, before
ambiguous mutations; preserve main and backup bytes on refusal.
Use the established portable repository lock backend and refuse writes on
locking failure instead of silently running without ownership.
Encode Mealie media URL path components and escape image attributes while
retaining instruction markup; omit signed image URLs from conversion logs.
Serialize same-user Mealie syncs per canonical target across inventory/create;
release ownership on failure and fail closed when locking is unavailable.
Reconcile explicit organizer uniqueness conflicts with one read and an
unambiguous existing ID, without retrying POSTs or accepting unrelated errors.
Require complete validated Mealie recipe inventories before sync writes; reject
invalid rows and inconsistent/repeated pagination within finite page/item limits.
Close factory-owned clients after failed Mealie authentication and on every
sync/favorites-backup exit; retain caller ownership of healthy factory clients.
Validate Mealie organizer page shapes and login tokens before consuming replies;
preserve existing authorization after malformed login responses.
Use consistent dotenv parsing in setup/runtime and quote saved values, updating
spaced/export assignments while retaining unrelated comments and keys.
Serialize cooperating configuration writers, including scaffolding and symlink
targets, so concurrent key updates preserve each other.
Bound Paprika, Tandoor, and Mealie image downloads to 10 MiB and a 60-second
total deadline; skip failed images while preserving recipe text and cleanup.
Recipe OIDs require exactly 24 ASCII hexadecimal characters; pasted OID URLs
accept query strings and fragments while preserving short UID precedence.