Update dependency getbrevo/brevo-php to v5 - #23
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
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.0Release Notes
getbrevo/brevo-php (getbrevo/brevo-php)
v5.0.1: - Empty Object Serialization FixCompare Source
PHP SDK v5.0.1
What's New
🔧 Bug Fix: Empty Object Serialization
JsonSerializableTypenow correctly serializes empty objects to{}instead of[]✨ New Features: Consent Groups Management
📲 Extended Operations
consentGroupIdsfield to add imported contacts to specified consent groupsconsentGroupsarray showing subscription status (when feature enabled)💳 New Wallet Feature
Bug Fixes
JsonSerializableTypeinstances at the top levelCompatibility
Installation
v4.0.16Compare Source
Fixed
CreateBatchOrderResponse::$batchIdnow deserializes correctly. ThecreateBatchOrderendpoint returns the batch id asbatch_id(snake_case), but the SDK looked forbatchId, leaving it unset and throwingCannot assign null to property ...::$batchId of type floaton every call. The wire mapping is corrected tobatch_idand the property is now nullable (?float). The$response->batchIdaccessor is unchanged.Backward-compatible patch release. No breaking changes.
v4.0.15Compare Source
Fixed
GetCampaignStatscount fields are now nullable (?int):clickers,complaints,delivered,hardBounces,sent,softBounces,trackableViews,uniqueClicks,uniqueViews,unsubscriptions,viewed. This model is reused forstatsByDomainongetEmailCampaign(s), where per-domain rows are sparse and the API returnsnull/absent for some counts. The previous non-nullable typing threw aTypeErrorwhile deserializingstatsByDomain(globalStatswas unaffected). (#138)Backward-compatible patch release. No breaking changes.
v4.0.14Compare Source
Fixed
Backward compatible patch release. No breaking changes.
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
v4.0.11Compare Source
v4.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
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.