Repository navigation
v0.3.0 - Tenant-Scoped Uniqueness, Atomic Terminal Guards, and Integrity Hardening
Highlights in v0.3.0
Database Uniqueness & Concurrency Protection
- Tenant-Scoped Unique Index: Uniqueness constraint on
provider_subscription_idscoped by resource and tenant (tenant_id), backed by a PostgreSQL unique index. - Atomic Terminal State Guards: Prevents obsolete webhook events from modifying or resurrecting terminal subscriptions (
:canceled,:incomplete_expired).
Security & Developer Experience
- Customer Identity Association: Enforced atomic customer identity checks. Contradictory customer mappings produce safe retryable errors.
- Credential Redaction: Automatic redaction of API keys and webhook secrets from diagnostics and exceptions.
- Igniter Installer Improvements: Automated domain/resource registration and endpoint raw-body preservation.
- Plug Raw Body Preservation:
AshBilling.Plug.read_body/2captures raw webhook payload bytes for signature verification.
For full migration instructions and diagnostic SQL, refer to CHANGELOG.md.