Skip to content

fix: update block version to 3#2833

Open
Soare-Robert-Daniel wants to merge 1 commit into
developmentfrom
fix/api-version
Open

fix: update block version to 3#2833
Soare-Robert-Daniel wants to merge 1 commit into
developmentfrom
fix/api-version

Conversation

@Soare-Robert-Daniel
Copy link
Copy Markdown
Contributor

@Soare-Robert-Daniel Soare-Robert-Daniel commented May 29, 2026

Closes #.

Summary

  • Bump the Block API version to 3.

Screenshots


Test instructions

Part A — Quick health check

  1. New page. 2. Console shows no "API version 2" / "added to the iframe incorrectly" messages. 3. Add each Otter block once — none go blank, error, or show
    "This block has encountered an error."

Part B — Most important blocks (test carefully)

  • B1 Google Map — map appears, add/drag/delete marker, change style, zoom. Bug if: blank/gray, wrong size, markers won't move.
  • B2 Leaflet Map — add/drag pin, open popup → "Delete Marker" works, make taller (no gray gap). Bug if: delete does nothing.
  • B3 Slider — 3+ slides cycle with arrows/dots. Bug if: slides just stacked.
  • B4 Lottie — animation plays/loops. Bug if: empty box.
  • B5 Posts/Products — grid of posts; (Pro) products. Bug if: empty when posts exist.
  • B6 Image — box-shadow with a theme palette color at opacity below 100% shows correct color. Bug if: turns black/disappears.

Part C — Other blocks (quick)

Review, Form, Countdown/Progress/Circle Counter, Animations, and the Pro/WooCommerce blocks — each appears, previews, and saves.

Part D — Published page unchanged

Publish a mixed-block page → looks the same as before. Open an old page → no "unexpected or invalid content" warning.

Where to test

Page editor (main), Tablet/Mobile preview, Site Editor, and older WordPress 6.3 (just Part A).


Checklist before the final review

  • Included E2E or unit tests for the changes in this PR.
  • Visual elements are not affected by independent changes.
  • It is at least compatible with the minimum WordPress version.
  • It loads additional script in frontend only if it is required.
  • Does not impact the Core Web Vitals.
  • In case of deprecation, old blocks are safely migrated.
  • It is usable in Widgets and FSE.
  • Copy/Paste is working if the attributes are modified.
  • PR is following the best practices

@pirate-bot pirate-bot added the pr-checklist-incomplete The Pull Request checklist is incomplete. (automatic label) label May 29, 2026
@Soare-Robert-Daniel Soare-Robert-Daniel added the pr-checklist-skip Allow this Pull Request to skip checklist. label May 29, 2026
@pirate-bot pirate-bot added pr-checklist-complete The Pull Request checklist is complete. (automatic label) and removed pr-checklist-incomplete The Pull Request checklist is incomplete. (automatic label) labels May 29, 2026
@pirate-bot
Copy link
Copy Markdown
Contributor

Bundle Size Diff

Package Old Size New Size Diff
Animations 178.24 KB 178.24 KB 0 B (0.00%)
Blocks 1.47 MB 1.47 MB 317 B (0.02%)
CSS 7.71 KB 7.71 KB 0 B (0.00%)
Dashboard 105.69 KB 105.69 KB 0 B (0.00%)
Onboarding 68.14 KB 68.14 KB 0 B (0.00%)
Export Import 4.7 KB 4.7 KB 0 B (0.00%)
Pro 299 KB 299.32 KB 332 B (0.11%)

@pirate-bot
Copy link
Copy Markdown
Contributor

Plugin build for 58fc71a is ready 🛎️!

@pirate-bot
Copy link
Copy Markdown
Contributor

E2E Tests

Playwright Test Status: See serial and parallel matrix jobs

Performance Results serverResponse: {"q25":470.1,"q50":512.2,"q75":517.1,"cnt":10}, firstPaint: {"q25":602.5,"q50":650.2,"q75":672.2,"cnt":10}, domContentLoaded: {"q25":2551,"q50":2565.75,"q75":2622,"cnt":10}, loaded: {"q25":2551.4,"q50":2566.25,"q75":2622.5,"cnt":10}, firstContentfulPaint: {"q25":3013.7,"q50":3035.35,"q75":3100.5,"cnt":10}, firstBlock: {"q25":8095.7,"q50":8197.2,"q75":8370.4,"cnt":10}, type: {"q25":14.35,"q50":14.87,"q75":15.33,"cnt":10}, typeWithoutInspector: {"q25":12.74,"q50":13.37,"q75":15,"cnt":10}, typeWithTopToolbar: {"q25":17.57,"q50":18.58,"q75":19.67,"cnt":10}, typeContainer: {"q25":8.82,"q50":9.26,"q75":9.72,"cnt":10}, focus: {"q25":51.05,"q50":53.09,"q75":58.69,"cnt":10}, inserterOpen: {"q25":16.56,"q50":17.79,"q75":19.33,"cnt":10}, inserterSearch: {"q25":5.36,"q50":5.56,"q75":5.92,"cnt":10}, inserterHover: {"q25":4.42,"q50":4.68,"q75":4.93,"cnt":20}, loadPatterns: {"q25":1233.89,"q50":1285.4,"q75":1328.39,"cnt":10}, listViewOpen: {"q25":95.59,"q50":96.42,"q75":101.26,"cnt":10}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-checklist-complete The Pull Request checklist is complete. (automatic label) pr-checklist-skip Allow this Pull Request to skip checklist.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants