Skip to content

0.3.2

Latest

Choose a tag to compare

@somework somework released this 07 Sep 17:29
· 2 commits to main since this release

Added

  • ReadmeAssertions::FAMILY_COMMANDS knows indexnow:submit-record (the Yii3 adapter); ConformanceIdsTest checks H01–H06 of yii3 next door.
  • Conformance\OptionalPackageAssertions: assertDetected($checkOutput) — with the predicates left to detection
    (installed: null), the check output names exactly the optional packages that are physically absent and none of
    the present ones; with the environment variable INDEXNOWKIT_OPTIONAL_PACKAGES=absent (the CI job
    optional-packages-absent, which runs composer remove of sitemap, verify and history before the detection test of
    each adapter) the absence of all three is an assertion too. The adapters' "not installed" tests pass false with the
    packages still installed, which proved the texts but not the boot (core 0.13.0).
  • Conformance\Arrays::merge($base, $overrides): overrides on top of test options — a nested associative block merges
    key by key, a list, an empty array or a scalar replaces. The one implementation of what the Fixtures of the Laravel,
    Yii2 and Yii3 test suites each carried (audit 0.13 W12); they delegate to it now.

Changed

  • ConformanceIdsTest (monorepo) reads the list of framework adapters off the file system — every packages/* that
    requires indexnowkit/core and has a tests/ directory, minus the libraries — instead of a hard-coded array of four
    names, and asserts at least four were found. A new adapter (Bitrix next) now has to bring H01–H06 the day it lands.
  • Requires indexnowkit/core ^0.13.