Skip to content

Commit 8962b53

Browse files
committed
update easypost to v8.2.0
1 parent 7e4a50c commit 8962b53

109 files changed

Lines changed: 407 additions & 272 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

external/ExtPrograms3.csv

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ less.php,5.1.2,github.com/wikimedia/less.php,5.3.1,
2727
Twitter-Bootstrap2,2.3.2,github.com/twbs/bootstrap,2.3.2,"patched bootstrap.less includes swatches, fontawesome & exp variables"
2828
Bootstrap3,3.4.1,github.com/twbs/bootstrap,3.4.1,patched bootstrap.less includes swatches & exp variables
2929
Bootstrap4,4.6.2,github.com/twbs/bootstrap,4.6.2,"patched bootstrap.scss includes swatches & exp variables, remove @page"
30-
Bootstrap5,5.3.5,github.com/twbs/bootstrap,5.3.5,patched bootstrap.scss includes swatches & exp variables
30+
Bootstrap5,5.3.7,github.com/twbs/bootstrap,5.3.7,patched bootstrap.scss includes swatches & exp variables
3131
popper.js/floating-ui,1.16.1,github.com/FezVrasta/popper.js,1.16.1/2.11.8,needed by BS4/BS5 (umd)
3232
Bootswatch2,2.3.2,bootswatch.com,2.3.2,
3333
Bootswatch3,3.4.1+1,bootswatch.com,3.4.1+1,change 1st line variables.less comment to output to .css file
3434
Bootswatch4,4.6.2,bootswatch.com,4.6.2,change 1st line variables.scss comment to output to .css file
35-
Bootswatch5,5.3.5,bootswatch.com,5.3.5,change 1st line variables.scss comment to output to .css file
35+
Bootswatch5,5.3.6,bootswatch.com,5.3.6,change 1st line variables.scss comment to output to .css file
3636
Font-Awesome3,3.2.1,fontawesome.github.com/Font-Awesome,3.2.1,updated FontAwesomePath in variables.less
3737
Font-Awesome4,4.7.0,fontawesome.github.com/Font-Awesome,4.7.0,
3838
Font-Awesome5,5.15.4,fontawesome.com,5.15.4,add import all 'fonts' sheets into main sheet
3939
Font-Awesome6,6.7.2,fontawesome.com,6.7.2,add import all 'fonts' sheets into main sheet
40-
Bootstrap-Icons,1.11.3,icons.getbootstrap.com,1.11.3,"patched bootstrap-icons.scss for custom folder structure, includes animation & size variables"
40+
Bootstrap-Icons,1.13.1,icons.getbootstrap.com,1.13.1,"patched bootstrap-icons.scss for custom folder structure, includes animation & size variables"
4141
Adminer,4.8.1exp,www.adminer.org,4.8.4evo,"customized plugins: tinymce, ckeditor, previewSerialized, edit-textarea & edit-calendar; edit sql tweak"
4242
SimpleAjaxUploader,2.6.7,github.com/LPology/Simple-Ajax-Uploader,2.6.7,also converted to yui module 2.5.3
4343
normalize.css,8.0.1,necolas.github.com/normalize.css,8.0.1,auto included in bootstrap 3
@@ -48,9 +48,9 @@ Facebook PHP SDK4,4.0.23,github.com/facebook/php-graph-sdk,5.7.0,
4848
Respond,1.4.2,github.com/scottjehl/Respond,1.4.2,IE6-8 shim
4949
html5shiv,3.7.3,github.com/aFarkas/html5shiv,3.7.3,IE6-8 shim
5050
csshover.htc,3.11,peterned.home.xs4all.nl/csshover.html,3.11,IE6 shim
51-
CKEditor,4.21.0,ckeditor.com,4.22.1/45.0.0,"add fieldinsert (exp), autosave, sourcedialog & kama and moono skins"
51+
CKEditor,4.21.0,ckeditor.com,4.22.1/45.2.0,"add fieldinsert (exp), autosave, sourcedialog & kama and moono skins"
5252
TinyMCE,4.9.11,tiny.cloud,4.9.11,"add localautosave, fieldinsert (exp) & quickupload (exp) plugins, & xenmce skin"
53-
TinyMCE v5,5.10.9,tiny.cloud,5.10.9/6.8.5/7.8.0,"add localautosave, fieldinsert (exp) & quickupload (exp) plugins"
53+
TinyMCE v5,5.10.9,tiny.cloud,5.10.9/6.8.6/7.9.1,"add localautosave, fieldinsert (exp) & quickupload (exp) plugins"
5454
PLUpload,2.3.9,github.com/moxiecode/plupload,2.3.9/3.1.5,"needed for TinyMCE Quick Upload, placed in that plugin folder"
5555
elFinder,2.1.65,elfinder.org,2.1.65,customized in /framework with Exponent php classes and .js files
5656
jQuery1,1.12.4,jquery.com,1.12.4,v1.11.3 still needed for old firefox
@@ -64,7 +64,7 @@ validate,1.21.0exp,jqueryvalidation.org,1.21.0,edit for 'undefined' in 'min' & '
6464
Countdown,1.1,tutorialzine.com/2011/12/countdown-jquery,1.1,
6565
timepicker,1.6.3,trentrichardson.com/examples/timepicker,1.6.3,used by adminer
6666
TimeCircles,1.5.3,github.com/wimbarelds/TimeCircles,1.5.3,
67-
DataTables,2.1.8,www.datatables.net,1.13.8/2.3.0,includes boostrap2 integration w/ renamed 1.10.7 version
67+
DataTables,2.3.2,www.datatables.net,1.13.8/2.3.2,includes boostrap2 integration w/ renamed 1.10.7 version
6868
DataTables Checkboxes,1.3.0,github.com/gyrocode/jquery-datatables-checkboxes,1.3.0,
6969
DataTables Tabletools,2.2.4,www.datatables.net,2.2.4,replaced by 'Buttons' in 1.10.8
7070
Responsive DataTables,0.2.0,github.com/Comanche/datatables-responsive,0.2.0,replaced by 'Responsive' in 1.10.8
@@ -78,32 +78,32 @@ Searcher,0.3.0,github.com/lloiser/jquery-searcher,0.3.0,
7878
DateTimePicker,2.5.21exp,github.com/xdan/datetimepicker,2.5.21,rename .full version; we add .js auto-close on inline date select and extra 'reset' work & remove .css z-index issue
7979
Bootstrap DateTimePicker,4.17.49,github.com/Eonasdan/bootstrap-datetimepicker,4.17.49,"patch for 'today' button in side-by-side view, modded version placed in bootstrap4theme & bootstrap5theme to help yadcf"
8080
Tempus Dominus Bootstrap 4,5.39.0,github.com/tempusdominus/bootstrap-4,5.39.0,
81-
Tempus Dominus Bootstrap 5,6.10.2,github.com/Eonasdan/tempus-dominus,6.10.3,added .inline z-index style; scss change @use color
81+
Tempus Dominus Bootstrap 5,6.10.2,github.com/Eonasdan/tempus-dominus,6.10.4,added .inline z-index style; scss change @use color
8282
moment.js,2.30.1,github.com/moment/moment,2.30.1,needed for Bootstrap DateTimePicker; min/moment-with-locales.js renamed
8383
strength-meter,1.1.4,github.com/kartik-v/strength-meter,1.1.4,
8484
Sortable,1.15.6,github.com/SortableJS/Sortable,1.15.6,
8585
jstree,3.3.17,github.com/vakata/jstree,3.3.17,added nav menu icons to stylesheet
8686
bootstrap3-dialog,1.35.4,github.com/nakupanda/bootstrap3-dialog,1.35.4,use /src .less file and add our .less variable imports; w/ bs4 fixes
8787
impromptu,6.2.3,trentrichardson.com/Impromptu,6.2.3,add some colors to .css
8888
jquery-confirm,3.3.4,github.com/craftpip/jquery-confirm,3.3.4,
89-
bootbox,6.0.2,github.com/makeusabrew/bootbox,6.0.3,
89+
bootbox,6.0.4,github.com/makeusabrew/bootbox,6.0.4,
9090
bootstrap-touch-carousel,0.8.0exp,github.com/ixisio/bootstrap-touch-carousel,0.8.0,patched with vertical drag fix
9191
bootstrap-tagsinput,0.8.0exp,github.com/timschlechter/bootstrap-tagsinput,0.8.0,patched with android fix
9292
bootstrap-duallistbox,3.0.9/4.0.2,github.com/istvan-ujjmeszaros/bootstrap-duallistbox,4.0.2,v4.0.2 placed in bootstrap4/5theme
9393
Typeahead,0.11.1,twitter.github.io/typeahead.js,0.11.1,needed by bootstrap-tagsinput
9494
select2,4.0.13,github.com/select2/select2,4.0.13,renamed select2.full.js to select2.js
95-
shuffle.js,v3.1.1,github.com/Vestride/Shuffle,4.2.0/5.4.1/6.1.1,
95+
shuffle.js,v3.1.1,github.com/glen-cheney/Shuffle,4.2.0/5.4.1/6.1.2,
9696
Jasny Bootstrap2,2.3.1,jasny.github.io/bootstrap,2.3.1,only using bootstrap-fileupload at this time
9797
Jasny Bootstrap,4.0.0,jasny.github.io/bootstrap,4.0.0,only using fileinput at this time
98-
easypost sdk,7.4.2,github.com/EasyPost/easypost-php,8.0.0,
98+
easypost sdk,7.4.2,github.com/EasyPost/easypost-php,8.2.0,
9999
jquery.cookie.js,1.4.1,github.com/carhartl/jquery-cookie,1.4.1,
100100
jquery.history.js,1.8b2,github.com/browserstate/history.js,1.8.0,
101101
Webshim,1.16.0,github.com/aFarkas/webshim,1.16.0,
102102
,,,,
103103
"Optional, not included",,,,
104104
dompdf,3.0.1exp/1.2.2exp,github.com/dompdf/dompdf,3.1.0,"optional, patched to display our images and not break on bad tables and disable links"
105105
mPDF,8.2.5,github.com/mpdf/mpdf,8.2.5,optional
106-
HTML2PDF,5.2.8,github.com/spipu/html2pdf,5.3.2,"optional, we tweak tcpdfConfig.php"
106+
HTML2PDF,5.2.8,github.com/spipu/html2pdf,5.3.3,"optional, we tweak tcpdfConfig.php"
107107
iLess,2.2.0,github.com/mishal/iless,2.2.0,"optional, has issues with bootstrap v2"
108108
Kint,1.1/2.2/6.0.1,github.com/kint-php/kint,6.0.1,"optional, for formatted edebug output"
109109
,,,,

