Skip to content

v1.1.1

Choose a tag to compare

@github-actions github-actions released this 12 Oct 07:08
· 10 commits to main since this release

Added

  • Attribution for apps that pass their own stable appAccountToken (an account ID) on every purchase, with HiwiKInsightKit 0.3.0's beginPurchase(product:context:appAccountToken:). purchase_attempts now keeps every attempt of a token (surrogate key id, deduplicated by token, install and time), and the new view v_attribution maps each notification to one attempt: the latest attempt with the same token in the same app started no later than 5 minutes after the purchase (for renewals, refunds and expiry: after the purchase that started them). The funnel and revenue metrics, reports, transaction emails, is_paid and is_pro all resolve through it. Tokens generated per purchase resolve exactly as before.
  • appstore_events stores app, original_transaction_id, transaction_reason, purchase_at and original_purchase_at for new notifications.
  • Database migration v11 rebuilds purchase_attempts (existing rows kept) and recreates v_user_summary.

Upgrade: replace the binary or image and restart. Migration v11 rebuilds purchase_attempts (rows kept) and adds columns to appstore_events; take a database backup first. v1.1.0 can still run on a v11 database if you need to roll back. Apps that pass their own appAccountToken should use HiwiKInsightKit 0.3.0.

Full changelog: v1.1.0...v1.1.1