From 0f07d0b791b47464df40ba317b3e47bc3f14eb91 Mon Sep 17 00:00:00 2001 From: "gocardless-ci-robot[bot]" <123969075+gocardless-ci-robot[bot]@users.noreply.github.com> Date: Fri, 11 Sep 2026 10:06:25 +0000 Subject: [PATCH] Changes generated by f4736f64e015da6f386048e455b62f1d288cb412 This commit was automatically created from gocardless/client-library-templates@f4736f64e015da6f386048e455b62f1d288cb412 by the `push-files` action. Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/34587297529 --- CHANGELOG.md | 16 ++++++++++++++++ lib/gocardless_pro/client.rb | 2 +- lib/gocardless_pro/version.rb | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38dc3f8..4fe6314 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,22 @@ # Changelog +## 4.7.0 (2026-09-11) + +### Features + +#### Use specific sub-endpoints URLs for create /instalment_schedules: with_schedule and with_dates + +The two variants for creating an instalment_schedule were surfaced as separate functions. However, they both went to the same URL and endpoint on the backend. + +This created some bugs in generating our openapi schema and therefore our API reference documentation. + +Therefore, we've added specific URLs for each endpoint aliased to the original one: `POST /instalment_schedules/with_dates` or `POST /instalment_schedules/with_schedule`. + +The existing POST /instalment_schedules endpoint is unchanged and will remain available for the foreseeable future. + +Client libraries will now use the specific endpoint matching the method - if you are stubbing the HTTP call you may need to update those stubs. + ## 4.6.5 (2026-09-09) ### Fixes diff --git a/lib/gocardless_pro/client.rb b/lib/gocardless_pro/client.rb index e6db2b9..f959e2d 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.6.5', + 'GoCardless-Client-Version' => '4.7.0', }, } end diff --git a/lib/gocardless_pro/version.rb b/lib/gocardless_pro/version.rb index 9ecc663..ab5b09d 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.6.5' + VERSION = '4.7.0' end