Skip to content

Aldus 1.25.0

Choose a tag to compare

@github-actions github-actions released this 27 Mar 18:43
· 58 commits to main since this release
  • Fixed telemetry endpoint code enum to match the error codes the block editor actually sends (timeout, connection_failed, unexpected_error, corrupt_markup, insert_failed, no_layouts, api_error, unknown). Previous enum used internal names that didn't match JS client output.
  • Fixed _aldus_layout_history meta sanitizer (JSON-preserving callback, not sanitize_text_field).
  • Fixed aldus_handle_telemetry() to flush the WP option cache after the atomic SQL UPDATE so get_option() returns the correct incremented value within the same request.
  • Fixed wp_using_ext_object_cache() return cast to (bool) in the health endpoint — the global is uninitialized (null) in some WordPress versions' test bootstrap.
  • Fixed check_rate_limit() test to call the extracted aldus_check_rate_limit() standalone function directly, removing a deprecated ReflectionMethod::setAccessible() call.
  • Added explicit validate_callback: rest_validate_request_arg to telemetry route args so enum constraints are enforced across all WordPress versions.
  • Added @wordpress/latex-to-mathml to the E2E a11y console-error filter (WP 7.0 import-map issue, not Aldus code).
  • Fixed E2E WebKit "adding a headline item reveals the generate button" test to also accept the "Requires WebGPU" disabled button, which appears when WebGPU is unavailable in Playwright's WebKit engine.
  • Fixed E2E full-suite rate-limit exhaustion: assemble-personalities and assemble-full-page spec beforeAll hooks now reset WordPress transients before each browser project runs, preventing 429s when Chromium's requests fill the 60-req/min window before Firefox/WebKit begin.
  • Updated health endpoint $client_error_codes list to include all valid telemetry codes.