Skip to content

Update PHP transformer to 0.9.3 - #1520

Merged
chubes4 merged 1 commit into
mainfrom
update/php-transformer-0.9.3
Sep 4, 2026
Merged

Update PHP transformer to 0.9.3#1520
chubes4 merged 1 commit into
mainfrom
update/php-transformer-0.9.3

Conversation

@chubes4

@chubes4 chubes4 commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

Bump the pinned Blocks Engine PHP transformer from 0.9.2 to 0.9.3.

php-transformer-v0.9.3 is the first release containing Automattic/blocks-engine#1545, which preserves runtime-targeted authored inputs, structured documentation navigation, breadcrumb flow geometry, syntax token styles, and native code/grid defaults.

Changes

  • composer.json / composer.lock: pin automattic/blocks-engine-php-transformer to 0.9.3
  • tests/smoke-webfont-producer-consumer.php: update the locked-dependency assertion to v0.9.3

Verification

  • composer update automattic/blocks-engine-php-transformer resolves v0.9.3
  • Verified the vendored package contains the Keep diagnostic counts scoped to their owning phase #1545 navigation fix
  • 78 standalone PHP smoke tests pass locally
  • Remaining PHPUnit classes and the solved-site promotion gate run in CI

AI Assistance

OpenAI gpt-5.6-sol was used through OpenCode to perform the dependency bump, update the version assertion, run local smoke verification, and prepare this pull request. Reviewed and orchestrated by Chris Huber.

@chubes4
chubes4 merged commit 4b90531 into main Sep 4, 2026
6 checks passed
chubes4 added a commit to Automattic/studio that referenced this pull request Sep 5, 2026
## Summary

Update the default Static Site Importer release used by `studio create
--from` from the full `v1.8.5` package to the `v1.9.5`
`html-site-import` package.

The slim package is self-contained for Studio's portable HTML import
path: it includes Static Site Importer and PHP Transformer `0.9.3`,
while excluding unused Figma, Markdown/MDX, and Composer runtime
dependencies.

Release:
https://github.com/Automattic/static-site-importer/releases/tag/v1.9.5

Published asset: `static-site-importer-html-site-import.zip`

- Size: `1303735` bytes
- SHA-256:
`156e24b7e0805a32c3003d66d60b286a837c2048c63dfa9eb952dcf277d5b8c9`

### Why 1.9.5 rather than 1.9.3

This PR originally pinned `v1.9.3`, which vendors PHP Transformer
`0.9.1`. That predates Automattic/blocks-engine#1545, so the pinned
runtime did not contain the authored-input, documentation-navigation,
breadcrumb-flow, syntax-token, or native code and grid conversion fixes.
The pin was advanced through a full release chain so the Studio default
carries them:

1. blocks-engine `php-transformer-v0.9.3`
2. Static Site Importer Automattic/static-site-importer#1520, then
`v1.9.5`
3. This Studio pin

## Testing

- Built this branch's CLI and ran native `site create --from` against
the Blocks Engine `83-startup-docs-hub` fixture using the default
published URL, without a local package override.
- Source-of-truth manifest records SSI `1.9.5`, PHP Transformer `0.9.3`,
and no Figma Transformer.
- Front page ID 5 is published with 70 native blocks and zero fallback,
`core/html`, freeform, invalid, content-loss, or empty-conversion
blocks.
- Import validation passed every quality gate, including asset
materialization, runtime dependency parity, and semantic parity; the
served front end returns HTTP 200 with the runtime search control and
native navigation present.
- Verified the downloaded release asset hashes to the SHA-256 above and
that its vendored transformer contains the blocks-engine#1545 navigation
fix, so the pin demonstrably carries the intended code rather than only
a newer version string.
- `89-static-site-importer-architecture` is covered by the solved-site
promotion gate, which passed against PHP Transformer `0.9.3` on
Automattic/static-site-importer#1520.
- Studio CI is green on this commit, including Lint, Unit Tests, E2E
Tests, CLI E2E Tests, Performance Metrics, CodeQL, and Data Liberation.

## AI assistance

OpenAI GPT-5.6 Sol via OpenCode diagnosed that the released pin predated
blocks-engine#1545, orchestrated the blocks-engine and Static Site
Importer releases through Homeboy, updated the Studio pin to the slim
`v1.9.5` runtime, and verified the result through the built Studio CLI
and published release artifact. Chris Huber directed and approved the
work.

---------

Co-authored-by: Wojtek Naruniec <wojtek.naruniec@automattic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant