Skip to content

Releases: kogan/django-subscriptions

django-subscriptions-2.1.1

29 Dec 04:56
Compare
Choose a tag to compare

v2.1.1 (2020-12-29)

  • Subscriptions in SUSPENDED state can now be renewed() which solves an issue with payment callbacks correctly identifying a payment success.

django-subscriptions-2.1.0

01 Jun 11:00
Compare
Choose a tag to compare
  • Introduced a boolean setting SUBSCRIPTIONS_STUCK_RETRY, defaulting to False, that will
    cause stuck subscriptions to be marked as renewal_failed rather than state_unknown.

django-subscriptions-2.0.0

19 Apr 05:37
Compare
Choose a tag to compare

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

04 Oct 12:08
Compare
Choose a tag to compare

v1.1.0 (2019-10-04)

  • Transition methods that received a reason argument now accept a description argument,
    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 using description, and it will
    log in the state log AND the reason field.
    state_unknown, renewal_failed, end_subscription are affected.

django-subscriptions-1.0.1

13 Sep 05:56
Compare
Choose a tag to compare

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

04 Jul 00:22
6a2e8a7
Compare
Choose a tag to compare

v1.0.0 (2019-07-03)

  • Breaking Change suspended_timeout now triggers for subscriptions in SUSPENDED state that are
    timeout_hours past the subscription.end time. It used to trigger if subscription.last_updated
    hadn't changed for timeout_hours, but if trigger_suspended was running daily, the subscription
    was constantly being updated, and trigger_suspended_timeout would never find a record to end().

django-subscriptions-0.5.1

13 Jun 06:13
Compare
Choose a tag to compare

v0.5.1 (2019-06-13)

  • Only localise datetimes to dates when they are aware

django-subscriptions-0.5.0

04 Jun 05:42
Compare
Choose a tag to compare

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

07 May 00:55
Compare
Choose a tag to compare

v0.4.0 (2019-05-07)

  • Added a new trigger for renewing subscriptions in SUSPENDED state, which helps for retries
  • Changed timeout_days to timeout_hours in suspended_timeout. timeout_hours is still around
    for backward compatibility

django-subscriptions-0.3.0

01 May 06:28
Compare
Choose a tag to compare
  • Generated missing migration file
  • Added a migrate.py helper for generating migrations
  • Updated version dependencies to (hopefully) make this installable under py2.7