Skip to content

v5.0.0

Choose a tag to compare

@Justintime50 Justintime50 released this 09 Feb 23:12
· 498 commits to master since this release
a65ce47
  • 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