·
2 commits
to main
since this release
This release adds the new Document Collector API (DocumentsApi.uploadCrossBorderInvoice), which required first-class multipart/form-data support across the HTTP client layer (ClientInterface, AdyenHttpClient, Resource). Checkout gains session updates through PaymentsApi.updateSession plus SEPA Direct Debit donations, and Payment gains the Mastercard transactionLinkId field.
Two consumer-visible removals need attention: GOPAY_WALLET moves from PaymentDetails.TypeEnum to StoredPaymentMethodDetails.TypeEnum, and io.gsonfire:gson-fire is no longer on the library's transitive classpath.
What's new
New Features 💎
Document Collector API
- Add
DocumentsApi.uploadCrossBorderInvoiceand its RequestOptions overload for multipart PDF uploads to POST /crossBorderInvoices - Add
DocumentContext.PACBINVOICE,DocumentUploadResponse,DefaultErrorResponseEntity, andInvalidFieldmodels.
Checkout API
- Add
PaymentsApi.updateSessionoverloads and supporting session update models. - Add SEPA Direct Debit support through
SepaDirectDebitDonations. - Add
financingProgramto AffirmDetails and label to DonationCampaignsRequest.
Payment API
- Add
transactionLinkIdto AdditionalDataCommon for Mastercard subscription and card-on-file payment requests, linking a transaction to its original or preceding transaction. - Return the Mastercard Transaction Link Identifier (TLID) in ResponseAdditionalDataCommon.
Fixes ⛑️
- Correct
gopay_walletdeserialization to use the backward-compatibleStoredPaymentMethodDetailsrepresentation. - Fix NoPluginFoundForPrefixException for sonar
Other Changes 🖇️
- Complete the Cloud device API migration guide (doc/MigratingToCloudDeviceApi.md) with the enum constant renames, additions, and removals, the standalone-to-nested enum replacements, the model and property renames, the
- CurrencyConversion.convertedAmount Amount -> ConvertedAmount change, and the SaleData.saleToAcquirerData object -> Base64 String change
- Remove the pull_request trigger from .github/workflows/release.yml so a release can no longer be started implicitly by closing a pull request (#2038 (#2038)).
- Add the Java CI workflow badge to README.md (#2044 (#2044)).
- Update the documented Checkout API version to v72 in README.md (#2019 (#2019)).
- Bump the com.adyen:adyen-java-api-library dependency of the tools/hmac sample to 43.0.0 (#2039 (#2039)).
- Expand test coverage for UK FPS tracing data in transfer webhooks, the new Checkout and Payment fields, the Document Collector upload, and the multipart HTTP client path (#2042 (#2042), #2045 (#2045), #2052 (#2052), #2054 (#2054)).
- Bump the library version to 43.1.0 in pom.xml, VERSION, Client.LIB_VERSION, and README.md (#2022 (#2022)).
PRs 📋️
- Update jackson monorepo to v2.22.1 by @renovate[bot] in #1994 (#1994)
- [checkout] Code generation: update services and models by @AdyenAutomationBot (https://github.com/AdyenAutomationBot) in #2015 (#2015)
- Update checkout version to v72 in readme by @poojah-adyen (https://github.com/poojah-adyen) in #2019 (#2019)
- Fix NoPluginFoundForPrefixException for sonar by @poojah-adyen (https://github.com/poojah-adyen) in #2020 (#2020)
- [payment] Code generation: update services and models by @AdyenAutomationBot (https://github.com/AdyenAutomationBot) in #2021 (#2021)
- Release v43.1.0 by @AdyenAutomationBot (https://github.com/AdyenAutomationBot) in #2022 (#2022)
- Update actions/setup-java action to v5.6.0 by @renovate[bot] in #2023 (#2023)
- Update dependency org.apache.maven.plugins:maven-jar-plugin to v3.5.1 by @renovate[bot] in #2026 (#2026)
- Avoid Gson final-field mutation on modern JDKs by @gregjotau (https://github.com/gregjotau) in #2031 (#2031)
- Compile Java 11 artifacts with --release by @gregjotau (https://github.com/gregjotau) in #2033 (#2033)
- chore(dependencies) fix issues raised by dependency:analyze by @jeandersonbc (https://github.com/jeandersonbc) in #2034 (#2034)
- Update dependency com.squareup.okio:okio-jvm to v3.18.1 by @renovate[bot] in #2035 (#2035)
- Update dependency org.apache.httpcomponents.client5:httpclient5 to v5.6.3 [SECURITY] by @renovate[bot] in #2036 (#2036)
- fix(release) removed the pull_request trigger for release by @jeandersonbc (https://github.com/jeandersonbc) in #2038 (#2038)
- Update dependency com.adyen:adyen-java-api-library to v43 by @renovate[bot] in #2039 (#2039)
- Update dependency commons-codec:commons-codec to v1.22.1 by @renovate[bot] in #2040 (#2040)
- Update dependency com.diffplug.spotless:spotless-maven-plugin to v3.9.0 by @renovate[bot] in #2041 (#2041)
- Unit test for tracing data in transfer webhooks by @poojah-adyen (https://github.com/poojah-adyen) in #2042 (#2042)
- Add Java CI badge to README by @gcatanese (https://github.com/gcatanese) in #2044 (#2044)
- [documentcollector] Code generation: update services and models by @AdyenAutomationBot (https://github.com/AdyenAutomationBot) in #2045 (#2045)
- Update actions/setup-java action to v5.7.0 by @renovate[bot] in #2046 (#2046)
- Complete Cloud device API migration guide by @gcatanese (https://github.com/gcatanese) in #2049 (#2049)
- Fix handling multiple request form by @poojah-adyen (https://github.com/poojah-adyen) in #2052 (#2052)
- Unit test for checkout (PR- 2015) and payment (PR2021) by @poojah-adyen (https://github.com/poojah-adyen) in #2054 (#2054)
- documentcollector] Code generation: update services and models by @AdyenAutomationBot (https://github.com/AdyenAutomationBot) in #2055 (#2055)
- Updated readme for document collector api by @poojah-adyen (https://github.com/poojah-adyen) in #2058 (#2058)
New Contributors
- @gregjotau made their first contribution in #2033
Full Changelog: v43.0.0...v43.1.0