Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Releases: renoki-co/cashier-register

6.0.2

18 Oct 12:22
ffe383d
Compare
Choose a tag to compare
  • Fixed an issue where over quota tracked incrementally twice the used_total value (#50)
    • Added getTotalUsedQuota() to get the used_total value for a subscription feature

6.0.1

12 Sep 12:18
7e18de0
Compare
Choose a tag to compare

Updated tests & minimum requirements

6.0.0

31 Jul 08:45
729caf5
Compare
Choose a tag to compare

Before upgrading the package from 5.x, make sure to check the upgrade guide for Stripe Cashier 13.x: https://github.com/laravel/cashier-stripe/blob/13.x/UPGRADE.md

PR: #43

  • Dropped Laravel 7.x support
  • Added Cashier Stripe 13.x support

5.0.2

14 May 22:46
Compare
Choose a tag to compare
  • Updated stub for service provider with better demo plans (5254126)

5.0.1

14 May 22:30
Compare
Choose a tag to compare
  • Fixed string casting for class-like objects (8ad7c96)

5.0.0

13 May 17:14
8e7f8cf
Compare
Choose a tag to compare

Before upgrading

This update requires a new field in the database called used_total:

Schema::create('subscription_usages', function (Blueprint $table) {
            $table->id();
            $table->unsignedBigInteger('subscription_id');
            $table->string('feature_id');
            $table->unsignedSmallInteger('used');
+           $table->unsignedSmallInteger('used_total');
            $table->timestamps();
});

Changelog

  • Added a new way to sync features' values automatically using defined closures (#34)
  • Added a new Saas::currency() method to set the global currency (b346a37)
  • Added support for custom non-int values passed as values (#36)
  • Identifiable resources can be cast to string when needed (#37)

4.3.1

12 May 17:52
Compare
Choose a tag to compare
  • Fix the broken price key for reverse-compatibility (d66d0f4)

4.3.0

12 May 13:25
58d7f57
Compare
Choose a tag to compare
  • Added metered features (#32)
  • Added support for yearly plan IDs (#29)
  • Added support for features inheritance from another plan (#31)
  • Added a ->currency() method to specify the currency only once (4334c05, 2fd9bdb)

4.2.0

10 May 18:25
6e603b3
Compare
Choose a tag to compare
  • Bumped Cashier versions (#27)
  • Added a ->popular() method for plans (#28)

4.1.0

17 Mar 08:19
Compare
Choose a tag to compare

Removed doctrine/dbal as a dependency