diff --git a/CHANGELOG.md b/CHANGELOG.md index 5df75587..a45a51a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,11 +5,12 @@ Please see [the migration guide](MIGRATION.md) for guidance about updating to a newer major version. -### v4.0.0 - 2024-09-16 +### v4.0.0 - 2024-09-19 - Replace Axios dependency in favour of [fetch](https://developer.mozilla.org/docs/Web/API/fetch) ([#358](https://github.com/mollie/mollie-api-node/pull/358)) - Add `cancelUrl` and `getDashboardUrl` to payments and orders ([#327](https://github.com/mollie/mollie-api-node/pull/327)/[#373](https://github.com/mollie/mollie-api-node/pull/373)) - Add `status` and `issuers` to methods and update `pricing` ([#335](https://github.com/mollie/mollie-api-node/pull/335)/[#374](https://github.com/mollie/mollie-api-node/pull/374)) - Update and export `PaymentInclude` ([#370](https://github.com/mollie/mollie-api-node/pull/370)) + - Update payment methods ([#376](https://github.com/mollie/mollie-api-node/pull/376)) - Change type of `metadata` (from `any`) to `unknown` ([#367](https://github.com/mollie/mollie-api-node/pull/367)) - Change return type of functions to plain arrays or iterators, depending on whether the represented list is paginated ([#322](https://github.com/mollie/mollie-api-node/pull/322)) - Bump Node.js requirement to 14 diff --git a/MIGRATION.md b/MIGRATION.md index 020904ae..6a0de3d8 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -55,6 +55,10 @@ Helper functions which do not provide a significantly simpler API have been remo } ``` +## Removed Giropay and SOFORT + +[Giropay](https://help.mollie.com/hc/en-us/articles/19745480480786-Giropay-Depreciation-FAQ) and [SOFORT](https://help.mollie.com/hc/en-us/articles/20904206772626-SOFORT-Deprecation-30-September-2024) have been deprecated, and removed from the client. Please update your code accordingly. + ## Changed type of `metadata` (from `any`) to `unknown` The `metadata` property is now typed as `unknown`. Please check its type at runtime, or use `as any` to opt in to type issues.