You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5-3
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,11 @@
1
1
# CHANGELOG
2
2
3
-
## Next major release
3
+
## v9.0.0 (2023-12-06)
4
4
5
-
- Removes `withCarbonOffset` parameter from `create`, `buy`, and `regenerateRates` functions of the Shipment service as EasyPost now offers Carbon Neutral shipments by default for free
6
-
- Removes the undocumented `createAndBuy` function from the `Batch` service. The proper usage is to create a batch first and buy it separately
5
+
See our [Upgrade Guide](UPGRADE_GUIDE.md#upgrading-from-8x-to-90) for more details.
6
+
7
+
- Removes `with_carbon_offset` parameter from `create`, `buy`, and `regenerate_rates` functions of the Shipment service as EasyPost now offers Carbon Neutral shipments by default for free
8
+
- Removes the undocumented `create_and_buy` function from the `Batch` service. The proper usage is to create a batch first and buy it separately
7
9
- Removes the `beta_carrier_metadata` service as it is deprecated, please use the `carrier_metadata` GA service instead
-[Create and Buy Batch Function Removed](#90-create-and-buy-batch-function-removed)
19
+
20
+
### 9.0 Carbon Offset Removed
21
+
22
+
*Likelihood of Impact: **High***
23
+
24
+
EasyPost now offers Carbon Neutral shipments by default for free! Because of this, there is no longer a need to specify if you want to offset the carbon footprint of a shipment.
25
+
26
+
The `with_carbon_offset` parameter of the `create`, `buy`, and `regenerate_rates` shipment functions has been removed.
27
+
28
+
This is a high-impact change for those using `EndShippers`, as the signature for the `create` and `buy` shipment functions have changed. You will need to inspect these callsites to ensure that the EndShipper parameter is being passed in the correct place.
29
+
30
+
### 9.0 Create and Buy Batch Function Removed
31
+
32
+
*Likelihood of Impact: **Low***
33
+
34
+
The `create_and_buy` batch endpoint has been deprecated, and the `create_and_buy` Batch service function has been removed.
35
+
36
+
The correct procedure is to first create a batch and then purchase it with two separate API calls.
37
+
9
38
## Upgrading from 7.x to 8.0
10
39
40
+
**NOTICE:** v8 is deprecated.
41
+
11
42
### 8.0 High Impact Changes
12
43
13
44
-[Updated Dependencies](#80-updated-dependencies)
@@ -23,7 +54,7 @@ Use the following guide to assist in the upgrade process of the `easypost-python
-[Changed Function Parameter Order and Return Types](#80-changed-function-parameter-order-and-return-types)
25
56
26
-
## 8.0 Updated Dependencies
57
+
###8.0 Updated Dependencies
27
58
28
59
Likelihood of Impact: High
29
60
@@ -35,7 +66,7 @@ easypost-python now requires Python 3.7 or greater.
35
66
36
67
All dependencies had minor version bumps.
37
68
38
-
## 8.0 EasyPostClient
69
+
###8.0 EasyPostClient
39
70
40
71
Likelihood of Impact: High
41
72
@@ -110,13 +141,13 @@ Occurances of `scanform` are now `scan_form` and `Scanform` are now `ScanForm` t
110
141
111
142
The `primary_or_secondary` parameter name for billing functions is now called `priority` to match the documentation and API.
112
143
113
-
## 8.0 Beta Namespace Changed
144
+
###8.0 Beta Namespace Changed
114
145
115
146
Likelihood of Impact: Low
116
147
117
148
Previously, the beta namespace was found at `easypost.beta.x` where `x` is the name of your model. Now, the beta namespace is simply prepended to the name of your service: `client.beta_x`. for instance, you can call `client.beta_referral_customer.add_payment_method()`.
118
149
119
-
## 8.0 Changed Function Parameter Order and Return Types
150
+
###8.0 Changed Function Parameter Order and Return Types
120
151
121
152
Likelihood of Impact: Low
122
153
@@ -137,7 +168,7 @@ Functions that previously returned `True` now do not return anything as there is
137
168
138
169
-[Removal of `get_rates()` Shipment Method](#70-removal-of-getrates-shipment-method)
139
170
140
-
## 7.0 Updating Dependencies
171
+
###7.0 Updating Dependencies
141
172
142
173
Likelihood of Impact: High
143
174
@@ -149,7 +180,7 @@ easypost-python now requires Python 3.6 or greater and has dropped support for P
149
180
150
181
All dependencies had minor version bumps.
151
182
152
-
## 7.0 `shipment.lowest_rate()` Now Expects a List
183
+
###7.0 `shipment.lowest_rate()` Now Expects a List
153
184
154
185
Previously the `shipment.lowest_rate()` function expected a comma separated string list of filter criteria (carriers and services). These params have been corrected to expect an actual list object.
0 commit comments