Skip to content

0.8.0

Choose a tag to compare

@somework somework released this 05 Sep 19:25
· 29 commits to main since this release

Changed

  • Requires indexnowkit/core ^0.8, indexnowkit/console ^0.2 and (dev/suggest) indexnowkit/sitemap ^0.4. Core 0.8 strips tracking parameters by default (normalizer.strip_tracking_params) and makes Equals in params an error (see the core changelog).

Added

  • The indexnow/check lines of the adapter carry stable codes (core 0.8, check --json): queue.dispatch,
    queue.component, queue.driver, active_record.enabled, url_manager.key_file, url_manager.pretty_url,
    url_manager.rule, plus the core's debounce.store and sitemap.installed. Listed in the core's docs/check-codes.md.
  • php yii indexnow/check --json (the report as JSON, schema docs/check.schema.json of indexnowkit/console),
    --strict (warnings fail the command: put it in the deploy pipeline) and --host=a,b (a list; console 0.2).
  • php yii indexnow/key-generate --force keeps the replaced key as INDEXNOW_PREVIOUS_KEY and refuses a second rotation
    while it is set; --no-previous and --yes decide (console 0.2).
  • The 403 escalation of Client counts in the cache component behind debounce.store (core 0.8) through the new
    Cache\Psr16Cache (a yii\caching\CacheInterface as PSR-16): one critical line per streak for every worker;
    IndexNowComponent::failureCache() returns it (null with memory/none or a custom debounceStore).
  • Component property submissionStore (instance, class, configuration array or component id of a
    Submission\SubmissionStoreInterface; default: nothing is recorded): the store the submitter and the command
    submitters record every Result in (core 0.8); IndexNowComponent::submissionStore() returns it.
  • Options block normalizer (strip_tracking_params, tracking_params, trailing_slash, sort_query): the canonical
    form of every URL (core 0.8), read through Config::OPTIONS. Tracking parameters are stripped by default.
  • php yii indexnow/explain --json and the when values in the text output (console 0.2).
  • php yii indexnow/config (--json): the effective configuration with masked keys plus the component's own option
    blocks (console 0.2).
  • IndexNowComponent::EVENT_RESULT (spec 17 §5.7): the component triggers an Event\ResultEvent ($result) for
    every Result of the submitter and of the command submitters, through the PSR-14 Event\ResultDispatcher the
    wiring gives the core.

Changed

  • indexnow/* console actions take -v, -vv, -vvv (and SHELL_VERBOSITY) as symfony/console does; the own
    --verbose option is gone.
    Migration: php yii indexnow/sitemap --verbose → php yii indexnow/sitemap -v.