Releases: sauladam/shipment-tracker
v0.7.0
Includes a hotfix for DHL.
Looks like we now have to provide a User Agent header of a certain shape as well as an Accept header. Also, a short timeout seems to make sense in order to prevent infinite loading.
This requires some changes to the DataProviderInterface since it is quite primitive now. But that's something for a future version...
v0.6.4
Fixes DHL issue
- Fixes some weird issue with DHL - thanks @macmastermike for the brilliantly simple solution!
- Adds some more statuses for DHL and UPS
Make UPS tracker work with CSRF cookies
Fix FedEx description
The FedEx event description now holds the actual status text.
Minor fixes and refactoring, improved statuses for UPS
-
Fixed: German UPS shipments are marked as delivered because the German status for "in delivery" contains the word "zugestellt" (delivered), which is associated with the state "delivered"
-
UPS Tracker: Move statuses list to own method. Allows to overwrite/expand the list with custom classes that extend this tracker
-
Introduced additional data for weight in the Fedex tracker:
$track->getAdditionalDetails('totalKgsWgt') // weight in KG
$track->getAdditionalDetails('totalLbsWgt') // weight in Lbs
Corrected a PostCH status
A PostCH status code was listed as 'in_transit' by mistake and has now been moved to 'delivered' where it belongs.
Adjusted PostCH status matching
The status matching for the PostCH tracker has been slightly adjusted. Before, in some cases status codes were mapped to the wrong status descripion because the regex was not strict enough.
Also added another in_transit status code.
Remove debug output
0.5.6 Remove debug output -.-
Changes for PostCH
Reimplemented the PostCH tracker to work with their new API.