Releases: dvdoug/BoxPacker
Releases · dvdoug/BoxPacker
v3.5.2
v2.6.5
v3.5.1
v2.6.4
v3.5.0
Added
- Added a new interface
LimitedSupplyBox extends Box
for situations where there are restrictions on the number of a box type available for packingItem
s into. The interface contains 1 additional methodgetQuantityAvailable()
. - Added new exception
NoBoxesAvailableException
which is thrown when an item cannot be packed due to suitable boxes not being available (e.g. when the new functionality is used and the quantity available is insufficient). The existingItemTooLargeException
which is thrown when an item is too large to fit into any of the supplied box types at all (regardless of quantity) still exists, and now extends fromNoBoxesAvailableException
as a special case
Changed
- Improved efficiency in packing and weight distribution
- The
ItemList
passed toVolumePacker
's constructor is now cloned before usage, leaving the passed-in object unaffected. Previously this was used as a working dataset. The new behaviour aligns with the existing behaviour ofPacker
Fixed
- Fixed issue where internal sort consistency wasn't always correct
- Some debug-level logging wasn't logging correctly
v2.6.3
Changed
- Improved efficiency in packing and weight distribution
- The
ItemList
passed toVolumePacker
's constructor is now cloned before usage, leaving the passed-in object unaffected. Previously this was used as a working dataset. The new behaviour aligns with the existing behaviour ofPacker
Fixed
- Fixed issue where internal sort consistency wasn't always correct
- Some debug-level logging wasn't logging correctly