Skip to content

Commit

Permalink
Update changelog and migration guide.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pimm committed Sep 19, 2024
1 parent ebd2011 commit 50c481d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 50c481d

Please sign in to comment.