Skip to content

Packvium 1.3.0

Choose a tag to compare

@github-actions github-actions released this 21 Sep 17:31
· 8 commits to main since this release
9c4cd90

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() and canonicalJson(). One packvium-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 are OperationalArtifactException with a stable errorCode().
  • Both are available on PHP 7.3+ through src-legacy/ as well.
  • examples/artifacts.php.

Fixed

  • Plan::canonicalJson escaped 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::build refused an empty container's empty loading order. It is now accepted.

Changed

  • A pinned catalog version resolves without scanning the version history.