Stripe v10.0.0 Release Notes
Release Date: 2022-11-16 // 11 months ago-
- ๐ #1392 Next major release changes
๐ฅ 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.
"โ ๏ธ" symbol highlights breaking changes.
๐ Deprecated
- โก๏ธ #1382 Mark
resource.save
as deprecated. Prefer the static update method that doesn't require retrieval of the resource to update it. ```PHP // before $resource = Price::retrieve(self::TEST_RESOURCE_ID); $resource->metadata['key'] = 'value'; $resource->save();
// after $resource = Price::update('price_123', [ 'metadata' => ['key' => 'value'], ]);
### ๐ โ ๏ธ Removed - ๐ [#1377](https://github.com/stripe/stripe-php/pull/1377) Removed deprecated `Sku` resource and service - ๐ [#1375](https://github.com/stripe/stripe-php/pull/1375) Removed deprecated `Orders` resource and service - ๐ [#1375](https://github.com/stripe/stripe-php/pull/1375) Removed deprecated `Product` field from the `LineItem` - ๐ [#1388](https://github.com/stripe/stripe-php/pull/1388) Removed deprecated `AlipayAccount` resource - ๐ [#1396](https://github.com/stripe/stripe-php/pull/1396) Removed `charges` field on `PaymentIntent` and replace it with `latest_charge`.