Releases: detrack/detrack-core-php
Patch 1.7.1
This update is for projects who have not updated to v2, new projects should NOT download this release
This update fixes a bug where resetKeys does not actually reset the numerical positions of the original array in ItemCollection, causing it to be interpreted as an associative array and incorrectly serialised into a JSON object by the JSON Serialiser, usually caused by calling removeAt.
Backport release v1.7.0
This update is for projects who have not updated to v2, new projects should NOT download this release
This update backports the ability to create, read and modify Collections in the v1 version of the library with the Detrack\DetrackCore\Model\Collection class. Collections are identifical to Deliveries with the only difference being deliver_to being changed to collect_from in Collections. Bulk actions for collections are also available, their names are the same as for Deliveries except with the word "Deliveries" changed to "Collections" in the method name (e.g. $client->bulkFindDeliveries() => $client->bulkFindCollections).
Patch v2.0.9
Changed the Job::hydrate function and the Vehicle::hydrate function to be non-destructive (returns a hydrated copy), and update README tutorial
Patch v2.0.8
Change endpoint Job::hydrate calls to support saving Jobs with same do_numbers across different dates
Patch v2.0.7
Fix wrong return value in Job::save in the case of updates
Patch v2.0.6
Restore non-destructive property of Job::hydrate and fix Job::save
Patch v2.0.5
Fix Job::update not working correctly when the $id field is not yet set
Patch 2.0.4
Emergency patch that fixes 2.0.3
Patch 2.0.3
Fixed Job::hydrate not modifying the original object values
v2.0.2 Patch
- * Fixed a bug where $args is not being parsed in
Job::listJobs