Skip to main content

CHANGELOG.md

# Changelog

All notable changes to `revenue_cat` will be documented in this file.

The format is based on Keep a Changelog.

## [0.1.0] - 2026-05-25

Initial release.

- `RevenueCat.has_active_entitlement/2` and `/3` for V2 active-entitlement checks
- `RevenueCat.delete_customer/1` and `/2` with idempotent `404` handling
- Three usage modes: global config, per-call options, and reusable `RevenueCat.new/1` client struct
- Configurable `base_url`, `req_options`, and per-call header overrides
- Paginated `next_page` resolution with loop detection
- Entitlement resolution by ID, lookup key, or display name (case-insensitive)
- `RevenueCat.Webhook.process/2` for webhook ingestion with deduplication by `external_id`
- Handler crash capture for `raise`, `throw`, and `exit` (`{:handler_crash, ...}`)
- Configurable changeset / insert / lock / update / `now_fun` injection points
- Optional `RevenueCat.Ecto.WebhookEvent` changesets, gated on `:ecto` availability
- `RevenueCat.Client` behaviour with required and optional callbacks for adapter parity