Repository navigation
Release 2.0.0 - #51
Merged
Merged
Conversation
bump: version to 1.1.5
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Issue/93541
firestar300
force-pushed
the
release/2.0.0
branch
from
September 25, 2026 07:14
c5fd81d to
d80467f
Compare
firestar300
force-pushed
the
release/2.0.0
branch
from
September 25, 2026 07:41
792e708 to
9fddf44
Compare
Add wp-env test setup, PHPUnit integration tests, Jest unit tests for tabs behavior, Playwright editor and frontend specs, and GitHub workflows. Extract TabsAutomatic for testability, drop Psalm, and stop versioning composer.lock.
Co-authored-by: Cursor <cursoragent@cursor.com>
Ship a react-jsx-runtime polyfill via webpack and assert its registration in PHPUnit. Detect iframed vs legacy editor canvas in Playwright so tabs blocks are found on WP 6.2 and newer cores.
test: add automated PHP, JS, and E2E suites with CI
firestar300
force-pushed
the
release/2.0.0
branch
from
September 28, 2026 10:05
9fddf44 to
52744ff
Compare
Update the default allowed icon blocks to include `blockparty/icon` and `beapi/icon-block` alongside `core/icon`. This improves backward compatibility for WordPress 6.2–6.8 installations using legacy icon plugins, reducing the need for custom filters. `core/icon` is preferred when available (WP 7.0+). The `blockparty_tabs_allowed_icon_blocks` filter now primarily replaces the default list.
This updates the minimum required WordPress version from 6.2 to 6.4. This allows the block to leverage the `directInsert` feature on InnerBlocks, which improves block editor functionality. All related documentation, CI configurations, and test suites have been updated to reflect this new baseline.
Fix/core icon support
firestar300
force-pushed
the
release/2.0.0
branch
from
September 28, 2026 10:37
52744ff to
4e3a19f
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 4e3a19f. Configure here.
cedric07
approved these changes
Sep 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Release 2.0.0
Note
Medium Risk
Major saved markup and editor behavior changes affect existing content validation and frontend tab semantics, though deprecated migrations and new E2E/PHPUnit coverage mitigate regressions.
Overview
2.0.0 is a major release that refreshes the tabs block editor/frontend behavior, bumps the minimum WordPress version to 6.4, and adds full automated test coverage in CI.
Block & accessibility: Saved markup moves
role="tablist"to the nav<ul>, completes tab/panel ARIA (aria-selected,tabindex, active/hidden classes), and migrates the old parenttitle/aria-labelinto nav settings via deprecated save handlers. Shared Add/Remove tab tooling (TabsAddRemoveControls) syncs nav + panel pairs, fixes active index on delete, and adds a nav appender. Tab icons drop@beapi/iconsin favor of configurable inner icon blocks (core/iconfirst) via PHP filterblockparty_tabs_allowed_icon_blocksand editor inline settings; a single icon per tab is enforced withtemplateLock="insert".PHP & compatibility: KSES allowlists expand so saved tab attributes are not stripped for limited-capability users. A webpack
react-jsx-runtimepolyfill registers on WP < 6.6 so editor scripts load.GetSynchedIDbecomes a hook to avoid updates during render.Tooling & release: PHPUnit, Jest, and Playwright suites run in new GitHub Actions workflows with isolated
.wp-env.test.json(port 8889). Release checks move totests/bin/check-release-version.sh(tag + version file consistency). Psalm is removed; bump scripts live undertests/bin/.Reviewed by Cursor Bugbot for commit 4e3a19f. Bugbot is set up for automated code reviews on this repo. Configure here.