Adyen Ruby API Library v11.3.0
·
21 commits
to main
since this release
This v11.3.0 release introduces several improvements and fixes.
Note
It is also the last version that supports Ruby 2.7 - 3.2. Please read the note below.
Announcement: Upcoming End-of-Support for Ruby 2.7 - 3.2
Please be advised that the next release (v12.0.0) will require Ruby version 3.3 or higher.
To maintain high security standards and align with the official Ruby maintenance lifecycle, we are removing support for Ruby versions 3.2 and older in our next update. While v11.3.0 remains compatible with these older environments, as of v12.0.0, future versions of this library will only function on Ruby 3.3+.
We recommend preparing your environment for this change if you plan to adopt future library updates.
What's Changed
New Features 💎
Balance Platform
- Added new
DirectDebitMandatesApiservice with four endpoints:cancel_mandate,get_list_of_mandates,get_mandate_by_id, andupdate_mandate.
Capital
- Added new
DynamicOffersApiservice with three endpoints:get_all_dynamic_offers,calculate_preliminary_offer_from_dynamic_offer, andcreate_static_offer_from_dynamic_offer.
Fixes ⛑️
- Fixed
Client#initializeto validate env and live_url_prefix arguments immediately on construction, raising ArgumentError on invalid values. - Fixed
create_query_stringappending a trailing ? to URLs when query_params is empty. - Fixed error message typo in
env= setter(doubled single-quote). - Removed a stray puts debug statement from
HmacValidator#valid_webhook_payload_hmac?.
Other Changes 🖇️
- Extracted duplicated endpoint URL-building logic into a private
build_endpoint(path, *params)helper on the baseServiceclass; all generated services updated accordingly. - Extended RSpec coverage for new services,
Service#build_endpoint,Service#create_query_string, andClientinitialization edge-cases.
PRs
- [balanceplatform] Code generation: update services and models by @AdyenAutomationBot in #350
- [capital] Code generation: update services and models by @AdyenAutomationBot in #354
- Remove debugging puts by @therubyhound in #353
- Fix create_query_string appending trailing '?' when query_params is empty by @gcatanese in #363
- Remove @Adyen/developer-relations from CODEOWNERS by @gcatanese in #360
- Fix: enforce argument validation in Client#initialize via setter methods by @Copilot in #356
- [Chore] Extract duplicated endpoint URL building logic into a helper method by @gcatanese in #364
- [legalentitymanagement] Code generation: update services and models by @AdyenAutomationBot in #366
- [transfers] Code generation: update services and models by @AdyenAutomationBot in #377
- [disputes] Code generation: update services and models by @AdyenAutomationBot in #378
- [balanceplatform] Code generation: update services and models by @AdyenAutomationBot in #380
- [paymentsapp] Code generation: update services and models by @AdyenAutomationBot in #381
- [recurring] Code generation: update services and models by @AdyenAutomationBot in #373
- [checkout] Code generation: update services and models by @AdyenAutomationBot in #375
- [management] Code generation: update services and models by @AdyenAutomationBot in #376
- [balancecontrol] Code generation: update services and models by @AdyenAutomationBot in #379
- [binlookup] Code generation: update services and models by @AdyenAutomationBot in #369
- [sessionauthentication] Code generation: update services and models by @AdyenAutomationBot in #374
- [payout] Code generation: update services and models by @AdyenAutomationBot in #365
- [dataprotection] Code generation: update services and models by @AdyenAutomationBot in #367
- [storedvalue] Code generation: update services and models by @AdyenAutomationBot in #372
- [capital] Code generation: update services and models by @AdyenAutomationBot in #370
- [payment] Code generation: update services and models by @AdyenAutomationBot in #371
- [posmobile] Code generation: update services and models by @AdyenAutomationBot in #368
- Release v11.3.0 by @AdyenAutomationBot in #359
New Contributors
- @therubyhound made their first contribution in #353
Full Changelog: v11.2.0...v11.3.0