Skip to content

Latest commit

 

History

History
1423 lines (879 loc) · 54.6 KB

CHANGELOG.md

File metadata and controls

1423 lines (879 loc) · 54.6 KB

CHANGELOG

8.133.0 - 2021-02-03

  • #1115 API Updates
    • Added support for nationality on Person, PersonUpdateParams, PersonCreateParams and TokenCreateParams.person
    • Added gb_vat to TaxId.type enum.

8.132.0 - 2021-01-21

  • #1112 API Updates
    • Issuing.Transaction.type dropped enum members: 'dispute'
    • LineItem.price can now be null.

8.131.1 - 2021-01-15

  • #1104 Make request timeout errors eligible for retry

8.131.0 - 2021-01-14

  • #1108 Multiple API Changes
    • Added support for dynamic_tax_rates on Checkout.SessionCreateParams.line_items
    • Added support for customer_details on Checkout.Session
    • Added support for type on Issuing.TransactionListParams
    • Added support for country and state on TaxRateUpdateParams, TaxRateCreateParams and TaxRate
  • #1107 More consistent type definitions

8.130.0 - 2021-01-07

  • #1105 API Updates
    • Added support for company_registration_verification, company_ministerial_decree, company_memorandum_of_association, company_license and company_tax_id_verification on AccountUpdateParams.documents and AccountCreateParams.documents
  • #1100 implement/fix reverse iteration when iterating with ending_before
  • #1096 typo receieved -> received

8.129.0 - 2020-12-15

  • #1093 API Updates
    • Added support for card_present on SetupAttempt.payment_method_details

8.128.0 - 2020-12-10

  • #1088 Multiple API changes
    • Add newlines for consistency.
    • Prefix deleted references with Stripe. for consistency.
    • Add support for bank on PaymentMethod[eps].
    • Add support for tos_shown_and_accepted to payment_method_options[p24] on PaymentMethod.

8.127.0 - 2020-12-03

  • #1084 Add support for documents on Account create and update
  • #1080 fixed promises example

8.126.0 - 2020-11-24

  • #1079 Multiple API changes
    • Add support for account_tax_ids on Invoice
    • Add support for payment_method_options[sepa_debit] on PaymentIntent

8.125.0 - 2020-11-20

  • #1075 Add support for capabilities[grabpay_payments] on Account

8.124.0 - 2020-11-19

  • #1074
    • Add support for mandate_options on SetupIntent.payment_method_options.sepa_debit.
    • Add support for card_present and interact_present as values for PaymentMethod.type.
  • #1073 More consistent namespacing for shared types

8.123.0 - 2020-11-18

  • #1072 Add support for grabpay on PaymentMethod

8.122.1 - 2020-11-17

  • Identical to 8.122.0. Published to resolve a release issue.

8.122.0 - 2020-11-17

  • #1070
    • Add support for sepa_debit on SetupIntent.PaymentMethodOptions
    • Invoice.tax_amounts and InvoiceLineItem.tax_rates are no longer nullable
    • Invoice.default_tax_rates and InvoiceLineItem.tax_amounts are no longer nullable

8.121.0 - 2020-11-09

  • #1064 Add invoice.finalization_error as a type on Event
  • #1063 Multiple API changes
    • Add support for last_finalization_error on Invoice
    • Add support for deserializing Issuing Dispute as a source on BalanceTransaction
    • Add support for payment_method_type on StripeError used by other API resources

8.120.0 - 2020-11-04

  • #1061 Add support for company[registration_number] on Account

8.119.0 - 2020-10-27

  • #1056 Add payment_method_details[interac_present][preferred_locales] on Charge
  • #1057 Standardize on CRULD order for method definitions
  • #1055 Added requirements to README

8.118.0 - 2020-10-26

  • #1053 Multiple API changes
    • Improving Typescript types for nullable parameters and introduced Stripe.Emptyable as a type
    • Add support for payment_method_options[card][cvc_token] on PaymentIntent
    • Add support for cvc_update[cvc] on Token creation
  • #1052 Add Stripe.Emptyable type definition

8.117.0 - 2020-10-23

  • #1050 Add support for passing p24[bank] for P24 on PaymentIntent or PaymentMethod

