Skip to content

Commit a895466

Browse files
Bump version to 10.0.0
1 parent eeaa9bf commit a895466

3 files changed

Lines changed: 31 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# Changelog
22

3+
## 10.0.0 - 2022-11-16
4+
* [#1392](https://github.com/stripe/stripe-php/pull/1392) Next major release changes
5+
6+
Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-11-15.
7+
8+
"⚠️" symbol highlights breaking changes.
9+
10+
### Deprecated
11+
* [#1382](https://github.com/stripe/stripe-php/pull/1382) Mark `resource.save` as deprecated. Prefer the static update method that doesn't require retrieval of the resource to update it.
12+
```PHP
13+
// before
14+
$resource = Price::retrieve(self::TEST_RESOURCE_ID);
15+
$resource->metadata['key'] = 'value';
16+
$resource->save();
17+
18+
// after
19+
$resource = Price::update('price_123', [
20+
'metadata' => ['key' => 'value'],
21+
]);
22+
```
23+
24+
### ⚠️ Removed
25+
- [#1377](https://github.com/stripe/stripe-php/pull/1377) Removed deprecated `Sku` resource and service
26+
- [#1375](https://github.com/stripe/stripe-php/pull/1375) Removed deprecated `Orders` resource and service
27+
- [#1375](https://github.com/stripe/stripe-php/pull/1375) Removed deprecated `Product` field from the `LineItem`
28+
- [#1388](https://github.com/stripe/stripe-php/pull/1388) Removed deprecated `AlipayAccount` resource
29+
- [#1396](https://github.com/stripe/stripe-php/pull/1396) Removed `charges` field on `PaymentIntent` and replace it with `latest_charge`.
30+
31+
332
## 9.9.0 - 2022-11-08
433
* [#1394](https://github.com/stripe/stripe-php/pull/1394) API Updates
534
* Add support for new values `eg_tin`, `ph_tin`, and `tr_tin` on enum `TaxId.type`

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9.9.0
1+
10.0.0

lib/Stripe.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class Stripe
5858
/** @var float Initial delay between retries, in seconds */
5959
private static $initialNetworkRetryDelay = 0.5;
6060

61-
const VERSION = '9.9.0';
61+
const VERSION = '10.0.0';
6262

6363
/**
6464
* @return string the API key used for requests

0 commit comments

Comments
 (0)