Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/DISCUSSION_TEMPLATE/q-a.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ body:
id: package-version
attributes:
label: Package and version
placeholder: "@packvium/engine 1.10.0 (JavaScript)"
placeholder: "@packvium/engine 1.11.0 (JavaScript)"
validations:
required: true
- type: textarea
Expand Down
2 changes: 1 addition & 1 deletion .github/DISCUSSION_TEMPLATE/show-and-tell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ body:
id: package-version
attributes:
label: Package and version
placeholder: "@packvium/engine 1.10.0 (JavaScript)"
placeholder: "@packvium/engine 1.11.0 (JavaScript)"
validations:
required: false
- type: textarea
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ body:
id: version
attributes:
label: Package version
description: The exact version installed, for example 1.10.0.
placeholder: "1.10.0"
description: The exact version installed, for example 1.11.0.
placeholder: "1.11.0"
validations:
required: true
- type: input
Expand Down Expand Up @@ -101,5 +101,5 @@ body:
options:
- label: I searched the existing issues and did not find this one.
required: true
- label: I read [docs/GUARANTEES.md](https://github.com/toxakara/packvium-node/blob/HEAD/docs/GUARANTEES.md) and this is not something it says the library does not guarantee.
- label: I read [docs/GUARANTEES.md](https://github.com/packvium/packvium-node/blob/HEAD/docs/GUARANTEES.md) and this is not something it says the library does not guarantee.
required: false
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
blank_issues_enabled: false
contact_links:
- name: Question or help with a request
url: https://github.com/toxakara/packvium-node/discussions/categories/q-a
url: https://github.com/packvium/packvium-node/discussions/categories/q-a
about: Ask in Discussions → Q&A. Answers there help the next person too.
- name: Report a security vulnerability
url: https://github.com/toxakara/packvium-node/security/advisories/new
url: https://github.com/packvium/packvium-node/security/advisories/new
about: Report privately. Do not open a public issue for a security problem.
- name: Documentation
url: https://packvium.com/docs
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ body:
id: version
attributes:
label: Package version
placeholder: "1.10.0"
placeholder: "1.11.0"
validations:
required: true
- type: textarea
Expand Down
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,46 @@ What changed in `@packvium/engine` on npm, release by release. The format follow
[Keep a Changelog](https://keepachangelog.com/1.1.0/) and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.11.0]

Bottom gussets and standing pouches, a certified bound for the shipping objectives, one money
ceiling, and one measure grammar.

### Added

- **`deformable_boundary: { kind: 'gusseted_bag', bottom_gusset_depth, orientation }`**: a bottom
gusset lengthens the girth along the bag, and `orientation: 'standing'` packs a stand-up pouch
upright.
- **`optimality.lower_bound` and the gap under `shipping_cost` and `lowest_landed_cost`**;
`validate` checks them.
- **`examples/checkout.mjs` and `examples/fulfilment.mjs`.**

### Changed

- **A `rate_table` priced above 9007199254740991 minor units** at its top bracket, surcharge
included, is `invalid_request` / `above_maximum`. The fallback's packing `score` no longer
carries a rounded double past 2^53. Commerce refuses an input integer above 2^53 − 1 with
`expected an exact integer`, since `JSON.parse` has already rounded it.
- **Measures follow the shared grammar:** `100.`, `.5`, `0x64` and `100 millimeters` are
`wrong_type`, and `"5 /2"` is five halves, not 5. `hull_vertices` holds at most 32 points.
- **Two equally ranked container types open in code-point order of their ids,** not request
order, as in every other engine. Item types in the block solver, policy citations and
validation text follow code-point order, not UTF-16 order.
- **`volume_utilization` and `support_ratio` print six places of the correctly rounded double,**
as the other engines do.
- **The "why unpacked" reason no longer reads the search deadline.**

### Fixed

- **`quality` crashed with two payload-limited container types** ("Cannot convert a BigInt value
to a number"). This is also in 1.10.0.
- **A `single` ground contact was checked in `O(n + kn)` per candidate;** it is now `O(b)` for the
placements on one plane, with the same answers.
- **A rate table of 125,000 brackets overflowed the stack.**
- **`rebalanceWeight` deep-copied the scene for every trial move:** 120 items with 4 moves take
0.4 s instead of 21.8 s.
- **The validator threw on `1e999`.**

## [1.10.0]

Nested packing, overhanging pallets, gusseted bags, 24 rotations for a hull, a declared currency
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ type: software
authors:
- name: "Packvium contributors"
website: "https://packvium.com"
version: "1.10.0"
version: "1.11.0"
license: MIT
url: "https://packvium.com"
repository-code: "https://github.com/toxakara/packvium-node"
repository-code: "https://github.com/packvium/packvium-node"
repository-artifact: "https://www.npmjs.com/package/@packvium/engine"
abstract: >-
Deterministic 3D bin-packing and cartonization engine for pallets, containers, trucks and shipping cartons. Exact integer geometry, reproducible results.
Expand Down
Loading
Loading