Repository navigation
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_URLis local from its host, so a public URL that merely containslocalhostregisters an endpoint, and[::1]or0.0.0.0counts 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
- @5eBeKs made their first contribution in #130
- @AlSh007 made their first contribution in #131
- @Tthanh2k6 made their first contribution in #144
- @divanshu-go made their first contribution in #142
- @AbdullahZulfiqar2005 made their first contribution in #145
- @akshatmalik-bruh made their first contribution in #146
Full Changelog: v0.1.20...v0.1.21