Skip to content

Commit 208efd2

Browse files
authored
[chore] Remove beta carrier metadata (#296)
- Pull in updated examples submodule - Remove beta carrier metadata service, unit tests, cassettes
1 parent 1a14a7a commit 208efd2

File tree

7 files changed

+2
-323
lines changed

7 files changed

+2
-323
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- Removes `withCarbonOffset` parameter from `create`, `buy`, and `regenerateRates` functions of the Shipment service as EasyPost now offers Carbon Neutral shipments by default for free
66
- Removes the undocumented `createAndBuy` function from the Batch service. The proper usage is to create a batch first and buy it separately
77
- Changes return type of `all()` in webhook service from `WebhookCollection` to `a list of webhooks`
8+
- `BetaCarrierMetadata` service has been removed. Please use `CarrierMetadata` instead.
89

910
## v6.9.1 (2023-11-16)
1011

examples

Submodule examples updated 515 files

src/main/java/com/easypost/service/BetaCarrierMetadataService.java

Lines changed: 0 additions & 69 deletions
This file was deleted.

src/main/java/com/easypost/service/EasyPostClient.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ public class EasyPostClient {
2020
public final AddressService address;
2121
public final ApiKeyService apiKey;
2222
public final BatchService batch;
23-
public final BetaCarrierMetadataService betaCarrierMetadata;
2423
public final BetaReferralCustomerService betaReferralCustomer;
2524
public final BetaRateService betaRate;
2625
public final BillingService billing;
@@ -130,7 +129,6 @@ public EasyPostClient(String apiKey, int connectTimeoutMilliseconds, int readTim
130129
this.address = new AddressService(this);
131130
this.apiKey = new ApiKeyService(this);
132131
this.batch = new BatchService(this);
133-
this.betaCarrierMetadata = new BetaCarrierMetadataService(this);
134132
this.betaReferralCustomer = new BetaReferralCustomerService(this);
135133
this.betaRate = new BetaRateService(this);
136134
this.billing = new BillingService(this);

src/test/cassettes/beta_carrier_metadata/retrieve_carrier_metadata.json

Lines changed: 0 additions & 94 deletions
This file was deleted.

src/test/cassettes/beta_carrier_metadata/retrieve_carrier_metadata_with_filter.json

Lines changed: 0 additions & 94 deletions
This file was deleted.

src/test/java/com/easypost/BetaCarrierMetadataTest.java

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)