Skip to content

Release 2.0.0 - #59

Merged
firestar300 merged 14 commits into
mainfrom
release/2.0.0
Oct 2, 2026
Merged

firestar300 merged 14 commits into
mainfrom
release/2.0.0

Conversation

@firestar300

@firestar300 firestar300 commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Release 2.0.0


Note

Medium Risk
Editor icon resolution and the react-jsx-runtime polyfill affect block registration and Summary UX across WordPress versions; semver major and broad toolchain changes warrant regression testing in editor and on the frontend.

Overview
Release 2.0.0 bumps the plugin from 1.3.2 and ships the largest functional change around Summary icons: the editor now prefers core/icon when registered (WordPress 7.0+), keeps Blockparty / BeAPI icon blocks in the default list for 6.2+, and exposes blockparty_accordion_allowed_icon_blocks in PHP with matching getAllowedIconBlocks logic in JS (PHP passes allowedIconBlocks via inline script). The Summary toolbar uses an inline SVG instead of @beapi/icons for the Icon control, with CSS updates for core/icon and flex gap on triggers.

Compatibility: webpack.config.js builds a react-jsx-runtime polyfill and register_react_jsx_runtime registers it on older WordPress so blocks load on 6.2–6.5. Tooling moves to @wordpress/scripts 32+, flat eslint.config.cjs, Node ≥20, and PHP 8.3/8.4 in Composer.

CI & tests: New PHPUnit, Jest, and Playwright suites with wp-env on port 8889 (.wp-env.test.json, tests/bin/initialize.sh). GitHub Actions add PHP, JS unit, and E2E workflows; the PR version job now runs tests/bin/check-release-version.sh. Release bump.sh supports patch/minor/major and lives under tests/bin with packaging tweaks in .distignore / .gitattributes.

Reviewed by Cursor Bugbot for commit 4a09fd9. Bugbot is set up for automated code reviews on this repo. Configure here.

ptesei and others added 14 commits August 5, 2026 17:39
Expose allowed icon blocks via PHP filter and editor settings (like blockparty-tabs), adapt InnerBlocks templates for core/icon, document usage in README, and adjust trigger spacing.
feat(accordion-summary): add core/icon support for WordPress 7.0+
Align wp-env and wp-scripts with blockparty-tabs and move release scripts under tests/bin.
Replace legacy ESLint config, fix quality-js workflow steps, drop missing
wp-env plugin, remove duplicate block wrapper in accordion-item edit, and
harden Playwright inserter assertions for WP 6.4.
Editor bundles from @wordpress/scripts 32 depend on a core script handle
that is missing on 6.4–6.5, which prevented block registration in E2E.
chore: add PHPUnit, Jest, and Playwright tests with CI workflows.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 4a09fd9. Configure here.

Comment thread webpack.config.js
Comment thread webpack.config.js
@firestar300
firestar300 merged commit ff582ec into main Oct 2, 2026
20 of 21 checks passed
@firestar300
firestar300 deleted the release/2.0.0 branch October 2, 2026 14:45
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.

3 participants