Repository navigation
Releases
v1.5.2
Patch release. No runtime `require` or behaviour change.
Changed
- Dropped
spryker-community/search-rankingfromrequire-devand removed therepositoriesVCS entry that pointed at a personal GitHub URL. TheTermVectorSnapshotprovider/restorer seam is owned by this package (TermVectorSnapshotProviderPluginInterface/TermVectorSnapshotRestorerPluginInterface); nothing in the standalone test suite referenced a real search-ranking class.suggeststill advertises the optional integration. (#32)
Added
FakeTermVectorSnapshotProviderPlugin/FakeTermVectorSnapshotRestorerPlugin— concrete in-repo implementations of this package's own plugin interfaces. (#32)TermVectorSnapshotStandaloneRoundTripTest— proves the snapshot string a concrete provider produces at capture time is exactly what a concrete restorer receives on replay, with no search-ranking on the classpath. (#32)
v1.5.1
Patch release. No runtime `require` or behaviour change.
Added
checkGlueApiWiring()inSearchFeedbackCheckInstallationConsole— a WARNING (never a failure; a shop that runs no Glue Storefront app is a valid config) whenGenerated\Api\Storefront\SearchFeedbackTicketsStorefrontResourcehas not been generated:vendor/bin/glue api:generate storefrontwas never re-run since the schema was added, soPOST /search-feedback-tickets404s with no other symptom. 2 tests via an overridable resource-class-name seam. (#31)
Documented
extra.dependency-pinsnote onsymfony/security-guard: 5.4.0-BETA1— resolution pin (nosrc/usage) holdingsymfony/security-coreon a PHP-8.3-compatible line viaspryker/api-platform; a phantom-dependency audit flags it and it must not be dropped. (#31)- OpenSearch 3.5 compatibility note. (#30)
Build
- Bump
spryker/code-snifferdev dependency 0.17.35 → 0.17.36. (#29)
v1.5.0
Added
- Glue API support via API Platform:
POST /search-feedback-tickets(storefront resource), with a Provider/Processor/Mapper trio following the same pattern as core Spryker API Platform modules. (#27)
Fixed
- Corrected composer dependency declarations found by a full requires-vs-usage audit: dropped an unused
spryker/catalogrequire, made the previously-transitiveruflin/elasticadependency explicit, and tidied require-dev. (#28) - Declared the previously-undeclared
spryker/serializerdependency needed by the new Glue API processor. - Unblocked
composerresolution forspryker/api-platform: pinnedsymfony/security-guardto the one pre-release that actually supports Symfony 6.4/7security-core(its stable siblings cap at Symfony 5), matching the same combination the full demoshop already resolves to. - Standalone
phpstan-cinow excludesGenerated\Api\*(produced only by a fullglue api:generatehost-shop run), the same way it already excludesIde\AutoCompletionandOrm\Zed\*.
v1.4.4
CI-only patch release.
- Bumped
actions/checkoutfrom v4 to v7 in the GitHub Actions workflows.
v1.4.3
Patch release: security fix + docs + test coverage.
- Required a valid CSRF token for
changeStatusAction()(#25). - Added a composer
suggestentry for search-debug -- the ticket-replay SRP snapshot reuses its real search route (#26). - Covered
SearchFeedbackClient::getTicketSrpSnapshot()/consumeSnapshot()andIndexController's factory-driven actions (#24). - Added coverage for
SearchFeedbackReplayContextEventDispatcherPlugin's guards (#23).
v1.4.2
Docs/fixtures-only patch release.
- Restored README screenshots against a fictional "Feldwerk" demo catalog (the demoshop's own supplier catalog isn't licensed for public redistribution) — this package owns the shared demo-catalog generator (
fixtures/demo-catalog/build.php), which search-debug and search-ranking bundle copies from. - Found and fixed two real installability gaps in the process: without
product_abstract_store/product_abstract_approval_statusrows, a brand-new product is silently invisible to catalog search. - Fixed a rector finding and a phpcs warning introduced by the above.
v1.4.1
Patch release, docs/CI only — no runtime or public-API changes.
- State plainly in the README that
spryker-community/*is an independent, community-built namespace with no official Spryker affiliation (#17) - Update the Packagist-namespace note to reflect that we're now in contact with Spryker's community program about publishing this package there properly (#18)
- CI: add an xmllint job to catch malformed phpcs/phpmd ruleset XML; pin dev tooling versions to stop CI drift
v1.4.0
Frozen replay
A search feedback ticket now optionally captures the exact Elasticsearch response, query DSL, and (when
spryker-community/search-ranking is installed alongside this package) the specificity-weighting result
that scored it — so opening "View SRP" on a ticket later replays precisely what the customer saw at
filing time, not a live re-run against whatever the index/ranking settings look like today. Fully
optional and additive: a shop without search-ranking installed, or without the project-level
SearchElasticsearchFactory override wired up, is unaffected.
Also includes a demo-fixture apply script for bootstrapping the permission/glossary data this feature
needs in a fresh environment, and documents a real behavior found during E2E testing: pending snapshots
are staged in session storage with a 5-entry FIFO cap, so 5+ searches between viewing results and
submitting a ticket will silently evict the pending snapshot (ticket still submits, just without a
frozen replay).
What's Changed
- Add a demo-fixture apply script by @andrebarthelmeshellmuth in #11
- Freeze and replay a ticket's exact search-results page by @andrebarthelmeshellmuth in #10
- Document the pending-snapshot eviction cap in Limitations by @andrebarthelmeshellmuth in #12
Full Changelog: v1.3.2...v1.4.0
v1.3.2
Patch release: phpstan (level 8) is now gated in CI via a standalone composer phpstan-ci variant, alongside the existing Portable Codeception test job — both now block merges to main as required status checks, not just phpcs/rector/floors. Along the way this surfaced a real gap: spryker/permission, needed by this package's own CompanyUserPermissionAuthorizer via a Dependency\Facade bridge, was only ever satisfied transitively by host shops — now declared in require.
What's Changed
- Gate phpstan in CI by @andrebarthelmeshellmuth in #9
Full Changelog: v1.3.1...v1.3.2
v1.3.1
Patch release: the package's Codeception test suite can now run standalone in CI, without a full Spryker application context. A dedicated tests/_ci-standalone bootstrap generates just the transfer classes this package's tests need, so contributors and CI get fast, isolated feedback on pull requests. No source changes.
What's Changed
- Run the Portable test subset standalone in CI by @andrebarthelmeshellmuth in #8
Full Changelog: v1.3.0...v1.3.1