Skip to content

Commit 4c46fbf

Browse files
authored
Prep v7 major release (#425)
1 parent 676653d commit 4c46fbf

File tree

4 files changed

+25
-4
lines changed

4 files changed

+25
-4
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CHANGELOG
22

3-
## Next Release (Major Version)
3+
## v7.0.0 (2023-12-06)
44

55
- Remove `withCarbonOffset` parameter from shipment create and buy functions
66
- Remove `carbon_offset` property of `Rate` object

UPGRADE_GUIDE.md

+21
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,33 @@
22

33
Use the following guide to assist in the upgrade process of the `easypost-node` library between major versions.
44

5+
- [Upgrading from 6.x to 7.0](#upgrading-from-6x-to-70)
56
- [Upgrading from 5.x to 6.0](#upgrading-from-5x-to-60)
67
- [Upgrading from 4.x to 5.0](#upgrading-from-4x-to-50)
78
- [Upgrading from 3.x to 4.0](#upgrading-from-3x-to-40)
89

10+
## Upgrading from 6.x to 7.0
11+
12+
### 7.0 High Impact Changes
13+
14+
- [Carbon Offset Removed](#70-carbon-offset-removed)
15+
16+
### 7.0 Low Impact Changes
17+
18+
- [createAndBuy() Batch Function Removed](#70-createandbuy-batch-function-removed)
19+
20+
### 7.0 Carbon Offset Removed
21+
22+
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. The `withCarbonOffset` parameter of the `create`, `buy`, and `regenerateRates` shipment functions have been removed as a result, as well as the overload functions that have `withCarbonOffset` parameter. This is a high-impact change for those using `EndShippers` as the function interfaces have changed. You will need to inspect the callsites to create and buy shipments to ensure that the EndShipper parameter is being passed in the correct place now that the `withCarbonOffset` parameter has been removed.
23+
24+
### 7.0 createAndBuy Batch Function Removed
25+
26+
The `createAndBuy` Batch endpoint has been deprecated and removed from the library. The correct procedure is to first create a batch and then purchase it with two separate API calls.
27+
928
## Upgrading from 5.x to 6.0
1029

30+
**NOTICE:** v6 is deprecated.
31+
1132
### 6.0 High Impact Changes
1233

1334
- [Updating Dependencies](#60-updating-dependencies)

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@easypost/api",
33
"description": "EasyPost Node Client Library",
4-
"version": "6.8.2",
4+
"version": "7.0.0",
55
"author": "Easypost Engineering <[email protected]>",
66
"homepage": "https://easypost.com",
77
"bin": {

0 commit comments

Comments
 (0)