Releases: kogan/django-subscriptions
Releases · kogan/django-subscriptions
django-subscriptions-2.1.1
django-subscriptions-2.1.0
- Introduced a boolean setting
SUBSCRIPTIONS_STUCK_RETRY, defaulting toFalse, that will
cause stuck subscriptions to be marked asrenewal_failedrather thanstate_unknown.
django-subscriptions-2.0.0
v2.0.0 (2020-04-19)
- Dropped support for Django < 2.2
- Dropped support for Python 2
- Made dependencies >= rather than ^ to support a greater range
- Changed the log messages generated by the celery tasks
- Added the pk of the subscription to the str/repr to aid debugging
django-subscriptions-1.1.0
v1.1.0 (2019-10-04)
- Transition methods that received a
reasonargument now accept adescriptionargument,
which is stored on the state log, so that reasons aren't lost. Reason is still valid,
but will not be persisted to the state log. Migrate to usingdescription, and it will
log in the state log AND thereasonfield.
state_unknown,renewal_failed,end_subscriptionare affected.
django-subscriptions-1.0.1
v1.0.1 (2019-09-13)
- SubscriptionState.choices is now sorted, so that the order is consistent between python versions,
and migrations are not generated by applications.
django-subscriptions-1.0.0
v1.0.0 (2019-07-03)
- Breaking Change
suspended_timeoutnow triggers for subscriptions in SUSPENDED state that are
timeout_hourspast thesubscription.endtime. It used to trigger ifsubscription.last_updated
hadn't changed fortimeout_hours, but iftrigger_suspendedwas running daily, the subscription
was constantly being updated, andtrigger_suspended_timeoutwould never find a record toend().
django-subscriptions-0.5.1
v0.5.1 (2019-06-13)
- Only localise datetimes to dates when they are aware
django-subscriptions-0.5.0
v0.5.0 (2019-06-04)
- Display start/end dates in the local timezone
- Changed the display of Subscription.str
- Renewed can now be called from Active state, for an early renewal.
django-subscriptions-0.4.0
v0.4.0 (2019-05-07)
- Added a new trigger for renewing subscriptions in SUSPENDED state, which helps for retries
- Changed
timeout_daystotimeout_hoursinsuspended_timeout.timeout_hoursis still around
for backward compatibility
django-subscriptions-0.3.0
- Generated missing migration file
- Added a migrate.py helper for generating migrations
- Updated version dependencies to (hopefully) make this installable under py2.7