Skip to content

Releases: detrack/detrack-core-php

Patch 1.7.1

21 May 03:40

Choose a tag to compare

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

25 Jan 08:52

Choose a tag to compare

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

07 Jan 04:04

Choose a tag to compare

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

03 Jan 08:36

Choose a tag to compare

Change endpoint Job::hydrate calls to support saving Jobs with same do_numbers across different dates

Patch v2.0.7

03 Jan 08:04

Choose a tag to compare

Fix wrong return value in Job::save in the case of updates

Patch v2.0.6

03 Jan 07:56

Choose a tag to compare

Restore non-destructive property of Job::hydrate and fix Job::save

Patch v2.0.5

03 Jan 07:40

Choose a tag to compare

Fix Job::update not working correctly when the $id field is not yet set

Patch 2.0.4

03 Jan 06:56

Choose a tag to compare

Emergency patch that fixes 2.0.3

Patch 2.0.3

03 Jan 06:39

Choose a tag to compare

Fixed Job::hydrate not modifying the original object values

v2.0.2 Patch

29 Dec 14:23

Choose a tag to compare

  • * Fixed a bug where $args is not being parsed in Job::listJobs