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 };