Repository navigation
0.3.0
The core 0.5 "adapter kit" release, second wave: the component describes its graph with Adapter\ServicesBuilder,
the observer, the queue job and the console controller are built on Hook\ObserverHelper, Retry\WorkerOutcome
and Console\Definitions. Options, commands and the component's properties do not change.
Added
IndexNowComponent::services(): the lazyAdapter\Servicesgraph the component describes once (the properties
transport,debounceStore,dispatcher,urlResolver,checksare its overrides). The graph methods
(kit(),transport(),debounceStore(),submitter(),dispatcher(),checker(), …) are delegates.
Changed
- Requires
indexnowkit/core ^0.5andindexnowkit/sitemap ^0.1.1. ActiveRecord\IndexNowObserveronHook\ObserverHelper: what is Yii's stays (change set, previous state, the
verify-on-commit staging); the log line for a resolve failure before a deletion is now the helper's
indexnow: cannot resolve the URLs of {class}: {error}(was "... before deletion: ...").Queue\SubmitUrlsJobonRetry\WorkerOutcome: same behaviour (canRetry()up toretry.max_attempts, no delay
from the job), the retry line now readsindexnow: {count} URL(s) of job {id} will be retried(was "... were
not accepted and will be retried by the queue").Console\IndexNowController::options()/optionAliases()come fromConsole\Definitions/
Sitemap\Console\Definitions: the same option names and shortcuts as the bundle and artisan.- Tests: H01–H05 assert through the core's
Testing\KeyFileAssertionsandTesting\CheckOutputAssertions.