From ca05ef38fe487b1cdbcd26cffd11dc8b05078f6b Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Fri, 25 Sep 2026 13:36:48 +0000 Subject: [PATCH] Changes generated by b0d497a33575f5ce405fd1f97f83eb6de9f2de40 This commit was automatically created from gocardless/client-library-templates@b0d497a33575f5ce405fd1f97f83eb6de9f2de40 by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/36141815775 --- CHANGELOG.md | 8 ++++++++ package-lock.json | 4 ++-- package.json | 2 +- src/constants.ts | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96399d1d..42a24648 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ # Changelog +## 10.2.0 (2026-09-25) + +### Features + +#### Add `interval` param to `GET /reporting/metrics` for aggregating results by day, week, or month + +You can now pass `interval` (`daily`, `weekly`, or `monthly`) when fetching metrics to have values aggregated over that period, instead of only receiving a single value for the full `start_date`/`end_date` range. + ## 10.1.3 (2026-09-23) ### Fixes diff --git a/package-lock.json b/package-lock.json index cd9712ad..e05b142a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "gocardless-nodejs", - "version": "10.1.3", + "version": "10.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "gocardless-nodejs", - "version": "10.1.3", + "version": "10.2.0", "license": "MIT", "dependencies": { "got": "^11.8.6", diff --git a/package.json b/package.json index 569ab1a7..646dc03b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gocardless-nodejs", - "version": "10.1.3", + "version": "10.2.0", "description": "Node.js client for the GoCardless API - a powerful, simple solution for the collection of recurring bank-to-bank payments", "author": "GoCardless Ltd ", "repository": { diff --git a/src/constants.ts b/src/constants.ts index 6fba219e..153d5871 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -3,7 +3,7 @@ enum Environments { Sandbox = 'SANDBOX', } -const CLIENT_VERSION = '10.1.3'; +const CLIENT_VERSION = '10.2.0'; const API_VERSION = '2015-07-06'; export { Environments, CLIENT_VERSION, API_VERSION };