Skip to content

v1.2.1

Choose a tag to compare

@andrebarthelmeshellmuth andrebarthelmeshellmuth released this 28 Aug 15:12
· 23 commits to main since this release
eca12f3

A maintenance release from a full release-testing pass (Rector, phpcs/phpmd, phpstan level 8, dependency floors, the complete test suite, a coverage-gap scan, docs refresh and a code review). No runtime behaviour changes — the fixes are in test infrastructure, packaging and documentation.

Fixed

  • Test autoloading under a host shop. Two Client-suite test files fatal-errored (Trait/Class not found) whenever they ran through a consuming shop's own Composer autoloader — the normal way these tests actually run — because their fixture classes lived only in autoload-dev, which a consumer never installs. The two fixture sub-namespaces are now exposed via regular autoload, the same pattern spryker/testify uses for its own test helpers.
  • Two Presentation tests that could never pass hard-asserted fulltext_synonyms content, but the demo shop's page.json configures no synonym filter at all. Both are now fail-soft (skip with a comment), matching the convention this suite already uses for legitimately environment-dependent traces.
  • 5 phpcs docblock mismatches in CheckInstallationControllerTest's inline fake container.
  • README: documented the required search-debug-product-wrapper div in installation step 6 (a real gap found by a fresh install walkthrough), and corrected the stale test count.

Coverage

Two remaining 0%-coverage classes closed, both now at 100%: ComponentConfigController (permission gate, parameter validation, not-found handling) and SearchDebugTwigPlugin (token-colour assignment, including wraparound and duplicate-token collapsing).

Current suite: 303 tests — 154 Client, 126 Yves, 23 Presentation/WebDriver — all green, with phpcs, phpmd, Rector, composer validate --strict and dependency-floor checks clean on PHP 8.3 and 8.4.

What's Changed

Full Changelog: andrebarthelmeshellmuth/spryker-search-debug@v1.2.0...v1.2.1