Skip to content

Releases: discue/paddle-integration-mongodb

v0.26.0

02 Sep 12:50
Compare
Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.26.0 (2023-09-02)

Bug Fixes

  • hydration: fix calculation of subscription end date (492ded3)

Chores

  • ci: use node lts (9e940f8)
  • deps-dev: bump @playwright/test from 1.35.0 to 1.35.1 (e77f65b)
  • deps-dev: bump @playwright/test from 1.35.1 to 1.37.1 (d6da63b)
  • deps-dev: bump chai from 4.3.7 to 4.3.8 (43b8bfb)
  • deps-dev: bump eslint from 8.42.0 to 8.44.0 (cc2271a)
  • deps-dev: bump eslint from 8.44.0 to 8.46.0 (d8ba969)
  • deps-dev: bump eslint from 8.46.0 to 8.48.0 (c3acf82)
  • deps-dev: bump mongodb-memory-server from 8.13.0 to 8.15.1 (0883c4b)
  • deps-dev: bump nodemon from 2.0.22 to 3.0.1 (ee85eb8)
  • deps-dev: bump puppeteer from 20.5.0 to 20.7.4 (7d8d6cb)
  • deps-dev: bump puppeteer from 20.7.4 to 20.9.0 (7fd5f4a)
  • deps: bump @discue/mongodb-resource-client from 0.3.0 to 0.7.0 (99ec590)
  • deps: bump @discue/mongodb-resource-client from 0.7.0 to 0.8.0 (042af03)
  • deps: bump html-entities from 2.3.5 to 2.4.0 (7eca6a4)
  • deps: bump mongodb from 5.7.0 to 6.0.0 (1151819)
  • deps: update resource client (7684454)
  • hooks: also store effective cancel date (7e337dc)
  • update date field selector (9957077)

v0.25.0

10 Jun 19:07
Compare
Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.25.0 (2023-06-10)

Features

  • storage: allow passing mongo client (8b962fe)
  • use discue mongo db storage client (f8c2707)

Chores

  • deps-dev: bump puppeteer from 20.4.0 to 20.5.0 (c44dd79)
  • deps: bump actions/stale from 7 to 8 (75ad3fd)
  • deps: update dependencies (e853f1b)

v0.24.0

28 May 16:40
Compare
Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.24.0 (2023-05-28)

Features

  • add actual server middleware (08e1427)
  • add body parser module (b30f1a9)
  • add client function to create customData objects (ca75e16)
  • add get start and end date method (3797f07)
  • add html encoder (d4cd798)
  • add jsdoc to main export to enable typings (9453b92)
  • add method to compile payments list (8b90029)
  • add method to compile status trail (5fe2b5f)
  • add methods for payments hooks (f13ab2f)
  • add mongodb storage module (72c21f0)
  • add upcoming payment also to payments trail (7c34369)
  • after sub updated deactivate prev sub (5fad2c5)
  • allow logging of outgoing requests (1fee644)
  • allow resource name to be customized (00f81f9)
  • allow subs to be stored in nested collections (8f7b875)
  • allow to calc sub state in the future (2bba501)
  • also store alert id and name in status models (ed8bff1)
  • api: add get order method (2765fcc)
  • api: add get plan by id method (a1b1fcd)
  • api: add get single subscription method (552d513)
  • api: add get subscription payments method (4c5909e)
  • api: add list plans method (f5d5ba9)
  • api: add list products method (be6f391)
  • api: add refund payment method (a9d68e2)
  • api: add service for paddle subscriptions api (a1d2af1)
  • api: allow pagination and fetching all subs (df3ecae)
  • api: enable customization of http params (4c8f6cb)
  • api: ensure api is always initialized before first request (d96ec94)
  • api: import got only once (84ad151)
  • calculate subscription status per subscription plan id (9eb1e30)
  • do not add upcoming payment if sub expires before (11816de)
  • dont store subscription in subcollection (572e8f0)
  • export api constructor too (96f6011)
  • extract ids from namespaced object (66de639)
  • handle errors in middleware gracefully (1913ac7)
  • html encode also all subscription events (95353ba)
  • implement create, update and cancel subscription (bbb716b)
  • implement get subscription info method (a200371)
  • middleware: emit events after successful hook processing (190f0a5)
  • return future subscription info too (e6b1803)
  • return payment trail per sub plan id (9437d7d)
  • return start/end date per sub plan id (23538c6)
  • return status trail per sub plan id (251576a)
  • sort payments trail descending (0d833f3)
  • sort status trail also descending (72009a2)
  • subscription-hydration: also hydrate payments (1a81dc5)
  • subscription-hydration: also store instalments and sale_gross values (d423e66)
  • subscription-hydration: check if plan already active (5d0d90e)
  • subscription-hydration: require plan id instead of subscription id param (48394ce)
  • subscription-hydration: set effective cancellation date based on last payment (931d9e6)
  • subscription-info: add cancel subscription method (888c5f2)
  • subscription-info: add find subscription id method (7ff3dbc)
  • subscription-info: add update subscription plan method (3acc96f)
  • subscription-info: allow hydration of local status (2afa7dd)
  • subscription-info: catch and log api errors (8dcc0f0)
  • subscription-info: check whether sub was already hydrated (872caa5)
  • subscription-info: expect object or resource ids (50e037a)
  • subscription-info: return update and cancel url too (b15b5a9)
  • subscription-info: use custom data to verify api client (7a71780)
  • subscriptioninfo: return more details for hydrated payments ([137d157](https://github.com/discue/paddle-integration...
Read more

v0.1.0

28 May 16:40
Compare
Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.1.0 (2022-08-21)

Chores