Skip to content

Commit 751c0dc

Browse files
authored
Merge pull request #3 from toxakara/release/0.1.3
Release 0.1.3
2 parents 63b7451 + acf1412 commit 751c0dc

4 files changed

Lines changed: 52 additions & 5 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,46 @@ The format follows [Keep a Changelog](https://keepachangelog.com/1.1.0/) and thi
44
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) — with the caveat
55
that the public API is not frozen until `1.0.0`. Pin an exact version.
66

7+
## [0.1.3]
8+
9+
An additive release. No packing request/result field or solver algorithm changed.
10+
11+
### Added
12+
13+
- **First-party carrier connectors for UPS, FedEx, DHL Express and USPS**, and a live
14+
rate-card contract behind them. Connectors prepare ordinary rate-table data before a
15+
deterministic solve; no network call, clock or carrier module enters a packing engine.
16+
A rate card records which tariff version priced a quote and when it was fetched, and a
17+
card that has gone stale is refused rather than served.
18+
19+
### Fixed
20+
21+
- **`@packvium/browser` now works under Node**, not only in a browser. The WebAssembly
22+
loader generated for the `web` target fetches its own `.wasm` from a `file:` URL, which
23+
Node's `fetch` refuses — so server-side rendering, a Vitest node environment and
24+
`node --test` failed at initialization on 0.1.1 and 0.1.2. The package now selects a
25+
Node entry point that reads the module off disk. Browser behaviour is unchanged.
26+
- **The PHP package's compatibility tree could not autoload a class on old PHP.** Its
27+
entry point was the one shipped file the downgrade did not process, and it used a PHP 8
28+
function to match the namespace prefix. Three of its solver files also could not be
29+
parsed by PHP 8.0 or 8.1, which that tree also serves. Both are fixed, and the tree is
30+
installed and loaded on 7.3, 7.4, 8.0 and 8.1 before release.
31+
- **The compatibility tree did not place items where the canonical engine does on PHP 7.**
32+
Several solver comparators were partial and relied on `usort` being stable, which PHP
33+
guarantees only from 8.0, so three shared fixtures came back with a different rotation
34+
chosen. The tie-breaking is explicit now — identical results on every supported version —
35+
and no released package ever carried it, because none was installable below 8.2.
36+
37+
### Changed
38+
39+
- **`packvium/packvium` now requires `php: >=7.3` instead of `>=8.2`.** One package
40+
carries both the canonical PHP 8.2+ source and a generated `src-legacy/` tree, and its
41+
`autoload.php` selects by `PHP_VERSION_ID`; PHP parses only what it loads.
42+
`composer require packvium/packvium` is the right command on 7.3 through 8.5, and every
43+
one of those versions is held to the same committed placement results. Nothing changes
44+
for an 8.2+ consumer: the same files load, under the same names.
45+
- Every package's `homepage` now points at <https://packvium.com>.
46+
747
## [0.1.2]
848

949
An additive documentation and integration release. No packing request/result field or

‎README.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Deterministic 3D cartonization and rectangular bin packing. Pure Python, **no runtime
44
dependencies**, exact integer geometry.
55

6-
> **Version 0.1.2 — early release.** The public API is not frozen; pin an exact version.
6+
> **Version 0.1.3 — early release.** The public API is not frozen; pin an exact version.
77
> Read [docs/GUARANTEES.md](https://github.com/toxakara/packvium-python/blob/main/docs/GUARANTEES.md) before relying on a result.
88
99
```bash
@@ -101,6 +101,9 @@ One request and result contract, implemented independently in four engines (Rust
101101
Python, PHP, JavaScript) and held to identical placements on a shared fixture set.
102102
Pick the package for your stack; mixing them in one system is safe.
103103

104+
Documentation, the constraint reference and the benchmarks are at
105+
[packvium.com](https://packvium.com).
106+
104107
| Package | Install | Source |
105108
| --- | --- | --- |
106109
| Python — [`packvium`](https://pypi.org/project/packvium/) | `pip install packvium` | [packvium-python](https://github.com/toxakara/packvium-python) |

‎docs/GUARANTEES.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ silently — if you need them, they belong in your own layer above this library.
4848

4949
## Status of this release
5050

51-
Version `0.1.2` is an early release. The public API is not yet frozen: field names,
51+
Version `0.1.3` is an early release. The public API is not yet frozen: field names,
5252
status codes and the objective vector may change before `1.0.0`. Pin an exact version.
5353

5454
The algorithm complexities documented in `ALGORITHMS-AND-COMPLEXITY.md` are design

‎pyproject.toml‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "packvium"
7-
version = "0.1.2"
7+
version = "0.1.3"
88
description = "Deterministic, extensible 3D cartonization and rectangular bin-packing library"
99
readme = "README.md"
1010
requires-python = ">=3.9"
@@ -13,6 +13,10 @@ authors = [{name = "Packvium contributors"}]
1313
keywords = ["3d-bin-packing", "cartonization", "packaging", "container-loading"]
1414
classifiers = [
1515
"Development Status :: 3 - Alpha",
16+
"Intended Audience :: Developers",
17+
"Topic :: Scientific/Engineering",
18+
"Topic :: Software Development :: Libraries",
19+
"Topic :: Office/Business",
1620
"Programming Language :: Python :: 3",
1721
"Programming Language :: Python :: 3 :: Only",
1822
"Programming Language :: Python :: 3.9",
@@ -26,9 +30,9 @@ classifiers = [
2630
]
2731

2832
[project.urls]
29-
Homepage = "https://github.com/toxakara/packvium-python"
33+
Homepage = "https://packvium.com"
3034
Source = "https://github.com/toxakara/packvium-python"
31-
Documentation = "https://github.com/toxakara/packvium-python/tree/main/docs"
35+
Documentation = "https://packvium.com/docs"
3236
Changelog = "https://github.com/toxakara/packvium-python/blob/main/CHANGELOG.md"
3337
Issues = "https://github.com/toxakara/packvium-python/issues"
3438

0 commit comments

Comments
 (0)