8.116.0 - 2020-10-22

  • #1049 Support passing tax_rates when creating invoice items through Subscription or SubscriptionSchedule

8.115.0 - 2020-10-20

  • #1048 Add support for jp_rn and ru_kpp as a type on TaxId
  • #1046 chore: replace recommended extension sublime babel with babel javascript

8.114.0 - 2020-10-15

  • #1045 Make original_payout and reversed_by not optional anymore

8.113.0 - 2020-10-14

  • #1044 Add support for discounts on Session.create

8.112.0 - 2020-10-14

  • #1042 Add support for the Payout Reverse API
  • #1041 Do not mutate user-supplied opts

8.111.0 - 2020-10-12

  • #1038 Add support for description, iin and issuer in payment_method_details[card_present] and payment_method_details[interac_present] on Charge

8.110.0 - 2020-10-12

  • #1035 Add support for setup_intent.requires_action on Event

8.109.0 - 2020-10-09

  • #1033 Add support for internal-only description, iin, and issuer for card_present and interac_present on Charge.payment_method_details

8.108.0 - 2020-10-08

  • #1028 Add support for Bancontact/iDEAL/Sofort -> SEPA
    • Add support for generated_sepa_debit and generated_sepa_debit_mandate on Charge.payment_method_details.ideal, Charge.payment_method_details.bancontact and Charge.payment_method_details.sofort
    • Add support for generated_from on PaymentMethod.sepa_debit
    • Add support for ideal, bancontact and sofort on SetupAttempt.payment_method_details

8.107.0 - 2020-10-02

  • #1026 Add support for tos_acceptance[service_agreement] on Account
  • #1025 Add support for new payments capabilities on Account

8.106.0 - 2020-09-29

  • #1024 Add support for the SetupAttempt resource and List API

8.105.0 - 2020-09-29

  • #1023 Add support for contribution in reporting_category on ReportRun

8.104.0 - 2020-09-28

  • #1022 Add support for oxxo_payments capability on Account

8.103.0 - 2020-09-28

  • #1021 Add VERSION constant to instantiated Stripe client.

8.102.0 - 2020-09-25

  • #1019 Add support for oxxo as a valid type on the List PaymentMethod API

8.101.0 - 2020-09-25

  • #1018 More idiomatic types

8.100.0 - 2020-09-24

  • #1016 Multiple API changes
    • Add support for OXXO on PaymentMethod and PaymentIntent
    • Add support for contribution on BalanceTransaction

8.99.0 - 2020-09-24

  • #1011 Add type definition for Stripe.StripeResource

8.98.0 - 2020-09-23

  • #1014 Multiple API changes
    • Add support for issuing_dispute.closed and issuing_dispute.submitted events
    • Add support for instant_available on Balance

8.97.0 - 2020-09-21

  • #1012 Multiple API changes
    • metadata is now always nullable on all resources
    • Add support for amount_captured on Charge
    • Add checkout_session on Discount

8.96.0 - 2020-09-13

  • #1003 Add support for promotion_code.created and promotion_code.updated on Event

8.95.0 - 2020-09-10

  • #999 Add support for SEPA debit on Checkout

8.94.0 - 2020-09-09

  • #998 Multiple API changes
    • Add support for sofort as a type on the List PaymentMethods API
    • Add back support for invoice.payment_succeeded

8.93.0 - 2020-09-08

  • #995 Add support for Sofort on PaymentMethod and PaymentIntent

8.92.0 - 2020-09-02

  • #993 Multiple API changes
    • Add support for the Issuing Dispute submit API
    • Add support for evidence details on Issuing Dispute creation, update and the resource.
    • Add available_payout_methods on BankAccount
    • Add payment_status on Checkout Session

8.91.0 - 2020-08-31

  • #992 Add support for payment_method.automatically_updated on WebhookEndpoint

8.90.0 - 2020-08-28

  • #991 Multiple API changes
  • #990 Typescript: add 'lastResponse' to return types

8.89.0 - 2020-08-19

  • #988 Multiple API changes
    • tax_ids on Customer can now be nullable
    • Added support for expires_at on File

