Skip to content

Releases: EasyPost/easypost-php

v5.2.1

31 May 19:57
a75e3f0
Compare
Choose a tag to compare
  • Fixes a missing parameter bug by setting the beta parameter in the refresh function to false by default

v5.2.0

19 May 21:28
5b7036f
Compare
Choose a tag to compare
  • Adds the EndShipper Beta class with create, retrieve, all, and save functions

v5.1.1

09 May 20:35
d938336
Compare
Choose a tag to compare
  • Adds present but unimported supplemental EasyPost object classes such as TrackingDetails to the lib (closes #164)

v5.1.0

09 May 17:03
6360ed3
Compare
Choose a tag to compare
  • Adds a lowest_rate() function to Orders and Pickups
  • Adds Shipment::get_lowest_smartrate() and $shipment.lowest_smartrate() functions
  • Removes the params from the Address->verify() method since it's non-static and unused
  • Removes dead conditional message check in Address::create_and_verify

v5.0.0

09 Feb 23:12
a65ce47
Compare
Choose a tag to compare
  • Bumped minimum PHP version supported from 5.3 to 7.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 the User object
  • Set a default timeout of 30 seconds for connections and 60 seconds for requests
  • Fixes the create_list() Tracker and create_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 the Parcel object
  • Removed unpaginated all() method on the Order, CustomsInfo, and CustomsItem 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 the regenerate_rates() method instead
  • Ignores return types for now on ArrayAccess and Iterator methods (closes #124)
  • Bumps dev dependencies
  • Various other small improvements and bug fixes

v4.0.2

20 Oct 19:58
12ad051
Compare
Choose a tag to compare
  • 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

09 Oct 00:42
e49dd50
Compare
Choose a tag to compare
  • Properly handles empty lists and objects with JSON encoding (closes #114)

v4.0.0

08 Oct 16:53
fc1a048
Compare
Choose a tag to compare
  • 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

10 Jun 21:58
2c8adce
Compare
Choose a tag to compare
  • Adds SmartRate functionality to the Shipments object (available by calling get_smartrates() on a shipment)

v3.5.0

06 Apr 03:00
e225cfe
Compare
Choose a tag to compare
  • 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