• v0.1.0-dev.22 849c385d61

    v0.1.0-dev.22 Pre-release

    john released this 2026-11-12 01:02:16 +00:00 | 175 commits to main since this release

    v0.1.0-dev.22 — Allow Open WebUI tool-call session header (pre-release)

    Fixes actual browser tool calls returning OPTIONS 400 (Disallowed CORS headers)
    after schema verification succeeds. Open WebUI adds X-Session-Id on tool calls;
    dev.21 did not allow that header.

    • Add X-Session-Id to the explicit REST CORS header allowlist.
    • This header is client metadata only, never authentication or tenant selection.
    • Preserve exact origins, Bearer authentication, no credentialed cross-origin cookies,
      and console/API-key lifecycle exclusions. No schema or settings migration.
    • Regression preflights include authorization,content-type,x-session-id for schema,
      notifications/status, shopping/vendors and mutation APIs.
    • Browser smoke sends the session header on real cross-origin requests and checks
      readable errors plus rejection of unapproved origins.

    278 regression tests and browser smoke pass. AMD64 and ARM64 application startup
    and the published multi-platform index are verified by the Corn Release pipeline.

    Deploy

    Keep the existing CORN_ALLOWED_ORIGINS: "https://ai.yawn.dev" in private Compose.
    After this release publishes, update using:

    docker compose -f compose.local.yaml up -d --pull always --no-build --no-deps corn
    curl -i -X OPTIONS 'https://corn.yawn.dev/api/v1/notifications/status' \
      -H 'Origin: https://ai.yawn.dev' \
      -H 'Access-Control-Request-Method: GET' \
      -H 'Access-Control-Request-Headers: authorization,content-type,x-session-id'
    

    Expect HTTP 200 and X-Session-Id in Access-Control-Allow-Headers. Refresh Open WebUI
    and retry tools. No environment changes, local build or source pull required.
    Preserve the existing secret key, project name and mounted data. Never down -v.

    Downloads