8.88.0 - 2020-08-17

  • #987 Add support for amount_details on Issuing Authorization and Transaction

8.87.0 - 2020-08-17

  • #984 Multiple API changes
    • Add alipay on type for the List PaymentMethods API
    • Add payment_intent.requires_action as a new type on Event

8.86.0 - 2020-08-13

  • #981 Add support for Alipay on Checkout Session

8.85.0 - 2020-08-13

  • #980 [codegen] Multiple API Changes
    • Added support for bank_name on Charge.payment_method_details.acss_debit
    • Issuing.dispute.balance_transactions is now nullable.

8.84.0 - 2020-08-07

  • #975 Add support for Alipay on PaymentMethod and PaymentIntent

8.83.0 - 2020-08-05

  • #973 Multiple API changes
    • Add support for the PromotionCode resource and APIs
    • Add support for allow_promotion_codes on Checkout Session
    • Add support for applies_to[products] on Coupon
    • Add support for promotion_code on Customer and Subscription
    • Add support for promotion_code on Discount

8.82.0 - 2020-08-04

  • #972 Multiple API changes
    • Add zh-HK and zh-TW as locale on Checkout Session
    • Add payment_method_details[card_present][receipt][account_type] on Charge

8.81.0 - 2020-07-30

  • #970 Improve types for customer on CreditNote to support DeletedCustomer

8.80.0 - 2020-07-29

  • #969 Multiple API changes
    • Add support for id, invoice and invoice_item on Discount and DeletedDiscount
    • Add support for discount_amounts on CreditNote, CreditNoteLineItem, InvoiceLineItem
    • Add support for discounts on InvoiceItem, InvoiceLineItem and Invoice
    • Add support for total_discount_amounts on Invoice
    • Make customer and verification on TaxId optional as the resource will be re-used for Account in the future.

8.79.0 - 2020-07-24

  • #967 Multiple API changes
    • Make all properties from Discount available on DeletedDiscount
    • Add capabilities[fpx_payments] on Account create and update

8.78.0 - 2020-07-22

  • #965 Add support for cartes_bancaires_payments as a Capability

8.77.0 - 2020-07-20

  • #963 Add support for capabilities as a parameter on Account create and update

8.76.0 - 2020-07-17

  • #962 Add support for political_exposure on Person

8.75.0 - 2020-07-16

  • #961 Add support for account_onboarding and account_update as type on AccountLink

8.74.0 - 2020-07-16

  • #959 Refactor remaining 'var' to 'let/const' usages
  • #960 Use strict equality check for 'protocol' field for consistency
  • #952 Add new fields to lastResponse: apiVersion, stripeAccount, idempotencyKey

8.73.0 - 2020-07-15

  • #958 Multiple API changes
    • Add support for en-GB, fr-CA and id as locale on Checkout Session
    • Move purpose to an enum on File
  • #957 Bump lodash from 4.17.15 to 4.17.19

8.72.0 - 2020-07-15

  • #956 Add support for amount_total, amount_subtotal, currency and total_details on Checkout Session

8.71.0 - 2020-07-14

  • #955 Change from string to enum value for billing_address_collection on Checkout Session

8.70.0 - 2020-07-13

  • #953 Multiple API changes
    • Adds es-419 as a locale to Checkout Session
    • Adds billing_cycle_anchor to default_settings and phases for SubscriptionSchedule

8.69.0 - 2020-07-06

  • #946 Fix assert_capabilities type definition
  • #920 Expose StripeResource on instance

8.68.0 - 2020-07-01

  • #940 Document but discourage protocol config option
  • #933 Fix tests for Plan and Price to not appear as amount can be updated.

8.67.0 - 2020-06-24

  • #929 Add support for invoice.paid event

8.66.0 - 2020-06-23

  • #927 Add support for payment_method_data on PaymentIntent

8.65.0 - 2020-06-23

  • #926 Multiple API changes
    • Add discounts on LineItem
    • Add document_provider_identity_document as a purpose on File
    • Support nullable metadata on Issuing Dispute
    • Add klarna[shipping_delay] on Source

