library · inferred from evidence
getbrevo/brevo-php
PHP SDK for Brevo API interactions, version 2.0.7 mentioned with a breaking change in parameter order for updateContact.
- Brevo PHP SDK: "Cannot serialize value of type boolean with any of the union types: float | string | bool...
This is a serializer bug in the v4 SDK: it never matched "bool" against gettype()'s "boolean". It was fixed in v4.0.10, which adds an explicit is_bool() check in JsonSerializer.php mirroring the existing is_float() workaround. Upgrade with
- Brevo PHP SDK v4.0.7: ContactsClient::createContact() throws "Failed to deserialize response: Syntax error"
This is an SDK bug, not your code: v4.0.7 tries to JSON-decode success responses that can be empty or non-JSON. It was fixed in v4.0.11, where the SDK handles those responses gracefully instead of throwing during deserialization. Upgrade wi