|
1 | 1 | # CHANGELOG |
2 | 2 |
|
3 | | -## Next Release |
| 3 | +## v8.0.0 (2025-04-28) |
| 4 | + |
| 5 | +See our [Upgrade Guide](UPGRADE_GUIDE.md#upgrading-from-7x-to-80) for more details. |
4 | 6 |
|
5 | 7 | - Adds `WebhookCustomHeader` model, allowing `custom_headers` to be passed when creating/updating a webhook |
6 | 8 | - Adds the following functions to assist ReferralCustomers add credit cards and bank accounts: |
|
11 | 13 | - Adds missing tracker props |
12 | 14 | - Adds `tracking_codes` param to tracker index endpoint |
13 | 15 | - Routes `AmazonShippingAccount` to the correct endpoint |
| 16 | +- Corrects payload wrapping for updating a webhook |
14 | 17 | - Fixes error parsing |
15 | 18 | - Allows for alternative format of `errors` field (previously we deserialized the `errors` field into a list of `Error` objects; however, sometimes the errors are simply a list of strings. This change make the `errors` field a list of `Object` allowing for either the new `FieldError` object or a list of strings. Users will need to check for the type of error returned and handle appropriately) |
16 | 19 | - Removed the unused `Error` model |
|
23 | 26 | - String overload for `shipment.lowestSmartRate`, 3rd param requires a valid `SmartrateAccuracy` |
24 | 27 | - `user.apiKeys` (use `apiKey.retrieveApiKeysForUser` instead) |
25 | 28 | - `utilities.getLowestSmartRate` (use `utilities.findLowestSmartrate` instead) |
26 | | -- Corrects payload wrapping for updating a webhook |
27 | 29 | - Bumps dependencies |
28 | 30 |
|
29 | 31 | ## v7.4.4 (2025-01-03) |
|
79 | 81 |
|
80 | 82 | ## v7.0.0 (2023-12-06) |
81 | 83 |
|
| 84 | +See our [Upgrade Guide](UPGRADE_GUIDE.md#upgrading-from-6x-to-70) for more details. |
| 85 | + |
82 | 86 | - Removes `withCarbonOffset` parameter from `create`, `buy`, and `regenerateRates` functions of the Shipment service as EasyPost now offers Carbon Neutral shipments by default for free |
83 | 87 | - Removes the undocumented `createAndBuy` function from the Batch service. The proper usage is to create a batch first and buy it separately |
84 | 88 | - Changes return type of `all()` in webhook service from `WebhookCollection` to `a list of webhooks` |
|
149 | 153 |
|
150 | 154 | ## v6.0.0 (2023-01-05) |
151 | 155 |
|
| 156 | +See our [Upgrade Guide](UPGRADE_GUIDE.md#upgrading-from-5x-to-60) for more details. |
| 157 | + |
152 | 158 | Includes all the changes from `v6.0.0-rc1` listed below in addition to the following: |
153 | 159 |
|
154 | 160 | - All constants are now defined in the top-level `Constants` class (`com.easypost.Constants`) |
@@ -292,7 +298,7 @@ Includes all the changes from `v6.0.0-rc1` listed below in addition to the follo |
292 | 298 |
|
293 | 299 | ## v5.0.0 (2022-01-14) |
294 | 300 |
|
295 | | -Upgrading major versions of this project? Refer to the [Upgrade Guide](UPGRADE_GUIDE.md). |
| 301 | +See our [Upgrade Guide](UPGRADE_GUIDE.md#upgrading-from-4x-to-50) for more details. |
296 | 302 |
|
297 | 303 | - Bump minimum Java version from 1.5 to 8 |
298 | 304 | - Changed PUT/POST request bodies from url-form encoded to JSON encoded |
|
0 commit comments