6.95.0 / 2026-02-23
==========

**Features**

* **Gateway behaviour**: When `gatewayIdentityServiceUrl` is set, discovery is fetched from it and endpoint URLs in the document are rewritten to that base (discovery `issuer` is left unchanged for JWT validation). When `gatewayResourceServerUrl`, `gatewayCaasResourceServerUrl`, or `gatewayOsipResourceServerUrl` is set, the client uses that URL for that API and rewrites response link URLs in the response body to it. When `gatewayAccountConnectUrl` is set, the client uses that URL for the account-connect API (request routing only; link rewriting applies to resource server, CaaS, and OSIP only). When a gateway URL is not set for a resource, no rewriting occurs for that resource.
* `getOpenIdConfig()` uses a TTL cache backed by `@isaacs/ttlcache` (configurable via `options.openIdConfigCacheTtlMs`) and returns discovery with endpoint URLs rewritten to `gatewayIdentityServiceUrl` only when that option is set.
* Identity URLs are detected for versioning via the effective identity base (no hardcoded path prefix list); when provided, any request URL under that base does not have an API version segment added.
* See the readme section **Using the client behind a gateway** for configuration, verification, and security notes.

6.91.0 / 2025-05-01
==================

**Features**

* Add options for proxy agents
* Add createResellerCheckRequest method

6.8.0 / 2025-03-12
==================

* Update User Connection Types


6.0.0 / 2024-04-8
==================

**Breaking Changes**

* End-Of-Life versions of Node.js as of October 2023 are no longer supported. Supports Node.js 18, 20, and future releases.

**Features**

* Add permissionsAction to authorisation URL generation methods.
* Add customerIpAddress and customerLastLoggedTime to createAuthRequest

5.7.0 / 2023-09-11
==================

**Features**

* Add OSIP methods

5.6.1 / 2023-09-06
==================

**Bug Fixes**

* Change registerUser's clientUserId type annotation to be optional

5.6.0 / 2023-07-24
==================

**Features**

* Add detectRegularTransactions

5.4.0 / 2023-06-19
==================

**Features**

* Requests to query data can have client provided access tokens passed in, instead of relying on us to request an access token per request. Thus allowing to complete single use with the client library.

5.3.0 / 2023-05-31
==================

**Features**

* All authorisation URL generating methods use Pushed Authorisation Requests (PAR) instead of JWT Secured Authorisation Requests (JAR)

5.2.1 / 2023-01-19
==================

**Features**

* Add accountsList
* Add accountsListWithDetails

5.2.0 / 2023-01-03
==================

**Features**

* Add addAccountBalance
* Add updateAccount

5.1.2 / 2022-10-21
==================

**Features**

* Rename transactionsFromDateTime to `transactionFromDateTime` for auth requests body

5.1.1 / 2022-10-10
==================

**Features**

* Update exchangeCodeForTokens to make `nonce` optional

5.1.0 / 2022-09-15
==================

**Features**

* Update getAccountCounterparties to include version
* Update getPaymentAuthorizeUrl to accept a payee instead of payeeId
* Update getRecurringPaymentAuthorizeUrl to accept a payee instead of payeeId
* Update getStandingOrderAuthorizeUrl to accept a payee instead of payeeId
* Update create-payement example to accept a payee instead of payeeId
* Update create-standing-order example to accept a payee instead of payeeId

5.0.0 / 2022-08-16
==================

**Features**

* Migrated API client to Typescript
* Update getReversePaymentAuthorizeUrl to accept payerId and payerType

**Bug fixes**

* Fix form data for addFileToTransaction

4.20.0 / 2022-06-07
==================

**Features**

* Add listBetaConnections
* Add getReconsentAuthorizeUrlForCreatedUser
* Add updateUserConnection

4.19.0 / 2022-05-11
==================

**Features**

* Add getSpendingAnalysis

4.18.0 / 2022-04-22
==================

**Features**

* Add getSync
* Add getConnectionSyncs

4.17.0 / 2022-04-13
==================

**Features**

* Add AIS consent options to following methods:
- `getAuthorizeUrl`
- `getAuthorizeUrlForCreatedUser`
- `getReauthAuthorizeUrlForCreatedUser`
- `getRefreshAuthorizeUrlForCreatedUser`

4.13.0 / 2022-01-05
==================

**Features**

* Add getRentalRecords
* Add createRentalRecord
* Add deleteRentalRecord

4.0.0 / 2021-01-11
==================

**Features**

* Allow passing requests timeout
* Allow passing Identity service url without `/oidc` suffix

**Bug Fixes**

* Update `openid-client` and `got` to fix security vulnerabilities

**Breaking Changes**

* Normalisation of all methods to use object destructuring to pass parameters. Please refer to the docs of each method when migrating to this version
* Delete methods only return the status code when successful
* All methods to retrieve data return the body response as json, on previous versions some methods were returning the full response from the got library.
* When our API response code is not 2xx an HTTP error is thrown. Includes a response property with more information.
* Removal of all the methods with the suffix `WithToken`. To migrate to this version you can use the method with the same name but without the suffix. e.g `getUserConnectionsWithToken()` => `getUserConnections()`

  - registerUserWithToken
  - getUserConnectionsWithToken
  - deleteUserConnectionWithToken
  - deleteUserWithToken
  - getAccountsWithToken
  - getAccountWithToken
  - getAccountHoldingsWithToken
  - getTransactionsWithToken
  - syncUserConnectionWithToken



3.7.0 / 2020-07-27
==================

* Add getGlobalCounterparties

3.6.0 / 2020-07-21
==================

  * Add addFileToTransaction
  * Add getTransactionFiles
  * Add getTransactionFile
  * Add deleteTransactionFile

3.5.0 / 2020-07-14
==================

  * Add getAccountCounterparties
  * Add getAccountRecurringTransactions

3.4.0 / 2020-07-09
==================

  * Add CRUD project actions
  * Project ID query added to transaction end point

3.2.0 / 2020-05-26
==================

  * Added payer id and types to payment request

3.1.0 / 2020-05-20
==================

  * Add getPaymentFromIDToken method

3.0.1 / 2020-05-14
==================

  * Add support for sending `sub` when exchanging the auth code
  * Allow passing local params when exchanging the auth code

2.5.0 / 2019-12-06
==================

  * Add sync connection methods

2.1.0 / 2019-05-17
==================

  * Allow passing params to getAccounts and getTransactions

2.0.0 / 2019-05-17
==================

  * Change getAccounts method to receive userId instead of token
  * Add getAccountsWithToken
  * Change getTransactions method to receive userId instead of token
  * Add getTransactionsWithToken
  * Update examples to use command-line-args

1.17.0 / 2019-05-13
==================

  * Add getAccount method
