Skip to content

Releases: EasyPost/easypost-php

v5.9.0

28 Mar 20:42
d1609d9

Choose a tag to compare

What's Changed

  • [ADDED] Beta paginated_api_keys functionality to the User class
    • Retrieves a paginated list of API keys for the authenticated user, versus api_keys, which returns an unpaginated list

Related PRs

Full Changelog: v7.1.0...v5.9.0

v7.1.0

08 Jan 22:09
58730a6

Choose a tag to compare

  • Add allChildren and getNextPageOfChildren methods to user service

v7.0.0

01 Dec 20:21
e45d11f

Choose a tag to compare

  • Drops support for PHP 7.4
  • Adds support for PHP 8.3
  • Persists the HTTP client inside of the EasyPostClient via the httpClient property to reduce memory consumption on consecutive requests
  • Adds type declarations for parameters and return values throughout the library, corrects docstrings to match
  • Removed withCarbonOffset parameter from create, buy, and regenerateRates functions of the Shipment service as EasyPost now offers Carbon Neutral shipments by default for free
  • Fixes a bug where the original filtering criteria of all calls wasn't passed along to getNextPage calls. Now, these are persisted via a _params key on response objects locally
  • Removes the undocumented createAndBuy function from the Batch service. The proper usage is to create a batch first and buy it separately
  • Renames primaryOrSecondary to priority to match the API name for the parameter
  • Corrects the order of the userId and email parameters in the updateEmail function of the ReferralCustomer service to match the rest of the library where IDs are always the first parameter
  • Fix various bugs throughout the library

v6.9.1

20 Nov 17:15
8b3b9fa

Choose a tag to compare

  • Fixes a bug that globally reset the timezone to UTC instead of setting the timezone per-request (closes #310)

v6.9.0

11 Oct 17:38
2b9d3c6

Choose a tag to compare

  • Deprecates API key-related functions in the user service and introduces the replacement functions in the api_keys service
  • Fixes a bug that changed the timezone to UTC on each request without resetting it to the original timezone in use (closes #310)
  • Fixes documentation generation command invocation

v6.8.1

05 Sep 21:49
067fd3a

Choose a tag to compare

  • Fix endpoint for creating a FedEx Smartpost carrier account

v6.8.0

28 Jul 16:05
5f44adf

Choose a tag to compare

  • Adds new RequestHook and ResponseHook events. (un)subscribe to them with the new subscribeToRequestHook, subscribeToResponseHook, unsubscribeFromRequestHook, or unsubscribeFromResponseHook methods of an EasyPostClient
  • Maps 400 status codes to new BadRequestException class

v6.7.0

06 Jun 21:28
fc3f9d7

Choose a tag to compare

  • Migrates carrier metadata to GA (now available via client.carrierMetadata.retrieve)

v6.6.0

02 May 16:00
d0f7156

Choose a tag to compare

  • Adds retrieveEstimatedDeliveryDate function to the Shipment class

v6.5.0

18 Apr 21:24
ae070fc

Choose a tag to compare

  • Adds beta retrieveCarrierMetadata function
  • Improves Error Deserialization to dynamically handle edge cases that have a bad format