Skip to content

Commit 25fd303

Browse files
authored
fix: bump blocks-engine-php-transformer to v0.45.258 (#481)
0.1.15 serialized source-derived attributes into block delimiters (<!-- wp:paragraph {"content":"..."} -->). core/paragraph, heading and list-item `content` are rich-text sourced, so every render of an imported page raised a rest_validate_value_from_schema doing-it-wrong notice per block (Automattic/blocks-engine#4743). Transformer releases since v0.5.0 canonicalize delimiters against block metadata. Require the Packagist release (the split repository) instead of the inline package definition pointing at the monorepo tag zip; only the transformer changes in composer.lock. AI assistance: written by an AI agent (Claude) via Extra Chill Bot.
1 parent a0d9910 commit 25fd303

2 files changed

Lines changed: 42 additions & 47 deletions

File tree

‎composer.json‎

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": "GPL-2.0-or-later",
66
"require": {
77
"php": ">=8.2",
8-
"automattic/blocks-engine-php-transformer": "0.1.15"
8+
"automattic/blocks-engine-php-transformer": "0.45.258"
99
},
1010
"autoload": {
1111
"classmap": [
@@ -14,39 +14,6 @@
1414
},
1515
"minimum-stability": "dev",
1616
"prefer-stable": true,
17-
"repositories": [
18-
{
19-
"type": "package",
20-
"package": {
21-
"name": "automattic/blocks-engine-php-transformer",
22-
"version": "0.1.15",
23-
"type": "library",
24-
"source": {
25-
"type": "git",
26-
"url": "https://github.com/Automattic/blocks-engine.git",
27-
"reference": "php-transformer-v0.1.15"
28-
},
29-
"dist": {
30-
"type": "zip",
31-
"url": "https://github.com/Automattic/blocks-engine/archive/refs/tags/php-transformer-v0.1.15.zip",
32-
"reference": "php-transformer-v0.1.15"
33-
},
34-
"autoload": {
35-
"psr-4": {
36-
"Automattic\\BlocksEngine\\PhpTransformer\\": "php-transformer/src/"
37-
},
38-
"files": [
39-
"php-transformer/php-transformer.php"
40-
]
41-
},
42-
"require": {
43-
"php": ">=8.1",
44-
"league/commonmark": "^2.5",
45-
"league/html-to-markdown": "^5.1"
46-
}
47-
}
48-
}
49-
],
5017
"config": {
5118
"allow-plugins": {
5219
"composer/installers": true

‎composer.lock‎

Lines changed: 41 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)