Skip to content

Latest commit

 

History

History
242 lines (123 loc) · 7.07 KB

CHANGELOG.md

File metadata and controls

242 lines (123 loc) · 7.07 KB

Unreleased

Bug Fixes

  • RequestUtils: activateTheme() and setupRest() now use the site the RequestUtils was created with, rather than always the WP_BASE_URL environment variable (#85420).

Internal

  • Convert the remaining viewport and widget utilities to TypeScript (#84917).

3.1.0 (2026-10-20)

3.0.0 (2026-10-07)

Breaking Changes

  • RequestUtils.setGutenbergExperiments(): An experiment left out of the call now returns to its default rather than being switched off, and an experiment can default to on.To pin an experiment off regardless of its default, the function now supports an object argument with boolean values (#83784).

Bug Fixes

  • Mark the @types/node peer dependency as optional, since it is only needed for type checking (#83765).

Internal

  • Declare the @typescript/native dev dependency used by the build script, which previously resolved tsc from the repository root (#84027).

2.1.0 (2026-09-23)

2.0.0 (2026-09-10)

Breaking Changes

  • Increase the minimum required Node.js version to v22.19.0. The lighthouse dependency is now ^13.4.1, which requires it. Learn more about Node.js releases (#81916).
  • Editor.switchEditorTool(): Remove the helper. It clicked the Write/Design "Tools" toolbar button, which the editor no longer renders since #72193 (#82677).

New Features

  • Admin.visitSiteEditor(): When the GUTENBERG_E2E_SITE_EDITOR_V2 environment variable is set, visit the extensible site editor (admin.php?page=site-editor-v2) instead of site-editor.php, translating the classic query args to the equivalent v2 route, and wait for the lazily loaded editor to finish initializing on edit routes. RequestUtils.setGutenbergExperiments() keeps the gutenberg-extensible-site-editor experiment enabled in that mode so specs that reset experiments do not turn the v2 editor off mid-run.

Enhancements

  • Widen the @types/node peer dependency to >=20, so consumers on Node 22 or 24 type definitions no longer hit a peer resolution conflict (#82616).

Bug Fixes

  • Metrics.initWebVitals(): Resolve web-vitals from the installed dependency so published consumers can load it outside the Gutenberg monorepo. Update to 4.2.4 to fix interaction counts after back/forward cache restores and prevent repeated input-listener registration (#81916).
  • Editor.saveSiteEditorEntities(): Wait for the save button to mount before deciding between its Save and Publish variants, instead of sampling visibility immediately — the extensible site editor only renders it once an entity is dirty.

Internal

  • setGutenbergExperiments: Remove the special handling for the removed active_templates experiment (#82241).

1.54.0 (2026-08-26)

1.53.0 (2026-08-12)

Bug Fixes

  • Metrics.startTracing(): Run a trivial script in every frame once tracing is on, to absorb the isolate interrupt that enabling the V8 sampling profiler queues. Its cost otherwise lands in the first thing the test does, usually the interaction being measured, and grows through a spec's iterations: a stable 220ms interaction reported anywhere from 200ms to 650ms (#81264).
  • Metrics.getSelectionEventDurations(): Dispatches that nest inside another dispatch now contribute only the time not already covered by it, so summing the returned durations no longer counts the nested work twice.

1.52.0 (2026-07-29)

Bug Fixes

  • Metrics.getSelectionEventDurations(): Also collect pointerup and selectionchange durations, and omit event types that did not fire. Selecting a block within an editing host no longer fires focus/focusin, which made the metric report zero.

1.51.0 (2026-07-14)

1.50.0 (2026-07-01)

1.49.0 (2026-06-24)

Enhancements

  • Added RequestUtils.resetThemeGlobalStyles() to reset the current theme's user global styles to an empty config for test isolation.

Bug Fixes

  • Resolve root-relative page.goto() URLs against the full baseURL, including any subdirectory path, so tests work against WordPress installs served from a subdirectory.

1.48.1 (2026-06-16)

1.48.0 (2026-06-10)

1.47.0 (2026-05-27)

1.46.0 (2026-05-14)

1.45.0 (2026-04-29)

1.44.0 (2026-04-15)

1.43.0 (2026-04-01)

1.42.0 (2026-03-18)

1.41.0 (2026-03-04)

1.40.0 (2026-02-18)

1.39.0 (2026-01-29)

1.38.0 (2026-01-16)

1.36.0 (2025-11-26)

1.35.0 (2025-11-12)

1.34.0 (2025-10-29)

1.33.0 (2025-10-17)

1.32.0 (2025-10-01)

1.31.0 (2025-09-17)

1.30.0 (2025-09-03)

1.29.0 (2025-08-20)

1.28.0 (2025-08-07)

1.27.0 (2025-07-23)

1.26.0 (2025-06-25)

1.25.0 (2025-06-04)

1.24.0 (2025-05-22)

1.23.0 (2025-05-07)

1.22.0 (2025-04-11)

Enhancements

  • Added new PageUtils.emulateNetworkConditions() helper to emulate network conditions such as Slow 3G, Fast 4G or Broadband (#69865).

1.21.0 (2025-03-27)

1.20.0 (2025-03-13)

1.19.0 (2025-02-28)

1.18.0 (2025-02-12)

1.17.0 (2025-01-29)

1.16.0 (2025-01-15)

1.15.0 (2025-01-02)

1.14.0 (2024-12-11)

1.13.0 (2024-11-27)

1.12.0 (2024-11-16)

1.11.0 (2024-10-30)

1.10.0 (2024-10-16)

1.9.0 (2024-10-03)

1.8.0 (2024-09-19)

1.7.0 (2024-09-05)

1.6.0 (2024-08-21)

1.5.0 (2024-08-07)

1.4.0 (2024-07-24)

1.3.0 (2024-07-10)

1.2.0 (2024-06-26)

1.1.0 (2024-06-15)

1.0.0 (2024-05-31)

Breaking Changes

  • Increase the minimum required Node.js version to v18.12.0 matching long-term support releases (#31270). Learn more about Node.js releases.

0.26.0 (2024-05-16)

0.25.0 (2024-05-02)

0.24.0 (2024-04-19)

0.23.0 (2024-04-03)

0.22.0 (2024-03-21)

0.21.0 (2024-03-06)

0.20.0 (2024-02-21)

0.19.0 (2024-02-09)

0.18.0 (2024-01-24)

0.17.0 (2024-01-10)

0.16.0 (2023-12-13)

0.15.0 (2023-11-29)

0.14.0 (2023-11-16)

0.13.0 (2023-11-02)

0.12.0 (2023-10-18)

0.11.0 (2023-10-05)

0.10.0 (2023-09-20)

0.9.0 (2023-08-31)

0.8.0 (2023-08-16)

0.7.0 (2023-08-10)

0.6.0 (2023-07-20)

0.5.0 (2023-07-05)

0.4.0 (2023-06-23)

0.3.0 (2023-06-07)

0.2.0 (2023-05-24)

0.1.0 (2023-05-10)

  • Initial version of the package.