Skip to content

Releases: dvdoug/BoxPacker

v1.6.5

03 Jun 10:36
Compare
Choose a tag to compare
  • Tweak composer configuration to make it easier to run the samples in the documentation

v2.4.4

25 Feb 16:07
Compare
Choose a tag to compare
  • Improved stability algorithm
  • Improved box selection for certain cases
  • Some internal refactoring

v1.6.4

25 Feb 16:36
Compare
Choose a tag to compare
  • Improved stability algorithm
  • Improved box selection for certain cases
  • Some internal refactoring

v3.1.0

19 Feb 21:54
Compare
Choose a tag to compare
  • Optional 'Infallible' mode of packing to not throw an exception on error (e.g. item too large) but to continue packing the other items
  • Improved stability algorithm
  • Improved box selection for certain cases
  • Some internal refactoring

v3.0.1

01 Jan 20:30
Compare
Choose a tag to compare
  • Declare PackedBoxList as implementing Countable
  • Improved item orientation selection for better packing

v2.4.3

01 Jan 20:29
Compare
Choose a tag to compare
  • Improved item orientation selection for better packing

v1.6.3

01 Jan 20:29
Compare
Choose a tag to compare
  • Improved item orientation selection for better packing

v3.0.0

23 Oct 20:44
Compare
Choose a tag to compare

Added

  • Introduced PackedItems which are a wrapper around Items with positional and dimensional information (x, y, z co-ordinates of corner closest to origin, width/length/depth as packed)
  • Added method to set threshold at which weight redistribution is disabled

Changed

  • PackedBox now contains a PackedItemList of PackedItems (rather than an ItemList of Items)
  • ConstrainedItem->canBePackedInBox now takes a PackedItemList of PackedItems (rather than an ItemList of Items)
  • BoxList, ItemList, PackedBoxList have been altered to implement the Traversable interface rather than extend SplHeap directly so that any future changes to the internals will not need an API change
  • Minimum PHP version is now 7.1 (v2 of BoxPacker with it's lower requirement of PHP 5.4 continues to be maintained)

Removed

  • HHVM support now that project has a stated goal of no longer targeting PHP7 compatibility

v2.4.2

23 Oct 20:34
Compare
Choose a tag to compare
  • Do a better job of packing identical items together (previously 2 distinct item types could be mixed if they had identical physical dimensions)

v1.6.2

23 Oct 20:34
Compare
Choose a tag to compare
  • Do a better job of packing identical items together (previously 2 distinct item types could be mixed if they had identical physical dimensions)