Skip to content

v1.1.0

Choose a tag to compare

@loevgaard loevgaard released this 31 Aug 12:44
852fc4d

Highlights

  • Supports Meta Graph API v26.0 — the facebook/php-business-sdk constraint is widened from ^25.0 to ^25.0 || ^26.0 (#12, closes #10). With the 26.x SDK installed, events are posted to https://graph.facebook.com/v26.0/{pixel}/events. Graph API v25.0 keeps working until Meta retires it (scheduled for 2028-07-29), so nothing changes until you update the dependency.
  • Verified live — the release was tested end to end against the Conversions API on v26.0 (server event accepted and visible in Events Manager's Test events).

Under the hood

  • Test suite brought to 100 % line coverage and a 94 % mutation score (Infection thresholds raised to 90 / 90), including the HTTP-client auto-discovery path, the PSR-17 factory setters, ClientException messages, ErrorResponse validation and the Fb value-object bounds (#11).
  • ClientTest no longer hardcodes the Graph API version, so the suite passes with either SDK major.

Upgrading

No code changes required and no backwards-compatibility breaks. To move to Graph API v26.0:

composer update facebook/php-business-sdk

The API version is always taken from the installed facebook/php-business-sdk (ApiConfig::APIVersion), so staying on 25.x is equally fine.

Requirements

Full changelog: v1.0.0...v1.1.0