|
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 |
17 | 20 | - Added an explicit `AddressVerificationFieldError` model |
18 | 21 | - The `BetaPaymentRefund` now uses a list of `FieldError` instead of `Error` for the `errors` field |
19 | 22 | - Removes deprecated functions |
20 | | - - `TimeInTransit.getSmartRateAccuracy` (use `TimeInTransit.getSmartrateAccuracy` instead) |
21 | 23 | - `paymentMethod.all` (use `billing.retrievePaymentMethods` instead) |
22 | | - - `shipment.getSmartrates` (use `shipment.smartrates` instead) |
23 | | - - String overload for `shipment.lowestSmartRate`, 3rd param requires a valid `SmartrateAccuracy` |
24 | 24 | - `user.apiKeys` (use `apiKey.retrieveApiKeysForUser` instead) |
25 | | - - `utilities.getLowestSmartRate` (use `utilities.findLowestSmartrate` instead) |
26 | | -- Corrects payload wrapping for updating a webhook |
| 25 | +- Replaces deprecated functions |
| 26 | + - `shipment.lowestSmartRate` (3rd param expects a valid `SmartRateAccuracy`) |
| 27 | + - `utilities.findLowestSmartRate` (3rd param expects a valid `SmartRateAccuracy`) |
| 28 | +- Renames |
| 29 | + - `SmartrateAccuracy` is now `SmartRateAccuracy` |
| 30 | + - `SmartrateCollection` is now `SmartRateCollection` |
| 31 | + - `shipment.smartrates` is now `shipment.smartRates` |
| 32 | + - `TimeInTransit.getBySmartrateAccuracy` is now `TimeInTransit.getSmartRateAccuracy` |
27 | 33 | - Bumps dependencies |
28 | 34 |
|
29 | 35 | ## v7.4.4 (2025-01-03) |
|
79 | 85 |
|
80 | 86 | ## v7.0.0 (2023-12-06) |
81 | 87 |
|
| 88 | +See our [Upgrade Guide](UPGRADE_GUIDE.md#upgrading-from-6x-to-70) for more details. |
| 89 | + |
82 | 90 | - 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 | 91 | - Removes the undocumented `createAndBuy` function from the Batch service. The proper usage is to create a batch first and buy it separately |
84 | 92 | - Changes return type of `all()` in webhook service from `WebhookCollection` to `a list of webhooks` |
|
149 | 157 |
|
150 | 158 | ## v6.0.0 (2023-01-05) |
151 | 159 |
|
| 160 | +See our [Upgrade Guide](UPGRADE_GUIDE.md#upgrading-from-5x-to-60) for more details. |
| 161 | + |
152 | 162 | Includes all the changes from `v6.0.0-rc1` listed below in addition to the following: |
153 | 163 |
|
154 | 164 | - All constants are now defined in the top-level `Constants` class (`com.easypost.Constants`) |
@@ -292,7 +302,7 @@ Includes all the changes from `v6.0.0-rc1` listed below in addition to the follo |
292 | 302 |
|
293 | 303 | ## v5.0.0 (2022-01-14) |
294 | 304 |
|
295 | | -Upgrading major versions of this project? Refer to the [Upgrade Guide](UPGRADE_GUIDE.md). |
| 305 | +See our [Upgrade Guide](UPGRADE_GUIDE.md#upgrading-from-4x-to-50) for more details. |
296 | 306 |
|
297 | 307 | - Bump minimum Java version from 1.5 to 8 |
298 | 308 | - Changed PUT/POST request bodies from url-form encoded to JSON encoded |
|
0 commit comments