Skip to content

Commit d0f7156

Browse files
authored
Merge pull request #292 from EasyPost/v6.6.0
chore: prepare v6.6.0 for release
2 parents 789e4da + 58e263e commit d0f7156

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CHANGELOG
22

3-
## Next Release
3+
## v6.6.0 (2023-05-02)
44

55
- Adds `retrieveEstimatedDeliveryDate` function to the Shipment class
66

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "easypost/easypost-php",
33
"description": "EasyPost Shipping API Client Library for PHP",
4-
"version": "6.5.0",
4+
"version": "6.6.0",
55
"keywords": [
66
"shipping",
77
"api",

lib/EasyPost/Constant/Constants.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ abstract class Constants
1111
const BETA_API_VERSION = 'beta';
1212

1313
// Library constants
14-
const LIBRARY_VERSION = '6.5.0';
14+
const LIBRARY_VERSION = '6.6.0';
1515
const SUPPORT_EMAIL = 'support@easypost.com';
1616

1717
// Validation

test/EasyPost/Fixture.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,4 +176,9 @@ public static function rmaFormOtions()
176176
{
177177
return self::readFixtureData()['form_options']['rma'];
178178
}
179+
180+
public static function plannedShipDate()
181+
{
182+
return '2023-04-28';
183+
}
179184
}

test/EasyPost/ShipmentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ public function testRetrieveEstimatedDeliveryDate()
584584

585585
$rates = self::$client->shipment->retrieveEstimatedDeliveryDate(
586586
$shipment->id,
587-
'2023-04-28',
587+
Fixture::plannedShipDate(),
588588
);
589589

590590
foreach ($rates as $entry) {

0 commit comments

Comments
 (0)