|
2 | 2 |
|
3 | 3 | All breaking changes will be documented in this file to assist with upgrading to newer versions of the SDK. |
4 | 4 |
|
| 5 | +## v3.0.0 |
| 6 | + |
| 7 | +There are two breaking changes in this release: |
| 8 | + |
| 9 | +1. Minimum Node.js version is now 20.0.0. |
| 10 | + - We decided to drop support for Node.js 18 as it is no longer maintained. |
| 11 | + - If you are using Node.js version 18 or below, you will need to upgrade to Node.js version 20 or above. |
| 12 | + |
| 13 | +2. Updated default logLevel. |
| 14 | + - Initially, the default log level was set to `verbose`, but we have changed it to `error` to reduce noise in the |
| 15 | + logs. |
| 16 | + - If you want to change the log level, you can do so by passing the `logLevel` option when initializing the SDK. |
| 17 | + |
5 | 18 | ## v2.0.0 |
6 | 19 |
|
7 | 20 | There are two breaking changes in this release: |
8 | 21 |
|
9 | | -1. Minimum Node.js version is now 18.0.0. |
10 | | - - We had to restrict the minimum version as we would like to use native `fetch` API instead of `node-fetch` package. |
11 | | - - If you are using Node.js version 16 or below, you will need to upgrade to Node.js version 18 or above. |
| 22 | +1. Minimum Node.js version is now 18.0.0. |
| 23 | + - We had to restrict the minimum version as we would like to use native `fetch` API instead of `node-fetch` package. |
| 24 | + - If you are using Node.js version 16 or below, you will need to upgrade to Node.js version 18 or above. |
12 | 25 |
|
13 | 26 | 2. `Webhooks.unmarshal` and `Webhooks.isSignatureValid` now returns a promise. |
14 | | - - As we started supporting edge runtimes, we had to make these methods async as the edge version of crypto returns a promise. |
15 | | - - If you are using these methods, you will need to update your code to handle the promise. |
| 27 | + - As we started supporting edge runtimes, we had to make these methods async as the edge version of crypto returns a |
| 28 | + promise. |
| 29 | + - If you are using these methods, you will need to update your code to handle the promise. |
16 | 30 |
|
17 | 31 | --- |
0 commit comments