diff --git a/CHANGELOG.md b/CHANGELOG.md index 347d4218..a0f2ce74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,22 @@ # Changelog +## 10.0.0 (2026-09-14) + +### Breaking Changes + +#### Add typed nullable references for billing request template fields + +`mandate_request_verify`, `mandate_currency`, and `payment_currency` on +`billing_request_template` are now generated as typed nullable fields instead +of untyped objects. For example, `mandate_request_verify` is now typed as +`MandateRequestVerify` (or the language equivalent) rather than a generic +object type. + +This is a breaking change — code that accesses these fields using untyped +patterns (e.g. casting from `Object` in Java) will need to be updated to +use the new typed accessors. + ## 9.1.0 (2026-09-11) ### Features diff --git a/package-lock.json b/package-lock.json index fa5c2dff..7d674b8c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "gocardless-nodejs", - "version": "9.1.0", + "version": "10.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "gocardless-nodejs", - "version": "9.1.0", + "version": "10.0.0", "license": "MIT", "dependencies": { "got": "^11.8.6", @@ -1808,9 +1808,9 @@ } }, "node_modules/@tybys/wasm-util": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.3.tgz", - "integrity": "sha512-F3fo1MYrRJYL3zER0OUOmkutjr1Vp23m7OsSgp7nq4SP6OqX6C/56XFIPAl5bt3zaBRjmW7SGz3u/6LwFpYcOg==", + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.4.tgz", + "integrity": "sha512-W3c4gRigFS0T/Ma4qIYF3GDAc5AQdHb1yL5znJT1Zv1YaD9Kitx656wBjvr19qbiosmZT8lWDM5BEMynUqX65A==", "dev": true, "license": "MIT", "optional": true, @@ -2773,9 +2773,9 @@ } }, "node_modules/baseline-browser-mapping": { - "version": "2.11.22", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.22.tgz", - "integrity": "sha512-pWc4w51fBFd7mav43/zKRC+RI6f4yfzQoVlfvE8dECePyfkn1bzLp01Fj0QACcyCZyFhiEMyD2qScfKRWgWibA==", + "version": "2.11.23", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.23.tgz", + "integrity": "sha512-le521dGVfxM7yRX0EikCoSz+rOK+hHzdDt/E7mG1jOJB/6WAAUuwVroLwaB7ApaUsz5Q0kFlDXLSA9MheUIfRQ==", "dev": true, "license": "Apache-2.0", "bin": { diff --git a/package.json b/package.json index 7b209128..94bfd0fd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gocardless-nodejs", - "version": "9.1.0", + "version": "10.0.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 70998c0f..8df59712 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -3,7 +3,7 @@ enum Environments { Sandbox = 'SANDBOX', } -const CLIENT_VERSION = '9.1.0'; +const CLIENT_VERSION = '10.0.0'; const API_VERSION = '2015-07-06'; export { Environments, CLIENT_VERSION, API_VERSION };