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 1.10.0 (Python)"
placeholder: "packvium 1.11.0 (Python)"
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 1.10.0 (Python)"
placeholder: "packvium 1.11.0 (Python)"
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-python/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-python/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-python/discussions/categories/q-a
url: https://github.com/packvium/packvium-python/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-python/security/advisories/new
url: https://github.com/packvium/packvium-python/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
2 changes: 1 addition & 1 deletion .github/workflows/rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: rc
#
# Before the first RC, once (the owner):
# 1. Create an account on https://test.pypi.org (separate from the PyPI one) and enable 2FA.
# 2. Add a pending Trusted Publisher for project `packvium`: owner `toxakara`, repository
# 2. Add a pending Trusted Publisher for project `packvium`: owner `packvium`, repository
# `packvium-python`, workflow `rc.yml`, environment `testpypi`.
# 3. In this repository, create a GitHub environment named `testpypi` with the same
# reviewers as `pypi`.
Expand Down
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,41 @@ What changed in `packvium` on PyPI, release by release. The format follows
[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, one measure grammar, and request objects that own their mappings.

### Added

- **`deformable_boundary.bottom_gusset_depth` and `orientation: "standing"`** on a
`gusseted_bag`. A bottom gusset lengthens the girth along the bag; a standing pouch is packed
upright in a `W x H x L` frame. `Container` gains `bottom_gusset_depth`, `bag_orientation` and
`girth`.
- **`optimality.lower_bound` and the gap under `shipping_cost` and `lowest_landed_cost`**;
`validate` checks them.
- **`examples/checkout.py` and `examples/fulfilment.py`.**

### Changed

- **A `rate_table` priced above 9007199254740991 minor units** at its top bracket, surcharge
included, is `invalid_request` / `above_maximum`. A commerce quote refuses an amount above it
instead of answering, and a revision refuses a stock box priced above it.
- **Measures are ASCII decimals and fractions only:** `1e2`, `1_00`, `.5`, `5.`, `nan` and
non-ASCII digits are `wrong_type`, as in the other engines.
- **`hull_vertices` holds at most 32 points**; a non-list is `wrong_type` / `must be a list` on
the object path too.
- **`Container.tag_limits` is read-only**, `metadata` is a copy of the caller's dicts and lists,
a `CatalogSnapshot` holds tuples and a `Tariff`'s mappings are read-only. Pickling, `copy` and
`dataclasses.replace` work as before.
- **The "why unpacked" reason no longer depends on a 2 s clock.**

### Fixed

- **A very long measure took time quadratic in its length** (48 s for a 1 MB weight); it is
refused in milliseconds.
- **`effort_budget` limits written as `1000.0`** crashed the solver; they now read as integers.

## [1.10.0]

New request fields, a bound under three more objectives, and the intelligence modules join the
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-python"
repository-code: "https://github.com/packvium/packvium-python"
repository-artifact: "https://pypi.org/project/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