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

Multiple API changes #991

Merged
merged 1 commit into from
Aug 28, 2020
Merged

Multiple API changes #991

merged 1 commit into from
Aug 28, 2020

Conversation

remi-stripe
Copy link
Contributor

Multiple API changes

  • ⚠️ Types are now for the API version 2020-08-27. This is a breaking change for TypeScript users
  • Removed authenticated and succeeded on payment_method_details[card][three_d_secure] on Charge
  • Removed tax_percent and prorate across all Billing APIs
  • Renamed plans to items on SubscriptionSchedule
  • Removed display_items on Checkout Session
  • Removed save_payment_method and source on PaymentIntent confirm, create and update. Those parameters still work in the API but are removed from the library
  • Removed payment_method_details[bitcoin] on Charge
  • Removed unified_proration on Billing API as this is a deprecated feature that never shipped publicly
  • Removed plan and quantity from Subscription, use items instead
  • Removed requested_capabilities on Account creation, use capabilities instead
  • Removed failure_url and success_url from AccountLink, use refresh_url and return_url instead
  • Removed invoice.payment_succeeded and payment_method.card_automatically_updated events.

Codegen for openapi 2aeb1a7

r? @richardm-stripe
cc @stripe/api-libraries

@richardm-stripe richardm-stripe merged commit 46d9040 into master Aug 28, 2020
@richardm-stripe richardm-stripe deleted the remi/codegen-2aeb1a7 branch August 28, 2020 20:02
@DiegoRBaquero
Copy link

Why is this not a semver major?

@remi-stripe
Copy link
Contributor Author

@DiegoRBaquero Changes to the Typescript definitions are not considered breaking today and don't involve a major version with semantic versioning. We do a major version when we change the library's internals or remove API methods or API resources for example.

gurus00 pushed a commit to gurus00/stripe-node that referenced this pull request Feb 11, 2025
gurus00 pushed a commit to gurus00/stripe-node that referenced this pull request Feb 11, 2025
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.

3 participants