- Catalog identifiers are now RFC 4122 version 4 UUIDs. Before, they were 16
random bytes without version or variant bits, so about five of eight imported
datasets got an id that
InPlaceApplyRequestrejects withinvalid_dataset_id, and in-place transformations could not be applied to them. Datasets imported by earlier versions keep their ids; re-import one whose id is rejected. Found by a three-way benchmark with Statscraft and the Python adapter.
- Support PHP 8.3 again. The only PHP 8.4 functions in use were two
array_any()calls, nowarray_filter()checks with the same result. The lock file resolves against PHP 8.3.0 and CI runs the regular suite on PHP 8.3, 8.4 and 8.5. - Require
openstatspec/spss-sav^3.2, the first codec release that runs on PHP 8.3 and writes very long string records that IBM SPSS recognises. The engine capability declaration now lists 3.2.0 as the CI-tested codec.
0.8.1 - 2026-11-09
- Make the shared import preflight cheaper per cell (same rules, order and messages) and bind SQLite case rows with positional placeholders. A 50,000 case by 201 variable SAV imports into SQLite in 12-13 s instead of 19-20 s.
0.8.0 - 2026-09-10
This release consolidates the never-tagged, never-published 0.7.2 preparation with official opt-in SPSS Frontend 0.3 support. The previous public release is 0.7.1; there was no 0.7.2 release.
- Explicitly selected official SPSS Frontend 0.3 using the existing strict request/parser/binder/compiler pipeline; Frontend 0.2 remains the default. Support comments, dictionary-order TO and grouped commands, NOT and comparison aliases, finite open RECODE ranges, and ordered typed ADD VALUE LABELS.
- Check all 90 effective official cases against the unchanged specification pin,
inherited Plan 0.1/0.2 objects and hashes, and native SQLite in-place provenance
and identity. All 20 implementation CI jobs passed at
22e261842e538188aea281896c578c5f3d1e38b7, including the service matrix (run). Declare Frontend 0.3 officially conformant while retaining its opt-in capability field. The final 0.8.0 release commit still requires full CI before tagging. - Use precedence comparisons, NOT, AND, OR; parentheses override. Compilation is pure over request metadata: callers supply the current ordered dictionary and typed value labels; the compiler does not read the database. No STRING/DELETE, schema extension, Plan 0.3 or In-Place 0.3 support is added.
- Preserve finite binary64 precision in SQLite case values and compression bias, and in affected multiple-response counted-value metadata writes.
- Fail imports on SQL errors even when the supplied PDO uses silent or warning mode, restoring the caller's error mode afterward. Reject caller-owned active transactions before import mutation.
- Finalize SQLite/PostgreSQL import audit success inside the native import transaction, so finalization failure rolls back the attempt. Retain the MySQL/MariaDB/Dolt ownership-scoped cleanup and finalization compensation.
- Send PostgreSQL and MySQL/MariaDB/Dolt case INSERTs in bounded prepared batches, respecting parameter/packet budgets and preserving preflight-valid oversized singleton rows, case order, NULLs, strings and numeric precision.
- Load canonical and legacy export dictionary children and set members with dataset-scoped grouped queries instead of per-variable/per-set queries. Export remains database-read-only and observes fresh metadata on every call.
Existing import/export call forms, dependencies, specification pin, database support claims and catalog schema remain unchanged. Catalog preparation and ownership checks are retained; this release requires no new migration.
0.7.1 - 2026-09-07
- Updated the installed and exact CI-tested
openstatspec/spss-savcodec from 3.0.3 to 3.1.1 and aligned engine capability declarations and conformance tests. - No adapter API, specification pin, or database support changes.
0.7.0 - 2026-09-07
- Pin capabilities and all CI fixtures to released OpenStatSpec specification
v0.5.0at immutable commit864e84479f554b8ee250ffed44c4dfb963750d4a. Reportspecification_status: releasedand select the optionaldatabase_io_policy: openstatspec-database-io-v1contract. - Breaking: SAV/ZSAV export is database-read-only, including failures; it
no longer creates operation or fidelity audit records. Initialize or upgrade
the catalogue with
SpssAdapter::migrateCatalog()on a write-capable deployment connection before export. Unready catalogues fail withcatalog_migration_required; export never initializes or migrates them. - Export authoritative normative metadata, including transformed labels and numeric format defaults. Publish output only after a successful temporary-file write, preserving an existing destination on writer failure. Injected engines receive the temporary path and must use the Dataset's target format.
- Breaking: Default Dolt writes now support exactly 2.2.2 and 2.2.3, not the previous patch range. No external declaration files are required; unknown versions (including 2.2.4) fail before mutation. Read-only exports verify server identity without requiring a supported write version.
- Keep Transformation Plan 0.1/0.2, SPSS Syntax Frontend 0.2, and In-Place Transformation 0.1/0.2 claims unchanged. Optional 0.3 contracts in the new specification are not implemented or claimed.
- Run the real SELECT-only Dolt export regression in CI on both exact supported versions, checking SAV/ZSAV output, failure safety, and unchanged roots/history.
- Breaking: Remove
SpssExportResult::operationIdand its constructor argument. Export creates nooperation_id; diagnostics and accepted loss codes remain available in the result. Import operation IDs are unchanged.
0.6.0 - 2026-08-21
- Added official OpenStatSpec Transformation Plan 0.1/0.2, SPSS Syntax Frontend 0.2, and In-Place Transformation 0.1/0.2 conformance, including strict canonical codecs, source hashes, compact apply audit, and service matrix coverage.
- Pinned the release to stable OpenStatSpec specification
v0.3.0at immutable commitcd8f198c68b849eb8ed018a894670a0904c2181d. - Transformations now compile
SpssFrontendRequestinto an alias-basedSpssCompilationResultand apply it throughInPlaceApplyRequestwith an explicit actor and optional controlled Dolt context. - SQLite and PostgreSQL may create numeric targets atomically. MySQL, MariaDB, and Dolt require targets to be pre-provisioned and catalogued. Dolt commits remain caller-owned.
- Added a new runtime dependency on
brick/math ^0.19for exact decimal-to-binary64 conversion in the SPSS frontend. The dependency is pinned incomposer.lock; do not regeneratecomposer.lockwithout re-running the full test matrix because PHP-native BCMath lacks the bit-length and power-of-two helpers required by round-to-even rounding.
- Version 0.6.0 removes the package-local
openstatspec-transformation-plan-v1API without a compatibility adapter. - Removed the non-standard SPSS
STRINGandDELETE VARIABLEStransformation commands.
0.5.0 - 2026-08-17
- Added numeric and string variable creation plus variable deletion to the package-local transformation API and SPSS syntax frontend.
-
Pinned the active conformance fixtures and machine-readable capability declarations to stable OpenStatSpec specification
v0.3.0at immutable commitcd8f198c68b849eb8ed018a894670a0904c2181d. -
Updated the installed and exact CI-tested
openstatspec/spss-savcodec from 3.0.2 to 3.0.3, and aligned the reported engine identity and codec documentation with the separately versioned OpenStatSpec package. -
Made the transformation capability boundary explicit: the current PHP API uses the package-local legacy
openstatspec-transformation-plan-v1contract and does not yet claim official Transformation Plan or SPSS Frontend profile 0.1/0.2 conformance. -
Added the PHP in-place transformation service-matrix evidence gate. SQLite runs locally; locally unconfigured PostgreSQL, MySQL, MariaDB, and Dolt profiles skip, while CI configures and executes every service profile. The gate proves existing-target dataset, physical-table, and variable identity; it restricts implicit numeric target creation to SQLite/PostgreSQL and requires MySQL/MariaDB/Dolt targets to be created and catalogued first. This remains adapter evidence under the legacy contract, not an official OpenStatSpec Transformation Plan 1.0 profile claim.
0.4.0 - 2026-07-31
- Added a source-neutral canonical transformation plan, validation, provenance, and in-place execution layer for recodes, variable labels, and value labels.
- Added an SPSS syntax frontend and documented extension points for future statistical-language frontends, with explicit SAS and Stata placeholders.
-
Transformations now mutate the existing logical dataset and physical wide table without creating copied datasets, persistent staging tables, or an OpenStatSpec-managed undo/version history; Dolt identity can be recorded for audit without making Dolt mandatory for other supported connections.
-
Distinguished conservative MySQL 8.4.x/9.7.x, MariaDB 11.4.x/11.8.x/12.3.x, and PostgreSQL 17.x/18.x runtime claims from exact CI evidence at MySQL 8.4.11/9.7.2, MariaDB 11.4.12/11.8.8/12.3.2, and PostgreSQL 17.10/18.4; live service tests now verify each normalized version.
-
Expanded Dolt's independent runtime claim to canonical stable
>=2.2.2,<2.3.0releases while retaining immutable live 2.2.2 and 2.2.3 service evidence and all boundary, cleanup, and conformance gates; clarified that PHP's SQLite core>=3.24.0,<4.0.0policy does not conflict with the Python-only optional workflow's>=3.35.0,<4.0.0policy, and documented Microsoft SQL Server as unsupported roadmap scope. -
Pinned active conformance fixtures and capabilities to released OpenStatSpec specification v0.1.0 at commit
d287c2cde9ade71f04e27dd012caec876901aed5.
0.3.0 - 2026-07-30
- Added an exact, fail-closed Dolt 2.2.2 profile with machine-readable capabilities and pinned live SAV/ZSAV conformance coverage.
- Added guarded SPSS imports with caller-verified SHA-256 source hashes and descriptor path isolation.
- Import preflight now validates database limits, non-finite numeric values, and V3 dictionary and set metadata before mutating the target database.
- Compensating cleanup now tracks exact import ownership and preserves unrelated same-name catalogue and fidelity data after failed imports.
- Updated catalogue migrations, database-version claims, and the pinned OpenStatSpec specification commit used by capability declarations.