Changelogs » Stripe

PyUp Safety actively tracks 373,221 Python packages for vulnerabilities and notifies you when to upgrade.

Stripe

2.63.0

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

2.62.0

* [745](https://github.com/stripe/stripe-python/pull/745) API Updates
  * Add support for `expire` method on resource `Checkout.Session`

2.61.0

* [738](https://github.com/stripe/stripe-python/pull/738) API Updates
  * Add support for `list_payment_methods` method on resource `Customer`
  * [736](https://github.com/stripe/stripe-python/pull/736) Stop sending raw exception message as part of Stripe user agent.

2.60.0

* [728](https://github.com/stripe/stripe-python/pull/728) API Updates
  * Add support for `list_computed_upfront_line_items` method on resource `Quote`

2.59.0

* [727](https://github.com/stripe/stripe-python/pull/727) [#725](https://github.com/stripe/stripe-python/pull/725) Add support for new `Quote` API.

2.58.0

* [722](https://github.com/stripe/stripe-python/pull/722) API Updates
  * Add support for new `TaxCode` API.

2.57.0

* [720](https://github.com/stripe/stripe-python/pull/720) Add support for Identity VerificationSession and VerificationReport APIs

2.56.0

* [713](https://github.com/stripe/stripe-python/pull/713) Add support for the Billing Portal Configuration API

2.55.2

* [704](https://github.com/stripe/stripe-python/pull/704) Fix CA bundle path issue

2.55.1

* [698](https://github.com/stripe/stripe-python/pull/698) Fix issue where StripeObjects in lists would not be converted to dicts
  * [699](https://github.com/stripe/stripe-python/pull/699) Start testing Python 3.9
  * [691](https://github.com/stripe/stripe-python/pull/691) Include the examples in the built sources

2.55.0

* [684](https://github.com/stripe/stripe-python/pull/684) Add support for the Payout Reverse API

2.54.0

* [681](https://github.com/stripe/stripe-python/pull/681) Add support for the `SetupAttempt` resource and List API
  * 2.52.0 and 2.53.0 were empty releases that contained no additional changes.

2.51.0

* [676](https://github.com/stripe/stripe-python/pull/676) Add support for the Issuing Dispute Submit API

2.50.0

* [669](https://github.com/stripe/stripe-python/pull/669) Add support for the `PromotionCode` resource and APIs

2.49.0

* [665](https://github.com/stripe/stripe-python/pull/665) Support stripe.File.create(stripe_version='...')

2.48.0

* [655](https://github.com/stripe/stripe-python/pull/655) Add support for the `LineItem` resource and APIs

2.47.0

* [652](https://github.com/stripe/stripe-python/pull/652) Add support for the `Price` resource and APIs

2.46.0

* [651](https://github.com/stripe/stripe-python/pull/651) Add support for `billing_portal` namespace and `Session` resource and APIs

2.45.0

* [648](https://github.com/stripe/stripe-python/pull/648) Add support for Express links in `authorize_url` for `OAuth`

2.44.0

* [646](https://github.com/stripe/stripe-python/pull/646) Allow overriding API key in OAuth methods

2.43.0

* [644](https://github.com/stripe/stripe-python/pull/644) Add support for listing Checkout `Session`

2.42.0

* [640](https://github.com/stripe/stripe-python/pull/640) Add support for `CreditNoteLineItem`
  * [639](https://github.com/stripe/stripe-python/pull/639) Pin black version
  * [637](https://github.com/stripe/stripe-python/pull/637) Start testing Python 3.8

2.41.1

* [636](https://github.com/stripe/stripe-python/pull/636) Fix uploading files with Unicode names (Python 2.7)
  * [635](https://github.com/stripe/stripe-python/pull/635) Update Python API docs inline link
  * [631](https://github.com/stripe/stripe-python/pull/631) Update `proxy.py`

2.41.0

* [630](https://github.com/stripe/stripe-python/pull/630) Add support for `CreditNote` preview

2.40.0

* [627](https://github.com/stripe/stripe-python/pull/627) Add list_usage_record_summaries and list_source_transactions

2.39.0

* [625](https://github.com/stripe/stripe-python/pull/625) Add support for `Mandate`

2.38.0

* [623](https://github.com/stripe/stripe-python/pull/623) Add support for reverse pagination
  * [624](https://github.com/stripe/stripe-python/pull/624) Contributor Convenant

2.37.2

* [621](https://github.com/stripe/stripe-python/pull/621) Implement support for stripe-should-retry and retry-after headers

2.37.1

* [620](https://github.com/stripe/stripe-python/pull/620) Check that `error` is a dict before trying to use it to create a `StripeError`

2.37.0

* [619](https://github.com/stripe/stripe-python/pull/619) Add `ErrorObject` to `StripeError` exceptions
  * [616](https://github.com/stripe/stripe-python/pull/616) Pass `CFLAGS` and `LDFLAGS` when running tests

2.36.2

* [614](https://github.com/stripe/stripe-python/pull/614) Use `OrderedDict` to maintain key order in API requests and responses

2.36.1

* [612](https://github.com/stripe/stripe-python/pull/612) Use `ListObject` properties as default values in request methods

2.36.0

* [610](https://github.com/stripe/stripe-python/pull/610) Add support for header parameters in `ListObject` request methods

2.35.1

* [605](https://github.com/stripe/stripe-python/pull/605) Fix automatic retries of failed requests
  * [606](https://github.com/stripe/stripe-python/pull/606) Clarify what `max_network_retries` does

2.35.0

* [607](https://github.com/stripe/stripe-python/pull/607) Add `SubscriptionItem.create_usage_record` method

2.34.0

* [604](https://github.com/stripe/stripe-python/pull/604) 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

* [601](https://github.com/stripe/stripe-python/pull/601) Add support for passing full objects instead of IDs to custom methods
  * [603](https://github.com/stripe/stripe-python/pull/603) Bump vendored six to latest version

2.33.1

* [599](https://github.com/stripe/stripe-python/pull/599) Fix `del` statement to not raise `KeyError`

2.33.0

* [595](https://github.com/stripe/stripe-python/pull/595) Listing `BalanceTransaction` objects now uses `/v1/balance_transactions` instead of `/v1/balance/history`

2.32.1

* [592](https://github.com/stripe/stripe-python/pull/592) Fix argument name conflict

2.32.0

* [590](https://github.com/stripe/stripe-python/pull/590) Add support for the `SetupIntent` resource and APIs

2.31.0

* [587](https://github.com/stripe/stripe-python/pull/587) Enable request latency telemetry by default

2.30.1

* [589](https://github.com/stripe/stripe-python/pull/589) Fix support for `CustomerBalanceTransaction`

2.30.0

* [564](https://github.com/stripe/stripe-python/pull/564) Add support for `CustomerBalanceTransaction` resource and APIs

2.29.4

* [583](https://github.com/stripe/stripe-python/pull/583) 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

* [561](https://github.com/stripe/stripe-python/pull/561) Replace pipenv with poetry

2.29.1

* [578](https://github.com/stripe/stripe-python/pull/578) Verify signatures before deserializing events

2.29.0

* [575](https://github.com/stripe/stripe-python/pull/575) Add support for `radar.early_fraud_warning` resource

2.28.2

* [574](https://github.com/stripe/stripe-python/pull/574) Fix a few more code quality issues

2.28.1

* [572](https://github.com/stripe/stripe-python/pull/572) Fix a few code quality issues

2.28.0

* [566](https://github.com/stripe/stripe-python/pull/566) Add support for the `Capability` resource and APIs

2.27.0

* [554](https://github.com/stripe/stripe-python/pull/554) Add support for the `TaxRate` resource and APIs

2.26.0

* [555](https://github.com/stripe/stripe-python/pull/555) Add support for the `TaxId` resource and APIs

2.25.0

* [551](https://github.com/stripe/stripe-python/pull/551) Add support for the `CreditNote` resource and APIs

2.24.1

* [550](https://github.com/stripe/stripe-python/pull/550) Fix encoding of nested parameters in multipart requests

2.24.0

* [543](https://github.com/stripe/stripe-python/pull/543) Add `delete` class method on deletable API resources
  * [547](https://github.com/stripe/stripe-python/pull/547) Add class methods for all custom API requests (e.g. `Charge.capture`)

2.23.0

* [537](https://github.com/stripe/stripe-python/pull/537) Add support for the `PaymentMethod` resource and APIs
  * [540](https://github.com/stripe/stripe-python/pull/540) Add support for retrieving a Checkout `Session`
  * [542](https://github.com/stripe/stripe-python/pull/542) Add support for deleting a Terminal `Location` and `Reader`

2.22.0

* [541](https://github.com/stripe/stripe-python/pull/541) Add `stripe.util.convert_to_dict` method for converting `StripeObject` instances to regular `dict`s

2.21.0

* [532](https://github.com/stripe/stripe-python/pull/532) Add support for subscription schedules

2.20.3

* [530](https://github.com/stripe/stripe-python/pull/530) Fix client telemetry implementation

2.20.2

* [534](https://github.com/stripe/stripe-python/pull/534) Fix session initialization for multi-threaded environments

2.20.1

* [531](https://github.com/stripe/stripe-python/pull/531) Make `RequestsClient` thread-safe

2.20.0

* [526](https://github.com/stripe/stripe-python/pull/526) Reuse the default HTTP client by default

2.19.0

* [524](https://github.com/stripe/stripe-python/pull/524) 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

* [525](https://github.com/stripe/stripe-python/pull/525) Properly serialize `individual` on `Account` objects

2.18.0

* [518](https://github.com/stripe/stripe-python/pull/518) Add configurable telemetry to gather information on client-side request latency

2.17.0

* [510](https://github.com/stripe/stripe-python/pull/510) Add support for Checkout sessions

2.16.0

* [507](https://github.com/stripe/stripe-python/pull/507) Add support for account links

2.15.0

* [503](https://github.com/stripe/stripe-python/pull/503) Add support for providing custom CA certificate bundle

2.14.0

* [500](https://github.com/stripe/stripe-python/pull/500) Add support for `Review` for Radar

2.13.0

* [489](https://github.com/stripe/stripe-python/pull/489) Add support for `ValueList` and `ValueListItem` for Radar

2.12.1

* [495](https://github.com/stripe/stripe-python/pull/495) Make `StripeResponse` a new-style class

2.12.0

* [483](https://github.com/stripe/stripe-python/pull/483) Add new API endpoints for the `Invoice` resource.

2.11.1

* [491](https://github.com/stripe/stripe-python/pull/491) Bump minimum requests version to 2.20.0 (for [CVE-2018-18074](https://nvd.nist.gov/vuln/detail/CVE-2018-18074))

2.11.0

* [482](https://github.com/stripe/stripe-python/pull/482) Add support for the `Person` resource
  * [484](https://github.com/stripe/stripe-python/pull/484) Add support for the `WebhookEndpoint` resource

2.10.1

* [481](https://github.com/stripe/stripe-python/pull/481) Correct behavior of `stripe.max_network_retries` if it's reset after initial use

2.10.0

* [478](https://github.com/stripe/stripe-python/pull/478) Add support for Stripe Terminal

2.9.0

* [477](https://github.com/stripe/stripe-python/pull/477) Rename `FileUpload` to `File`

2.8.1

* [474](https://github.com/stripe/stripe-python/pull/474) Don't URL-encode square brackets
  * [473](https://github.com/stripe/stripe-python/pull/473) Integer-index encode all arrays

2.8.0

* [470](https://github.com/stripe/stripe-python/pull/470) Add support for automatic network retries

2.7.0

* [469](https://github.com/stripe/stripe-python/pull/469) Add support for reporting resources

2.6.0

* [467](https://github.com/stripe/stripe-python/pull/467) Add support for usage record summaries

2.5.0

* [463](https://github.com/stripe/stripe-python/pull/463) 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

* [460](https://github.com/stripe/stripe-python/pull/460) Add cancel support for topups
  * [461](https://github.com/stripe/stripe-python/pull/461) Add support for file links

2.3.0

* [456](https://github.com/stripe/stripe-python/pull/456) Add support for Sigma scheduled query run objects

2.2.0

* [455](https://github.com/stripe/stripe-python/pull/455) Add support for Stripe Issuing

2.1.0

* [452](https://github.com/stripe/stripe-python/pull/452) Add `InvoiceLineItem` class

2.0.3

* [450](https://github.com/stripe/stripe-python/pull/450) Internal improvements to `ApiResource.class_url`

2.0.2

* [448](https://github.com/stripe/stripe-python/pull/448) Avoid duplicate dependency on `requests` with Python 2.7

2.0.1

* [445](https://github.com/stripe/stripe-python/pull/445) 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
  
  For more information, check out the [migration guide for v2](https://github.com/stripe/stripe-python/wiki/Migration-guide-for-v2)
  
  Pull requests included in this release:
  * [385](https://github.com/stripe/stripe-python/pull/385) Drop support for Python 2.6 and 3.3
  * [384](https://github.com/stripe/stripe-python/pull/384) Use py.test for tests
  * [399](https://github.com/stripe/stripe-python/pull/399) Remove deprecated code
  * [402](https://github.com/stripe/stripe-python/pull/402) Remove `util.json` and use `json` module directly everywhere
  * [403](https://github.com/stripe/stripe-python/pull/403) Update setup.py and test flow
  * [410](https://github.com/stripe/stripe-python/pull/410) Use pipenv
  * [415](https://github.com/stripe/stripe-python/pull/415) Change exception when detaching unattached sources from `NotImplementedError` to `stripe.error.InvalidRequestError`

1.84.2

* [441](https://github.com/stripe/stripe-python/pull/441) Better (hopefully) fix for serialization of empty `ListObject`s

1.84.1

* [439](https://github.com/stripe/stripe-python/pull/439) Fix serialization of empty `ListObject`s

1.84.0

* [436](https://github.com/stripe/stripe-python/pull/436) Add support for payment intents

1.83.0

* [437](https://github.com/stripe/stripe-python/pull/437) Add support for `partner_id` in `stripe.set_app_info()`

1.82.2

* [365](https://github.com/stripe/stripe-python/pull/365) Add `__repr__` methods to `StripeError` exception classes

1.82.1

* [430](https://github.com/stripe/stripe-python/pull/430) Handle the case where request ID is `None` when formatting errors

1.82.0

* [422](https://github.com/stripe/stripe-python/pull/422) Add `user_mesage` to `StripeError` for a way in Python 3 to avoid the "Request req_...:" string normally appended to error messages

1.81.0

* [425](https://github.com/stripe/stripe-python/pull/425) Add support for issuer fraud records

1.80.0

* [421](https://github.com/stripe/stripe-python/pull/421) Add support for flexible billing and usage records

1.79.1

* [401](https://github.com/stripe/stripe-python/pull/401) Drop conditional dependencies that incorrectly led to an added `simplejson` dependency in Python 3+ after switching to universal wheel

1.79.0

* [397](https://github.com/stripe/stripe-python/pull/397) Build universal wheels by default
  * [398](https://github.com/stripe/stripe-python/pull/398) Add support for `code` attribute on all Stripe exceptions

1.78.0

* [396](https://github.com/stripe/stripe-python/pull/396) Add support for topups

1.77.2

* [394](https://github.com/stripe/stripe-python/pull/394) Make `last_response` available after calling `save()`

1.77.1

* [389](https://github.com/stripe/stripe-python/pull/389) Register unsaved attributes on assignment regardless of new value

1.77.0

* [371](https://github.com/stripe/stripe-python/pull/371) Add accessor `last_response` on `StripeObject` for accessing request ID and other metadata

1.76.0

* [382](https://github.com/stripe/stripe-python/pull/382) Add new `IdempotencyError` type

1.75.3

* [378](https://github.com/stripe/stripe-python/pull/378) Log encoded version of parameters instead of raw POST data

1.75.2

* (Accidental no-op release. See 1.75.3.)

1.75.1

* [372](https://github.com/stripe/stripe-python/pull/372) Add only changed values to `_unsaved_values` in `StripeObject`
  * [375](https://github.com/stripe/stripe-python/pull/375) Use a custom JSON encoder to handle `datetime` objects when serializing `StripeObject`s

1.75.0

* [369](https://github.com/stripe/stripe-python/pull/369) Make custom actions on various resources (e.g. `Account.reject`) more consistent with other APIs

1.74.0

* [368](https://github.com/stripe/stripe-python/pull/368) Remove API that allowed the creation of new disputes (this was an erroneous addition; it never worked because the API would not allow it)

1.73.0

* [364](https://github.com/stripe/stripe-python/pull/364) Switch to vendored version of the `six` package for compatibility between Python 2 and 3

1.72.0

* [361](https://github.com/stripe/stripe-python/pull/361) Support for exchange rates APIs

1.71.2

* [362](https://github.com/stripe/stripe-python/pull/362) Fix balance transaction and invoice item conversion into `StripeObject`s

1.71.1

* [360](https://github.com/stripe/stripe-python/pull/360) Fix `BytesWarning` being issued on logging in Python 3

1.71.0

* [359](https://github.com/stripe/stripe-python/pull/359) Support for listing source transactions

1.70.0

* [356](https://github.com/stripe/stripe-python/pull/356) Support uploading files with `StringIO` in addition to a file on disk

1.69.0

* [351](https://github.com/stripe/stripe-python/pull/351) Break resource.py module into separate ones for each type of resource
  * Classes are still into resource.py for backwards compatibility
  * [353](https://github.com/stripe/stripe-python/pull/353) Fix unpickling `StripeObject` in Python 3

1.68.0

* [350](https://github.com/stripe/stripe-python/pull/350) Add static methods to manipulate resources from parent
  * `Account` gains methods for external accounts and login links (e.g. `.create_account`, `create_login_link`)
  * `ApplicationFee` gains methods for refunds
  * `Customer` gains methods for sources
  * `Transfer` gains methods for reversals

1.67.0

* [349](https://github.com/stripe/stripe-python/pull/349) Rename source `delete` to `detach` (and deprecate the former)

1.66.0

* Support length reads on list objects

1.65.1

* Handle `bytearray` and `bytes` (in addition to string) in `Webhook.construct_event`

1.65.0

* Add support for passing a `stripe_version` argument to all API requests

1.64.0

* Error when an invalid type (i.e. non-string) passed as an API method argument

1.63.1

* Fix serialization of `items` on Relay order creation and order return

1.63.0

* Add support for `InvalidClientError` OAuth error

1.62.1

* Change serialization of subscription items on update to encoded as an integer-indexed map

1.62.0

* `pay` on invoice can now take parameter

1.61.0

* Expose `code` on `InvalidRequestError`

1.60.0

* Add support for ephemeral keys

1.59.0

* Refactor OAuth implementation to have dedicated classes for errors

1.58.0

* Re-use connections with Pycurl

1.57.1

* Fix the pycurl client

1.57.0

* Add `api_key` parameter to webhook's `construct_event`

1.56.0

* Add support for account login links

1.55.2

* Remove Requests constraint from 1.55.1 now that they've patched (as of 2.14.2)

1.55.1

* Constrain Requests to < 2.13.0 if on setuptools < 18.0.0

1.55.0

* Support for checking webhook signatures

1.54.0

* Add `stripe.set_app_info` for use by plugin creators

1.53.0

* Add support for payouts and recipient transfers

1.52.0

* No-op release: peg test suite to a specific API version

1.51.0

* Support OAuth operations (getting a token and deauthorizing)

1.50.0

* Support for detaching sources from customers

1.49.0

* Accept `session` argument for `RequestsClient`

1.48.1

* Fix encoding of parameters when fetching upcoming invoices

1.48.0

* Add `Account.modify_external_account` to modify an account in one API call
  * Add `Customer.modify_source` to modify a source in one API call

1.47.0

* Allow sources to be updated

1.46.0

* Use internal session for Requests for connection pooling

1.45.0

* request logging goes to stderr now
  * Logs properly handle unicode
  * Format is now the same between logging logs, and console logs

1.44.0

* Add request logging and some mechanisms to enable it when debugging

1.43.0

* Add support for verifying sources

1.42.0

* Add retrieve method for 3-D Secure resources

1.41.1

* Implement __copy__ and __deepcopy__ on StripeObject to fix these operations

1.41.0

* Add `Source` model for generic payment sources

1.40.1

* Return subscription model instance on subscription create/modify

1.40.0

* Add configurable timeout for Requests HTTP library

1.39.0

* Add support for subscription items
  * Add proxy support for pycurl, Requests, urlfetch, and urllib2 libraries

1.38.0

* Add support for Apple Pay domains

1.37.0

* Add `ThreeDSecure` model for 3-D secure payments

1.36.0

* Add `update` class method to resources that can be updated

1.35.0

* Add support for returning Relay orders

1.34.0

* Add support for Alipay accounts

1.33.0

* Add support for the new `/v1/subscriptions` endpoint
  * `stripe.Subscription.retrieve`
  * `stripe.Subscription.update`
  * `stripe.Subscription.create`
  * `stripe.Subscription.list`

1.32.2

* Fix bug where file uploads could not be properly listed

1.32.1

* Fix bug where request parameters were not passed between pages with `auto_paging_iter`

1.32.0

* Update CA cert bundle for compatibility with OpenSSL versions below 1.0.1

1.31.1

* Fix uploading of binary files in Python 3

1.31.0

* Add `reject` on `Account` to support the new API feature

1.30.0

* Add `CountrySpec` model for looking up country payment information

1.29.1

* Update bundled CA certs

1.29.0

* Add support for deleting Relay products and SKUs

1.28.0

* Add an automatic paginating iterator to lists available via `auto_paging_iter`
  * List objects are now iterable
  * Error messages set to `None` are now handled properly
  * The `all` method on list objects has been deprecated in favor of `list`
  * Calls to `instance_url` are now side effect free

1.27.1

* Official Python 3.4 & 3.5 compatibility
  * Add configurable HTTP client
  * Add ability to delete attributes

1.27.0

* Products, SKUs, Orders resources

1.26.0

* Add support for new 429 rate limit response

1.25.0

* Added refund listing, creation and retrieval

1.24.1

* Fix error handling for Python 2.6

1.24.0

* Managed accounts can now be deleted
  * Added dispute listing and retrieval

1.23.0

* Include response headers in exceptions

1.22.3

* Fix saving `additional_owners` on managed accounts

1.22.2

* Fix saving manage accounts

1.22.1

* Pass `stripe_account` to Balance.retrieve

1.22.0

* Added methods for updating and saving arrays of objects

1.21.0

* Added Bitcoin Receiver update and delete methods

1.20.2

* Remove support for top-level bitcoin transactions

1.20.1

* Adding bitcoin receiver and transaction objects

1.20.0

* Adding support for file uploads resource

1.19.1

* Remove redundant manual SSL blacklist preflight check

1.19.0

* Application Fee refunds now a list instead of array

1.18.0

* Add metadata for disputes and refunds

1.17.0

* Remove official support for Python 2.5

1.16.0

* Support for canceling transfers

1.15.1

* Support cards for recipients.

1.14.1

* Disable loading the ssl module on the Google App Engine dev server.

1.14.0

* Use DER encoded certificate for checksumming
  * Don't rely on SNI support in integration tests

1.13.0

* Update bundled ca-certificates
  * Add certificate blacklist for CVE-2014-0160 mitigation

1.12.2

* Fix syntax errors in setup.py metadata

1.12.1

* Added license and other metadata in setup.py
  * Fix `__repr__` in Python 3
  * Support pickling of responses

1.12.0

* Added support for multiple subscriptions per customer

1.11.0

* Added extensive unit tests
  * Extended functional test coverage
  * Refactored code into modules and out of stripe/__init__.py
  * Abstracted http library selection and use from the `APIRequestor` into `stripe.http_client`
  * Refactored `StripeObject` to inherit from `dict` and avoid direct access of `__dict__`.
  * PEP8ified the codebase and enforced with a test.
  * Proper encoding of timezone aware datetimes
  
  Backwards incompatible changes
  * The `to_dict` and `values` methods on resources no longer recursively convert objects to plain `dict`s.  All resources now inherit from `dict` but are functionally different in that you cannot set a value to an empty string and cannot delete items.
  * The `previous_metadata` attribute on resources is now protected.
  * Timezone aware `datetime` objects passed to the API will now be encoded in a way that does not depend on the local system time.  If you are passing timezone-aware datetimes to our API and your server time is not already in UTC, this will change the value passed to our API.

1.10.8

* Add stripe.ApplicationFee resource

1.9.8

* Removed incorrect test.

1.9.7

* Add support for metadata.

1.9.6

* Fix issue with support for closing disputes.

1.9.5

* Add support for closing disputes.

1.9.4

* Add stripe.Balance and stripe.BalanceTransaction resources

1.9.3

* Add support for unsetting attributes by setting to None.
  Setting properties to a blank string is now an error.

1.9.2

* Add support for multiple cards API

1.9.1

* Remove 'id' from the list of permanent attributes

1.9.0

* Support for Python 3 (github issue 32)

1.8.0

* Allow transfers to be creatable
  * Add new stripe.Recipient resource

1.7.10

* Add 'id' to the list of permanent attributes

1.7.9

* Add support for passing options when retrieving Stripe objects; e.g., stripe.Charge.retrieve("foo", params={"expand":["customer"]})

1.7.8

* Add support for setting a Stripe API version override

1.7.7

* Update requests version check to work with requests 1.x.x (github issue 24)

1.7.6

* Add support for updating charge disputes

1.7.5

* Add support for creating invoices
  * Add support for new invoice lines return format
  * Add support for new List objects

1.7.4

* Add update and pay methods for Invoice resource

1.7.3

* Add new stripe.Account resource
  * Remove uncaptured_charge tests (this has been deprecated from the API).

1.7.2

* Fix a bug that would cause nested objects to be mis-rendered in __str__ and __repr__ methods (github issues 17, 18)

1.7.1

* Prefer App Engine's urlfetch over requests, as that's the only thing that will work in App Engine's environment. Previously, if requests was available in the App Engine environment, we would attempt to use it.

1.7.0

* Add new delete_discount method to stripe.Customer
  * Add new stripe.Transfer resource
  * Switch from using HTTP Basic auth to Bearer auth. (Note: Stripe will support Basic auth for the indefinite future, but recommends Bearer auth when possible going forward)
  * Numerous test suite improvements

1.6.1

* Parameters with value None are no longer included in API requests

Links

Releases