Skip to content

0.7.0

Choose a tag to compare

@somework somework released this 05 Sep 17:24
· 40 commits to main since this release

Changed

  • Requires core 0.7: Console\SubmitterFactory / Console\SubmitterFactoryInterface are now
    IndexNowKit\Adapter\SubmitterFactory / IndexNowKit\Adapter\SubmitterFactoryInterface, Console\ResultSummary is
    IndexNowKit\Submission\ResultSummary. Application code that names them (a decorator of the submitters property of IndexNowController) changes the use line; nothing else.
  • The test suite requires indexnowkit/testing ^0.1 (require-dev): the conformance kits and the H01–H05 assertions
    moved there from the core (Testing\Conformance\KeyFileAssertions, CheckOutputAssertions, ReadmeAssertions).
  • Requires indexnowkit/console ^0.1: the runners and definitions the console controller are built on moved there from the core
    with their FQCN unchanged (IndexNowKit\Console\*); Composer installs it with this package, nothing to do.
  • Sitemap\SitemapSupport (the @internal predicate with its static override) is gone: the component exposes
    sitemapPackage() (an IndexNowKit\Adapter\OptionalPackage) and the new property sitemapInstalled: ?bool
    (null detects, false runs as if the package were absent — tests set it in the component configuration).
    Config\ConfigFactory::factory(), create() and build() take an appended ?bool $sitemapInstalled = null. The
    check line for a configured but ignored sitemap block is a warning now (it was ok). The invalid-block critical
    line now ends with (run "php yii indexnow/check") (SitemapConfig::loadOrDisabled()).

Documentation

  • README: the quick-start record is tests/Readme/Post.php verbatim (complete use lines, the category relation the
    via: rule reads, casts/defaults that make it run); ReadmeQuickstartTest compares the README block with the file
    and runs the record through the test application against the FakeTransport.
  • README: "Notes for AI assistants" (package, minimal complete snippet, verification, pitfalls across the adapters);
    ReadmeAiNotesTest keeps it consistent with the commands and configuration keys.
  • README "Operations": the production checklist first, then monitoring rules, deleted pages, what not to submit,
    multi-domain, queue, commit safety and troubleshooting.
  • docs/configuration.md: the full core key table with defaults (parity with the Laravel adapter);
    docs/testing.md: URLs without HTTP, transactions and verify-on-commit, queue, dry_run, conformance;
    docs/multi-domain.md (new): hosts, rules on another host, languages, origin of generated URLs, www and apex,
    hreflang; docs/troubleshooting.md: "Sent, but the engine answers" (403/422/429/202), "Duplicates, timing",
    "Staging submitted its URLs", "Duplicates with memory and several workers".
  • Russian translation: docs/troubleshooting.ru.md (linked from README.ru.md).
  • homepage in composer.json points at the docs site (https://indexnowkit.github.io/php/).