Releases: renoki-co/cashier-register
Releases · renoki-co/cashier-register
6.0.2
- 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
Updated tests & minimum requirements
5.0.2
- Updated stub for service provider with better demo plans (5254126)
5.0.1
- Fixed string casting for class-like objects (8ad7c96)
5.0.0
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
- Fix the broken
price
key for reverse-compatibility (d66d0f4)
4.3.0
- 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
- Bumped Cashier versions (#27)
- Added a
->popular()
method for plans (#28)
4.1.0
Removed doctrine/dbal
as a dependency