Skip to content

Releases: dvdoug/BoxPacker

v2.0.2

21 Sep 19:03
Compare
Choose a tag to compare
  • Readme fix only. No code changes.

v2.0.1

20 Sep 19:56
Compare
Choose a tag to compare
  • Pass on the logger instance from the main Packer class into the helpers
  • Allow unit tests to run with standalone PHPUnit

v2.0

30 May 20:17
Compare
Choose a tag to compare
  • Various refactorings to split out large functions into more readable pieces
  • Added a method to the Item interface to specify whether the item should be kept flat or not - this does not do anything yet, but adding now to avoid another major version bump later.

There are no bugfixes or packing logic changes in v2.0 compared to the latest v1.5 release - the bump in version number is purely because the interface has changed slightly.

v1.5.3

30 May 16:02
Compare
Choose a tag to compare
  • Some refactoring to ease future maintenance

v1.5.2

23 Jan 20:50
Compare
Choose a tag to compare
  • Ensure consistency of packing between PHP 5.x and PHP7/HHVM

v1.5.1

03 Jan 20:36
Compare
Choose a tag to compare
  • Items were occasionally rotated to fit into space that was actually too small for them [IBBoard]

v1.5

10 Oct 19:37
Compare
Choose a tag to compare
  • Add method for retrieving the volume utilisation of a packed box.
  • Previously, when encountering an item that would not fit in the current box under evaluation, the algorithm would declare the box full and open a new one. Now it will continue to pack any remaining smaller items into the current box before moving on.
  • Boxes and items with large volumes were sometimes not sorted properly because of issues with integer overflow inside SplMinHeap. This could lead to suboptimal results. [IBBoard]

v1.4.2

19 Nov 22:08
Compare
Choose a tag to compare
  • In some cases, items that only fit in a single orientation were being recorded as fitting in the alternate, impossible one [TravisBernard]

v1.4.1

13 Aug 21:22
Compare
Choose a tag to compare
  • Fix infinite loop that could occur in certain circumstances

v1.4

10 Aug 18:45
Compare
Choose a tag to compare
  • Better stacking/depth calculations