Releases: dvdoug/BoxPacker
Releases · dvdoug/BoxPacker
v3.6.0
Changed
- Improved efficiency in packing and weight distribution
- Major internal refactoring. The public-facing API did not change in any incompatible ways, but if you extended any of the
@internalclasses or made use of@internalmethods you may be affected. - Bail out earlier in the packing process where an item doesn't fit [colinmollenhour]
Fixed
- Fixed potential issue where internal sort consistency wasn't always correct
- Fixed potential issue where custom constraints might not be fully respected
- Avoid divide by zero error when a box is specified to have a depth of 0mm (e.g. 2D packing)
- Better docblocks [colinmollenhour]
v2.7.0
Changed
- Improved efficiency in packing and weight distribution
- Major internal refactoring. The public-facing API did not change in any incompatible ways, but if you extended any of the
@internalclasses or made use of@internalmethods you may be affected. - Bail out earlier in the packing process where an item doesn't fit [colinmollenhour]
Fixed
- Fixed potential issue where custom constraints might not be fully respected
- Avoid divide by zero error when a box is specified to have a depth of 0mm (e.g. 2D packing)
v3.5.2
v2.6.5
v3.5.1
v2.6.4
v3.5.0
Added
- Added a new interface
LimitedSupplyBox extends Boxfor situations where there are restrictions on the number of a box type available for packingItems into. The interface contains 1 additional methodgetQuantityAvailable(). - Added new exception
NoBoxesAvailableExceptionwhich 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 existingItemTooLargeExceptionwhich 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 fromNoBoxesAvailableExceptionas a special case
Changed
- Improved efficiency in packing and weight distribution
- The
ItemListpassed 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
ItemListpassed 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