8.64.0 - 2020-06-18

  • #924 Multiple API changes
    • Add support for refresh_url and return_url on AccountLink
    • Add support for issuing_dispute.* events

8.63.0 - 2020-06-11

  • #919 Multiple API changes
    • Add transaction on Issuing Dispute
    • Add payment_method_details[acss_debit][mandate] on Charge

8.62.0 - 2020-06-10

  • #918 Add support for Cartes Bancaires payments on PaymentIntent and `Pay…

8.61.0 - 2020-06-09

  • #917 Add support for id_npwp and my_frp as type on TaxId

8.60.0 - 2020-06-03

  • #911 Add support for payment_intent_data[transfer_group] on Checkout Session

8.59.0 - 2020-06-03

  • #910 Add support for Bancontact, EPS, Giropay and P24 on Checkout Session

8.58.0 - 2020-06-03

  • #909 Multiple API changes
    • Add bacs_debit_payments as a Capability
    • Add support for BACS Debit on Checkout Session
    • Add support for checkout.session.async_payment_failed and checkout.session.async_payment_succeeded as type on Event

8.57.0 - 2020-06-03

  • #908 Multiple API changes
    • Add support for bg, cs, el, et, hu, lt, lv, mt, ro, ru, sk, sl and tr as new locale on Checkout Session
    • Add settings[sepa_debit_payments][creditor_id] on Account
    • Add support for Bancontact, EPS, Giropay and P24 on PaymentMethod, PaymentIntent and SetupIntent
    • Add support for order_item[parent] on Source for Klarna
  • #905 Add support for BACS Debit as a PaymentMethod

8.56.0 - 2020-05-28

  • #904 Multiple API changes
    • Add payment_method_details[card][three_d_secure][authentication_flow] on Charge
    • Add line_items[][price_data][product_data] on Checkout Session creation

8.55.0 - 2020-05-22

  • #899 Multiple API changes
    • Add support for ae_trn, cl_tin and sa_vat as type on TaxId
    • Add result and result_reason inside payment_method_details[card][three_d_secure] on Charge

8.54.0 - 2020-05-20

  • #897 Multiple API changes
    • Add anticipation_repayment as a type on BalanceTransaction
    • Add interac_present as a type on PaymentMethod
    • Add payment_method_details[interac_present] on Charge
    • Add transfer_data on SubscriptionSchedule

8.53.0 - 2020-05-18

  • #895 Multiple API changes
    • Add support for issuing_dispute as a type on BalanceTransaction
    • Add balance_transactions as an array of BalanceTransaction on Issuing Dispute
    • Add fingerprint and transaction_id in payment_method_details[alipay] on Charge
    • Add transfer_data[amount] on Invoice
    • Add transfer_data[amount_percent] on Subscription
    • Add price.created, price.deleted and price.updated on Event

8.52.0 - 2020-05-13

  • #891 Add support for purchase_details on Issuing Transaction

8.51.0 - 2020-05-11

  • #890 Add support for the LineItem resource and APIs

8.50.0 - 2020-05-07

  • #888 Multiple API changes
    • Remove parameters in price_data[recurring] across APIs as they were never supported
    • Move payment_method_details[card][three_d_secure] to a list of enum values on Charge
    • Add support for for business_profile[support_adress] on Account create and update

8.49.0 - 2020-05-01

  • #883 Multiple API changes
    • Add issuing on Balance
    • Add br_cnpj and br_cpf as type on TaxId
    • Add price support in phases on SubscriptionSchedule
    • Make quantity nullable on SubscriptionSchedule for upcoming API version change

8.48.0 - 2020-04-29

  • #881 Add support for the Price resource and APIs

8.47.1 - 2020-04-28

  • #880 Make display_items on Checkout Session optional

8.47.0 - 2020-04-24

  • #876 Add support for jcb_payments as a Capability

8.46.0 - 2020-04-22

  • #875 Add support for coupon when for subscriptions on Checkout

8.45.0 - 2020-04-22

  • #874 Add support for billingPortal namespace and session resource and APIs

8.44.0 - 2020-04-17

  • #873 Multiple API changes
    • Add support for cardholder_name in payment_method_details[card_present] on Charge
    • Add new enum values for company.structure on Account

