Skip to content

release: v1.1.8 — forward APIMUX_CALLER_CTX_* env vars as headers#17

Merged
skadai merged 2 commits into
mainfrom
develop
Jun 7, 2026
Merged

release: v1.1.8 — forward APIMUX_CALLER_CTX_* env vars as headers#17
skadai merged 2 commits into
mainfrom
develop

Conversation

@skadai

@skadai skadai commented Jun 7, 2026

Copy link
Copy Markdown
Collaborator

Release branch promotion of develop → main for v1.1.8.

Highlights since v1.1.7

  • feat(client): forward APIMUX_CALLER_CTX_* env vars as X-Apimux-Caller-Ctx-* headers #16 feat(client): forward APIMUX_CALLER_CTX_* env vars as X-Apimux-Caller-Ctx-* headers

    apimux's billing-webhook fan-out fires when the request carries at least one X-Apimux-Caller-Ctx-* header. The CLI now scans the process environment for the APIMUX_CALLER_CTX_ prefix and forwards each non-empty value to the matching header. Receiver-agnostic by design — the CLI has no compile-time knowledge of which keys downstreams use.

Tag plan

After merge, push v1.1.8 pointing at the merge commit on main; release.yml runs goreleaser and publishes the binaries + checksums + latest.json.

sk and others added 2 commits June 7, 2026 19:06
…-Ctx-* headers

apimux-service collects any X-Apimux-Caller-Ctx-* header into the per-call
caller_context jsonb that drives the billing-webhook fan-out. The CLI must
participate transparently so subprocess callers (kamay-agent, future
partners) can inject attribution context without depending on CLI version
upgrades when their schema evolves.

Scan the process environment for the APIMUX_CALLER_CTX_ prefix and copy
each non-empty value to the matching header (trimmed; whitespace-only
treated as absent). The prefix → header mapping is intentionally generic
— this CLI has no compile-time knowledge of which keys downstreams use.
feat(client): forward APIMUX_CALLER_CTX_* env vars as X-Apimux-Caller-Ctx-* headers
@skadai skadai merged commit 7cf8473 into main Jun 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant