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
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
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
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
Existing SHA1 digests verified, all found to be the same on the
machine holding the existing distfiles (morden). Existing SHA1
digests retained for now as an audit trail.
* Support for canceling transfers
=== 1.15.1 2014-05-21
* Support cards for recipients.
=== 1.14.1 2014-05-19
* Disable loading the ssl module on the Google App Engine dev server.
=== 1.12.2 2014-03-13
* Fix syntax errors in setup.py metadata
=== 1.12.1 2014-03-13
* Added license and other metadata in setup.py
* Fix `__repr__` in Python 3
* Support pickling of responses