8.43.0 - 2020-04-16

  • #868 Multiple API changes

8.42.0 - 2020-04-15

  • #867 Clean up deprecated features in our Typescript definitions for Issuing and other resources

8.41.0 - 2020-04-14

  • #866 Add support for settings[branding][secondary_color] on Account

8.40.0 - 2020-04-13

  • #865 Add support for description on WebhookEndpoint

8.39.2 - 2020-04-10

  • #864 Multiple API changes
    • Make payment_intent expandable on Charge
    • Add support for sg_gst as a value for type on TaxId and related APIs
    • Add cancellation_reason and new enum values for replacement_reason on Issuing Card

8.39.1 - 2020-04-08

  • #848 Fix TS return type for autoPagingEach

8.39.0 - 2020-04-03

  • #859 Add support for calculatedStatementDescriptor on Charge

8.38.0 - 2020-03-27

  • #853 Improve StripeError.generate()
    • Add doc_url field to StripeError.
    • Expose Stripe.errors.generate() as a convenience for Stripe.errors.StripeError.generate().
    • Fix several TS types related to StripeErrors.
    • Add types for StripeInvalidGrantError.
    • Add support for authentication_error and rate_limit_error in .generate().

8.37.0 - 2020-03-26

  • #851 Add support for spending_controls on Issuing Card and Cardholder

8.36.0 - 2020-03-25

  • #850 Multiple API changes
    • Add support for pt-BR as a locale on Checkout Session
    • Add support for company as a type on Issuing Cardholder

8.35.0 - 2020-03-24

  • #849 Add support for pause_collection on Subscription

8.34.0 - 2020-03-24

  • #847 Add new capabilities for AU Becs Debit and tax reporting

8.33.0 - 2020-03-20

  • #842 Multiple API changes for Issuing:
    • Add amount, currency, merchant_amount and merchant_currency on Authorization
    • Add amount, currency, merchant_amount and merchant_currency inside request_history on Authorization
    • Add pending_request on Authorization
    • Add amount when approving an Authorization
    • Add replaced_by on Card

8.32.0 - 2020-03-13

  • #836 Multiple API changes for Issuing:
    • Rename speed to service on Issuing Card
    • Rename wallet_provider to wallet and address_zip_check to address_postal_code_check on Issuing Authorization
    • Mark is_default as deprecated on Issuing Cardholder

8.31.0 - 2020-03-12

  • #835 Add support for shipping and shipping_address_collection on Checkout Session

8.30.0 - 2020-03-12

  • #834 Add support for ThreeDSecure on Issuing Authorization

8.29.0 - 2020-03-05

  • #833 Make metadata nullable in many endpoints

8.28.1 - 2020-03-05

  • #827 Allow null/undefined to be passed for options arg.

8.28.0 - 2020-03-04

  • #830 Add support for metadata on WebhookEndpoint

8.27.0 - 2020-03-04

  • #829 Multiple API changes
    • Add support for account as a parameter on Token to create Account tokens
    • Add support for verification_data.expiry_check on Issuing Authorization
    • Add support for incorrect_cvc and incorrect_expiry as a value for request_history.reason on Issuing Authorization

8.26.0 - 2020-03-04

  • #828 Multiple API changes
    • Add support for errors in requirements on Account, Capability and Person
    • Add support for payment_intent.processing as a new type on Event.

8.25.0 - 2020-03-03

⚠️ This is a breaking change for TypeScript users.

  • #826 Multiple API changes:
    • ⚠️ Types are now for the API version 2020-03-02. This is a breaking change for TypeScript users
    • Remove uob_regional as a value on bank for FPX as this is deprecated and was never used
    • Add support for next_invoice_sequence on Customer
    • Add support for proration_behavior on SubscriptionItem delete

8.24.1 - 2020-03-02

  • #824 Update type for StripeError to extend Error

8.24.0 - 2020-02-28

  • #822 Add my_sst as a valid value for type on TaxId

8.23.0 - 2020-02-27

  • #821 Make type on AccountLink an enum

8.22.0 - 2020-02-24

  • #820 Add new enum values in reason for Issuing Dispute creation

