Releases: dvdoug/BoxPacker
Releases · dvdoug/BoxPacker
v2.4.5
v1.6.5
v2.4.4
v1.6.4
v3.1.0
v3.0.1
v2.4.3
v1.6.3
v3.0.0
Added
- Introduced
PackedItem
s which are a wrapper aroundItem
s 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 aPackedItemList
ofPackedItem
s (rather than anItemList
ofItem
s)ConstrainedItem->canBePackedInBox
now takes aPackedItemList
ofPackedItem
s (rather than anItemList
ofItem
s)BoxList
,ItemList
,PackedBoxList
have been altered to implement theTraversable
interface rather than extendSplHeap
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