summaryrefslogtreecommitdiff
path: root/finance/py-stripe
AgeCommit message (Collapse)AuthorFilesLines
2022-10-13py-stripe: updated to 4.2.0adam2-6/+6
4.2.0 - 2022-09-23 * API Updates * Add `upcoming_lines` method to the `Invoice` resource. * Update links in documentation to be absolute. * Add abstract methods for SearchableAPIResource
2022-08-22py-stripe: updated to 4.1.0adam3-7/+11
4.1.0 - 2022-08-19 * API Updates * Add support for new resource `CustomerCashBalanceTransaction` * Add a support section to the readme * Fix test TestCharge.test_is_saveable().
2022-08-19py-stripe: updated to 4.0.2adam3-31/+158
4.0.2 - 2022-08-03 * Fix issue where auto_paging_iter failed on nested list objects. 4.0.1 - 2022-08-02 * Fix incorrect handling of additional request parameters * Fixes issue where using special parameter like `api_key`, `idempotency_key`, `stripe_version`, `stripe_account`, `headers` can cause a `Received unknown parameter error`. 4.0.0 - 2022-08-02 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. * API Updates * Next major release changes * API Updates. Add Price.create tests. * 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)
2022-07-08py-stripe: update to 3.5.0.wiz3-150/+62
## 3.5.0 - 2022-06-30 * [#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 - 2022-06-17 * [#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 - 2022-06-08 * [#818](https://github.com/stripe/stripe-python/pull/818) fix: Update cash balance methods to no longer require nested ID. ## 3.2.0 - 2022-05-23 * [#812](https://github.com/stripe/stripe-python/pull/812) API Updates * Add support for new resource `Apps.Secret` ## 3.1.0 - 2022-05-19 * [#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 ## 3.0.0 - 2022-05-09 * [#809](https://github.com/stripe/stripe-python/pull/809) Release of major version v3.0.0. The [migration guide](https://github.com/stripe/stripe-python/wiki/Migration-Guide-for-v3) contains more information. (⚠️ = breaking changes): * ⚠️ Replace the legacy `Order` API with the new `Order` API. * New methods: `cancel`, `list_line_items`, `reopen`, and `submit` * Removed methods: `pay` and `return_order` * Removed resources: `OrderItem` and `OrderReturn` * ⚠️ Rename `financial_connections.account.refresh` to `financial_connections.refresh_account` * Add support for `amount_discount`, `amount_tax`, and `product` on `LineItem` ## 2.76.0 - 2022-05-05 * [#808](https://github.com/stripe/stripe-python/pull/808) API Updates * Add support for new resources `FinancialConnections.AccountOwner`, `FinancialConnections.AccountOwnership`, `FinancialConnections.Account`, and `FinancialConnections.Session` ## 2.75.0 - 2022-05-03 * [#805](https://github.com/stripe/stripe-python/pull/805) API Updates * Add support for new resource `CashBalance`
2022-04-24py-stripe: updated to 2.74.0adam2-6/+6
2.74.0 * API Updates * Add support for `expire` test helper method on resource `Refund`
2022-04-21py-stripe: updated to 2.73.0adam3-7/+13
2.73.0 - 2022-04-18 * API Updates * Add support for new resources `FundingInstructions` and `Terminal.Configuration`
2022-04-18py-stripe: updated to 2.72.0adam2-6/+6
2.72.0 API Updates - Add support for increment_authorization method on resource PaymentIntent
2022-04-11py-stripe: updated to 2.71.0adam2-6/+6
2.71.0 - 2022-04-08 * API Updates * Add support for `apply_customer_balance` method on resource `PaymentIntent`
2022-03-31py-stripe: updated to 2.70.0adam2-6/+6
2.70.0 - 2022-03-30 * API Updates * Add support for `cancel_action`, `process_payment_intent`, `process_setup_intent`, and `set_reader_display` methods on resource `Terminal.Reader`
2022-03-30py-stripe: updated to 2.69.0adam3-7/+16
2.69.0 - 2022-03-29 * API Updates * Add support for Search API * Add support for `search` method on resources `Charge`, `Customer`, `Invoice`, `PaymentIntent`, `Price`, `Product`, and `Subscription` * Pin click dependency to 8.0.4 to avoid breakage in black * Add infrastructure for test-helper methods * Revert Orders to use qualified name for upload_api_base 2.68.0 - 2022-03-23 * API Updates * Add support for `cancel` method on resource `Refund` * Add support for SearchResult.
2022-03-15py-stripe: updated to 2.67.0adam3-7/+13
2.67.0 * Add support for new resource `TestHelpers.TestClock`
2022-02-27py-stripe: updated to 2.66.0adam2-6/+6
2.66.0: Add support for `verify_microdeposits` method on resources `PaymentIntent` and `SetupIntent`
2022-01-23py-stripe: updated to 2.65.0adam3-8/+10
2.65.0 * API Updates * Add support for new resource `PaymentLink` * Start testing Python 3.10
2022-01-04*: bump PKGREVISION for egg.mk userswiz1-1/+2
They now have a tool dependency on py-setuptools instead of a DEPENDS
2021-12-30py-stripe: updated to 2.64.0adam2-6/+6
2.64.0 Update class custom methods to save list object parameters. Introduce custom listing methods on objects. Clarify metadata deletion message.
2021-11-17py-stripe: updated to 2.63.0adam3-7/+10
2.63.0 * Add support for new resource `ShippingRate`
2021-11-12py-stripe: updated to 2.62.0adam2-6/+6
2.62.0: * Add support for `expire` method on resource `Checkout.Session`
2021-10-26finance: Replace RMD160 checksums with BLAKE2s checksumsnia1-2/+2
All checksums have been double-checked against existing RMD160 and SHA512 hashes
2021-10-12py-stripe: updated to 2.61.0adam2-6/+6
2.61.0 * API Updates * Add support for `list_payment_methods` method on resource `Customer` * Stop sending raw exception message as part of Stripe user agent.
2021-10-07finance: Remove SHA1 hashes for distfilesnia1-2/+1
2021-07-16py-stripe: updated to 2.60.0adam2-7/+7
2.60.0: * Add support for `list_computed_upfront_line_items` method on resource `Quote`
2021-07-10py-stripe: updated to 2.59.0adam3-8/+11
2.59.0: Add support for new `Quote` API.
2021-06-05py-stripe: updated to 2.58.0adam3-8/+11
2.58.0: * Add support for new `TaxCode` API.
2021-05-20py-stripe: updated to 2.57.0adam3-8/+17
2.57.0 * Add support for Identity VerificationSession and VerificationReport APIs
2021-02-23py-stripe: updated to 2.56.0adam3-8/+11
2.56.0 Add support for the Billing Portal Configuration API
2021-02-07py-stripe: updated to 2.55.2adam2-7/+7
2.55.2: Fix CA bundle path issue
2020-12-02py-stripe: updated to 2.55.1adam2-8/+8
2.55.1: Fix issue where StripeObjects in lists would not be converted to dicts Start testing Python 3.9 Include the examples in the built sources
2020-10-15py-stripe: updated to 2.55.0adam2-7/+7
2.55.0: Add support for the Payout Reverse API
2020-09-30py-stripe: updated to 2.54.0adam3-8/+11
2.54.0: Add support for the `SetupAttempt` resource and List API
2020-09-29py-stripe: updated to 2.53.0adam2-7/+7
2.53.0: Unknown changes
2020-09-08py-stripe: updated to 2.51.0adam2-7/+7
2.51.0: Add support for the Issuing Dispute Submit API
2020-08-21py-stripe: updated to 2.50.0adam3-8/+11
2.50.0 * Add support for the `PromotionCode` resource and APIs
2020-07-21py-stripe: updated to 2.49.0adam2-7/+7
2.49.0: Support stripe.File.create(stripe_version='...')
2020-05-16pytest from versioned dependsadam1-2/+4
2020-05-12py-stripe: updated to 2.48.0adam3-8/+11
2.48.0: Add support for the `LineItem` resource and APIs
2020-04-30py-stripe: updated to 2.47.0adam3-8/+11
2.47.0: Add support for the `Price` resource and APIs
2020-04-23py-stripe: updated to 2.46.0adam3-8/+14
2.46.0: Add support for `billing_portal` namespace and `Session` resource and APIs
2020-04-11py-stripe: updated to 2.45.0adam2-7/+7
2.45.0: Add support for Express links in `authorize_url` for `OAuth`
2020-03-24py-stripe: updated to 2.44.0adam2-7/+7
2.44.0: Allow overriding API key in OAuth methods
2020-03-03py-stripe: updated to 2.43.0adam2-7/+7
2.43.0: * Add support for listing Checkout `Session`
2020-02-01py-stripe: updated to 2.42.0adam3-8/+11
2.42.0: * Add support for `CreditNoteLineItem` * Pin black version * Start testing Python 3.8
2020-01-08py-stripe: updated to 2.41.1adam3-8/+14
2.41.1: * Fix uploading files with Unicode names (Python 2.7) * Update Python API docs inline link * Update `proxy.py` 2.41.0: * Add support for `CreditNote` preview 2.40.0: * Add list_usage_record_summaries and list_source_transactions 2.39.0: * Add support for `Mandate` 2.38.0: * Add support for reverse pagination * Contributor Convenant 2.37.2: * Implement support for stripe-should-retry and retry-after headers 2.37.1: * Check that `error` is a dict before trying to use it to create a `StripeError` 2.37.0: * Add `ErrorObject` to `StripeError` exceptions * Pass `CFLAGS` and `LDFLAGS` when running tests 2.36.2: * Use `OrderedDict` to maintain key order in API requests and responses 2.36.1: * Use `ListObject` properties as default values in request methods 2.36.0: * Add support for header parameters in `ListObject` request methods
2019-08-26py-stripe: updated to 2.35.1adam3-11/+23
2.35.1: * Fix automatic retries of failed requests * Clarify what `max_network_retries` does 2.35.0: * Add `SubscriptionItem.create_usage_record` method 2.34.0: * Remove subscription schedule revisions - This is technically a breaking change. We've chosen to release it as a minor vesion bump because the associated API is unused. 2.33.2: * Add support for passing full objects instead of IDs to custom methods * Bump vendored six to latest version 2.33.1: * Fix `del` statement to not raise `KeyError` 2.33.0: * Listing `BalanceTransaction` objects now uses `/v1/balance_transactions` instead of `/v1/balance/history` 2.32.1: * Fix argument name conflict 2.32.0: * Add support for the `SetupIntent` resource and APIs 2.31.0: * Enable request latency telemetry by default 2.30.1: * Fix support for `CustomerBalanceTransaction` 2.30.0: * Add support for `CustomerBalanceTransaction` resource and APIs 2.29.4: * Remove Poetry and reinstate `setup.py` 2.29.3: Version 2.29.2 was non-functional due to a bugged `version.py` file. This release is identical to 2.29.2 save for the version number. 2.29.2: * Replace pipenv with poetry 2.29.1: * Verify signatures before deserializing events 2.29.0: * Add support for `radar.early_fraud_warning` resource 2.28.2: * Fix a few more code quality issues 2.28.1: * Fix a few code quality issues 2.28.0: * Add support for the `Capability` resource and APIs
2019-04-25py-stripe: updated to 2.27.0adam3-11/+35
2.27.0: * Add support for the TaxRate resource and APIs 2.26.0: * Add support for the TaxId resource and APIs 2.25.0: * Add support for the CreditNote resource and APIs 2.24.1: * Fix encoding of nested parameters in multipart requests 2.24.0: * Add delete class method on deletable API resources * Add class methods for all custom API requests (e.g. Charge.capture) 2.23.0: * Add support for the PaymentMethod resource and APIs * Add support for retrieving a Checkout Session * Add support for deleting a Terminal Location and Reader 2.22.0: * Add stripe.util.convert_to_dict method for converting StripeObject instances to regular dicts 2.21.0: * Add support for subscription schedules 2.20.3: * Fix client telemetry implementation 2.20.2: * Fix session initialization for multi-threaded environments 2.20.1: * Make RequestsClient thread-safe 2.20.0: * Reuse the default HTTP client by default 2.19.0: * Rename CheckoutSession to Session and move it under the checkout namespace. This is a breaking change, but we've reached out to affected merchants and all new merchants would use the new approach. 2.18.1: * Properly serialize individual on Account objects
2019-01-15py-stripe: updated to 2.18.0adam3-145/+273
2.18.0: * Add configurable telemetry to gather information on client-side request latency 2.17.0: * Add support for Checkout sessions 2.16.0: * Add support for account links 2.15.0: * Add support for providing custom CA certificate bundle 2.14.0: * Add support for Review for Radar 2.13.0: * Add support for ValueList and ValueListItem for Radar 2.12.1: * Make StripeResponse a new-style class 2.12.0: * Add new API endpoints for the Invoice resource. 2.11.1: * Bump minimum requests version to 2.20.0 (for [CVE-2018-18074](https://nvd.nist.gov/vuln/detail/CVE-2018-18074)) 2.11.0: * Add support for the Person resource * Add support for the WebhookEndpoint resource 2.10.1: * Correct behavior of stripe.max_network_retries if it's reset after initial use 2.10.0: * Add support for Stripe Terminal 2.9.0: * Rename FileUpload to File 2.8.1: * Don't URL-encode square brackets * Integer-index encode all arrays 2.8.0: * Add support for automatic network retries 2.7.0: * Add support for reporting resources 2.6.0: * Add support for usage record summaries 2.5.0: * Remove unsupported Bitcoin endpoints (this is technically a breaking change, but we're releasing as a minor version because none of these APIs were usable anyway) 2.4.0: * Add cancel support for topups * Add support for file links 2.3.0: * Add support for Sigma scheduled query run objects 2.2.0: * Add support for Stripe Issuing 2.1.0: * Add InvoiceLineItem class 2.0.3: * Internal improvements to ApiResource.class_url 2.0.2: * Avoid duplicate dependency on requests with Python 2.7 2.0.1: * Fix setup.py 2.0.0: Major version release. List of backwards incompatible changes to watch out for: * The minimum Python versions are now 2.7 / 3.4. If you're using Python 2.6 or 3.3, consider upgrading to a more recent version. * Stripe exception classes should now be accessed via stripe.error rather than just stripe * Some older deprecated methods have been removed * Trying to detach an unattached source will now raise a stripe.error.InvalidRequestError exception instead of a NotImplementedError exception Pull requests included in this release: * Drop support for Python 2.6 and 3.3 * Use py.test for tests * Remove deprecated code * Remove util.json and use json module directly everywhere * Update setup.py and test flow * Use pipenv * Change exception when detaching unattached sources from NotImplementedError to stripe.error.InvalidRequestError
2017-10-12py-stripe: update to 1.67.0adam2-7/+7
1.67.0: * Rename source `delete` to `detach` (and deprecate the former)
2017-10-10py-stripe: update to 1.66.0adam3-12/+128
1.66.0: * Support length reads on list objects
2017-09-16Reset maintainerwiz1-2/+2
2016-07-09Remove python33: adapt all packages that refer to it.wiz1-6/+1
2016-06-08Switch to MASTER_SITES_PYPI.wiz1-2/+2