Stripe v10.0.0 Release Notes

Release Date: 2022-11-16 // over 1 year 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`. 
    

Previous changes from v9.9.0

    • โšก๏ธ #1394 API Updates
      • Add support for new values eg_tin, ph_tin, and tr_tin on enum TaxId.type
    • โšก๏ธ #1389 API Updates
      • Add support for on_behalf_of on Subscription
    • #1379 Do not run Coveralls in PR-s