Skip to content

v0.1.21

Latest

Choose a tag to compare

@github-actions github-actions released this 13 Nov 02:13
· 4 commits to main since this release

Changed

  • Metered usage is billed to the Stripe meter and customer it was recorded against. Changing or deleting the entitlement, or moving the license to another plan, before the next sync no longer moves or drops it. (#143, thanks @divanshu-go)
  • Names made only of whitespace are refused with 400. (#145, thanks @AbdullahZulfiqar2005)

Fixed

  • A license expired by the past-due sweep now emails the customer. (#130, thanks @5eBeKs)
  • An idempotency key past its 24h lifetime is claimed afresh instead of replaying the old response or returning 409. (#131, thanks @AlSh007)
  • Stripe webhook auto-setup decides whether BASE_URL is local from its host, so a public URL that merely contains localhost registers an endpoint, and [::1] or 0.0.0.0 counts as local. (#132, thanks @AlSh007)
  • Webhook URLs with no host are refused. (#135, thanks @AlSh007)
  • Dunning emails go through the email queue, so an SMTP outage no longer loses one and replicas never send one twice. A notice for a past-due episode that has ended or moved on is dropped, and one the queue gives up on is tried again after 6 hours. (#133, thanks @abhijeetgaur-dev)
  • Renewal, expiry, update period and trial ending dates in emails are printed in UTC. (#134, thanks @AlSh007)
  • Reminder and dunning emails wait until email is configured instead of being used up.
  • Portal invoices show amounts in the currency's own units. Unpaid invoices show the amount due instead of 0, and a paid invoice shows its billed total, including one settled outside Stripe or from the customer's balance. (#137, thanks @5eBeKs)
  • Bare border classes use the theme's border color again. (#140, #144, thanks @divanshu-go and @Tthanh2k6)
  • Portal quota usage messages are translated. (#141, #142, thanks @divanshu-go)

Upgrade notes

  • One migration, 20261113_metered_destination. It adds two columns with defaults and is instant on any table size.
  • Metered usage queued before the upgrade is sent where the license points when it syncs, as before. Usage recorded after the upgrade keeps its meter and customer.
  • Clearing or deleting a metered entitlement no longer drops usage waiting to sync. To not bill it, adjust it in Stripe.
  • During a rolling upgrade, v0.1.20 replicas still send dunning emails directly. Finish the rollout before you rely on the queue.
  • Rolling back to v0.1.20 needs no migration rollback.

New Contributors

Full Changelog: v0.1.20...v0.1.21