diff --git a/CHANGELOG.md b/CHANGELOG.md index 703e0b46b..d59b4bf52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,49 @@ # Changelog +## 14.0.0 - 2024-04-10 +* [#1673](https://github.com/stripe/stripe-php/pull/1673) + + * This release changes the pinned API version to `2024-04-10`. Please read the [API Upgrade Guide](https://stripe.com/docs/upgrades#2024-04-10) and carefully review the API changes before upgrading. + + ### ⚠️ Breaking changes + + * Rename `features` to `marketing_features` on `Product` + * Do not force resolution to IPv4 - Forcing IPv4 was causing hard-to-understand failures for users in IPv6-only environments. If you want to force IPv4 yourself, you can do so by telling the API client to use a CurlClient other than the default + ```php + $curl = new \Stripe\HttpClient\CurlClient([ + CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4 + ]); + \Stripe\ApiRequestor::setHttpClient($curl); + ``` + + #### ⚠️ Removal of enum values, properties and events that are no longer part of the publicly documented Stripe API + + * Remove the below deprecated values on the enum `BalanceTransaction.Type` + * `obligation_inbound` + * `obligation_payout` + * `obligation_payout_failure` + * `obligation_reversal_outbound` + * Remove the deprecated value `various` on the enum `Climate.Supplier.RemovalPathway` + * Remove deprecated events + * `invoiceitem.updated` + * `order.created` + * `recipient.created` + * `recipient.deleted` + * `recipient.updated` + * `sku.created` + * `sku.deleted` + * `sku.updated` + * Remove the deprecated value `service_tax` on the enum `TaxRate.TaxType` + * Remove support for `id_bank_transfer`, `multibanco`, `netbanking`, `pay_by_bank`, and `upi` on `PaymentMethodConfiguration` + * Remove the legacy field `rendering_options` in `Invoice`. Use `rendering` instead. + ## 13.18.0 - 2024-04-09 * [#1675](https://github.com/stripe/stripe-php/pull/1675) Update generated code - * Add support for new resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature` - * Add support for `all` and `retrieve` methods on resource `ActiveEntitlement` - * Add support for `all`, `create`, `retrieve`, and `update` methods on resource `Feature` - * Add support for new value `none` on enum `Account.type` - * Add support for `cancel`, `event_name`, and `type` on `Billing.MeterEventAdjustment` + * Add support for new resources `Entitlements.ActiveEntitlement` and `Entitlements.Feature` + * Add support for `all` and `retrieve` methods on resource `ActiveEntitlement` + * Add support for `all`, `create`, `retrieve`, and `update` methods on resource `Feature` + * Add support for new value `none` on enum `Account.type` + * Add support for `cancel`, `event_name`, and `type` on `Billing.MeterEventAdjustment` ## 13.17.0 - 2024-04-04 * [#1670](https://github.com/stripe/stripe-php/pull/1670) Update generated code diff --git a/VERSION b/VERSION index ce0b27956..4b964e965 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -13.18.0 +14.0.0 diff --git a/lib/Stripe.php b/lib/Stripe.php index 1aecaa3ff..78d840338 100644 --- a/lib/Stripe.php +++ b/lib/Stripe.php @@ -58,7 +58,7 @@ class Stripe /** @var float Initial delay between retries, in seconds */ private static $initialNetworkRetryDelay = 0.5; - const VERSION = '13.18.0'; + const VERSION = '14.0.0'; /** * @return string the API key used for requests