Stripe

Latest version: v9.5.0

Safety actively analyzes 625214 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 50

4.0.0

Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-python/wiki/Migration-guide-for-v4. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01.

"⚠️" symbol highlights breaking changes.

* [847](https://github.com/stripe/stripe-python/pull/847) API Updates
* [845](https://github.com/stripe/stripe-python/pull/845) Next major release changes
* [836](https://github.com/stripe/stripe-python/pull/836) API Updates. Add Price.create tests.
* [835](https://github.com/stripe/stripe-python/pull/835) API Updates. Use auto-generation for credit_note and invoice methods.

⚠️ Removed
- Removed deprecated `AlipayAccount`, `BitcoinReceiver`, `BitcoinTransaction`, `IssuerFraudRecord`, `Recipient`, `RecipientTransfer`, and `ThreeDSecure` classes.
- Removed deprecated `Charge.update_dispute` and `Charge.close_dispute` methods that were using legacy REST API endpoint. Prefer [Dispute.modify](https://stripe.com/docs/api/disputes/update?lang=python) and [Dispute.close](https://stripe.com/docs/api/disputes/close?lang=python)
- Removed deprecated `Card.details` method and `CardDetails` resource. The REST API endpoint is not longer supported.
- Removed the deprecated `Source.source_transactions` method. Prefer `SubscriptionItem.list_source_transactions`
- Removed the deprecated `SubscriptionItem.usage_record_summaries` method. Prefer `SubscriptionItem.list_usage_record_summaries`
- Removed the deprecated `Charge.refund` method. Prefer [Refund.create](https://stripe.com/docs/api/refunds/create)

⚠️ Changed
- To be consistent with other resource methods, `ApplicationFee.refund` returns an instance of `ApplicationFee` and doesn't mutate the instance of `ApplicationFee`.
- To be consistent with other resource methods, the `Customer.delete_discount` no longer resets the `discount` property to `None` and returns the deleted discount instead. If you were relying on this behavior, reset the discount property manually:
- The `LineItem` resource now inherits from `StripeObject` as it has no methods of it's own.
- To be consistent with other resource methods, the `Subscription.delete_discount` returns an instance of deleted discount and doesn't mutate the instance of `Subscription`.
- Update the CA certificate bundle.
- Request sending logic unified across standard and custom methods (https://github.com/stripe/stripe-python/pull/832)

3.5.0

* [831](https://github.com/stripe/stripe-python/pull/831) API Updates
* Add support for `deliver_card`, `fail_card`, `return_card`, and `ship_card` test helper methods on resource `Issuing.Card`
* Switch from using `instance_url` to computing method path in place for custom methods.
* Switch from using explicit class methods for test helpers instead of using meta-programming.

3.4.0

* [824](https://github.com/stripe/stripe-python/pull/824) API Updates
* Add support for `fund_cash_balance` test helper method on resource `Customer`
* [823](https://github.com/stripe/stripe-python/pull/823) Trigger workflows on beta branches

3.3.0

* [818](https://github.com/stripe/stripe-python/pull/818) fix: Update cash balance methods to no longer require nested ID.

3.2.0

* [812](https://github.com/stripe/stripe-python/pull/812) API Updates
* Add support for new resource `Apps.Secret`

3.1.0

* [810](https://github.com/stripe/stripe-python/pull/810) API Updates
* Add support for new resources `Treasury.CreditReversal`, `Treasury.DebitReversal`, `Treasury.FinancialAccountFeatures`, `Treasury.FinancialAccount`, `Treasury.FlowDetails`, `Treasury.InboundTransfer`, `Treasury.OutboundPayment`, `Treasury.OutboundTransfer`, `Treasury.ReceivedCredit`, `Treasury.ReceivedDebit`, `Treasury.TransactionEntry`, and `Treasury.Transaction`
* Add support for `retrieve_payment_method` method on resource `Customer`
* Add support for `list_owners` and `list` methods on resource `FinancialConnections.Account`
* [719](https://github.com/stripe/stripe-python/pull/719) Set daemon attribute instead of using setDaemon method that was deprecated in Python 3.10
* [767](https://github.com/stripe/stripe-python/pull/767) Bump vendored six to 1.16.0
* [806](https://github.com/stripe/stripe-python/pull/806) Start testing on pypy-3.8
* [811](https://github.com/stripe/stripe-python/pull/811) Add sanitize_id method

Page 10 of 50

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.