Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next major release changes #1392

Merged
merged 15 commits into from
Nov 16, 2022
Merged

Next major release changes #1392

merged 15 commits into from
Nov 16, 2022

Conversation

pakrym-stripe
Copy link
Contributor

@pakrym-stripe pakrym-stripe commented Nov 7, 2022

Changelog

10.0.0 - 2022-11-15

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.
// 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 Removed deprecated Sku resource and service
  • #1375 Removed deprecated Orders resource and service
  • #1375 Removed deprecated Product field from the LineItem
  • #1388 Removed deprecated AlipayAccount resource
  • #1396 Removed charges field on PaymentIntent and replace it with latest_charge.

anniel-stripe and others added 11 commits October 12, 2022 10:20
Generate files for next major branch
* Mark save as deprecated

* Update lib/ApiOperations/Update.php

Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>

* Add 'a' and new lines

Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>
Bring next major branch up to date with master
* Codegen for openapi v204 (#1389)

* Bring sdk-release/next-major up-to-date

Co-authored-by: Kamil Pajdzik <99290280+kamil-stripe@users.noreply.github.com>
@ramya-stripe
Copy link
Contributor

ramya-stripe commented Nov 7, 2022

Changelog missing the below:

  • deprecating save
  • removing Alipayaccount
  • removing of product from line item

lib/Refund.php Outdated Show resolved Hide resolved
richardm-stripe and others added 4 commits November 9, 2022 13:17
* Codegen for openapi v207 (#1397)

* Latest API version

Co-authored-by: anniel-stripe <97691964+anniel-stripe@users.noreply.github.com>
@richardm-stripe richardm-stripe merged commit eeaa9bf into master Nov 16, 2022
@richardm-stripe richardm-stripe deleted the sdk-release/next-major branch November 16, 2022 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants