Repository navigation
·
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_sweepto the newAdyen::CustomPayoutSchedulesSweepsApiclass, exposed throughAdyen::BalancePlatform#custom_payout_schedules_sweeps_api. Calls throughbalance_accounts_apimust migrate to the new service accessor. (#385) - Change
Adyen::Checkout::DEFAULT_VERSIONfrom 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 throughAdyen::BalancePlatform#managed_payout_schedules_api, withapply_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, andupdate_balance_account_managed_schedule. (#385) - Add
Adyen::RecurringTopUpsApi, exposed throughAdyen::BalancePlatform#recurring_top_ups_api, withcreate_recurring_top_up,delete_recurring_top_up,get_recurring_top_ups, andupdate_recurring_top_ups. (#385) - Add
Adyen::SCADeviceManagementApi#delete_sca_device. (#385)
Checkout API
- Add
Adyen::PaymentsApi#update_sessionfor updating a payment session in Checkout API v72. (#390)
Management API
- Add
Adyen::DonationCampaignsApi, exposed throughAdyen::Management#donation_campaigns_api, withcreate_donation_campaign,delete_donation_campaign,list_donation_campaigns_for_account_holder,list_nonprofits,update_donation_campaign, andupdate_donation_campaign_status. (#391)
Transfers API
- Add
Adyen::CashOutApi, exposed throughAdyen::Transfers#cash_out_api, withinitiate_cashout. (#387)
Other
- Add
Adyen::Deprecationand runtime warnings for deprecatedbalance_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?, andcalculate_notification_hmac. Control warnings withWarning[:deprecated],Adyen::Deprecation.silenced=, orADYEN_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_comparemethod when comparing HMAC signatures to protect it from timing attacks. (#357) - Drops dependency on the
Base64gem 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 🖇️
- Update dependency faraday to v2.14.3 [SECURITY] by @renovate[bot] in #346
- Use secure_compare for hmac (for Ruby 3+) by @cburnham-academia in #357
- [posmobile] Code generation: update services and models by @AdyenAutomationBot in #383
- [balanceplatform] Code generation: update services and models by @AdyenAutomationBot in #385
- [transfers] Code generation: update services and models by @AdyenAutomationBot in #387
- [checkout] Code generation: update services and models by @AdyenAutomationBot in #390
- [management] Code generation: update services and models by @AdyenAutomationBot in #391
- Feature: add warnings for deprecated methods by @mrcromero in #397
- chore(ruby): Drop support for Ruby 2.7-3.2 by @mrcromero in #398
- Fix: Drop base64 dependency by @mrcromero in #399
- Fix: Update README service versions by @mrcromero in #400
Contributors
- @renovate[bot]
- @AdyenAutomationBot
- @mrcromero
- @cburnham-academia made their first contribution in #357
Full Changelog: v11.3.0...v12.0.0