Skip to content

feat(api): add analytics, report forwarding, and sandbox contracts - #7

Merged
bjarn merged 4 commits into
mainfrom
sdk-openapi-sandbox-elixir
Oct 1, 2026
Merged

bjarn merged 4 commits into
mainfrom
sdk-openapi-sandbox-elixir

Conversation

@bjarn

@bjarn bjarn commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Review sending-openapi.json and team-openapi.json from the current documentation source.

Source fingerprints:

  • sending: c2aafb6d48a2572e688224629076748322f9c257394f18fe8879efb3f05059cb
  • team: d5525f1ce1865a3f8aee979f296c535d0029791450d89794731e70f7125b199c

The source specifications remain outside this repository and are not changed.

Changes

Add POST /analytics and its request and response types. Add project report-forwarding retrieve, update, delete, verify, and resend-code methods. Handle the empty HTTP 204 delete response.

Update project, route, webhook, RBAC, and suppression contracts. Keep project creation API tokens and both successful suppression deletion results. Keep existing public type names, scheduling helpers, builders, and cursor types. Check all 55 object component field sets against the current source. No public model type names are removed.

Keep string-valued header maps for single-message and batch sending. Both current source schemas define headers as an object with string-valued additional properties.

Keep both the current message-page metadata and legacy flat cursor fields. Keep the existing project creation response name.

Validation

13 external generator and contract tests, formatting, compilation with warnings denied, 154 ExUnit tests, documentation generation, a Hex package build, and mix hex.audit passed locally.

Require Mint ~> 1.10.2 in the package and lock Mint 1.10.2. Add a test that rejects vulnerable Mint versions in the package requirements. Other locked dependencies remain unchanged. Mint 1.10.2 is the patched release for CVE-2026-94194, CVE-2026-91043, and CVE-2026-92103:

CI passed on Elixir 1.15.8 / OTP 26.2 and Elixir 1.20.4 / OTP 29.0. The modern CI job also passed mix hex.audit, documentation generation, and the package build.

@bjarn
bjarn requested a review from a team as a code owner September 29, 2026 20:01
bjornftw
bjornftw previously approved these changes Sep 30, 2026
@bjarn bjarn changed the title feat(api): add sandbox delivery contracts feat(api): add sandbox contracts without bundled specifications Sep 30, 2026
@bjarn bjarn changed the title feat(api): add sandbox contracts without bundled specifications feat(api): add analytics, report forwarding, and sandbox contracts Sep 30, 2026
@bjarn
bjarn requested a review from bjornftw October 1, 2026 16:49
@bjarn
bjarn merged commit af77721 into main Oct 1, 2026
2 checks passed
@bjarn
bjarn deleted the sdk-openapi-sandbox-elixir branch October 1, 2026 16:59
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.

2 participants