Skip to content

Adyen Ruby API Library v12.0.0

Latest

Choose a tag to compare

@AdyenAutomationBot AdyenAutomationBot released this 17 Aug 12:02
· 2 commits to main since this release

What's Changed

Note

This release raises the minimum Ruby version to 3.3, dropping support for EOL Ruby versions 2.7 - 3.2

This release raises the minimum Ruby version to 3.3, adds new Balance Platform payout-schedule and recurring-top-up services, adds Management donation campaigns and Transfers cashouts, and updates Checkout to v72. It also emits configurable runtime warnings when deprecated methods are called.

Breaking Changes 🛠

  • Require Ruby 3.3 or newer instead of Ruby 2.7 or newer. Ruby 2.7 through 3.2 are no longer supported. (#398)
  • Move Adyen::BalanceAccountsApi#create_sweep, #delete_sweep, #get_all_sweeps_for_balance_account, #get_sweep, and #update_sweep to the new Adyen::CustomPayoutSchedulesSweepsApi class, exposed through Adyen::BalancePlatform#custom_payout_schedules_sweeps_api. Calls through balance_accounts_api must migrate to the new service accessor. (#385)
  • Change Adyen::Checkout::DEFAULT_VERSION from 71 to 72, so clients that do not select an explicit Checkout version now call Checkout API v72. (#390)

New Features 💎

Balance Platform API

  • Add Adyen::ManagedPayoutSchedulesApi, exposed through Adyen::BalancePlatform#managed_payout_schedules_api, with apply_managed_schedule, delete_balance_account_managed_schedule, get_balance_account_managed_schedule_by_id, get_balance_account_managed_schedules, get_balance_platform_managed_schedule_by_id, get_balance_platform_managed_schedules, get_payout_schedule_executions, and update_balance_account_managed_schedule. (#385)
  • Add Adyen::RecurringTopUpsApi, exposed through Adyen::BalancePlatform#recurring_top_ups_api, with create_recurring_top_up, delete_recurring_top_up, get_recurring_top_ups, and update_recurring_top_ups. (#385)
  • Add Adyen::SCADeviceManagementApi#delete_sca_device. (#385)

Checkout API

  • Add Adyen::PaymentsApi#update_session for updating a payment session in Checkout API v72. (#390)

Management API

  • Add Adyen::DonationCampaignsApi, exposed through Adyen::Management#donation_campaigns_api, with create_donation_campaign, delete_donation_campaign, list_donation_campaigns_for_account_holder, list_nonprofits, update_donation_campaign, and update_donation_campaign_status. (#391)

Transfers API

  • Add Adyen::CashOutApi, exposed through Adyen::Transfers#cash_out_api, with initiate_cashout. (#387)

Other

  • Add Adyen::Deprecation and runtime warnings for deprecated balance_transfer, get_grant_account, get_all_available_grant_offers, get_grant_offer, origin_keys, donate, create_communication_session, assign_terminals, find_terminal, get_stores_under_account, get_terminal_details, get_terminals_under_account, create_permit, disable_permit, get_capital_account, get_grant_reference_details, request_grant_payout, valid_notification_hmac?, and calculate_notification_hmac. Control warnings with Warning[:deprecated], Adyen::Deprecation.silenced=, or ADYEN_SILENCE_DEPRECATIONS (check the README for more information). (#383) (#397)

Fixes ⛑️

  • Update the repository's pinned Faraday version from 2.8.1 to 2.14.3, which includes the fix for CVE-2026-25765 / GHSA-33mh-2634-fwr2. The gemspec's runtime dependency remains unbounded as faraday. (#346)
  • Update the HMAC validator to use the OpenSSL#secure_compare method when comparing HMAC signatures to protect it from timing attacks. (#357)
  • Drops dependency on the Base64 gem as it is no longer a default gem in newer versions of Ruby. (#399)v

Contributor Notes 🔧

  • Update CI coverage from Ruby 2.7, 3.0, 3.1, and 3.2 to Ruby 3.3, 3.4, 4.0, and head; simplify the client and deprecation helper around Ruby 3.3+ behavior. (#398)

Other Changes 🖇️

  • Update generated POS Mobile deprecation guidance for Adyen::PosMobileApi#create_communication_session, directing integrations toward certificate-based authentication. (#383)
  • Add and refresh generated-service request/response coverage for Balance Platform, Checkout, Management, and Transfers as part of their implementing PRs. (#385) (#387) (#390) (#391)

PRs 🖇️

Contributors

Full Changelog: v11.3.0...v12.0.0