Releases: EasyPost/easypost-php
Releases · EasyPost/easypost-php
v5.2.1
- Fixes a missing parameter bug by setting the
beta
parameter in therefresh
function tofalse
by default
v5.2.0
- Adds the
EndShipper
Beta class withcreate
,retrieve
,all
, andsave
functions
v5.1.1
v5.1.0
- Adds a
lowest_rate()
function to Orders and Pickups - Adds
Shipment::get_lowest_smartrate()
and$shipment.lowest_smartrate()
functions - Removes the
params
from theAddress->verify()
method since it's non-static and unused - Removes dead conditional
message
check inAddress::create_and_verify
v5.0.0
- Bumped minimum PHP version supported from
5.3
to7.3
- Adds a full test suite, all functions are now tested for each object
- Adds class properties to every class (closes #96)
- Updates and adds docblocks to each function throughout the library
- Switched from
array()
syntax to[]
throughout the project - Adds the
update_brand()
method on theUser
object - Set a default timeout of 30 seconds for connections and 60 seconds for requests
- Fixes the
create_list()
Tracker andcreate_and_buy()
Batch method's encodings to properly send through the parameters - Adds the PHP version used to the
User-Agent
header - Removed unusable
all()
method on theParcel
object - Removed unpaginated
all()
method on theOrder
,CustomsInfo
, andCustomsItem
objects - Removed the
get_rates()
method on the Shipment object since a Shipment object already has rates. If you need new rates for a shipment, use theregenerate_rates()
method instead - Ignores return types for now on
ArrayAccess
andIterator
methods (closes #124) - Bumps dev dependencies
- Various other small improvements and bug fixes
v4.0.2
- Further fixes JSON encoding by dropping null key/values, sending values as strings where necessary (returning to previous behavior), and removing the
array_filter
from the previous release
v4.0.1
v4.0.0
- JSON encodes POST bodies instead of form encoding them
- Adds TaxIdentifier support
- Corrects references of
[email protected]
to[email protected]
- Bumps patch versions of dependencies
v3.6.0
v3.5.0
- Added event retrieval methods
- Fixed a bug that did not allow carrier accounts to be deleted
- Fixed a bug that did not allow users to be deleted
- Removed various pieces of old code