0.2.0 - 2026-05-22
Changed
- Breaking: require explicit API keys in
PolarExpress.client/1andPolarExpress.client/2instead of reading global application config (0.2.0) - Breaking: make
PolarExpress.client/0raise with explicit credential guidance instead of building a config-backed client (0.2.0) - Breaking: require applications to supervise the default Finch pool explicitly with
PolarExpress.child_spec/1or pass a custom:finchpool (0.2.0) - Breaking: require
PolarExpress.WebhookPlugto receive an explicit:secretinstead of reading:webhook_secretfrom global application config (0.2.0) - Return raw response maps from CSV export service functions instead of JSON-decoding export bodies (0.2.0)
- Resolve polymorphic response variants only when raw JSON keys identify exactly one variant (0.2.0)
Added
- Add
PolarExpress.child_spec/1for supervising the defaultPolarExpress.Finchpool (0.2.0) - Add public
response_dataandraw_responseresponse types onPolarExpress.Client(0.2.0) - Add
:invalid_response_errorfor successful HTTP responses with invalid JSON bodies (0.2.0) - Add ExSlop to the Credo quality gate for generated-code slop checks (0.2.0)
Removed
- Breaking: remove the auto-started
PolarExpress.Applicationcallback from package startup (0.2.0)
Fixed
- Fix
Client.request/4to report non-JSON2xxresponses as errors instead of ambiguous%{"raw" => body}successes (0.2.0) - Fix
Client.request/4specs to includenilfor204 No Contentresponses (0.2.0) - Fix
Client.raw_request/4to returnPolarExpress.Errorfor non-2xxAPI responses (0.2.0) - Tighten
Deserializer.cast/2specs so Dialyzer can detect request return-shape mismatches (0.2.0) - Generate
Client.raw_request/4calls for OpenAPI operations that return non-JSON success bodies (0.2.0)
0.1.6 - 2026-04-16
Changed
- Split customer schemas into individual and team variants for reads, creates, and state responses (
7d439c2) - Rename generated
OwnerCreateandListResource_schemas to match the latest OpenAPI names (7d439c2) - Expand generated
presentment_currencyenum values from the latest OpenAPI spec (7d439c2)
Added
- Add customer-portal email-change endpoints, members external-id lookups, metrics dashboards, and metrics export support (
7d439c2) - Add generated subscription update, order voided, payment failure, organization legal-entity, meter, seat-tier, tax, and settings schemas (
7d439c2) - Add expanded generated API coverage for benefits, custom fields, discounts, events, meters, organizations, and subscriptions (
7d439c2)
Fixed
- Fix generated schema property merging across
oneOfandanyOfbranches (dc300f2) - Add
rustyjsonto Dialyzer PLT applications so analysis can run cleanly (66d43a5)
0.1.5 - 2026-03-03
Changed
- Sync the generated SDK with Polar's multi-currency OpenAPI update (
4b19808) - Decouple client and deserializer tests from generated schemas using stable fixtures (
f7d11a7)
Added
- Add the
membersessionsJavaScript SDK parity alias while it is absent from the public OpenAPI spec (4b19808)
Fixed
- Fix CI failures from upstream removal of
CustomerWithMembersandProductPriceSeatBased.recurring_interval(f7d11a7)
0.1.4 - 2026-02-17
Changed
- Exclude the code generator and
mix polar_express.generatetask from the Hex package (42f4650) - Make
rustyjsona dev/test-only dependency after excluding generator code from the package (46c322f)
0.1.3 - 2026-02-16
Fixed
- Use
String.to_existing_atom/1for API error type parsing to prevent atom table exhaustion from unexpected error types (b719873)
0.1.2 - 2026-02-12
Added
- Add generated
oneOf,anyOf,prefixItems, typed-map, polymorphic, and nested-array support (0d0e648) - Add missing generated
CustomerPortalOAuthAccountschema support foroauth_accountsfields (0d0e648)
Fixed
- Fix generated enum modules so large value lists are not truncated (
0d0e648) - Fix compiler warnings in generator logic (
0d0e648)
0.1.1 - 2026-02-11
Changed
- Wire webhook event deserialization through the generated
EventTypesregistry (dd54197) - Add typed modules and typed event
datafields for generated webhook events (dd54197)
Removed
- Remove unused Stripe-derived registry and generator code from the Polar SDK (
dd54197)
Fixed
- Fix Standard Webhooks verification behavior in webhook handling (
c4e7f55) - Fix package metadata issues that prevented Hex publication (
430c39a) - Fix CI to call
mix polar_express.generateinstead of the old task name (0df0843) - Fix generator paths that still emitted registry files under
lib/stripe/(dd54197)
0.1.0 - 2026-02-11
Initial release.
Added
- Add generated Polar API services, resources, params, schemas, and event modules with JavaScript SDK parity (
693a87e) - Add list pagination, raw requests, streaming requests, retries, telemetry, OAuth, webhooks, and test stubs (
693a87e) - Add Finch-backed HTTP client and RustyJSON-backed JSON decoding (
693a87e)