All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Now the subscription returned by the
subscription()
method in thePlanSubscriber
trait is resolved by a class compatible withCzechbox\LaravelPlans\Contracts\SubscriptionResolverInterface
. Default resolver isCzechbox\LaravelPlans\SubscriptionResolver
. Behavior and logic not changed. Documentation.
- Support for Laravel 5.4 and Laravel 5.5
SubscriptionDeleted
event.- Documentation website http://laraplans.readthedocs.io
- Renamed
user_id
tosubscribable_id
, fixes #30 - Compatibility with Laravel 5.5 - See #26
canceled_immediately
column toplan_subscriptions
tableisCanceledImmediately()
method toPlanSubscription
model.SubscriptionBuilderInterface
SubscriptionCreated
event.
- Now when a subscription is immediately canceled the
canceled_immediately
column will be set to true. ends_at
column is no longer overrided to accomodate thecanceled_at
date. This ends date will remain untouched.isActive()
method will returnfalse
if subscription was canceled immediately, even if theends_at
column is in the future.- Now
newSubscription()
method inPlanSubscriber
trait is expecting aSubscriptionBuilderInterface
implementation through Laravel'sApp::make()
.
This release breaks backward compatibility.
SubscriptionRenewed
event.SubscriptionCanceled
event.SubscriptionPlanChanged
event.
- Namespace changed from
Czechbox\LaraPlans
toCzechbox\LaravelPlans
- Fix #18
- Fix #17
- Fix #11
- This change log file
- PSR2 Formatting
- Removed
newSubscription()
first parameter default value. You should pass explicitly the subscription name. - Updated composer dependencies
- Method
isFree
will always return false. Issue #2
- Support for Laravel v5.3
- Typo in english translation
- Check for particular plan
Initial Release