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