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/packvium 1.10.0 (PHP)"
placeholder: "packvium/packvium 1.11.0 (PHP)"
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/packvium 1.10.0 (PHP)"
placeholder: "packvium/packvium 1.11.0 (PHP)"
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-php/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-php/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-php/discussions/categories/q-a
url: https://github.com/packvium/packvium-php/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-php/security/advisories/new
url: https://github.com/packvium/packvium-php/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
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,40 @@ What changed in `packvium/packvium` on Packagist, release by release. The format
[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 ids that sort as text.

### Added

- **`bottom_gusset_depth` and `orientation: "standing"`** on a `gusseted_bag`: `Container`
gains `$bottomGussetDepth`, `$bagOrientation` and `$uprightFrame`, and the new `Domain\Girth`
holds both loops.
- **`optimality.lower_bound` and the gap under `shipping_cost` and `lowest_landed_cost`**
(`ObjectiveBounds`, `BoundWithheldException`); the validator checks them.
- **`HullShape::MAXIMUM_VERTICES = 32`**: a longer `hull_vertices` list is `above_maximum`.
- **`examples/checkout.php` and `examples/fulfilment.php`.**

### Changed

- **A `rate_table` priced above 9007199254740991 minor units** at its top bracket is refused at
admission. A commerce quote refuses an amount above it, where it used to answer up to
`PHP_INT_MAX` and throw a `TypeError` past it. `AccessorialCharge::chargeMinor()` takes and
returns `int|string`.
- **Ids sort as text, not numbers:** containers named `"9"` and `"10"` open `"10"` first, as in
every other engine. Group names in validation reports, fixed-placement issues, policy
citations and grid lattice tags follow code-point order too.
- **The "why unpacked" reason no longer depends on a 2 s clock,** and is decided once per item
type: 900 items take 0.1–0.2 s instead of 1.6 s.

### Fixed

- **`WeightRebalancer` fataled on a compact lattice result.**
- **The support diagnosis could throw `TimeLimitReached` out of `Packer::pack`.**
- **`bin/packvium` read `tag_limits: {"0": 1}` as a list.**
- **`effort_budget` limits written as `1000.0`** threw a `TypeError`; they now read as integers.

## [1.10.0]

Overhanging pallets, gusseted bags, 24 rotations for a hull, a declared currency, an id on every
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-php"
repository-code: "https://github.com/packvium/packvium-php"
repository-artifact: "https://packagist.org/packages/packvium/packvium"
abstract: >-
Deterministic 3D bin-packing and cartonization engine for pallets, containers, trucks and shipping cartons. Exact integer geometry, reproducible results.
Expand Down
Loading
Loading