Skip to content

Releases: rameerez/usage_credits

v0.4.0

16 Jan 00:32

Choose a tag to compare

What's Changed

Full Changelog: v0.3.0...v0.4.0

v0.3.0

15 Jan 16:26

Choose a tag to compare

What's Changed

  • Add lifecycle callbacks by @rameerez in #25
  • Fix credit pack fulfillment not working with Pay 10+ (Stripe data in object vs data in Pay::Charge) by @rameerez in #26

Full Changelog: v0.2.1...v0.3.0

v0.2.1

15 Jan 02:23

Choose a tag to compare

What's Changed

  • Add custom create_checkout_session options (like success_url) to credit pack purchases by @yshmarov in #5

New Contributors

Full Changelog: v0.2.0...v0.2.1

v0.2.0

29 Dec 18:22
4ef157b

Choose a tag to compare

What's Changed

  • Add Claude Code GitHub Workflow by @rameerez in #14
  • Add test suite by @rameerez in #15
  • Update Pay gem dependency to support versions 8.3 to 9.x by @rameerez in #16
  • Update Pay gem dependency to support version 8.3 to < 10.0 by @kaka-ruto in #10
  • Add Pay version matrix testing with Appraisal by @rameerez in #17
  • Upgrade Pay dependency to support version 10.x by @rameerez in #18
  • Upgrade Pay dependency to support version 11.x by @rameerez in #19
  • Remove payment intent metadata from Subscription checkout session by @cole-robertson in #2
  • Handle subscription plan changes (upgrades & downgrades) by @rameerez in #20
  • Add configurable minimum fulfillment period for dev/test flexibility by @rameerez in #21
  • Add multi-period Stripe price support for subscription plans by @rameerez in #22
  • Fix a bug where very fast fulfillment periods would cause credits not to expire fast enough by @rameerez in #23
  • Fix incomplete fulfillment update on subscription plan upgrade by @rameerez in #24

New Contributors

Full Changelog: v0.1.1...v0.2.0

v0.1.1

14 Feb 02:07

Choose a tag to compare

  • Rename Wallet#subscriptions to Wallet.credit_subscriptions so that it doesn’t override the Pay gem’s own subscriptions association on User
  • Add non-postgres fallbacks for PostgreSQL-only operations (namely @> to access json attributes)
  • Add optional expires_at to give_credits so you can expire any batch of credits at any arbitrary date in the future
  • Add Allocation associations to the Wallet model
  • Add demo Rails app to showcase the gem features