Repository navigation
0.5.0
The core 0.5 "adapter kit" release, second wave: the Messenger handler and the commands are built on the core's
Retry\WorkerOutcome and Console\Definitions. Configuration tree, command names, arguments, options, service
ids and the tests' ArrayInput keys do not change.
Changed
- Requires
indexnowkit/core ^0.5andindexnowkit/sitemap ^0.1.1. Messenger\SubmitUrlsHandleronRetry\WorkerOutcome: the retry line now reads
indexnow: {count} URL(s) of job {id} will be retried(was "message {id}"), and final failures (400, 403,
422) are logged aterrorasindexnow: {count} URL(s) of job {id} rejected permanently ({reasons}); run "bin/console indexnow:check"before the message is acknowledged.docs/messenger.mdfollows.- The commands configure their inputs from
Console\Definitions/Sitemap\Console\Definitions
(CommandDefinition::applyTo()): the same names, shortcuts, defaults and descriptions as artisan and Yii2. Two
descriptions changed wording:indexnow:submit-entity("Resolve the URLs of entities through their #[IndexNow]
rules and submit them (the manual path after bulk updates)") and the class argument ("Entity class (FQCN or
short name)").SubmitEntityCommandandExplainCommandtake theindexnowkit.console.vocabularyservice as a
second constructor argument (only relevant if you instantiate them yourself). - Tests: H01–H05 assert through the core's
Testing\KeyFileAssertionsandTesting\CheckOutputAssertions.