From aacee6f9aad72e781008625e2ac5050730e510ac Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Wed, 28 Oct 2026 10:25:21 +0000 Subject: [PATCH] Changes generated by e67852ec026da0d5949c58fb415812f764d8e30e This commit was automatically created from gocardless/client-library-templates@e67852ec026da0d5949c58fb415812f764d8e30e by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/40671654596 --- CHANGELOG.md | 10 ++++++++++ lib/gocardless_pro/client.rb | 2 +- lib/gocardless_pro/version.rb | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b52609..dc9b5fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,16 @@ # Changelog +## 4.22.0 (2026-10-28) + +### Features + +#### Use Billing Requests instead of Redirect Flows and Payer Authorisations + +Redirect Flows and Payer Authorisations are legacy APIs and cannot be used by new integrators. If you use `client.redirect_flows` and `client.payer_authorisations`, migrate to [Billing Requests](https://developer.gocardless.com/api-reference/#billing-requests), which cover the same flows (and more) through a single API. The [integration planner](https://docs.gocardless.com/docs/collect-payments/integration-planner) is a good place to start. + +The legacy methods are now marked as deprecated with YARD `@deprecated` tags. Behaviour is unchanged. Documentation tools and IDEs that understand YARD will flag these methods. + ## 4.21.0 (2026-10-26) ### Features diff --git a/lib/gocardless_pro/client.rb b/lib/gocardless_pro/client.rb index 4f80403..0ce62d8 100644 --- a/lib/gocardless_pro/client.rb +++ b/lib/gocardless_pro/client.rb @@ -283,7 +283,7 @@ def default_options 'User-Agent' => "#{user_agent}", 'Content-Type' => 'application/json', 'GoCardless-Client-Library' => 'gocardless-pro-ruby', - 'GoCardless-Client-Version' => '4.21.0', + 'GoCardless-Client-Version' => '4.22.0', }, } end diff --git a/lib/gocardless_pro/version.rb b/lib/gocardless_pro/version.rb index e3272b2..857a4e3 100644 --- a/lib/gocardless_pro/version.rb +++ b/lib/gocardless_pro/version.rb @@ -3,5 +3,5 @@ module GoCardlessPro module GoCardlessPro # Current version of the GC gem - VERSION = '4.21.0' + VERSION = '4.22.0' end