Update dependency getbrevo/brevo-php to v4.0.13#18
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Update dependency getbrevo/brevo-php to v4.0.13#18renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
3a7d88b to
eb1a371
Compare
eb1a371 to
0407798
Compare
0407798 to
af03498
Compare
af03498 to
68adb10
Compare
68adb10 to
6229902
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.0.5→4.0.13Release Notes
getbrevo/brevo-php (getbrevo/brevo-php)
v4.0.13Compare Source
v4.0.13
Bug fixes
getProcess / getProcesses — deserialization failure on completed processes (#121)
$duplicateEmailIdwas typed as?int, but the API returns a URL string pointing to a CSV file of duplicate IDs.?string.getProcess / getProcesses — unknown status
in_process(#122)in_processvalue (v3 name forprocessing).GetProcessResponseStatusandGetProcessesResponseProcessesItemStatusnow includeInProcess = "in_process", so deserialization no longer throws on active processes.createEvent / createBatchEvents — boolean values rejected in
contactProperties(#123)contactPropertiesandeventPropertiesonly acceptedstring|int.'MY_FLAG' => true) now serialize correctly.createContact / updateContact — integer values rejected in
attributes(#124)attributesvalues were typed asfloat|string|bool|array.int(e.g.'OFFICE_ID' => 1234) now works without casting to(float).v4.0.12Compare 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.11Compare Source
What's Changed
New features
Events
getEvents()— retrieve a paginated list of custom events, filterable bycontactId,eventName,objectType,startDate, andendDate.Supports
limit(default 100, max 10,000) andoffsetfor pagination.Note: currently only supports custom events.
createBatchEvents()— create multiple events in a single request using an array ofCreateBatchEventsRequestItem. Returns aBatchAcceptedResponse.Ecommerce
CreateUpdateProductRequestand batch product upsert now accept two new optional fields:brandanddescription.Balance
getActiveBalancesApi()now acceptsincludeInternalto include balances tied to internal definitions.getContactBalances()andgetSubscriptionBalances()now accept a request object with anincludeInternalparameter.getTransactionHistory()now supports filtering bystatus(draft,completed,rejected,cancelled,expired) andtransactionType(credit,debit).createBalanceDefinition()andupdateBalanceDefinition():metafield is now a typed object (isInternal: bool) instead of a generic key-value array.CRM
PatchCrmAttributesIdRequestto update CRM attribute labels and selectable option labels.Changes
Ecommerce
metaInfosize limit for products clarified: maximum 20,000 characters total (previously documented as 1,000 KB / max 20 items).Account
usersfield on plan verticals is now nullable.Bug fixes
createContact()no longer throws aBrevoExceptionv4.0.10Compare Source
v4.0.10
Added
$client->event->createBatchEvents()to track multiple contact interactions in a single requestexcludeHtmlContentparameter —getEmailCampaign()accepts a new optional flag to omit the HTML body from the response, reducing payload sizeFixed
UpdateContactRequestandCreateContactRequestnow correctly serialize boolean values in union-typed attribute maps (float | string | bool | array). Previously threwJsonException: Cannot serialize value of type booleanOrder::productsitem type —OrderProductsItemnow correctly exposes all product fields:price,productId,variantId,quantity,quantityFloat. Previously onlyquantitywas accessibleGetCampaignStatsnullable fields —appleMppOpensandopensRateare now correctly typed as nullable (?int,?float), preventingTypeErrorwhen the API returnsnullDeprecated
sendTransacSms()— UsesendAsyncTransactionalSms()instead. The synchronous method is deprecated. Note:remainingCreditsis intentionally not returned by the async endpoint; use the account endpoints to retrieve credit balanceInternal
2.1.4→2.1.103.91.2→4.22.0v4.0.9Compare Source
v4.0.7Compare Source
What's Changed
Full Changelog: getbrevo/brevo-php@v4.0.6...v4.0.7
v4.0.6Compare 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)
* 0-3 1 * *)🚦 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.
This PR was generated by Mend Renovate. View the repository job log.