external/easypost-php-7.4.2/lib/EasyPost/Verification.php

Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 44 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,45 @@
11
# CHANGELOG
22

3+
## v8.2.0 (2025-06-18)
4+
5+
- Adds the following functions
6+
- `shipment.createAndBuyLuma`
7+
- `shipment.buyLuma`
8+
- `luma.getPromise`
9+
10+
## v8.1.0 (2025-05-29)
11+
12+
- Adds `reference` to claims
13+
14+
## v8.0.1 (2025-05-27)
15+
16+
- Corrects the endpoint used for creating/updating UPS accounts
17+
18+
## v8.0.0 (2025-04-28)
19+
20+
See our [Upgrade Guide](UPGRADE_GUIDE.md#upgrading-from-7x-to-80) for more details.
21+
22+
- Drops support for PHP 8.0
23+
- Adds `custom_headers` property to webhook model
24+
- Adds the following functions to assist ReferralCustomers add credit cards and bank accounts:
25+
- `betaReferralCustomer.createCreditCardClientSecret`
26+
- `betaReferralCustomer.createBankAccountClientSecret`
27+
- `referralCustomer.addCreditCardFromStripe`
28+
- `referralCustomer.addBankAccountFromStripe`
29+
- Adds missing properties to `Tracker` and `TrackingDetail` models
30+
- Routes `AmazonShippingAccount` to the correct endpoint
31+
- Corrects wrapping payload for update webhook endpoint
32+
- Corrects various type hints throughout project
33+
- Fixes error handling
34+
- Corrects the type of `errors` property on an `ApiException` to allow for the alternative format
35+
- Fixes a bug where you could not `prettyPrint` an error if it used the alternative format
36+
- Corrects the `param` references to `property` references on all error models
37+
- Adds new `AddressVerificationFieldError` for the `errors` property on a `Verification` model
38+
- Adds missing `suggestion` property to `FieldError`
39+
- Removes deprecated `tracker.createList` endpoint function as it is no longer available via API
40+
- Removes deprecated `user.allApiKeys` and `user.apiKeys`, use `apiKey.all` and `apiKey.retrieveApiKeysForUser` respectively
41+
- Bump deps
42+
343
## v7.4.2 (2024-08-16)
444

545
- Fixes an issue with how query params were sent when using the `addCreditCard` function
@@ -29,7 +69,7 @@
2969

3070
## v7.0.0 (2023-12-01)
3171

32-
Upgrading major versions of this project? Refer to the [Upgrade Guide](UPGRADE_GUIDE.md).
72+
See our [Upgrade Guide](UPGRADE_GUIDE.md#upgrading-from-6x-to-70) for more details.
3373

3474
- Drops support for PHP 7.4
3575
- Adds support for PHP 8.3
@@ -104,7 +144,7 @@ Upgrading major versions of this project? Refer to the [Upgrade Guide](UPGRADE_G
104144

105145
## v6.0.0 (2023-01-05)
106146

107-
Upgrading major versions of this project? Refer to the [Upgrade Guide](UPGRADE_GUIDE.md).
147+
See our [Upgrade Guide](UPGRADE_GUIDE.md#upgrading-from-5x-to-60) for more details.
108148

109149
- Release final version of v6 that contains all the changes in the `v6.0.0-rc1` below
110150

@@ -201,7 +241,7 @@ Upgrading major versions of this project? Refer to the [Upgrade Guide](UPGRADE_G
201241

202242
## v5.0.0 (2022-02-09)
203243

204-
Upgrading major versions of this project? Refer to the [Upgrade Guide](UPGRADE_GUIDE.md).
244+
See our [Upgrade Guide](UPGRADE_GUIDE.md#upgrading-from-4x-to-50) for more details.
205245

206246
- Bumped minimum PHP version supported from `5.3` to `7.3`
207247
- Adds a full test suite, all functions are now tested for each object
@@ -229,7 +269,7 @@ Upgrading major versions of this project? Refer to the [Upgrade Guide](UPGRADE_G
229269

230270
## v4.0.0 (2021-10-06)
231271

232-
Upgrading major versions of this project? Refer to the [Upgrade Guide](UPGRADE_GUIDE.md).
272+
See our [Upgrade Guide](UPGRADE_GUIDE.md#upgrading-from-3x-to-40) for more details.
233273

234274
- JSON encodes POST bodies instead of form encoding them
235275
- Adds TaxIdentifier support

external/easypost-php-7.4.2/UPGRADE_GUIDE.md renamed to external/easypost-php-8.2.0/UPGRADE_GUIDE.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,49 @@
22

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

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

11+
## Upgrading from 7.x to 8.0
12+
13+
### 8.0 High Impact Changes
14+
15+
- [Drop Support for PHP 8.0](#80-drop-support-for-php-80)
16+
- [Error Parsing](#80-error-parsing)
17+
18+
### 8.0 Medium Impact Changes
19+
20+
- [Deprecations](#80-deprecations)
21+
22+
### 8.0 Drop Support for PHP 8.0
23+
24+
*Likelihood of Impact: **High***
25+
26+
This library now requires PHP 8.1 or greater.
27+
28+
## 8.0 Error Parsing
29+
30+
*Likelihood of Impact: **High***
31+
32+
The `errors` key of an error response can return either a list of `FieldError` objects or a list of strings. The error parsing has been expanded to include both formats. As such, you will now need to check for the format of the `errors` field and handle the errors appropriately for the type that is returned.
33+
34+
## 8.0 Deprecations
35+
36+
*Likelihood of Impact: **Medium***
37+
38+
The following deprecated functions have been removed:
39+
40+
- `tracker.createList` (trackers must be created individually moving forward)
41+
- `user.allApiKeys` (use `apiKey.all`)
42+
- `user.apiKeys` (use `apiKey.retrieveApiKeysForUser`)
43+
1044
## Upgrading from 6.x to 7.0
1145

46+
**NOTICE:** v7 is deprecated.
47+
1248
### 7.0 High Impact Changes
1349

1450
- [Drop Support for PHP 7.4](#70-drop-support-for-php-74)
File renamed without changes.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php
2+
3+
namespace EasyPost;
4+
5+
/**
6+
* @package EasyPost
7+
* @property string $message
8+
* @property string $code
9+
* @property string $field
10+
* @property string $suggestion
11+
*/
12+
class AddressVerificationFieldError extends EasyPostObject
13+
{
14+
}
File renamed without changes.

external/easypost-php-7.4.2/lib/EasyPost/Batch.php renamed to external/easypost-php-8.2.0/lib/EasyPost/Batch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* @property string $mode
1111
* @property string $state
1212
* @property int $num_shipments
13-
* @property array $shipments
13+
* @property Shipment[] $shipments
1414
* @property object $status
1515
* @property string $label_url
1616
* @property ScanForm $scan_form

0 commit comments

Comments
 (0)