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

Deprecate Node methods and params based on OpenAPI spec #2077

Merged
merged 1 commit into from
May 2, 2024

Conversation

prathmesh-stripe
Copy link
Contributor

@prathmesh-stripe prathmesh-stripe commented May 2, 2024

This PR adds Node SDK support for automatically marking methods and params as deprecated.

Changelog

  • Mark as deprecated the approve and decline methods on Issuing.Authorization. Instead, respond directly to the webhook request to approve an authorization.
  • Mark as deprecated the persistent_token property on ConfirmationToken.PaymentMethodPreview.Link, PaymentIntent.PaymentMethodOptions.Link, PaymentIntentResource.PaymentMethodOptions.Link, PaymentMethod.Link.persistent_token. SetupIntents.PaymentMethodOptions.Card.Link.persistent_token, SetupIntentsResource.persistent_token. This is a legacy parameter that no longer has any function.

Copy link
Contributor

@anniel-stripe anniel-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM! For the Changelog format though, can we follow the existing Changelog entry format? Specifically we should include namespaces of resources and the full path to the resource properties. For example:

Changelog

  • Mark as deprecated the approve and decline methods on Issuing.Authorization
  • Mark as deprecated the persistent_token property on ConfirmationToken.payment_method_preview.link, PaymentIntent.payment_method_options.link, ......

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