Skip to content

v2.13.0

Compare
Choose a tag to compare
@greenkeeperio-bot greenkeeperio-bot released this 02 Oct 13:54
· 693 commits to master since this release

2.13.0 (2017-10-02)

Documentation

  • update-payments: explain check for stripeSubscriptionId (6e3b5e2)

Feature

  • jobs: added marketplace_purchase cancelled (dd19da7)
  • jobs: add cancel-stripe-subscription job (1674c5a)
  • jobs: marketplace_purchase add purchased job (dd94125)
  • push, closed: do not shedule update-payments job for non stripe users (3e8bf13)
  • jobs: create-version-branch checks for payment (b5bc282)
  • jobs: pull_request/opened adds payment required status (c9cc68e)
  • create-initial-pr: set payment required status for for new payment plans (85283bb)
  • payments, update-payment: adapt to new payment logic (82b9bdd)

Bug Fixes

  • add cancel-stripe-subscription to jobsWithoutOwners (2153034)
  • cancel-stripe-subscription: set stripeItemId to null (2288bfc)
  • cancel-stripe-subscription: await upsert response (885efd4)
  • treat getCurrentlyPrivateAndEnabledRepos() as async function (51b1722)
  • payments: try/catch for retrieving payment doc (c93dcc4)

reafctor

  • tests: extract removeIfExists function to helper file (96778af)

Code Refactoring

  • jobs: extract marketplace_purchase logic into a function (8c98d44)
  • jobs: rename accountHasBilling to hasBillingAccount (199d587)
  • payments: collect all paid plans in an array to check against (29dc217)
  • payments: rename function (e616343)
  • revise wording in all prs and issues (b03c27b)

Tests

  • update-payments: allow partial mocking with proxyquire (5da6ede)
  • payments, create-initial-pr: add simple-mock (36eb436)