Releases: Setono/meta-conversions-api-php-sdk
Releases · Setono/meta-conversions-api-php-sdk
Release list
v1.0.0
First stable release. 🎉
The library is now considered stable and follows semantic versioning from this point on.
Highlights
- Targets Meta Graph API v25.0 —
facebook/php-business-sdkupgraded to^25.0, so events are posted tohttps://graph.facebook.com/v25.0/{pixel}/events. - Richer error reporting —
ClientExceptionnow surfaces Meta'serror_subcodeand the user-facingerror_user_title/error_user_msg(when present), alongside the message, code, trace id and raw response. - Developer-friendly README — runnable examples for server-side events, browser-side
fbq()generation with server/browser deduplication, custom events,fbc/fbpvalue objects, bringing your own HTTP client, logging and extending events.
Under the hood
- Static analysis migrated from Psalm to PHPStan (
level: max). - Dev tooling modernized and kept installable on PHP 8.1.
- Verified on PHP 8.1, 8.2, 8.3 and 8.4.
Requirements
Backwards compatibility
- Removed
Client::setResponseFactory()— the client never creates responses, so the method had no effect. If you were calling it (e.g. when upgrading from 0.2.x), just drop the call.
Full changelog: v0.2.4...v1.0.0