Skip to content

OpenStatSpec PHP v0.7.0

Choose a tag to compare

@TonisOrmisson TonisOrmisson released this 07 Sep 16:01
· 21 commits to main since this release

Database-read-only export and predictable Dolt support

  • SAV/ZSAV export reads authoritative normative metadata directly: no compatibility-catalog rewrites, operation/fidelity audit records, initialization or migration, including failure paths.
  • Output is published only after successful temporary-file writing. Existing destinations survive writer failure. Export-after-transformation preserves named formats, measurement levels and valid defaults for new variables.
  • Default Dolt writes support exactly the tested 2.2.2 and 2.2.3 versions without external declaration files. Other write versions are rejected; positively identified Dolt read-only exports are independent of the write-version gate.
  • Selects openstatspec-database-io-v1 from released specification v0.5.0, commit 864e84479f554b8ee250ffed44c4dfb963750d4a.

Migration

Breaking: SpssExportResult::operationId and its constructor argument are removed. Import operation IDs are unchanged. Initialize/upgrade the catalog explicitly with SpssAdapter::migrateCatalog() on a write-capable deployment connection; export refuses unready catalogs instead of repairing them.

Breaking: the former broad Dolt 2.2.x write range is narrowed to the two exact tested versions. Injected SPSS writers receive a temporary path and must use the Dataset's target format, not the temporary filename extension.

composer require openstatspec/php:^0.7

Release commit: 8d15c184c36b8bc3091ac938da0be47fceb312fa.
Reviewed with defect fixes; full PHP 8.4/8.5 and SQL-service CI, real SELECT-only Dolt round trips/failure preservation, and Composer checks passed. Plan/Frontend/Binding 0.1/0.2 claims remain unchanged; optional 0.3 contracts are not implemented.