Skip to content

Releases: laterpay/laterpay-client-python

4.6.0

09 Nov 14:28
Compare
Choose a tag to compare
  • Fixed encoding issues when passing byte string parameters on Python 3 #84

4.5.0

09 Nov 14:28
Compare
Choose a tag to compare
  • Added support for Python requests >= 2.11
  • Added current version number to HTTP request headers

4.4.1

09 Nov 14:29
Compare
Choose a tag to compare
  • Enabled universal wheel builds

4.4.0

09 Nov 14:29
Compare
Choose a tag to compare
  • laterpay.utils.signed_query() now passes a dict params instance to
    laterpay.signing.sign() which makes it compatible with sign() ignoring
    some params being ignored by sign() by looking them up with in operator.
  • Added Python 3.5 support

4.3.0

09 Nov 14:29
Compare
Choose a tag to compare
  • LaterPayClient.get_add_url() and LaterPayClient.get_buy_url() accept
    **kwargs.
  • The parameter skip_add_to_invoice in LaterPayClient.get_add_url() and
    LaterPayClient.get_buy_url() is deprecated and will be removed in a future
    release.

4.2.0

09 Nov 14:30
Compare
Choose a tag to compare
  • laterpay.signing.sign_and_encode() is deprecated and will be removed in a
    future release. Consider using laterpay.utils.signed_query() instead.
  • signing.sign_get_url() is deprecated and will be removed in a future
    release.
  • LaterPayClient.get_access() is deprecated and will be removed in a future
    release. Consider using LaterPayClient.get_access_data() instead.
  • LaterPayClient.get_identify_url() is deprecated and will be removed in a future
    release.
  • New utility functions: laterpay.utils.signed_query() and
    laterpay.utils.signed_url()
  • New LaterPayClient methods:
    • get_request_headers()
    • get_access_url()
    • get_access_params()
    • get_access_data()
  • Improved and newly added tests.
  • Improved laterpay.signing docs.
  • Replaced most of compat with proper six usage.

4.1.0

09 Nov 14:30
Compare
Choose a tag to compare
  • Dialog API Wrapper is deprecated.
  • get_buy_url(), get_add_url(), get_login_dialog_url(), get_signup_dialog_url(), and get_logout_dialog_url() have a new use_dialog_api parameter that sets if the URL returned uses the Dialog API Wrapper or not. Defaults to True during the Dialog API deprecation period.
  • ItemDefinition no longer requires a cp argument.

4.0.1

09 Nov 14:31
Compare
Choose a tag to compare
4.0.1 Pre-release
Pre-release
4.0.1

4.0.0

09 Nov 14:30
Compare
Choose a tag to compare
  • Exceptions raised by urlopen in LaterPayClient._make_request() are now logged with ERROR level using Logger.exception().
  • Added timeout_seconds (default value is 10) param to LaterPayClient. Backend API requests will time out now according to that value.
  • Removed deprecated laterpay.django package.
  • Removed deprecated vat and purchasedatetime params from ItemDefinition.__init__(). This is a backward incompatible change to __init__(self, item_id, pricing, url, title, cp=None, expiry=None) from __init__(self, item_id, pricing, vat, url, title, purchasedatetime=None, cp=None, expiry=None).
  • Removed deprecated add_metered_access() and get_metered_access() methods from LaterPayClient.