8.21.0 - 2020-02-24

  • #819 Add support for listing Checkout Session and passing tax rate information

8.20.0 - 2020-02-21

  • #813 Multiple API changes
    • Add support for timezone on ReportRun
    • Add support for proration_behavior on SubscriptionSchedule

8.19.0 - 2020-02-18

  • #807 Change timeout default to constant 80000 instead Node default

8.18.0 - 2020-02-14

  • #802 TS Fixes
    • Correctly type Array<CustomField>
    • More consistently describe nullable fields as | null, vs | ''.

8.17.0 - 2020-02-12

  • #804 Add support for payment_intent_data[transfer_data][amount] on Checkout Session

8.16.0 - 2020-02-12

  • #803 Multiple API changes reflect in Typescript definitions
    • Add fpx as a valid source_type on Balance, Payout and Transfer
    • Add fpx support on Checkout Session
    • Fields inside verification_data on Issuing Authorization are now enums
    • Support updating payment_method_options on PaymentIntent and SetupIntent

8.15.0 - 2020-02-10

  • #801 Multiple API changes
    • Add support for new type values for TaxId.
    • Add support for payment_intent_data[statement_descriptor_suffix] on Checkout Session.

8.14.0 - 2020-02-04

  • #793 Rename sort_code to sender_sort_code on SourceTransaction for BACS debit.

8.13.0 - 2020-02-03

  • #792 Multiple API changes
    • Add new purpose for File: additional_verification
    • Add error_on_requires_action as a parameter for PaymentIntent creation and confirmation

8.12.0 - 2020-01-31

  • #790 Add new type of TaxId

8.11.0 - 2020-01-30

  • #789 Add support for company.structure on Account and other docs changes

8.10.0 - 2020-01-30

  • #788 Make typescript param optional

8.9.0 - 2020-01-30

  • #787 Add support for FPX as a PaymentMethod
  • #769 Fix Typescript definition on Token creation for bank accounts

8.8.2 - 2020-01-30

  • #785 Fix file uploads with nested params

8.8.1 - 2020-01-29

  • #784 Allow @types/node 8.1

8.8.0 - 2020-01-28

  • #780 Add new type for TaxId and sender_account_name on SourceTransaction

8.7.0 - 2020-01-24

  • #777 Add support for shipping[speed] on Issuing Card

8.6.0 - 2020-01-23

  • #775 Gracefully handle a missing subprocess module

8.5.0 - 2020-01-23

  • #776 Add support for new type on CustomerTaxId

8.4.1 - 2020-01-21

  • #774 Improve docstrings for many properties and parameters

8.4.0 - 2020-01-17

  • #771 Add metadata on Checkout Session and remove deprecated features
  • #764 Added typescript webhook example

8.3.0 - 2020-01-15

  • #767 Adding missing events for pending updates on Subscription

8.2.0 - 2020-01-15

  • #765 Add support for pending_update on Subscription to the Typescript definitions

8.1.0 - 2020-01-14

  • #763 Add support for listing line items on a CreditNote
  • #762 Improve docs for core fields such as metadata on Typescript definitions

8.0.1 - 2020-01-09

  • #757 [bugfix] Add types dir to npmignore whitelist and stop warning when instantiating stripe with no args

8.0.0 - 2020-01-09

Major version release, adding TypeScript definitions and dropping support for Node 6. The migration guide contains a detailed list of backwards-incompatible changes with upgrade instructions.

Major pull requests included in this release (cf. #742) (⚠️ = breaking changes):

  • #736 Add TypeScript definitions
  • #744 Remove deprecated resources and methods
  • #752 Deprecate many library api's, unify others

7.63.1 - 2020-11-17

  • Identical to 7.15.0.

7.63.0 - 2020-11-17

  • Published in error. Do not use. This is identical to 8.122.0.

7.15.0 - 2019-12-30

  • #745 Bump handlebars from 4.1.2 to 4.5.3
  • #737 Fix flows test

7.14.0 - 2019-11-26

  • #732 Add support for CreditNote preview

7.13.1 - 2019-11-22

  • #728 Remove duplicate export

7.13.0 - 2019-11-06

  • #703 New config object

7.12.0 - 2019-11-05