github getbrevo/brevo-php v4.0.13

8 hours ago

v4.0.13

Bug fixes

getProcess / getProcesses — deserialization failure on completed processes (#121)

  • $duplicateEmailId was typed as ?int, but the API returns a URL string pointing to a CSV file of duplicate IDs.
  • It is now typed as ?string.

getProcess / getProcesses — unknown status in_process (#122)

  • The API still returns the legacy in_process value (v3 name for processing).
  • GetProcessResponseStatus and GetProcessesResponseProcessesItemStatus now include InProcess = "in_process", so deserialization no longer throws on active processes.

createEvent / createBatchEvents — boolean values rejected in contactProperties (#123)

  • contactProperties and eventProperties only accepted string|int.
  • Boolean values (e.g. 'MY_FLAG' => true) now serialize correctly.

createContact / updateContact — integer values rejected in attributes (#124)

  • attributes values were typed as float|string|bool|array.
  • Passing a plain PHP int (e.g. 'OFFICE_ID' => 1234) now works without casting to (float).

Don't miss a new brevo-php release

NewReleases is sending notifications on new releases.