Skip to content

Commit

Permalink
Bump version to 14.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ramya-stripe committed Apr 10, 2024
1 parent b68e897 commit 45841a4
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 7 deletions.
47 changes: 42 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
13.18.0
14.0.0
2 changes: 1 addition & 1 deletion lib/Stripe.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 45841a4

Please sign in to comment.