Releases: EasyPost/easypost-php
Releases · EasyPost/easypost-php
v5.9.0
What's Changed
- [ADDED] Beta
paginated_api_keysfunctionality to theUserclass- Retrieves a paginated list of API keys for the authenticated user, versus
api_keys, which returns an unpaginated list
- Retrieves a paginated list of API keys for the authenticated user, versus
Related PRs
- [FEAT] Beta
paginated_api_keysfunction by @nwithan8 in #334 - [chore] Prep for v5.9.0 release by @nwithan8 in #335
Full Changelog: v7.1.0...v5.9.0
v7.1.0
v7.0.0
- Drops support for PHP 7.4
- Adds support for PHP 8.3
- Persists the HTTP client inside of the
EasyPostClientvia thehttpClientproperty to reduce memory consumption on consecutive requests - Adds type declarations for parameters and return values throughout the library, corrects docstrings to match
- Removed
withCarbonOffsetparameter fromcreate,buy, andregenerateRatesfunctions of the Shipment service as EasyPost now offers Carbon Neutral shipments by default for free - Fixes a bug where the original filtering criteria of
allcalls wasn't passed along togetNextPagecalls. Now, these are persisted via a_paramskey on response objects locally - Removes the undocumented
createAndBuyfunction from theBatchservice. The proper usage is to create a batch first and buy it separately - Renames
primaryOrSecondarytopriorityto match the API name for the parameter - Corrects the order of the
userIdandemailparameters in theupdateEmailfunction 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
v6.9.0
- Deprecates API key-related functions in the
userservice and introduces the replacement functions in theapi_keysservice - 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
- Fix endpoint for creating a FedEx Smartpost carrier account
v6.8.0
- Adds new
RequestHookandResponseHookevents. (un)subscribe to them with the newsubscribeToRequestHook,subscribeToResponseHook,unsubscribeFromRequestHook, orunsubscribeFromResponseHookmethods of anEasyPostClient - Maps 400 status codes to new
BadRequestExceptionclass
v6.7.0
- Migrates carrier metadata to GA (now available via
client.carrierMetadata.retrieve)
v6.6.0
- Adds
retrieveEstimatedDeliveryDatefunction to the Shipment class
v6.5.0
- Adds beta
retrieveCarrierMetadatafunction - Improves Error Deserialization to dynamically handle edge cases that have a bad format