Skip to content

v0.0.41

Choose a tag to compare

@ephes ephes released this 17 Nov 17:40
· 118 commits to main since this release

0.0.41 - 2026-11-17

Tests

  • Add an offline composed export journey covering reordered ingredient groups,
    localized labels, duplicate IDs, serving counts and step associations through
    native Mealie ZIP import and Tandoor, Paprika and Markdown file exports.

Fixes

  • Bound file publication to 16 sequential and four random no-clobber names, with
    an actionable refusal after 20 collisions and unchanged durability receipts.
  • Limit each file-export batch to 100 MiB of received assets and 256 MiB of
    cumulative output work, charging before retention/writes and preserving
    completed exports on refusal. Paprika reports all staged recipes as unpublished
    until its single archive completes; no partial final archive is exposed.
  • Preserve small nonzero ingredient amounts and all admitted decimal places in
    Markdown/Paprika, and share nonempty ingredient-title fallback across file
    exporters so empty translations cannot hide a resolvable food name.
  • Retain Tandoor and Markdown partial-batch receipts in library errors and CLI
    diagnostics: completed notes/archives/assets, failed recipe, untouched count
    and separately identified durability-uncertain current publications.
  • Sync the credential file's parent with the shared portability policy. Report
    uncertain durability after publication in setup, token refresh and first-run
    scaffolding, preserving complete private credentials without exposing values.
  • Keep settings diagnostics bounded and free of rejected credential values and
    validator context; hide inputs in validation exception formatting and avoid
    retaining raw validation errors in user-facing exception chains.
  • Preserve completed Mealie sync counts and primary failures when closing the
    client fails; report a separate cleanup warning without rollback or replay.
  • Deduplicate large delete selections with linear membership work, preserving
    preview order, diagnostics and confirmed-record comparison.
  • Bind archive receipt slugs to fetched recipe slugs and valid server IDs before
    media writes; preserve imported identity after mismatched step PATCH replies.
  • Retire cached organizer inventories after recipe creation failures so later
    independent recipes refresh stale IDs, without replaying an ambiguous import.
  • Reject ambiguous source API JSON members and nonfinite constants before token,
    recipe and discovery interpretation, with private fixed decoder diagnostics.
  • Bound recipe counts, per-recipe nesting, value/key work and text, and batch
    totals sized to the 64 MiB store limit before source and restored recipe model
    construction; refuse whole batches on overflow.
  • Bound discovery-screen leaf lists to 4,096 combined raw entries and 262,144
    output text characters before summary construction; refuse the whole screen
    on overflow without partial results.
  • Filter stored OID/UID identities before constructing full recipe models for
    selected lookups and exports. Read one raw snapshot, retain matching invalid
    record positions and duplicate-selection errors, and leave unrelated recipe
    diagnostics to full listings/exports.
  • Compare deletion selections with their previewed store records under the writer
    lock. Refuse changed selections atomically, including with --force, while
    preserving unrelated updates and idempotent missing-ID handling.
  • Keep ingredient grouping membership work linear while preserving configured and
    first-seen group order. Expand repeated Mealie step ingredient IDs only once,
    preserving every distinct row reference without repeated temporary lists.
  • Escape source HTML metacharacters in Markdown, Tandoor and Mealie step text
    before inserting timer representations; preserve plain-text Paprika directions.
    Escaping covers whole steps, including source code spans (documented limitation).
  • Sync export directories after final links and Markdown asset directories before
    publishing their referring notes. Report uncertain durability after publication
    without deleting visible notes or their assets.
  • Keep complete comma-separated ingredient preparation notes in Mealie payloads.
  • Limit legacy Paprika helper archives to exactly the requested recipe members,
    preserving unrelated files when reusing an export directory.
  • Report real repository directory-sync failures with accurate publication
    outcomes; block primary replacement on backup failure and preserve visible
    data after a late failure with uncertain durability.
  • Fence network refresh publication against pre-fetch local records under the
    writer lock; refuse entire conflicting batches while merging disjoint IDs.
  • Refuse duplicate members in local store JSON before model validation, including
    escaped keys, without exposing source values or changing recovery snapshots.
  • Bound repository writer lock admission to 30 seconds; report busy contention
    and retain stable lock identity checks and read-only access.
  • Update the notebook Tornado lock to 6.6.1 for CVE-2026-126347, keeping the
    frozen runtime/development dependency audit clean.
  • Refuse duplicate members in Mealie control JSON, including nested and escaped
    identity/instruction keys, with value-free domain errors before follow-ups.
  • Bound discovery-screen searches with iterative depth/work admission and cycle
    detection; refuse malformed screens without rendering a partial listing.
  • Admit Mealie sync locks without following links or blocking on special files;
    require a private regular single-link inode and verify its name after locking.
  • Re-read Mealie recipe identity and complete instructions after step asset
    uploads; skip stale enrichment instead of overwriting concurrent edits.
  • Serialize release preparations with a bounded stable lock, verify source
    generations before publication, and preserve competing changelog edits with
    a named recovery copy when compensation conflicts.
  • Bind release version edits to TOML project.version, preserving surrounding
    text/comments and refusing unsupported layouts before changing either file.
  • Keep API client requests on their configured origin, reject URL userinfo,
    and disable automatic redirects even on injected HTTPX pools so credentials
    cannot be forwarded to a second origin.
  • Validate returned and directly supplied auth tokens before persistence or
    client state changes: 1–8,192 visible ASCII characters, unchanged on success.
    Preserve previous credentials/cache on refusal; blank optional configured
    KptnCook tokens remain unset.
  • Bound iterative favorites/discovery envelope searches to 16 dictionary levels
    and 4,096 visited-value/key-probe operations, with cycle detection and no
    backup writes on refusal; preserve list precedence and empty-list behavior.
  • Admit credential lock files without following links or blocking on special
    files; require a regular single-link file and recheck its named identity
    after acquisition, preserving resolved .env symlinks.
  • Limit setup and credential-update reads to regular UTF-8 files of at most
    64 KiB; refuse corrupt or unreadable sources without replacing credentials.
  • Bound competing credential-writer lock waits to 30 seconds and release
    handles on timeout or interruption; retry after the current writer finishes.
  • Report refused stored tokens, login replies and recipe-list envelopes as
    short value-free CLI errors instead of tracebacks; kptncook-access-token
    logs in without the stored token so it can replace an invalid one. Guided
    setup reports a busy configuration once instead of waiting a second time.
  • Close the guided setup authentication client on success and every failure,
    including malformed replies; save only a complete nonempty string token and
    preserve prior credentials when acquisition fails.
  • Refuse nonfinite scaled ingredient quantities during recipe admission and
    export preflight, including step ingredients and Markdown serving overrides;
    preserve existing exports and ordinary zero/missing/fractional quantities.
  • Bind recovery backups to the bounded primary snapshot read for each mutation;
    refuse changed source generations before publication instead of reopening an
    unchecked source path. Direct backup calls use the same file admission.
    Read-only access keeps returning the complete generation it opened while a
    cooperating writer atomically replaces the store.
  • Admit repository mutation locks through nonblocking, no-follow descriptor opens;
    refuse special files and replaced lock identities without changing store or backup.
  • Preserve unresolved <timer> instructions and punctuation in every export,
    including when a timer entry exists but contains no duration. Markdown,
    Tandoor and Mealie write them as a visible `<timer>` code span.
  • Limit title-derived export filenames to 240 UTF-8 bytes, reserving space for
    complete ID/counter suffixes and extensions while keeping no-clobber publication.
    Retain full titles in recipe content, including Markdown's title front matter.
  • Validate discovery list types and opaque list IDs consistently in the CLI and
    public client before authenticated requests; percent-encode admitted IDs.
  • Refuse cyclic or overdeep recipe identifier wrappers with a bounded error
    before resolution or favorites backup writes, retaining supported shapes.
  • Resolve share URLs from streamed headers only, close unused bodies, and refuse
    replies observed after the 15-second acquisition budget before recipe lookup.
  • Bound competing Mealie sync lock waits to 30 seconds. Busy/interrupted runs
    close the client without reading or writing recipes; a later sync can retry.
    Locking failures other than contention are reported as lock errors, not busy.