Skip to content

Commit 51adf91

Browse files
committedJan 26, 2020
Update changelog
1 parent a2f523d commit 51adf91

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed
 

‎CHANGELOG.md

+23-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

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+
314
## [3.4.1] - 2019-12-21
415
### Changed
516
- Speed improvements
@@ -74,6 +85,14 @@
7485
### Removed
7586
- HHVM support now that project has a stated goal of no longer targeting PHP7 compatibility
7687

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+
7796
## [2.6.2] - 2019-12-21
7897
### Changed
7998
- Speed enhancements
@@ -342,8 +361,9 @@ Initial release
342361
- Experimental code to get a feel for how calculations can best be implemented
343362
- Only works if all items fit into a single box (so not production ready at all)
344363

345-
[Unreleased]: https://github.com/dvdoug/BoxPacker/compare/3.4.1...master
364+
[Unreleased]: https://github.com/dvdoug/BoxPacker/compare/3.5.0...master
346365

366+
[3.5.0]: https://github.com/dvdoug/BoxPacker/compare/3.4.1...3.5.0
347367
[3.4.1]: https://github.com/dvdoug/BoxPacker/compare/3.4.0...3.4.1
348368
[3.4.0]: https://github.com/dvdoug/BoxPacker/compare/3.3.0...3.4.0
349369
[3.3.0]: https://github.com/dvdoug/BoxPacker/compare/3.2.2...3.3.0
@@ -355,7 +375,8 @@ Initial release
355375
[3.1.1]: https://github.com/dvdoug/BoxPacker/compare/3.1.0...3.1.1
356376
[3.1.0]: https://github.com/dvdoug/BoxPacker/compare/3.0.1...3.1.0
357377
[3.0.1]: https://github.com/dvdoug/BoxPacker/compare/3.0.0...3.0.1
358-
[3.0.0]: https://github.com/dvdoug/BoxPacker/compare/2.6.2...3.0.0
378+
[3.0.0]: https://github.com/dvdoug/BoxPacker/compare/2.6.3...3.0.0
379+
[2.6.3]: https://github.com/dvdoug/BoxPacker/compare/2.6.2...2.6.3
359380
[2.6.2]: https://github.com/dvdoug/BoxPacker/compare/2.6.1...2.6.2
360381
[2.6.1]: https://github.com/dvdoug/BoxPacker/compare/2.6.0...2.6.1
361382
[2.6.0]: https://github.com/dvdoug/BoxPacker/compare/2.5.0...2.6.0

0 commit comments

Comments
 (0)