Skip to content

Update dependency getbrevo/brevo-php to v4.0.13#18

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/getbrevo-brevo-php-4.x-lockfile
Open

Update dependency getbrevo/brevo-php to v4.0.13#18
renovate[bot] wants to merge 1 commit intomainfrom
renovate/getbrevo-brevo-php-4.x-lockfile

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Mar 1, 2026

This PR contains the following updates:

Package Change Age Confidence
getbrevo/brevo-php 4.0.54.0.13 age confidence

Release Notes

getbrevo/brevo-php (getbrevo/brevo-php)

v4.0.13

Compare Source

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).

v4.0.12

Compare Source

Summary

Resolved a field naming mismatch in the /orders/status/batch API response to align the implementation with the public contract.

Issue

During investigation of an L3 issue, a discrepancy was identified between the Swagger contract and the actual API response:
• Contract (Swagger): batchId (camelCase)
• Implementation: batch_id (snake_case)

This inconsistency caused misalignment with client expectations and SDK behavior.

Fix
• Updated the response format to use batchId (camelCase) as defined in the Swagger specification.
• Ensured consistency across API responses and documentation.

v4.0.11

Compare Source

What's Changed

New features

Events
  • Added getEvents() — retrieve a paginated list of custom events, filterable by contactId, eventName, objectType, startDate, and endDate.
    Supports limit (default 100, max 10,000) and offset for pagination.
    Note: currently only supports custom events.
  • Added createBatchEvents() — create multiple events in a single request using an array of CreateBatchEventsRequestItem. Returns a BatchAcceptedResponse.
Ecommerce
  • CreateUpdateProductRequest and batch product upsert now accept two new optional fields: brand and description.
Balance
  • getActiveBalancesApi() now accepts includeInternal to include balances tied to internal definitions.
  • getContactBalances() and getSubscriptionBalances() now accept a request object with an includeInternal parameter.
  • getTransactionHistory() now supports filtering by status (draft, completed, rejected, cancelled, expired) and transactionType (credit, debit).
  • createBalanceDefinition() and updateBalanceDefinition():
    • the meta field is now a typed object (isInternal: bool) instead of a generic key-value array.
CRM
  • Added PatchCrmAttributesIdRequest to update CRM attribute labels and selectable option labels.

Changes

Ecommerce
  • metaInfo size limit for products clarified: maximum 20,000 characters total (previously documented as 1,000 KB / max 20 items).
Account
  • users field on plan verticals is now nullable.

Bug fixes

  • createContact() no longer throws a BrevoException
  • Checks if the response body is empty and returns null instead of trying to deserialize it
  • Only calls CreateContactResponse::fromJson($json) when there's actual content

v4.0.10

Compare Source

v4.0.10

Added
  • Batch events endpoint$client->event->createBatchEvents() to track multiple contact interactions in a single request
  • Email campaign excludeHtmlContent parametergetEmailCampaign() accepts a new optional flag to omit the HTML body from the response, reducing payload size
Fixed
  • Boolean attributes serializationUpdateContactRequest and CreateContactRequest now correctly serialize boolean values in union-typed attribute maps (float | string | bool | array). Previously threw JsonException: Cannot serialize value of type boolean
  • Order::products item typeOrderProductsItem now correctly exposes all product fields: price, productId, variantId, quantity, quantityFloat. Previously only quantity was accessible
  • GetCampaignStats nullable fieldsappleMppOpens and opensRate are now correctly typed as nullable (?int, ?float), preventing TypeError when the API returns null
Deprecated
  • sendTransacSms() — Use sendAsyncTransactionalSms() instead. The synchronous method is deprecated. Note: remainingCredits is intentionally not returned by the async endpoint; use the account endpoints to retrieve credit balance
Internal
  • Generator updated from 2.1.42.1.10
  • Fern CLI updated from 3.91.24.22.0

v4.0.9

Compare Source

v4.0.7

Compare Source

What's Changed

Full Changelog: getbrevo/brevo-php@v4.0.6...v4.0.7

v4.0.6

Compare Source

What's Changed

Introduction of loyalty endpoint to delete member subscription.

New Contributors

Full Changelog: getbrevo/brevo-php@v4.0.5...v4.0.6


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, on day 1 of the month (* 0-3 1 * *)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies label Mar 1, 2026
@renovate renovate Bot force-pushed the renovate/getbrevo-brevo-php-4.x-lockfile branch from 3a7d88b to eb1a371 Compare March 1, 2026 21:13
@renovate renovate Bot changed the title Update dependency getbrevo/brevo-php to v4.0.6 Update dependency getbrevo/brevo-php to v4.0.7 Mar 1, 2026
@renovate renovate Bot force-pushed the renovate/getbrevo-brevo-php-4.x-lockfile branch from eb1a371 to 0407798 Compare March 12, 2026 13:05
@renovate renovate Bot changed the title Update dependency getbrevo/brevo-php to v4.0.7 Update dependency getbrevo/brevo-php to v4.0.10 Mar 12, 2026
@renovate renovate Bot force-pushed the renovate/getbrevo-brevo-php-4.x-lockfile branch from 0407798 to af03498 Compare March 25, 2026 08:48
@renovate renovate Bot changed the title Update dependency getbrevo/brevo-php to v4.0.10 Update dependency getbrevo/brevo-php to v4.0.11 Mar 25, 2026
@renovate renovate Bot force-pushed the renovate/getbrevo-brevo-php-4.x-lockfile branch from af03498 to 68adb10 Compare March 27, 2026 18:16
@renovate renovate Bot changed the title Update dependency getbrevo/brevo-php to v4.0.11 Update dependency getbrevo/brevo-php to v4.0.12 Mar 27, 2026
@renovate renovate Bot force-pushed the renovate/getbrevo-brevo-php-4.x-lockfile branch from 68adb10 to 6229902 Compare April 10, 2026 14:13
@renovate renovate Bot changed the title Update dependency getbrevo/brevo-php to v4.0.12 Update dependency getbrevo/brevo-php to v4.0.13 Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants