From 21cfb6873dcd57c0d91712c4bedcdff07e3791f9 Mon Sep 17 00:00:00 2001 From: davidgrayston-paddle Date: Wed, 18 Sep 2024 12:16:04 +0100 Subject: [PATCH] docs(release): v1.2.0 (#79) --- CHANGELOG.md | 2 +- UPGRADING.md | 11 ++++++++++- src/Client.php | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1722b58..4e3456e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), Check our main [developer changelog](https://developer.paddle.com/?utm_source=dx&utm_medium=paddle-php-sdk) for information about changes to the Paddle Billing platform, the Paddle API, and other developer tools. -## [Unreleased] +## [1.2.0] - 2024-09-18 ### Added diff --git a/UPGRADING.md b/UPGRADING.md index 6b67aea..61ed184 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -1,6 +1,15 @@ # Upgrading -All breaking changes prior to v1 will be documented in this file to assist with upgrading. +All breaking changes will be documented in this file to assist with upgrading. + +## v1.2.0 + +Upgrading to this version introduces 2 changes that may require action + +1. `\Paddle\SDK\Entities\Shared\TransactionPaymentAttempt` field `paymentMethodId` was `string` only, +but has been aligned with the API to be `string` or `null`. + +2. `\Paddle\SDK\Resources\PricingPreviews\Operations` field `items` has been aligned with the API and can no longer be empty. ## v1.0.0 diff --git a/src/Client.php b/src/Client.php index 6524535..1d5ab1b 100644 --- a/src/Client.php +++ b/src/Client.php @@ -51,7 +51,7 @@ class Client { - private const SDK_VERSION = '1.1.2'; + private const SDK_VERSION = '1.2.0'; public readonly LoggerInterface $logger; public readonly Options $options;