Skip to content

v2.4.4 — Brands API version defaults to V2

Latest

Choose a tag to compare

@mexiter mexiter released this 21 Sep 18:26
6675a57

Changed

  • Brands API Version defaults to V2 (Recommended). Multi-vertical brand fields (classificationTypes, sportsbook, poker, sweeps-coins, and unified offers) are now active by default via BrandsApiUrlBuilder::effectiveBase(). The setting dynamically routes brand sync calls to /api/v2/brands while keeping Toplists anchored on /api/v1/toplists, with full backward-compatibility fallback to V1 (Legacy). A site that already saved this setting keeps the version it chose; only a site that never saved it moves to V2.
  • Database Contract & Custom Downstream Consumers Verified: Re-confirmed that the wp_dataflair_brands database table contract (including api_brand_id and verbatim JSON in the data column with externalId) remains fully stable for downstream custom sync consumers.

Tests

  • Full automated Chrome integration suite run against all 8 SiGMA tenant findings (Settings V2 toggle, brand search for bc.g, casino editor brand name mapping, 0-duplicate toplist selector, mutually exclusive operating/restricted geo lists, and brand/toplist sync).
  • PHPUnit unit and integration test suite: 969 tests, 3131 assertions, all green. The two changed test files also pass when run on their own.