Skip to content

Releases: MyParcelCOM/api-sdk-php

v2.3.2

02 Oct 13:07
bde1b40
Compare
Choose a tag to compare
  • Symfony 5.0 removed their PSR-16 cache classes. Their PSR-6 cache classes should be used with a Psr16Cache wrapper.

v2.3.1

10 Sep 18:02
b6ac300
Compare
Choose a tag to compare
  • Changed dependency version of symfony/cache to include ^5.0.

v2.3.0

18 Aug 08:08
49e4243
Compare
Choose a tag to compare
  • Introduced support for shipment tags

v2.2.1

27 May 09:15
Compare
Choose a tag to compare
  • Changed dependency version of symfony/cache to include 4.0 and newer

v2.2.0

15 Apr 10:44
ec38334
Compare
Choose a tag to compare
  • Added customer_reference field to shipment resource
  • Disabled cache for MyParcelComApi::getShipments
  • Added customizable cache TTL for all API functions

v2.1.0

03 Mar 13:29
b962ea4
Compare
Choose a tag to compare
  • Added channel attribute to shipment resource.
  • Removed deprecated region_from and region_to from service resource.
  • Removed deprecated step_price and step_size from service-rate resource.

v2.0.0

09 Jan 15:22
281e426
Compare
Choose a tag to compare

This release contains breaking changes, since we have removed some getters and setters. If your code does not rely on working with the service regions, you should be able to update the SDK without any problems.

Internal logic

  • Added has_active_contract as default filter on service and service rate requests.
  • Implemented volumetric_weight within service rate retrieval and shipment creation.
  • Use address_from and address_to filters instead of region filters when fetching services.

Service resource

  • Added code attribute
  • Added regions_from and regions_to attributes
  • Removed region_from and region_to relationships

Shipment resource

  • Added service_code meta
  • Added total_value attribute
  • Removed physical_properties_verified attribute

Fixes

  • Fixed all available service rates for all services being returned when no filtered services could be found.
  • Fixed arrayToFilter function to work with nested filters.

v1.2.0

03 Apr 12:31
b51c66d
Compare
Choose a tag to compare
  • Add postal code filter to getRegions function.

v1.1.1

26 Feb 15:45
57ddfd6
Compare
Choose a tag to compare
  • service and contract relationships will not be automatically set if not provided.

v1.1.0

28 Jan 13:20
a4a8f7e
Compare
Choose a tag to compare
  • Removed Guzzle dependencies.