github getbrevo/brevo-php v4.0.9

latest release: v4.0.10
9 hours ago

v4.0.9

Added

  • Batch events endpoint$client->event->createBatchEvents() now available to track multiple contact interactions in a single request
  • Email campaign excludeHtmlContent parametergetEmailCampaign() accepts a new optional excludeHtmlContent flag to omit HTML body from the response, reducing payload size

Fixed

  • Order::products item typeOrderProductsItem now correctly exposes all product fields (price, productId, variantId, quantity, quantityFloat). Previously only quantity was accessible via the old OrderProductsItemQuantity class
  • GetCampaignStats nullable fieldsappleMppOpens and opensRate are now correctly typed as nullable (?int, ?float), preventing TypeError when the API returns null for these fields

Deprecated

  • sendTransacSms() — Use sendAsyncTransactionalSms() instead. The synchronous method is deprecated; the async variant is the recommended approach for all transactional SMS sending. Note: remainingCredits is intentionally not returned by the async endpoint.

Internal

  • Generator updated from 2.1.42.1.10
  • Fern CLI updated from 3.91.24.22.0

Don't miss a new brevo-php release

NewReleases is sending notifications on new releases.