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

API Updates #1564

Merged
merged 1 commit into from
Sep 29, 2022
Merged

API Updates #1564

merged 1 commit into from
Sep 29, 2022

Conversation

yejia-stripe
Copy link
Contributor

@yejia-stripe yejia-stripe commented Sep 28, 2022

Codegen for openapi v197.
cc @stripe/api-libraries

Changelog

  • Change type of Charge.payment_method_details.card_present.incremental_authorization_supported and Charge.payment_method_details.card_present.overcapture_supported from boolean | null to boolean
  • Add support for created on Checkout.Session
  • Add support for setup_future_usage on PaymentIntent.payment_method_options.pix, PaymentIntentConfirmParams.payment_method_options.pix, PaymentIntentCreateParams.payment_method_options.pix, and PaymentIntentUpdateParams.payment_method_options.pix
  • Deprecate CheckoutSessionCreateParams.subscription_data.items (use the line_items param instead). This will be removed in the next major version.

@yejia-stripe yejia-stripe merged commit db94c29 into master Sep 29, 2022
kamil-stripe added a commit that referenced this pull request Oct 6, 2022
* Migrate other Stripe infrastructure to TS

* Reviewer comments

* Update TypeScript

* Reviewer comments

* Remove 'use strict' from migrated files

* Turn on alwaysStrict in tsconfig

* Update src/net/NodeHttpClient.ts

Co-authored-by: Kamil Pajdzik <[email protected]>

* Update src/crypto/SubtleCryptoProvider.ts

Co-authored-by: Kamil Pajdzik <[email protected]>

* Update src/crypto/SubtleCryptoProvider.ts

Co-authored-by: Kamil Pajdzik <[email protected]>

* Remove hasOwn alias, undo suggested commits

* Update src/net/FetchHttpClient.ts

Co-authored-by: Kamil Pajdzik <[email protected]>

* Add more types to HTTP clients

* API Updates (#1564)

Codegen for openapi v197

* Bump version to 10.12.0

* Fix release tag calculation (#1567)

* Upgrade dev dependencies (#1568)

* Upgrade @types/node

* Upgrade @typescript-eslint/eslint-plugin

* Upgrade @typescript-eslint/parser

* Upgrade eslint

* Lint

* Add ESLint congif for TS tests

* Add Node configuration to ESLint configuration

* Remove 'Function' declaration

* Downgrade lint packages and suppress lint errors

* Upgrade ansi-regex

* Downgrade @typescript-eslint/parser

* Reset angi-regex

* Yarn.lock

* Upgrade chai

* Upgrade mocha

* Downgrade mocha

* Add ^

* Upgrade eslint-config-prettier

* Upgrade eslint-plugin-chai-friendly

* Upgrade eslint-plugin-prettier

* Downgrade eslint-plugin-prettier

* Remove ansi-regex

* Upgrade typescript

* Upgrade mocha-junit-reporter

* Upgrade qs

* Upgrade prettier

* Upgrade nock

* Formatting

* Downgrade prettier

* Lint

* Upgrade nanoid

* Revert nanoid

* Upgrade node-fetch

* Downgrade node-fetch

* Revert types/node change

* Revert fetch type

* Update node-fetch to 2.6.7 (#1570)

* Update node-fetch to 2.6.7

* Yarn.lock

* Formatting

* Lint

* API Updates (#1571)

Codegen for openapi v201

* Bump version to 10.13.0

* Set version to 10.13.0 to simplify merge

* Reset version to 10.12.0-beta.1

* Codegen for openapi v201

Co-authored-by: Annie Li <[email protected]>
Co-authored-by: anniel-stripe <[email protected]>
Co-authored-by: yejia-stripe <[email protected]>
Co-authored-by: Yejia Chen <[email protected]>
Co-authored-by: pakrym-stripe <[email protected]>
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.

2 participants