Contract changelog

2026-10-31 — Nesting and outcome contract clarification

Prepared changes; not a claim of production rollout.

2026-10-31 — Integration compatibility repair

Prepared changes; not a claim of production rollout. Legacy reason text is retained alongside canonical machine-readable reasons. No legacy response alias is scheduled for removal.

FieldMigration
unfitted_items_details[].unfitted_reasonLegacy attempt diagnostic, retained. Do not add it to terminal outcome totals.
unfitted_outcomes[].reasonCanonical terminal code. Legacy unfitted_reason and outcome_reason retain historical text or code values; the quantity-limit value is hazmat_unit_quantity_limit.
unfulfilled_itemsLegacy alias of unavailable_items, for missing inventory only. Count once, not twice.
unfulfilled_reasonRetained alongside unavailable_reason on inventory outcomes.
Package.hazmat_detailsTyped schema including exact quantity_info fields; reference-only semantics unchanged.

Over-limit sealed units use the existing hazmat_unit_quantity_limit reason. Item-specific MISSING_NET_QUANTITY warnings identify missing ground net contents. Quantity-driven package distribution is marked by hazmat_quantity_split and placement package_split_reason.

Deprecation policy: retain legacy response aliases throughout 1.x. Future incompatible removals, renames or shapes require an opt-in major contract, a field-by-field migration guide and at least 90 days of announced deprecation. Safety corrections remain fail-closed. Compatibility route aliases do not freeze historical schemas.

2026-10-19 — contract 1.4.0: pallet mode

Additive pallet fields preserve existing request formats. Stoa's compatibility replay reported 286 of 287 identical results; the intended marking-order correction accounts for the difference. This is not a promise that every plan is unchanged.

2026-10-18 — Packing image clarity and interactive viewer

Packing images: clearer shading, outlines and layering; no contract change.

SVGs and transparent 2× PNGs share drawing rules. Thermal sheets remain 812 × 1218 pixels, black and white. The interactive viewer adds drag and keyboard rotation and packing steps to the same placements; static images remain available.

2026-10-18 — API reference refresh

Reference and Swagger now describe the same current contract, including upright and nested placements, nesting fallbacks, SVG/PNG rendering, error retry details, timing and capability fields. AI review defaults to false on every route. Route v1.1 remains the default view; v1 and unversioned aliases remain selectable. Documentation-only correction; no packing behavior or contract version change.

2026-10-18 — contract 1.3.0: item orientation

Item orientation "upright" keeps height vertical; new unfitted reason no_upright_fit. Omitted orientation retains the existing rotation behavior.

Upright units that could fit a container only when tipped are packed separately; nesting_fallbacks reports no_upright_fit_in_container, the item and container IDs, and the affected quantity per item/container pair. This is an explanation, not a change to placement or nesting policy.

The orientation release filters candidate rotations and checks upright geometry. Packing objectives, ordering heuristics, search budgets, support checks and hazmat policy are unchanged. Fewer candidates can change a heuristic's search path and run time; timing gains are order-specific, not a general speed guarantee.

2026-10-18 — validation and hazmat response corrections

Packing images

Optional SVG views and separate signed-reference SVG/PNG downloads include numbered packing steps, Letter/A4/4×6 guides and metadata-based hazmat markers. See image options and limits.

2026-10-17 — contract 1.2.0: supported placements and optional images

2026-10-17 — numeric safety and request validation

2026-10-17 — packing and documentation fixes

2026-10-16 — contract 1.1.0 corrections

The earlier 1.5.0 documentation label was replaced by contract line 1.1.0; runtime features were not rolled back. The contract applies at /api/optimize, /api/v1/optimize and /api/v1.1/optimize.

Read the guide.