Repository navigation
Packvium 1.3.0
Portable operational artifacts for PHP, and two execution-plan fixes. Nothing breaks 1.2.0.
Added
Packvium\Artifacts\OperationalArtifact—build($request, $result, $loadingOrders),
fromJson(),parse()andcanonicalJson(). Onepackvium-operational-artifact/v1
document carries the execution plan, exact geometry, the values a work order shows, and the
request that produced it. Every Packvium engine builds the same bytes from the same result.Packvium\Artifacts\ArtifactExports—json(),csv()(RFC 4180, 18 columns) and
workOrderHtml(): a printable work order in one HTML file with no scripts and no external
resources. Errors areOperationalArtifactExceptionwith a stableerrorCode().- Both are available on PHP 7.3+ through
src-legacy/as well. examples/artifacts.php.
Fixed
Plan::canonicalJsonescaped U+2028 and U+2029, so a plan whose item type or reason held
either character differed from the other engines. It now writes RFC 8785, as they do. Every
plan without those characters keeps its 1.2.0 bytes.Plan::buildrefused an empty container's empty loading order. It is now accepted.
Changed
- A pinned catalog version resolves without scanning the version history.