Skip to content

v0.4.2 — Lower min WP to 6.5

Choose a tag to compare

@oxyc oxyc released this 29 May 12:28
· 21 commits to main since this release
c713989

Metadata-only release on top of v0.4.1.

The only WP-7.0-specific API surface we use is the block-attribute shape change (HTML string → RichTextValue object), and attrToPlainText() in selection.js has always runtime-branched on typeof === 'string' vs obj.text. Abilities-API tools are gated behind function_exists('wp_get_abilities') in Plugin.php, so older WP just doesn't see those instead of erroring. The iframe canvas detection in write-at-cursor.jsx looks for iframe[name="editor-canvas"] and degrades cleanly when absent — that's been the canvas shape since WP 6.3.

So the change is the plugin header + a few comment touch-ups:

  • Requires at least: 7.0Requires at least: 6.5
  • Added Tested up to: 7.0 and explicit Requires PHP: 8.0 (matches composer.json)
  • 2 comments updated from "WP 7.0-only" to "runtime-branches on the shape"

No code paths changed; no behaviour change.

Full changelog: v0.4.1...v0.4.2