You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+23-2
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,16 @@
1
1
# Changelog
2
2
3
+
## [3.5.0] - 2020-01-26
4
+
### Added
5
+
- Added a new interface `LimitedSupplyBox extends Box` for situations where there are restrictions on the number of a box type available for packing `Item`s into. The interface contains 1 additional method `getQuantityAvailable()`.
6
+
- 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 existing `ItemTooLargeException` 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 from `NoBoxesAvailableException` as a special case
7
+
### Changed
8
+
- Improved efficiency in packing and weight distribution
9
+
- The `ItemList` passed to `VolumePacker`'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 of `Packer`
10
+
### Fixed
11
+
- Fixed issue where internal sort consistency wasn't always correct
12
+
- Some debug-level logging wasn't logging correctly
13
+
3
14
## [3.4.1] - 2019-12-21
4
15
### Changed
5
16
- Speed improvements
@@ -74,6 +85,14 @@
74
85
### Removed
75
86
- HHVM support now that project has a stated goal of no longer targeting PHP7 compatibility
76
87
88
+
## [2.6.3] - 2020-01-26
89
+
### Changed
90
+
- Improved efficiency in packing and weight distribution
91
+
- The `ItemList` passed to `VolumePacker`'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 of `Packer`
92
+
### Fixed
93
+
- Fixed issue where internal sort consistency wasn't always correct
94
+
- Some debug-level logging wasn't logging correctly
95
+
77
96
## [2.6.2] - 2019-12-21
78
97
### Changed
79
98
- Speed enhancements
@@ -342,8 +361,9 @@ Initial release
342
361
- Experimental code to get a feel for how calculations can best be implemented
343
362
- Only works if all items fit into a single box (so not production ready at all)
0 commit comments