Skip to content

Commit

Permalink
py-stripe: updated to 7.11.0
Browse files Browse the repository at this point in the history
7.11.0 - 2024-01-04
* Update generated code
 * Add support for `retrieve` on resource `tax.Registration`
 * Change type from `Optional[PaymentDetails]` to `PaymentDetails` of `payment_details` on field `AccountSession.Components`
 * Change type from `Optional[Payments]` to `Payments` of `payments` on field `AccountSession.Components`
 * Change type from `Optional[Payouts]` to `Payouts` of `payouts` on field `AccountSession.Components`
 * Change type from `Optional[Features]` to `Features` of `features` on fields `AccountSession.Components.PaymentDetails`, `AccountSession.Components.Payments`, and `AccountSession.Components.Payouts`
 * Change type from `Optional[InvoiceSettings]` to `InvoiceSettings` of `invoice_settings` on field `SubscriptionSchedule.DefaultSettings`


7.10.0 - 2023-12-22
* Update generated code
 * Add support for new resource `FinancialConnections.Transaction`
 * Add support for `list` and `retrieve` methods on resource `Transaction`
 * Add support for `subscribe` and `unsubscribe` methods on resource `FinancialConnections.Account`
 * Add support for `features` on `AccountSessionCreateParams.components.payouts`
 * Add support for `edit_payout_schedule`, `instant_payouts`, and `standard_payouts` on `AccountSession.components.payouts.features`
 * Change type of `Checkout.Session.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `Checkout.SessionCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `Invoice.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `InvoiceCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `InvoiceUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `PaymentIntent.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `PaymentIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `PaymentIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `PaymentIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SetupIntent.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SetupIntentConfirmParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SetupIntentCreateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SetupIntentUpdateParams.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `Subscription.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, `SubscriptionCreateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]`, and `SubscriptionUpdateParams.payment_settings.payment_method_options.us_bank_account.financial_connections.prefetch[]` from `literal('balances')` to `enum('balances'|'transactions')`
 * Add support for new value `financial_connections.account.refreshed_transactions` on enum `Event.type`
 * Add support for new value `transactions` on enum `FinancialConnections.AccountRefreshParams.features[]`
 * Add support for `subscriptions` and `transaction_refresh` on `FinancialConnections.Account`
 * Add support for `next_refresh_available_at` on `FinancialConnections.Account.balance_refresh`
 * Add support for new value `transactions` on enums `FinancialConnections.Session.prefetch[]` and `FinancialConnections.SessionCreateParams.prefetch[]`
 * Add support for new value `unknown` on enums `Issuing.Authorization.verification_data.authentication_exemption.type` and `Issuing.AuthorizationCreateParams.testHelpers.verification_data.authentication_exemption.type`
 * Add support for new value `challenge` on enums `PaymentIntent.payment_method_options.card.request_three_d_secure`, `PaymentIntentConfirmParams.payment_method_options.card.request_three_d_secure`, `PaymentIntentCreateParams.payment_method_options.card.request_three_d_secure`, `PaymentIntentUpdateParams.payment_method_options.card.request_three_d_secure`, `SetupIntent.payment_method_options.card.request_three_d_secure`, `SetupIntentConfirmParams.payment_method_options.card.request_three_d_secure`, `SetupIntentCreateParams.payment_method_options.card.request_three_d_secure`, and `SetupIntentUpdateParams.payment_method_options.card.request_three_d_secure`
 * Add support for `revolut_pay` on `PaymentMethodConfigurationCreateParams`, `PaymentMethodConfigurationUpdateParams`, and `PaymentMethodConfiguration`
 * Change type of `Quote.invoice_settings` from `InvoiceSettingQuoteSetting | null` to `InvoiceSettingQuoteSetting`
 * Add support for `destination_details` on `Refund`
 * Add support for new value `financial_connections.account.refreshed_transactions` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`

* Update generated code
* Remove api_base from RequestOptions type
* Support accessing reserved word resource properties via attribute

7.9.0 - 2023-12-14
* Update generated code

 * Add support for `payment_method_reuse_agreement` on resource classes `PaymentLink.ConsentCollection` and `checkout.Session.ConsentCollection` and parameter classes `PaymentLink.CreateParamsConsentCollection` and `checkout.Session.CreateParamsConsentCollection`
 * Add support for `after_submit` on parameter classes `PaymentLink.CreateParamsCustomText`, `PaymentLink.ModifyParamsCustomText`, and `checkout.Session.CreateParamsCustomText` and resource classes `PaymentLink.CustomText` and `checkout.Session.CustomText`
 * Add support for `created` on parameter class `radar.EarlyFraudWarning.ListParams`
* Track usage of deprecated `save`
 * Reports uses of the deprecated `.save` in `X-Stripe-Client-Telemetry`. (You can disable telemetry via `stripe.enable_telemetry = false`, see the [README](https://github.com/stripe/stripe-python/blob/master/README.md#telemetry).)
* Mark defunct and internal methods as deprecated
* Add more types to _http_client.py

7.8.2 - 2023-12-11
* Do not raise a DeprecationWarning in `stripe.app_info`

7.8.1 - 2023-12-08
* 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`.
* Add missing explicit reexport for `OAuth`, `Webhook`, `WebhookSignature`
  • Loading branch information
adam committed Jan 6, 2024
1 parent 6c289c3 commit a5db50c
Show file tree
Hide file tree
Showing 3 changed files with 590 additions and 31 deletions.
14 changes: 6 additions & 8 deletions finance/py-stripe/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.58 2023/06/06 12:41:22 riastradh Exp $
# $NetBSD: Makefile,v 1.59 2024/01/06 18:39:18 adam Exp $

DISTNAME= stripe-4.2.0
DISTNAME= stripe-7.11.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= finance python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/stripe/}
Expand All @@ -10,20 +10,18 @@ HOMEPAGE= https://github.com/stripe/stripe-python
COMMENT= Stripe python bindings
LICENSE= mit

TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-requests>=2.20:../../devel/py-requests
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=4.5.0:../../devel/py-typing-extensions
# tests require stripe-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=2.5:../../devel/py-test-cov
TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=1.7:../../devel/py-test-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.22:../../devel/py-test-xdist

PYTHON_VERSIONS_INCOMPATIBLE= 27

USE_LANGUAGES= # none

do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
PYTHON_VERSIONS_INCOMPATIBLE= 27

.include "../../lang/python/egg.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Loading

0 comments on commit a5db50c

Please sign in to comment.