Update dependency com.adyen:adyen-java-api-library to v42#1988
Open
renovate[bot] wants to merge 1 commit into
Open
Update dependency com.adyen:adyen-java-api-library to v42#1988renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
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:
35.0.0→42.0.0Release Notes
Adyen/adyen-java-api-library (com.adyen:adyen-java-api-library)
v42.0.0: Adyen Java API Library v42.0.0Compare Source
This release delivers a modernized foundation for point-of-sale and financial services integrations. The highlight is the new Cloud Device API, a first-class replacement for the legacy
TerminalCloudAPIthat brings built-in Nexo message encryption, device management, and a cleaner service design. Two new services expand platform capabilities: Direct Debit Mandates for Balance Platform and Dynamic Offers for Capital. This release also drops JAXB dependencies, making it compatible with Jakarta +9 versions.What's new
Cloud Device API (#1808, #1835, #1867, #1906, #1914)
Two new services replace the deprecated
TerminalCloudAPI:CloudDeviceApi— Send synchronous and asynchronous Terminal API messages, query connected devices and device status.EncryptedCloudDeviceApi— Variant ofCloudDeviceApiwith built-in Nexo message encryption/decryption. RequiresEncryptionCredentialDetails.New supporting security classes:
NexoSecurityManager,NexoCryptoPrimitives,NexoDerivedKeyGenerator,NexoSecurityException,EncryptionCredentialDetails.New documentation:
doc/CloudDeviceApi.md,doc/MigratingToCloudDeviceApi.md,doc/TerminalApi.md.New services
DirectDebitMandatesApi(Balance Platform, v2) (#1800) — Create, retrieve, update, and cancel direct debit mandates.DynamicOffersApi(Capital, v1) (#1793) — Calculate preliminary offers, create static offers from dynamic offers, and list all dynamic offers.New models
checkoutAlmaDetails,AppIdentifierInfo,ConfidenceScore,DirectDebitAuDetails,KlarnaNetworkDetails,PixPayByBankDetails,PixPayByBankRiskSignals,ScreenDimensionsmanagementApplePayResponseInfo,GooglePayResponseInfo,KlarnaResponseInfo,MCResponseInfo,VisaResponseInfo,SepaDirectDebitResponseInfo,PayByBankPlaidResponseInfo,Dcc,GenericPmWithTdiUpdateInfo, and ~50 additional*ResponseInfo/*UpdateInfotypesconfigurationwebhooksMandate,MandateBankAccount,MandateNotificationData,MandateNotificationRequest), payout schedule notification types,ResultDetailsbalanceplatformListMandatesResponse,Mandate,MandateBankAccount,MandatePartyIdentification,MandateStatus,MandateType,MandateUpdate,UKLocalMandateAccountIdentificationcapitalCalculateGrantOfferRequest,CalculatedGrantOffer,CreateGrantOfferRequest,DynamicOffer,DynamicOfferRepayment,GetDynamicOffersResponsetransferwebhooksFundingInstrument,UltimatePartyIdentificationtapiSaleToPOIRequest,SaleToPOIResponse,PaymentRequest,PaymentResponse, and all transaction/terminal types)clouddeviceCloudDeviceApiRequest,CloudDeviceApiResponse,CloudDeviceApiAsyncResponse,DeviceStatus,DeviceStatusResponse,ConnectedDevicesResponse, and security message typesTAPI utility helpers (#1913)
New classes in
com.adyen.util.tapi:PredefinedContentHelper— Parses and manages key-value pairs within aPredefinedContentreference ID string.SaleDataHelper— ParsesSaleToAcquirerDatafrom aSaleDataobject, auto-detecting Base64-encoded JSON or form-encoded key-value pairs.SaleToAcquirerData— POJO representing the sale information passed to the acquirer (shopper email, recurring contract, metadata, etc.).SaleToAcquirerDataParser— Serializes/deserializesSaleToAcquirerDatato/from Base64 JSON or form-encoded format.Clientnow implementsCloseable(#1795)Clientimplementsjava.io.Closeable, enabling use in try-with-resources for proper HTTP connection cleanup:The underlying HTTP client is now lazily initialized and shared across requests (thread-safe, double-checked locking).
Changed
GrantOffersApimethod names (#1793) — All references to "grant offer" have been renamed to "static offer" to align with the API spec (getAllGrantOffers→ now returns static offers,getGrantOffer→ now described as "Get the details of a static offer"). Method names are unchanged but Javadoc and semantics now reflect "static offers" vs the new dynamic offers.Terminal API documentation restructured (#1909) — Terminal API usage docs moved from the main
README.mdinto standalone files (doc/TerminalApi.md,doc/CloudDeviceApi.md,doc/MigratingToCloudDeviceApi.md).TransfersApi.getAllTransfers()categoryparameter (#1937) — Javadoc updated to documentcardandtopUpas additional valid values.ScaAssociationManagementApientityTypeparameter (#1912) — Javadoc updated to includelegalEntityas a valid value.Fixed
HTTP timeout not applied by default (#1795) — Timeout configuration was not being set as the default
RequestConfigon the HTTP client, soconnectionTimeoutMillis,readTimeoutMillis, andconnectionRequestTimeoutMillishad no effect. Fixed so all requests inherit the configured timeouts (default: 60 000 ms each).Socket timeout not set (#1795) —
SocketTimeoutwas not configured, leaving the client potentially hanging indefinitely on unresponsive hosts.TAPI unknown enum values threw exceptions (#1900) — All enum types in the
tapipackage now handle unknown values gracefully instead of throwing a deserialization exception, improving forward-compatibility with new API values.createBaseURLusedreplaceFirstinstead ofreplace(#1952) —String.replaceFirst()interprets its first argument as a regex, causing failures for strings containing regex special characters. Fixed to useString.replace().Breaking Changes
1.
Region.INenum value removed (#1837)The
Region.IN(India) value has been removed fromcom.adyen.enums.Region.2.
GrantOffersApi.getAllGrantOffers()now requiresaccountHolderId(#1793)The no-argument overload has been removed.
accountHolderIdis now a required parameter.3.
PaymentMethodsMerchantLevelApi.getApplePayDomains()return type changed (#1971)The return type changed from
ApplePayInfotoApplePayResponseInfo.4. JAXB annotations removed from
nexomodels (#1807, #1802)All
javax.xml.bindannotations (@XmlElement,@XmlType,@XmlEnum, etc.) have been removed from thenexomodel classes. Serialization now uses Gson's@SerializedNameannotations exclusively. This resolves the class-loading conflicts on clients using Jakarta +9The
javax.xml.bind:jaxb-apicompile dependency has been removed and replaced bycommons-codec. A Maven Enforcer rule now blocksjavax.xml.bind:jaxb-apifrom the dependency tree.Deprecated
TerminalCloudAPI(#1808) — Usecom.adyen.service.clouddevice.CloudDeviceApiinstead. See the Cloud Device API documentation and the migration guide.PosMobileApi.createCommunicationSession()(#1946) — Deprecated since POS Mobile API v68.Dependency Updates
com.fasterxml.jackson(monorepo)com.google.code.gson:gsoncommons-codec:commons-codecorg.apache.httpcomponents.client5:httpclient5io.swagger.core.v3:swagger-annotationsorg.junit.jupiter:junit-jupiterorg.mockito(monorepo)com.squareup.okio:okioorg.sonatype.central:central-publishing-maven-pluginorg.apache.maven.plugins:maven-surefire-pluginorg.apache.maven.plugins:maven-source-pluginorg.apache.maven.plugins:maven-compiler-plugincom.diffplug.spotless:spotless-maven-pluginorg.apache.maven.plugins:maven-enforcer-pluginjavax.xml.bind:jaxb-apiorg.codehaus.janino:coveralls-maven-pluginReferences
Breaking Changes 🛠
New Features 💎
Fixes ⛑️
Other Changes 🖇️
1a9c371by @renovate[bot] in #1621Region.INenum value by @Copilot in #1837New Contributors
Full Changelog: v41.1.0...v42.0.0
v41.1.1: Adyen Java API Library v41.1.1What's Changed
Fixes ⛑️
Correct Classic Recurring URL #1897:
https://pal-test.adyen.com/pal/servlet/Recurring/v68https://{prefix}-pal-live.adyenpayments.com/pal/servlet/Recurring/v68Full Changelog: v41.1.0...v41.1.1
v41.1.0: Adyen Java API Library v41.1.0Compare Source
New Features 💎
Checkout API
merchantReferenceinCheckoutForwardRequestStoredPaymentMethodDetailsadd several enum values to supportalipay_pluscardBininsStoredPaymentMethodResourceBalance Platform API
Management API
HomeScreenSettingsandKioskModeSettingsinTerminalSettingsRecurring API
Recurring endpoint has been updated to:
paltokenization-test.adyen.com/paltokenization/servlet/Recurring/v68myprefix-paltokenization-live.adyenpayments.com/paltokenization/servlet/Recurring/v68Payout API
AMBERinResponseAdditionalDataCommonClassic Payments API
RefusedandErrorenum values inModificationResultAMBERinResponseAdditionalDataCommonTransfer Webhooks
InterchangeDatain the list ofEventsDatainterchangeAdjustedinModification,TransferData,TransferEventTransfers API
InterchangeDatain the list ofEventsDatainterchangeAdjustedinModification,Transfer,TransferData,TransferEventFixes ⛑️
Other Changes 🖇️
Other PRs
New Contributors
Full Changelog: v41.0.0...v41.1.0
v41.0.0: Adyen Java API Library v41.0.0Compare Source
What's Changed
This release includes introduces the new Capital API since capital-related features from Transfers API have been deprecated.
Check API docs for further details:
Breaking Changes 🛠
New Features 💎
Fixes ⛑️
Other Changes 🖇️
New Contributors
Full Changelog: v40.1.0...v41.0.0
v40.1.0: Adyen Java API Library v40.1.0Compare Source
💎 New Features
Checkout API
ExternalTokenDetailspayment methodFundingSourceEnumadd enum valuePREPAIDinApplePayDetails,ApplePayDonations,CardDonations, andCardDetailsCardDetailsandCardDonationsaddbillingSequenceNumberattributePaymentRequestaddPaymentValidationsPaymentResponseandPaymentDetailsResponseaddPaymentValidationsResponseCheckoutBankTransferActionadd attributesbankCode,branchCode,GenericIssuerPaymentMethodDetailsadd enumONLINEBANKING_INResponseAdditionalDataSepaaddsepadirectdebitSepadirectdebitDueDateattributeStoredPaymentMethodResourceaddmandateattributeWeChatPayMiniProgramDetailsaddstoredPaymentMethodIdattributeClassic Payments API
PaymentRequestadd enumPREPAIDResponseAdditionalDataSepaaddsepadirectdebitSepadirectdebitDueDateattributeBalancePlatform
DeviceInfofields:cardCaptureTechnology,deviceName,imei,isoDeviceType,msisdn,osVersion,paymentTypes,serialNumber,storageTechnologyBalanceaddpendingAvailableattributeBulkAddressaddnameattributeCreateSweepConfigurationV2andUpdateSweepConfigurationV2add enumReasonEnum.SCHEMEADVICEPayout API
ResponseAdditionalDataSepaaddsepadirectdebitSepadirectdebitDueDateattributeLegal Entity Management API
requestPeriodicReviewmethod inLegalEntitiesApiManagement API
AffirmInfoaddPricePlanEnumenumsPaymentMethodaddsvsandvalueLinkattributesPaymentMethodResponseadd enumsKLARNA_B2B,SVS,VALUELINKPaymentMethodSetupInfoaaddsvsandvalueLinkattributesPaymentMethodSetupInfoadd enumsKLARNA_B2B,SVS,VALUELINKTransfers API
UltimatePartyIdentificationaddfundingInstrumentattributeBankAccountV3addstoredPaymentMethodIdattributeTransfer,TransferDataandTransferEventadd add enumReasonEnum.SCHEMEADVICETransfer Webhooks
BankAccountV3addstoredPaymentMethodIdattributebalancePlatform.balanceAccount.balance.block.releasedOther Changes 🖇️
WWW-Authenticateheader in BalancePlaftorm SCA Associations Management #1585AGENTS.MD#1566Fixes ⛑️
Correct LIVE url for SessionAuthentication API by @gcatanese in #1580
BalancePlatform TransferLimits: update order of path params for deletePendingTransferLimit and getSpecificTransferLimit by @gcatanese in #1583
Release v40.1.0 by @AdyenAutomationBot in #1579
Full Changelog: v40.0.0...v40.1.0
v40.0.1: Adyen Java API Library v40.0.1Compare Source
Adyen Java API Library v40.0.1
This release introduces minor improvements on a dependency.
v40.0.0: Adyen Java API Library v40.0.0Compare Source
This release introduces major improvements, including support for LEM v4 and an updated Client setup.
Make sure to review the highlights below and check the breaking changes that may require updates in your integration.
Legal Entity Management API v4
LEM v4 enhances the onboarding process and ensures compliance with evolving regulatory data requirements across regions and products.
See the Onboarding v4 documentation for details, and review the API changes from v3 to v4 to understand the impact on your integration.
BusinessLine:capabilityattribute has been removedSourceOfFunds:acquiringBusinessLineIdattribute has been removedSourceOfFunds:adyenProcessedFundsattribute is now requiredSee new fields and other details in #1542
🛠 Breaking Changes
Client Setup
The Client class has been updated to enforce best practices and remove deprecated methods.
You can now configure the client using the Config object for a cleaner and more consistent setup:
Several several legacy methods, deprecated already for 4-5 years, have been removed. See more details here #1525
Checkout API
New
ShopperNameclass has been introduced, to be used when defining the name of the shopper. This affects several classes: `CreateChecConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.