#1159 Fix getattr to raise AttributeError rather than returning None. This fixes a regression in 7.8.0 that caused stripe.checkout/stripe.issuing etc. to return None.
#1157 Add missing explicit reexport for OAuth, Webhook, WebhookSignature
Add support for payment_details, payments, and payouts on AccountSession.components and CreateParams.components
Add support for features on AccountSession.components.account_onboarding and CreateParams.components.account_onboarding
Add support for new values customer_tax_location_invalid and financial_connections_no_successful_transaction_refresh on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
Add support for new values payment_network_reserve_hold and payment_network_reserve_release on enum BalanceTransaction.type
Change Climate.Product.metric_tons_available to be required
Remove support for value various from enum Climate.Supplier.removal_pathway
Remove support for values challenge_only and challenge from enum PaymentIntent.payment_method_options.card.request_three_d_secure
Add support for inactive_message and restrictions on CreateParams, ModifyParams, and PaymentLink
Add support for transfer_group on PaymentLink.payment_intent_data, CreateParams.payment_intent_data, and ModifyParams.payment_intent_data
Add support for trial_settings on PaymentLink.subscription_data, CreateParams.subscription_data, and ModifyParams.subscription_data
stripe.app_info, stripe.http_client, stripe.oauth, stripe.util, stripe.version, stripe.webhook, modules are deprecated. All types are available directly from stripe module now.
Before:
from stripe.util import convert_to_stripe_object
# or
stripe.util.convert_to_stripe_object
After:
from stripe import convert_to_stripe_object
# or
stripe.convert_to_stripe_object
stripe.api_version, stripe.multipart_data_generator, stripe.request_metrics are deprecated and will be fully removed in the future.
stripe.error, stripe.stripe_object, stripe.api_requestor, stripe.stripe_response, stripe.request_options, stripe.api_resources.*, stripe.api_resources.abstract.* modules are deprecated. All types are available directly from stripe module now.
Before:
from stripe.error import APIError
# or
stripe.error.APIError
#1168 Do not raise a DeprecationWarning in stripe.app_info
7.8.1 - 2023-12-08
#1159 Fix getattr to raise AttributeError rather than returning None. This fixes a regression in 7.8.0 that caused stripe.checkout/stripe.issuing etc. to return None.
#1157 Add missing explicit reexport for OAuth, Webhook, WebhookSignature
Add support for payment_details, payments, and payouts on AccountSession.components and CreateParams.components
Add support for features on AccountSession.components.account_onboarding and CreateParams.components.account_onboarding
Add support for new values customer_tax_location_invalid and financial_connections_no_successful_transaction_refresh on enums Invoice.last_finalization_error.code, PaymentIntent.last_payment_error.code, SetupAttempt.setup_error.code, SetupIntent.last_setup_error.code, and StripeError.code
Add support for new values payment_network_reserve_hold and payment_network_reserve_release on enum BalanceTransaction.type
Change Climate.Product.metric_tons_available to be required
Remove support for value various from enum Climate.Supplier.removal_pathway
Remove support for values challenge_only and challenge from enum PaymentIntent.payment_method_options.card.request_three_d_secure
Add support for inactive_message and restrictions on CreateParams, ModifyParams, and PaymentLink
Add support for transfer_group on PaymentLink.payment_intent_data, CreateParams.payment_intent_data, and ModifyParams.payment_intent_data
Add support for trial_settings on PaymentLink.subscription_data, CreateParams.subscription_data, and ModifyParams.subscription_data
stripe.app_info, stripe.http_client, stripe.oauth, stripe.util, stripe.version, stripe.webhook, modules are deprecated. All types are available directly from stripe module now.
Before:
from stripe.util import convert_to_stripe_object
# or
stripe.util.convert_to_stripe_object
After:
from stripe import convert_to_stripe_object
# or
stripe.convert_to_stripe_object
stripe.api_version, stripe.multipart_data_generator, stripe.request_metrics are deprecated and will be fully removed in the future.
stripe.error, stripe.stripe_object, stripe.api_requestor, stripe.stripe_response, stripe.request_options, stripe.api_resources.*, stripe.api_resources.abstract.* modules are deprecated. All types are available directly from stripe module now.
Before:
from stripe.error import APIError
# or
stripe.error.APIError
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps stripe from 6.1.0 to 7.8.2.
Release notes
Sourced from stripe's releases.
... (truncated)
Changelog
Sourced from stripe's changelog.
... (truncated)
Commits
b9d4efa
Bump version to 7.8.2e99ae54
Merge pull request #1168 from akx/no-deprecation-warning-on-import980d4b5
Do not raise a DeprecationWarning in the always-importedapp_info
module5ab12c6
Bump version to 7.8.1fdd961b
Correctly re-export nested packages (#1160)5ec74e8
Fix getattr to raise AttributeError rather than returning None (#1159)93f4384
Add missing explicit reexport for OAuth, Webhook, WebhookSignature (#1157)8322da6
Bump version to 7.8.035a4776
Update generated code for v704 (#1155)b8dabab
Merge pull request #1153 from stripe/pakrym/Move_exports_for_modules_that_wil...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show